This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/51762] [4.7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2231
- 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: Thu, 05 Jan 2012 12:30:17 +0000
- Subject: [Bug debug/51762] [4.7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2231
- Auto-submitted: auto-generated
- References: <bug-51762-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51762
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-01-05
CC| |jakub at gcc dot gnu.org,
| |rth at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-05 12:30:17 UTC ---
/* PR debug/51762 */
/* { dg-do compile } */
/* { dg-options "-g -Os -fomit-frame-pointer -fno-asynchronous-unwind-tables" }
*/
void noret (void) __attribute__ ((noreturn));
int bar (void);
void baz (const char *);
static int v = -1;
void
foo (void)
{
if (bar () && v == -1)
{
baz ("baz");
noret ();
}
noret ();
}
Started with
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176705