public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/13760] New: [tree-ssa] component refs to the same aggregate should not alias
@ 2004-01-20  6:46 dann at godzilla dot ics dot uci dot edu
  2004-01-20  6:47 ` [Bug optimization/13760] " dann at godzilla dot ics dot uci dot edu
  0 siblings, 1 reply; 2+ messages in thread
From: dann at godzilla dot ics dot uci dot edu @ 2004-01-20  6:46 UTC (permalink / raw)
  To: gcc-bugs

struct s
{
  int s;

  char p;
  int arr[10];
};

int foo0 (struct s * f)
{
  f->s = 1;
  f->s = 2;
}

the .optimized dump when compiling with -O2 is: 

foo0 (f)
{
<bb 0>:
  f->s = 1; /* This should be eliminated*/
  f->s = 2;
  return;

}

-- 
           Summary: [tree-ssa] component refs to the same aggregate should
                    not alias
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dann at godzilla dot ics dot uci dot edu
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug optimization/13760] [tree-ssa] component refs to the same aggregate should not alias
  2004-01-20  6:46 [Bug optimization/13760] New: [tree-ssa] component refs to the same aggregate should not alias dann at godzilla dot ics dot uci dot edu
@ 2004-01-20  6:47 ` dann at godzilla dot ics dot uci dot edu
  0 siblings, 0 replies; 2+ messages in thread
From: dann at godzilla dot ics dot uci dot edu @ 2004-01-20  6:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dann at godzilla dot ics dot uci dot edu  2004-01-20 06:47 -------
Oop

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


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


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

end of thread, other threads:[~2004-01-20  6:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-20  6:46 [Bug optimization/13760] New: [tree-ssa] component refs to the same aggregate should not alias dann at godzilla dot ics dot uci dot edu
2004-01-20  6:47 ` [Bug optimization/13760] " dann at godzilla dot ics dot uci dot edu

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).