This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/48063] New: [4.6 Regression] ICE: verify_stmts failed: conversion of register to a different size with -fno-early-inlining
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 10 Mar 2011 18:29:51 +0000
- Subject: [Bug tree-optimization/48063] New: [4.6 Regression] ICE: verify_stmts failed: conversion of register to a different size with -fno-early-inlining
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48063
Summary: [4.6 Regression] ICE: verify_stmts failed: conversion
of register to a different size with
-fno-early-inlining
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
CC: jakub@gcc.gnu.org
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 23616
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23616
preprocessed gcc.c-torture/compile/pr47967.c
Testcase is the same as for PR47967.
Compiler output:
$ gcc gcc.c-torture/compile/pr47967.c -O -fno-early-inlining
gcc.c-torture/compile/pr47967.c: In function 'foo':
gcc.c-torture/compile/pr47967.c:7:1: error: conversion of register to a
different size
VIEW_CONVERT_EXPR<double>(D.2694_3);
i_2 = VIEW_CONVERT_EXPR<double>(D.2694_3);
gcc.c-torture/compile/pr47967.c:7:1: internal compiler error: verify_stmts
failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
(gdb) bt
#0 error (gmsgid=0x116d6a0 "conversion of register to a different size") at
/mnt/svn/gcc-trunk/gcc/diagnostic.c:747
#1 0x00000000008ea08c in verify_types_in_gimple_reference
(expr=0x7ffff5ba1fc0, require_lvalue=0 '\000') at
/mnt/svn/gcc-trunk/gcc/tree-cfg.c:2953
#2 0x00000000008eb01d in verify_gimple_assign_single (stmt=<value optimized
out>) at /mnt/svn/gcc-trunk/gcc/tree-cfg.c:3755
#3 verify_gimple_assign (stmt=<value optimized out>) at
/mnt/svn/gcc-trunk/gcc/tree-cfg.c:3824
#4 verify_types_in_gimple_stmt (stmt=<value optimized out>) at
/mnt/svn/gcc-trunk/gcc/tree-cfg.c:3984
#5 0x00000000008f35bf in verify_stmts () at
/mnt/svn/gcc-trunk/gcc/tree-cfg.c:4386
#6 0x0000000000a094cd in verify_ssa (check_modified_stmt=1 '\001') at
/mnt/svn/gcc-trunk/gcc/tree-ssa.c:878
#7 0x00000000007f3e49 in execute_function_todo (data=<value optimized out>) at
/mnt/svn/gcc-trunk/gcc/passes.c:1240
#8 0x00000000007f453d in execute_todo (flags=2132516) at
/mnt/svn/gcc-trunk/gcc/passes.c:1271
#9 0x00000000007f68cb in execute_one_ipa_transform_pass () at
/mnt/svn/gcc-trunk/gcc/passes.c:1463
#10 execute_all_ipa_transforms () at /mnt/svn/gcc-trunk/gcc/passes.c:1487
#11 0x0000000000939d2d in tree_rest_of_compilation (fndecl=0x7ffff5ba2100) at
/mnt/svn/gcc-trunk/gcc/tree-optimize.c:415
#12 0x0000000000b01e72 in cgraph_expand_function (node=0x7ffff5ba5000) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1576
#13 0x0000000000b045ba in cgraph_expand_all_functions () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1635
#14 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1899
#15 0x0000000000b04b3a in cgraph_finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1096
#16 0x00000000005097bc in c_write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/c-decl.c:9872
#17 0x00000000008e2cd8 in compile_file (argc=14, argv=0x7fffffffdb48) at
/mnt/svn/gcc-trunk/gcc/toplev.c:591
#18 do_compile (argc=14, argv=0x7fffffffdb48) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1900
#19 toplev_main (argc=14, argv=0x7fffffffdb48) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1963
#20 0x00007ffff6445bbd in __libc_start_main () from /lib/libc.so.6
#21 0x00000000004f0369 in _start ()
Tested revisions:
r170814 - crash
4.5 r170013 - OK