public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/39120]  New: [4.2/4.3/4.4 Regression] Missed escape constraints for call results
@ 2009-02-06 17:59 rguenth at gcc dot gnu dot org
  2009-03-31 21:12 ` [Bug tree-optimization/39120] [4.3/4.4 " jsm28 at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-02-06 17:59 UTC (permalink / raw)
  To: gcc-bugs

struct X { int *p; } x;

struct X __attribute__((noinline))
foo(int *p) { struct X x; x.p = p; return x; }

void __attribute((noinline))
bar() { *x.p = 1; }

extern void abort (void);
int main()
{
  int i = 0;
  x = foo(&i);
  bar();
  if (i != 1)
    abort ();
  return 0;
}


-- 
           Summary: [4.2/4.3/4.4 Regression] Missed escape constraints for
                    call results
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: wrong-code, alias
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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


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

end of thread, other threads:[~2012-03-13 16:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-39120-4@http.gcc.gnu.org/bugzilla/>
2011-06-27 14:13 ` [Bug tree-optimization/39120] [4.3/4.4 Regression] Missed escape constraints for call results rguenth at gcc dot gnu.org
2012-03-13 16:34 ` [Bug tree-optimization/39120] [4.4 " jakub at gcc dot gnu.org
2009-02-06 17:59 [Bug tree-optimization/39120] New: [4.2/4.3/4.4 " rguenth at gcc dot gnu dot org
2009-03-31 21:12 ` [Bug tree-optimization/39120] [4.3/4.4 " jsm28 at gcc dot gnu dot org
2009-06-17 12:40 ` rguenth at gcc dot gnu dot org
2009-08-04 12:51 ` rguenth at gcc dot gnu dot org
2010-05-22 18:31 ` rguenth 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).