public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/14847] New: [tree-ssa
@ 2004-04-04 16:48 kazu at cs dot umass dot edu
  2004-04-04 16:52 ` [Bug optimization/14847] [tree-ssa] combine "if (a & 1) goto there" and "if (a & 4) goto there" kazu at cs dot umass dot edu
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: kazu at cs dot umass dot edu @ 2004-04-04 16:48 UTC (permalink / raw)
  To: gcc-bugs

 

-- 
           Summary: [tree-ssa
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kazu at cs dot umass dot edu
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug optimization/14847] [tree-ssa] combine "if (a & 1) goto there" and "if (a & 4) goto there"
  2004-04-04 16:48 [Bug optimization/14847] New: [tree-ssa kazu at cs dot umass dot edu
@ 2004-04-04 16:52 ` kazu at cs dot umass dot edu
  2004-04-04 16:56 ` kazu at cs dot umass dot edu
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: kazu at cs dot umass dot edu @ 2004-04-04 16:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kazu at cs dot umass dot edu  2004-04-04 16:52 -------
Convert foo() to baz().

void bar (void);

void
foo (unsigned int a)
{
  if (a & 1)
    goto heaven;
  if (a & 4)
    goto heaven;
  return;

 heaven:
  bar ();
}

void
baz (unsigned int a)
{
  if (a & 5)
    goto heaven;
  return;

 heaven:
  bar ();
}


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pessimizes-code
            Summary|[tree-ssa                   |[tree-ssa] combine "if (a &
                   |                            |1) goto there" and "if (a &
                   |                            |4) goto there"


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


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

* [Bug optimization/14847] [tree-ssa] combine "if (a & 1) goto there" and "if (a & 4) goto there"
  2004-04-04 16:48 [Bug optimization/14847] New: [tree-ssa kazu at cs dot umass dot edu
  2004-04-04 16:52 ` [Bug optimization/14847] [tree-ssa] combine "if (a & 1) goto there" and "if (a & 4) goto there" kazu at cs dot umass dot edu
  2004-04-04 16:56 ` kazu at cs dot umass dot edu
@ 2004-04-04 16:56 ` pinskia at gcc dot gnu dot org
  2004-05-24 19:57 ` [Bug tree-optimization/14847] " pinskia at gcc dot gnu dot org
  2005-04-21  0:40 ` kazu at cs dot umass dot edu
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-04 16:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-04 16:56 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|14846                       |
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-04 16:56:32
               date|                            |
   Target Milestone|---                         |tree-ssa


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


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

* [Bug optimization/14847] [tree-ssa] combine "if (a & 1) goto there" and "if (a & 4) goto there"
  2004-04-04 16:48 [Bug optimization/14847] New: [tree-ssa kazu at cs dot umass dot edu
  2004-04-04 16:52 ` [Bug optimization/14847] [tree-ssa] combine "if (a & 1) goto there" and "if (a & 4) goto there" kazu at cs dot umass dot edu
@ 2004-04-04 16:56 ` kazu at cs dot umass dot edu
  2004-04-04 16:56 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: kazu at cs dot umass dot edu @ 2004-04-04 16:56 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |14846


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


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

* [Bug tree-optimization/14847] [tree-ssa] combine "if (a & 1) goto there" and "if (a & 4) goto there"
  2004-04-04 16:48 [Bug optimization/14847] New: [tree-ssa kazu at cs dot umass dot edu
                   ` (2 preceding siblings ...)
  2004-04-04 16:56 ` pinskia at gcc dot gnu dot org
@ 2004-05-24 19:57 ` pinskia at gcc dot gnu dot org
  2005-04-21  0:40 ` kazu at cs dot umass dot edu
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-24 19:57 UTC (permalink / raw)
  To: gcc-bugs



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


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


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

* [Bug tree-optimization/14847] [tree-ssa] combine "if (a & 1) goto there" and "if (a & 4) goto there"
  2004-04-04 16:48 [Bug optimization/14847] New: [tree-ssa kazu at cs dot umass dot edu
                   ` (3 preceding siblings ...)
  2004-05-24 19:57 ` [Bug tree-optimization/14847] " pinskia at gcc dot gnu dot org
@ 2005-04-21  0:40 ` kazu at cs dot umass dot edu
  4 siblings, 0 replies; 6+ messages in thread
From: kazu at cs dot umass dot edu @ 2005-04-21  0:40 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 14847 depends on bug 14846, which changed state.

Bug 14846 Summary: [tree-ssa] don't use a shift in A & CST_POWER_OF_2 == 0 until very late in tree-ssa optimizations
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14846

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

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


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

end of thread, other threads:[~2005-04-21  0:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-04 16:48 [Bug optimization/14847] New: [tree-ssa kazu at cs dot umass dot edu
2004-04-04 16:52 ` [Bug optimization/14847] [tree-ssa] combine "if (a & 1) goto there" and "if (a & 4) goto there" kazu at cs dot umass dot edu
2004-04-04 16:56 ` kazu at cs dot umass dot edu
2004-04-04 16:56 ` pinskia at gcc dot gnu dot org
2004-05-24 19:57 ` [Bug tree-optimization/14847] " pinskia at gcc dot gnu dot org
2005-04-21  0:40 ` kazu at cs dot umass 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).