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-02-06 17:59 ` [Bug tree-optimization/39120] " rguenth at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 15+ 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] 15+ messages in thread
[parent not found: <bug-39120-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-06-27 14:13 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-06 17:59 [Bug tree-optimization/39120] New: [4.2/4.3/4.4 Regression] Missed escape constraints for call results rguenth at gcc dot gnu dot org
2009-02-06 17:59 ` [Bug tree-optimization/39120] " rguenth at gcc dot gnu dot org
2009-02-07 12:31 ` rguenth at gcc dot gnu dot org
2009-02-09 21:22 ` jsm28 at gcc dot gnu dot org
2009-03-24 14:03 ` howarth at nitro dot med dot uc dot edu
2009-03-24 14:20 ` rguenther at suse dot de
2009-03-24 14:40 ` rguenth at gcc dot gnu dot org
2009-03-24 14:40 ` rguenth at gcc dot gnu dot org
2009-03-27 22:37 ` rguenth at gcc dot gnu dot org
2009-03-27 22:41 ` 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
     [not found] <bug-39120-4@http.gcc.gnu.org/bugzilla/>
2011-06-27 14:13 ` 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).