public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/40792]  New: internal error in com_mpi.c at -O3 for gcc 4.4.0
@ 2009-07-17 21:09 dh458 at oakapple dot net
  2009-07-17 21:11 ` [Bug c/40792] " dh458 at oakapple dot net
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dh458 at oakapple dot net @ 2009-07-17 21:09 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4100 bytes --]

Use attached preprocessed file com_mpi.c,  which is extracted from SPEC mpi
2007.

Then with gcc 4.4.0:

gcc -c com_mpi.c -O3
com_mpi.c:1215: warning: conflicting types for built-in function âcexpâ
com_mpi.c:1216: warning: conflicting types for built-in function âclogâ
com_mpi.c:1217: warning: conflicting types for built-in function âcsqrtâ
com_mpi.c:4906: internal compiler error: in build_function_type_skip_args, at
tree.c:5954
Please submit a full bug report,
with preprocessed source if appropriate.

-O2 is fine.

gcc 4.1.2 -O3 is fine.

Verbose:

Target: x86_64-unknown-linux-gnu
Configured with:
/net/hs-usca-01.sfbay/export/home1/12/dgh/gnu-linux/gcc-4.4.0/configure
--prefix=/net/hs-usca-01.sfbay/export/home1/12/dgh/gnu-linux/local
--exec-prefix=/net/hs-usca-01.sfbay/export/home1/12/dgh/gnu-linux/local
--enable-languages=c++,fortran
--with-gmp-include=/net/hs-usca-01.sfbay/export/home1/12/dgh/gnu-linux/local/include
--with-mpfr-include=/net/hs-usca-01.sfbay/export/home1/12/dgh/gnu-linux/local/include
--with-gmp-lib=/net/hs-usca-01.sfbay/export/home1/12/dgh/gnu-linux/local/lib64
--with-mpfr-lib=/net/hs-usca-01.sfbay/export/home1/12/dgh/gnu-linux/local/lib64
Thread model: posix
gcc version 4.4.0 (GCC) 
COLLECT_GCC_OPTIONS='-c' '-O3' '-v' '-mtune=generic'

/home/dgh/gnu-linux/local/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.4.0/cc1
-quiet -v -iprefix
/home/dgh/gnu-linux/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.4.0/
com_mpi.c -quiet -dumpbase com_mpi.c -mtune=generic -auxbase com_mpi -O3
-version -o /tmp/ccYOwHWM.s
ignoring nonexistent directory
"/home/dgh/gnu-linux/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../x86_64-unknown-linux-gnu/include"
ignoring duplicate directory
"/home/dgh/gnu-linux/local/bin/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.4.0/include"
ignoring duplicate directory
"/home/dgh/gnu-linux/local/bin/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.4.0/include-fixed"
ignoring nonexistent directory
"/home/dgh/gnu-linux/local/bin/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../x86_64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:

/home/dgh/gnu-linux/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.4.0/include
/home/dgh/gnu-linux/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.4.0/include-fixed
 /usr/local/include
 /home/dgh/gnu-linux/local/bin/../lib/gcc/../../include
 /usr/include
End of search list.
GNU C (GCC) version 4.4.0 (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.4.0, GMP version 4.3.1, MPFR version 2.4.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 3d0e0887103ac420bddd7fc530a7193e
com_mpi.c:1215: warning: conflicting types for built-in function âcexpâ
com_mpi.c:1216: warning: conflicting types for built-in function âclogâ
com_mpi.c:1217: warning: conflicting types for built-in function âcsqrtâ
com_mpi.c:4906: internal compiler error: in build_function_type_skip_args, at
tree.c:5954
Please submit a full bug report,
with preprocessed source if appropriate.



gcc 4.1.2 --verbose:

Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)


-- 
           Summary: internal error in com_mpi.c at -O3 for gcc 4.4.0
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dh458 at oakapple dot net


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


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

end of thread, other threads:[~2009-07-20 14:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-17 21:09 [Bug c/40792] New: internal error in com_mpi.c at -O3 for gcc 4.4.0 dh458 at oakapple dot net
2009-07-17 21:11 ` [Bug c/40792] " dh458 at oakapple dot net
2009-07-17 21:37 ` [Bug tree-optimization/40792] [4.4 Regression] " rguenth at gcc dot gnu dot org
2009-07-17 21:41 ` rguenth at gcc dot gnu dot org
2009-07-20  9:15 ` jakub at gcc dot gnu dot org
2009-07-20  9:44 ` jakub at gcc dot gnu dot org
2009-07-20 14:39 ` jakub at gcc dot gnu dot org
2009-07-20 14:39 ` jakub at gcc dot gnu dot org
2009-07-20 14:40 ` jakub 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).