[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2011-10-06 Thread dirtyepic at gentoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43290 --- Comment #22 from Ryan Hill dirtyepic at gentoo dot org 2011-10-07 01:37:51 UTC --- And now 4.4.6.

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2011-03-08 Thread dirtyepic at gentoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43290 --- Comment #21 from Ryan Hill dirtyepic at gentoo dot org 2011-03-09 02:28:21 UTC --- this is an in-branch regression from 4.4.4 and prevents -march=native bootstrap on Sandy Bridge. want a new bug?

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2011-03-04 Thread dirtyepic at gentoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43290 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic at

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-10 Thread jakub at gcc dot gnu dot org
--- Comment #18 from jakub at gcc dot gnu dot org 2010-03-10 08:07 --- Created an attachment (id=20073) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20073action=view) gcc45-pr43290.patch Updated patch. This one includes testcases, and also fixes for -O+, when optimizing we

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-10 Thread jakub at gcc dot gnu dot org
--- Comment #19 from jakub at gcc dot gnu dot org 2010-03-10 18:17 --- Subject: Bug 43290 Author: jakub Date: Wed Mar 10 18:17:10 2010 New Revision: 157363 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157363 Log: PR debug/43290 * reg-notes.def

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-09 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2010-03-09 18:49 --- Subject: Bug 43290 Author: jakub Date: Tue Mar 9 18:48:43 2010 New Revision: 157313 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157313 Log: PR debug/43290 * config/i386/i386.c

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-09 Thread jakub at gcc dot gnu dot org
--- Comment #12 from jakub at gcc dot gnu dot org 2010-03-09 19:01 --- Fixed for 4.5+. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-09 Thread hjl dot tools at gmail dot com
--- Comment #13 from hjl dot tools at gmail dot com 2010-03-09 22:39 --- (In reply to comment #9) (In reply to comment #8) Created an attachment (id=20044) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20044action=view) [edit] gcc44-pr43290-2.patch Another fix. Wonder

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-09 Thread hjl dot tools at gmail dot com
--- Comment #14 from hjl dot tools at gmail dot com 2010-03-09 22:44 --- Is there a way to add debug testcases from PR 36728 to gcc testsuite? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43290

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-09 Thread jakub at gcc dot gnu dot org
--- Comment #15 from jakub at gcc dot gnu dot org 2010-03-09 22:54 --- Yes, sticking them in gcc/testsuite/gcc.dg/guality/ and using /* { dg-final { gdb-test line varname expectedvalue } } */ If my patch really broke that, then I think we'll need to use some REG_CFA_* note or

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-09 Thread jakub at gcc dot gnu dot org
--- Comment #16 from jakub at gcc dot gnu dot org 2010-03-10 00:33 --- Created an attachment (id=20072) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20072action=view) gcc45-pr43290.patch Untested patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43290

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-09 Thread hjl dot tools at gmail dot com
--- Comment #17 from hjl dot tools at gmail dot com 2010-03-10 05:37 --- (In reply to comment #15) Yes, sticking them in gcc/testsuite/gcc.dg/guality/ and using /* { dg-final { gdb-test line varname expectedvalue } } */ If my patch really broke that, then I think we'll need to

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-08 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2010-03-08 15:03 --- Can you make it to fail on trunk or 4.4 branch since it could be caused by other changes on redhat/gcc-4_4-branch? If not, can you find out which change on redhat/gcc-4_4-branch causes this? --

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-08 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-03-08 15:12 --- I've tried, but haven't succeeded, that's why I said the bug is latent there. If we can prove this situation can't ever happen on 4.4 or 4.5 (4.5 on this testcase doesn't use a drap reg at all, so we'd need some

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-08 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-03-08 15:27 --- (In reply to comment #2) I've tried, but haven't succeeded, that's why I said the bug is latent there. If we can prove this situation can't ever happen on 4.4 or 4.5 (4.5 on this testcase doesn't use a drap reg

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-08 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-03-08 15:44 --- Ah, the %ebp saved in DW_OP_reg5 is just a 4.4 bug, fixed by http://gcc.gnu.org/ml/gcc-patches/2009-05/msg00235.html (the fix is in 4.5 and 4.4-RH). Saying that %ebp is saved in DW_OP_breg5 0 is correct and

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-08 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2010-03-08 15:47 --- (In reply to comment #4) Ah, the %ebp saved in DW_OP_reg5 is just a 4.4 bug, fixed by http://gcc.gnu.org/ml/gcc-patches/2009-05/msg00235.html (the fix is in 4.5 and 4.4-RH). Saying that %ebp is saved in

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-08 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-03-08 16:38 --- Not sure if there haven't been follow-ups. There were at least 100 changes to dwarf2out.c since 4.4 release, and at least 10 of them were related to the indirect vs. direct stuff. --

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-08 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2010-03-08 16:39 --- Created an attachment (id=20043) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20043action=view) gcc44-pr43290-1.patch One alternative fix that cures this testcase on redhat/gcc-4_4-branch. --

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-08 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2010-03-08 16:45 --- Created an attachment (id=20044) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20044action=view) gcc44-pr43290-2.patch Another fix. Wonder why that insn is marked as frame related at all, for the drap saving

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-08 Thread hjl dot tools at gmail dot com
--- Comment #9 from hjl dot tools at gmail dot com 2010-03-08 16:58 --- (In reply to comment #8) Created an attachment (id=20044) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20044action=view) [edit] gcc44-pr43290-2.patch Another fix. Wonder why that insn is marked as frame

[Bug debug/43290] ICE in dwarf2out_frame_debug_expr

2010-03-08 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2010-03-08 17:00 --- I'll test it, both on the trunk and 4.4-RH. BTW, I've moved the 2) issue to PR43293. -- jakub at gcc dot gnu dot org changed: What|Removed |Added