This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/41052] New: ICE: verify_gimple failed when using -combine
- From: "cthiel at cse dot unl dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Aug 2009 05:32:29 -0000
- Subject: [Bug c/41052] New: ICE: verify_gimple failed when using -combine
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I get an "invalid conversion in gimple call" error when using -combine while
attempting to return a struct. Then an ICE.
This worked fine with an svn checkout from about a week ago.
$ gcc-trunk -v -save-temps -Wall -Wextra --combine main.c foo.c
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: /home/cthiel/src/gcc/configure --program-suffix=-trunk
--enable-languages=c,c++,fortran --prefix=/opt/gcc-trunk
Thread model: posix
gcc version 4.5.0 20090812 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-Wall' '-Wextra' '-combine'
'-mtune=generic'
/opt/gcc-trunk/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/cc1 -E -quiet -v
main.c -mtune=generic -Wall -Wextra -fpch-preprocess -o main.i
ignoring nonexistent directory
"/opt/gcc-trunk/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../x86_64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/opt/gcc-trunk/include
/opt/gcc-trunk/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/include
/opt/gcc-trunk/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/include-fixed
/usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-Wall' '-Wextra' '-combine'
'-mtune=generic'
/opt/gcc-trunk/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/cc1 -E -quiet -v
foo.c -mtune=generic -Wall -Wextra -fpch-preprocess -o foo.i
ignoring nonexistent directory
"/opt/gcc-trunk/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../x86_64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/opt/gcc-trunk/include
/opt/gcc-trunk/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/include
/opt/gcc-trunk/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/include-fixed
/usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-Wall' '-Wextra' '-combine'
'-mtune=generic'
/opt/gcc-trunk/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/cc1 -fpreprocessed
main.i foo.i -quiet -dumpbase main.i -mtune=generic -auxbase main -Wall -Wextra
-version -o main.s
GNU C (GCC) version 4.5.0 20090812 (experimental) (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.5.0 20090812 (experimental), GMP version
4.2.4, MPFR version 2.4.0
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 4.5.0 20090812 (experimental) (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.5.0 20090812 (experimental), GMP version
4.2.4, MPFR version 2.4.0
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 204144906083cdafd0396857126d8fea
main.c: In function ?main?:
main.c:4:1: error: invalid conversion in gimple call
struct s
struct s
bar = foo (bar);
main.c:4:1: internal compiler error: verify_gimple failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE: verify_gimple failed when using -combine
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cthiel at cse dot unl dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41052