This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/11311] New: [3.4 regression] ICE with pow and large exponent


           Summary: [3.4 regression] ICE with pow and large exponent
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: critical
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: falk at debian dot org
                CC: gcc-bugs at gcc dot gnu dot org,roger at eyesopen dot
 GCC build triplet: alphaev68-unknown-linux-gnu
  GCC host triplet: alphaev68-unknown-linux-gnu
GCC target triplet: alphaev68-unknown-linux-gnu

This is very likely caused by Roger's recent integer exponentiation patch
(at least it works with 3.4 20030614)

falk@juist:/tmp% cat pow.c
double pow261(double d) { return pow(d, 261); }

falk@juist:/tmp% /tmp/bla/bin/gcc -v -c -O1 -ffast-math pow.c 
Reading specs from /tmp/bla/bin/../lib/gcc-lib/alphaev68-unknown-linux-gnu/3.4/specs
Configured with: ../configure --disable-nls --enable-languages=c++
Thread model: posix
gcc version 3.4 20030624 (experimental)
 /tmp/bla/bin/../lib/gcc-lib/alphaev68-unknown-linux-gnu/3.4/cc1 -quiet -v
-iprefix /tmp/bla/bin/../lib/gcc-lib/alphaev68-unknown-linux-gnu/3.4/ pow.c
-quiet -dumpbase pow.c -mcpu=ev67 -auxbase pow -O1 -version -ffast-math -o
ignoring nonexistent directory "/tmp/bla/alphaev68-unknown-linux-gnu/include"
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory
#include "..." search starts here:
#include <...> search starts here:
End of search list.
GNU C version 3.4 20030624 (experimental) (alphaev68-unknown-linux-gnu)
        compiled by GNU C version 3.3 (Debian).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64115
pow.c: In function `pow261':
pow.c:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.

(Sorry, Roger, for constantly nitpicking about your patches. It's because
I really like them :)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]