public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/21374] [4.3/4.4/4.5/4.6/4.7 regression] ICE with nested function
       [not found] <bug-21374-4@http.gcc.gnu.org/bugzilla/>
@ 2011-06-27 12:39 ` rguenth at gcc dot gnu.org
  2012-01-11 15:55 ` [Bug middle-end/21374] [4.4/4.5/4.6/4.7 " rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-27 12:39 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.6                       |4.4.7

--- Comment #16 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-27 12:12:14 UTC ---
4.3 branch is being closed, moving to 4.4.7 target.


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

* [Bug middle-end/21374] [4.4/4.5/4.6/4.7 regression] ICE with nested function
       [not found] <bug-21374-4@http.gcc.gnu.org/bugzilla/>
  2011-06-27 12:39 ` [Bug middle-end/21374] [4.3/4.4/4.5/4.6/4.7 regression] ICE with nested function rguenth at gcc dot gnu.org
@ 2012-01-11 15:55 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-11 15:55 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE
      Known to fail|                            |

--- Comment #17 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-11 15:53:51 UTC ---
On the trunk, when optimizing, we now inline the nested function and
optimize everything away.  Adjusted testcase:

int
main (int argc, char **argv)
{
  int size = 10;
  typedef struct
    {
      char val[size];
    }
  block;
  block b;
  block __attribute__((noinline))
  retframe_block ()
    {
      return *(block *) &b;
    }
  b=retframe_block ();
  return 0;
}

which makes this a dup of PR8081.

*** This bug has been marked as a duplicate of bug 8081 ***


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

end of thread, other threads:[~2012-01-11 15:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-21374-4@http.gcc.gnu.org/bugzilla/>
2011-06-27 12:39 ` [Bug middle-end/21374] [4.3/4.4/4.5/4.6/4.7 regression] ICE with nested function rguenth at gcc dot gnu.org
2012-01-11 15:55 ` [Bug middle-end/21374] [4.4/4.5/4.6/4.7 " rguenth at gcc dot gnu.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).