public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/37788]  New: [4.4 regression] ICE with variable declaration in loop and -fmudflap
@ 2008-10-09 20:38 reichelt at gcc dot gnu dot org
  2008-10-09 20:38 ` [Bug middle-end/37788] " reichelt at gcc dot gnu dot org
  2008-10-09 23:10 ` jakub at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-10-09 20:38 UTC (permalink / raw)
  To: gcc-bugs

The following valid code snippet triggers an ICE on mainline when compiled
with "-fmudflap -O -g":

==================
struct A
{
  A();
};

void foo()
{
  while (true)
    A a;
}
==================

bug.cc: In function 'void foo()':
bug.cc:10: internal compiler error: tree check: expected block, have
function_decl in change_scope, at cfglayout.c:420
Please submit a full bug report, [etc.]

This is a recent regression, introduced between 2008-09-29 and 2008-10-08.


-- 
           Summary: [4.4 regression] ICE with variable declaration in loop
                    and -fmudflap
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37788


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug middle-end/37788] [4.4 regression] ICE with variable declaration in loop and -fmudflap
  2008-10-09 20:38 [Bug middle-end/37788] New: [4.4 regression] ICE with variable declaration in loop and -fmudflap reichelt at gcc dot gnu dot org
@ 2008-10-09 20:38 ` reichelt at gcc dot gnu dot org
  2008-10-09 23:10 ` jakub at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-10-09 20:38 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37788


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug middle-end/37788] [4.4 regression] ICE with variable declaration in loop and -fmudflap
  2008-10-09 20:38 [Bug middle-end/37788] New: [4.4 regression] ICE with variable declaration in loop and -fmudflap reichelt at gcc dot gnu dot org
  2008-10-09 20:38 ` [Bug middle-end/37788] " reichelt at gcc dot gnu dot org
@ 2008-10-09 23:10 ` jakub at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-10-09 23:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jakub at gcc dot gnu dot org  2008-10-09 23:09 -------
That has been fixed already.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37788


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-09 23:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-09 20:38 [Bug middle-end/37788] New: [4.4 regression] ICE with variable declaration in loop and -fmudflap reichelt at gcc dot gnu dot org
2008-10-09 20:38 ` [Bug middle-end/37788] " reichelt at gcc dot gnu dot org
2008-10-09 23:10 ` jakub at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).