public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/11883] New: gcc 3.3.1 ICE with any -O on mercury-generated *.c file
@ 2003-08-11 15:35 gcc-bugzilla at gcc dot gnu dot org
  2003-08-11 15:39 ` [Bug optimization/11883] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2003-08-11 15:35 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11883

           Summary: gcc 3.3.1 ICE with any -O on mercury-generated *.c file
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: qboosh at pld-linux dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pld-linux-gnu
  GCC host triplet: i686-pld-linux-gnu
GCC target triplet: i686-pld-linux-gnu

Some files *.c generated by mercury compiler (http://www.cs.mu.oz.au/mercury/)
cause ICE on gcc 3.3 and 3.3.1 if any optimization is used (-O, -O2, -O3), at
least on x86.
(mercury preprocesses his *.m files, creating *.c files, which are compiled
 using gcc; that's why this file looks so ugly).

Compiler output:
tree234.c: In function `tree234_module66':
tree234.c:23795: internal compiler error: in flow_loops_find, at cfgloop.c:830
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Environment:
System: Linux builder 2.4.20 #1 Sat May 24 09:07:12 UTC 2003 i686 unknown unknown PLD Linux
Architecture: i686
	(Athlon CPU, Linux 2.4.20, glibc 2.3.2)
host: i686-pld-linux-gnu
build: i686-pld-linux-gnu
target: i686-pld-linux-gnu
configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++,f77,ksi --enable-c99 --enable-long-long --enable-multilib --enable-nls --with-gnu-as --with-gnu-ld --with-system-zlib --with-slibdir=/lib --without-x i686-pld-linux

How-To-Repeat:
Try to compile attached file (which is preprocessed file that comes from
mercury source distribution - mercury-compiler-0.11.0/library/tree234.c)
with any optimizations enabled (-O, -O2, -O3), e.g.:

$ gcc -c tree234.i -O
tree234.c: In function `tree234_module66':
tree234.c:23795: internal compiler error: in flow_loops_find, at cfgloop.c:830
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-08-06 22:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-11 15:35 [Bug optimization/11883] New: gcc 3.3.1 ICE with any -O on mercury-generated *.c file gcc-bugzilla at gcc dot gnu dot org
2003-08-11 15:39 ` [Bug optimization/11883] " pinskia at gcc dot gnu dot org
2003-08-11 17:00 ` qboosh at pld-linux dot org
2003-08-11 17:23 ` pinskia at gcc dot gnu dot org
2003-08-11 17:24 ` [Bug optimization/11883] [3.3 Regression] " pinskia at gcc dot gnu dot org
2003-08-25  0:48 ` dhazeghi at yahoo dot com
2003-09-16 22:15 ` rakdver at gcc dot gnu dot org
2003-09-16 23:00 ` rakdver at gcc dot gnu dot org
2003-10-03 21:27 ` rakdver at gcc dot gnu dot org
2003-11-01  5:54 ` ebotcazou at gcc dot gnu dot org
2004-08-06 22:15 ` [Bug rtl-optimization/11883] " reichelt at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).