[Bug 1563134] Re: ICE in gimple_expand_builtin_pow with -O3 on ppc64el

Matthias Klose doko at ubuntu.com
Wed Mar 30 12:50:47 UTC 2016


** Bug watch added: GCC Bugzilla #70457
   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457

** Also affects: gcc via
   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457
   Importance: Unknown
       Status: Unknown

** Changed in: gcc-5 (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-5 in Ubuntu.
https://bugs.launchpad.net/bugs/1563134

Title:
  ICE in gimple_expand_builtin_pow with -O3 on ppc64el

Status in gcc:
  Unknown
Status in gcc-5 package in Ubuntu:
  Confirmed

Bug description:
  elk FTBFS in Ubuntu on ppc64el because ppc64el is using -O3, and elk
  internally uses a so-called "Generic_Function" that wraps calls to
  function pointers that might take either 1 or 2 args.

  The code in question will never actually try to call pow() with a
  single arg, but enforcement of this is several layers away, stymying
  the optimizer.

  Will attach a reduced test case to reproduce this issue.  Problem can
  be reproduced by calling:

    gcc-5 -O3 -c math2.i -o libelk_la-math.o

  It is also reproducible with gcc-6.

  It is reproducible cross-architecture, ppc64el is just the only
  architecture using -O3 by default.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1563134/+subscriptions



More information about the foundations-bugs mailing list