[Bug lto/56570] ICE when streaming a TREE_BLOCK

2013-03-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56570 --- Comment #9 from Richard Biener 2013-03-08 13:46:35 UTC --- Author: rguenth Date: Fri Mar 8 13:46:18 2013 New Revision: 196546 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196546 Log: 2013-03-08 Richard Biener P

[Bug lto/56570] ICE when streaming a TREE_BLOCK

2013-03-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56570 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug lto/56570] ICE when streaming a TREE_BLOCK

2013-03-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56570 --- Comment #8 from Richard Biener 2013-03-08 12:42:12 UTC --- We don't even copy the decl with the DECL_DEBUG_EXPR in copy_debug_stmt during the 2nd inlining! Because when the decls disappear from local-decls nothing remaps them and we g

[Bug lto/56570] ICE when streaming a TREE_BLOCK

2013-03-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56570 --- Comment #7 from Richard Biener 2013-03-08 12:25:50 UTC --- Created attachment 29620 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29620 inliner patches For the inliner I've now synced copy_tree_body_r and remap_gimple_op_r wrt

[Bug lto/56570] ICE when streaming a TREE_BLOCK

2013-03-08 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56570 --- Comment #6 from Jakub Jelinek 2013-03-08 12:15:38 UTC --- Locations are useless in DECL_DEBUG_EXPR expressions, so I have nothing against that SRA change, but please note that also gimplify.c and tree-complex.c create DECL_DEBUG_EXPRs,

[Bug lto/56570] ICE when streaming a TREE_BLOCK

2013-03-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56570 --- Comment #5 from Richard Biener 2013-03-08 12:15:13 UTC --- typedef struct { unsigned long long w[4]; } UINT256; static void add256 (UINT256 x, UINT256 y, UINT256 * pz) { UINT256 z; z.w[0] = x.w[0] + y.w[0]; z.w[1] = x.w[

[Bug lto/56570] ICE when streaming a TREE_BLOCK

2013-03-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56570 --- Comment #4 from Richard Biener 2013-03-08 12:05:41 UTC --- It's the DECL_DEBUG_EXPRs created by SRA, supposedly we can fix it by Index: tree-sra.c === --- tree-sra.c (

[Bug lto/56570] ICE when streaming a TREE_BLOCK

2013-03-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56570 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug lto/56570] ICE when streaming a TREE_BLOCK

2013-03-08 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56570 --- Comment #2 from Martin Jambor 2013-03-08 10:43:12 UTC --- I forgot the compilation options I use: ~/gcc/trunk/inst/bin/g++ -o CodeGenerator-shared.o -c -fPIC -Wno-invalid-offsetof -Wcast-align -flto -fpermissive -Wno-maybe-uninitial

[Bug lto/56570] ICE when streaming a TREE_BLOCK

2013-03-08 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56570 Martin Jambor changed: What|Removed |Added Target||x86_64-linux-gnu H