public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/13962] New: [tree-ssa] make "fold" use alias information to optimize pointer comparisons
@ 2004-02-01 18:22 dann at godzilla dot ics dot uci dot edu
  2004-02-01 18:31 ` [Bug optimization/13962] " dnovillo at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dann at godzilla dot ics dot uci dot edu @ 2004-02-01 18:22 UTC (permalink / raw)
  To: gcc-bugs

Given 2 pointers p and q, if the alias information says that p and q 
cannot alias, then comparisons like p == q and p != q can be optimized away.

There are quite a few examples in:

testsuite/gcc.dg/tree-ssa/ssa-ccp-3.c

-- 
           Summary: [tree-ssa] make "fold" use alias information to optimize
                    pointer comparisons
           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=13962


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

* [Bug optimization/13962] [tree-ssa] make "fold" use alias information to optimize pointer comparisons
  2004-02-01 18:22 [Bug optimization/13962] New: [tree-ssa] make "fold" use alias information to optimize pointer comparisons dann at godzilla dot ics dot uci dot edu
@ 2004-02-01 18:31 ` dnovillo at gcc dot gnu dot org
  2004-02-04  2:49 ` rth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2004-02-01 18:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dnovillo at gcc dot gnu dot org  2004-02-01 18:31 -------
Mine

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |dnovillo at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED


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


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

* [Bug optimization/13962] [tree-ssa] make "fold" use alias information to optimize pointer comparisons
  2004-02-01 18:22 [Bug optimization/13962] New: [tree-ssa] make "fold" use alias information to optimize pointer comparisons dann at godzilla dot ics dot uci dot edu
  2004-02-01 18:31 ` [Bug optimization/13962] " dnovillo at gcc dot gnu dot org
@ 2004-02-04  2:49 ` rth at gcc dot gnu dot org
  2004-02-13  3:17 ` pinskia at gcc dot gnu dot org
  2004-05-24 15:37 ` [Bug tree-optimization/13962] " pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-02-04  2:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2004-02-04 02:49 -------
Enhancement request.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement


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


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

* [Bug optimization/13962] [tree-ssa] make "fold" use alias information to optimize pointer comparisons
  2004-02-01 18:22 [Bug optimization/13962] New: [tree-ssa] make "fold" use alias information to optimize pointer comparisons dann at godzilla dot ics dot uci dot edu
  2004-02-01 18:31 ` [Bug optimization/13962] " dnovillo at gcc dot gnu dot org
  2004-02-04  2:49 ` rth at gcc dot gnu dot org
@ 2004-02-13  3:17 ` pinskia at gcc dot gnu dot org
  2004-05-24 15:37 ` [Bug tree-optimization/13962] " pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-13  3:17 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pessimizes-code
   Target Milestone|---                         |tree-ssa


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


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

* [Bug tree-optimization/13962] [tree-ssa] make "fold" use alias information to optimize pointer comparisons
  2004-02-01 18:22 [Bug optimization/13962] New: [tree-ssa] make "fold" use alias information to optimize pointer comparisons dann at godzilla dot ics dot uci dot edu
                   ` (2 preceding siblings ...)
  2004-02-13  3:17 ` pinskia at gcc dot gnu dot org
@ 2004-05-24 15:37 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-24 15:37 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.5.0                       |---


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


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

end of thread, other threads:[~2004-05-24  1:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-01 18:22 [Bug optimization/13962] New: [tree-ssa] make "fold" use alias information to optimize pointer comparisons dann at godzilla dot ics dot uci dot edu
2004-02-01 18:31 ` [Bug optimization/13962] " dnovillo at gcc dot gnu dot org
2004-02-04  2:49 ` rth at gcc dot gnu dot org
2004-02-13  3:17 ` pinskia at gcc dot gnu dot org
2004-05-24 15:37 ` [Bug tree-optimization/13962] " 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).