on an x86_64/x86 system, a simple mandel code base crashes gcc-4.1.2 and newer:

$ gcc -c mandel.i -O1
mandel.i: In function 'mandel':
mandel.i:5: warning: incompatible implicit declaration of built-in function
'cabs'
mandel.i:2: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/cc4gdEy7.out file, please attach this to
your bugreport.

gcc-4.0.4 seems to work, but anything newer bombs


-- 
           Summary: [4.1/4.2 regression] gcc ICEs/segfaults when using
                    implicit cabs() with -O1
           Product: gcc
           Version: 4.2.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vapier at gentoo dot org


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

Reply via email to