This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/55920] [4.8 Regression] ICE in expand_debug_locations, at cfgexpand.c:3753
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 15 Jan 2013 16:33:38 +0000
- Subject: [Bug tree-optimization/55920] [4.8 Regression] ICE in expand_debug_locations, at cfgexpand.c:3753
- Auto-submitted: auto-generated
- References: <bug-55920-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55920
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-15 16:33:38 UTC ---
Author: jakub
Date: Tue Jan 15 16:33:24 2013
New Revision: 195209
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195209
Log:
PR tree-optimization/55920
* tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
there is non-useless type conversion needed from debug rhs to lhs,
use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.
* gcc.c-torture/compile/pr55920.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr55920.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-sra.c