public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/19641] New: &a[0] == &a[1] is not folded.
@ 2005-01-26 14:17 pinskia at gcc dot gnu dot org
  2005-01-26 14:19 ` [Bug tree-optimization/19641] " pinskia at gcc dot gnu dot org
  2005-01-26 14:19 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-26 14:17 UTC (permalink / raw)
  To: gcc-bugs

int foo(void)
{
        int i[2];
        if (&i[0] == &i[1])
                return 1;
        return 0;
}

We should get 0.

-- 
           Summary: &a[0] == &a[1] is not folded.
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: missed-optimization, TREE
          Severity: enhancement
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug tree-optimization/19641] &a[0] == &a[1] is not folded.
  2005-01-26 14:17 [Bug tree-optimization/19641] New: &a[0] == &a[1] is not folded pinskia at gcc dot gnu dot org
@ 2005-01-26 14:19 ` pinskia at gcc dot gnu dot org
  2005-01-26 14:19 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-26 14:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-26 14:18 -------
Woops I knew I had filed this before.

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

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

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|19639                       |
              nThis|                            |
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

* [Bug tree-optimization/19641] &a[0] == &a[1] is not folded.
  2005-01-26 14:17 [Bug tree-optimization/19641] New: &a[0] == &a[1] is not folded pinskia at gcc dot gnu dot org
  2005-01-26 14:19 ` [Bug tree-optimization/19641] " pinskia at gcc dot gnu dot org
@ 2005-01-26 14:19 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-26 14:19 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |19639
              nThis|                            |


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


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

end of thread, other threads:[~2005-01-26 14:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-26 14:17 [Bug tree-optimization/19641] New: &a[0] == &a[1] is not folded pinskia at gcc dot gnu dot org
2005-01-26 14:19 ` [Bug tree-optimization/19641] " pinskia at gcc dot gnu dot org
2005-01-26 14:19 ` pinskia 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).