This is the mail archive of the gcc-bugs@gcc.gnu.org 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 c/16695] New: -O3 fails on force_nonfallthru_and_redirect at cfgrtl.c:1114


while compiling a 64 bit version of Apache-2.0.50 on a solaris 9 system, i ran
into this problem ....

---snip---
/export/home/build/gcc3.4-64/bin/gcc -v -pthreads -m64 -O3 -DHAVE_CONFIG_H
-DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -m64 -O3 -I../../include
-I../../include/arch -I../../include/arch/unix -c proc_mutex.c -o proc_mutex.o
Reading specs from
/export/home/build/gcc3.4-64/lib/gcc/sparc64-sun-solaris2.9/3.4.1/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj
--enable-languages=c,c++,objc,f77 --prefix=/export/home/build/gcc3.4-64
--with-cpu=ultrasparc sparc64-sun-solaris2.9
Thread model: posix
gcc version 3.4.1
 /export/home/build/gcc3.4-64/libexec/gcc/sparc64-sun-solaris2.9/3.4.1/cc1
-quiet -v -I../../include -I../../include/arch -I../../include/arch/unix
-D__arch64__ -D__sparcv9 -D_REENTRANT -D_PTHREADS -DHAVE_CONFIG_H -DSOLARIS2=9
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT proc_mutex.c -quiet -dumpbase
proc_mutex.c -m64 -m64 -mcpu=ultrasparc -auxbase-strip proc_mutex.o -O3 -O3
-version -o /var/tmp//ccak7CJr.s
ignoring nonexistent directory
"/export/home/build/gcc3.4-64/lib/gcc/sparc64-sun-solaris2.9/3.4.1/../../../../sparc64-sun-solaris2.9/include"
#include "..." search starts here:
#include <...> search starts here:
 ../../include
 ../../include/arch
 ../../include/arch/unix
 /usr/local/include
 /export/home/build/gcc3.4-64/include
 /export/home/build/gcc3.4-64/lib/gcc/sparc64-sun-solaris2.9/3.4.1/include
 /usr/include
End of search list.
GNU C version 3.4.1 (sparc64-sun-solaris2.9)
        compiled by GNU C version 3.4.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
proc_mutex.c: In function `apr_proc_mutex_defname':
proc_mutex.c:771: internal compiler error: in force_nonfallthru_and_redirect, at
cfgrtl.c:1114
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Exit 1


---snip --- 

changing the optimization from -O3 to -O2 fixes the crash

-- 
           Summary: -O3 fails on force_nonfallthru_and_redirect at
                    cfgrtl.c:1114
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bo at theaddedones dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc64-sun-solaris2.9
  GCC host triplet: sparc64-sun-solaris2.9
GCC target triplet: sparc64-sun-solaris2.9


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


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