This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/18046] Missed jump threading optimization


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-18 12:52 -------
Confirmed. To summarize what the code should look like:
extern void foo (void);
extern int i;
void
bar (void)
{
  switch (i)
    {
    case 0:
      foo ();
      break;
    default:
       goto other_block;
    }
                                                                               
                
  switch (i)
    {
    case 0:
      foo ();
      break;
    default:
    other_block:
      break;
    }
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-18 12:52:47
               date|                            |
            Summary|Missed jump threading       |Missed jump threading
                   |optimization                |optimization


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]