Bug 23674 - ICE on valid code
Summary: ICE on valid code
Status: RESOLVED DUPLICATE of bug 23078
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.0.1
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2005-09-01 06:51 UTC by Wouter Verhelst
Modified: 2005-09-23 10:14 UTC (History)
3 users (show)

See Also:
Host: m68k-linux-gnu
Target: m68k-linux-gnu
Build: m68k-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments
preprocessed source (17.75 KB, text/plain)
2005-09-01 06:52 UTC, Wouter Verhelst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wouter Verhelst 2005-09-01 06:51:08 UTC
Hi,

gcc 4.0 failed to build mlgmp. There is no problem with gcc 3.4, or the
gcc-snapshot package in Debian (4.1.0 CVS 20050726)
Comment 1 Wouter Verhelst 2005-09-01 06:52:27 UTC
Created attachment 9639 [details]
preprocessed source
Comment 2 Wouter Verhelst 2005-09-02 11:55:56 UTC
Silly me, forgot to include the command line and error message:

gcc -Wall -Wno-unused -g -O3 -fPIC -I /usr/lib/ocaml/3.08.3    -c -o mlgmp_z.o m
lgmp_z.c
In file included from mlgmp_z.c:13:
conversions.c:68: warning: ignoring #pragma inline 
conversions.c:92: warning: ignoring #pragma inline 
mlgmp_z.c: In function '_mlgmp_z_neg':
mlgmp_z.c:260: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
make[1]: *** [mlgmp_z.o] Error 1
Comment 3 Wouter Verhelst 2005-09-02 12:17:54 UTC
Lowering the optimization level (to -O2) also makes the build complete.
Comment 4 Wouter Verhelst 2005-09-23 10:14:21 UTC

*** This bug has been marked as a duplicate of 23078 ***