[Bug middle-end/15014] New: [tree-ssa] [regression] labels after are removed even though they are used

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Apr 19 15:55:00 GMT 2004


Try to run the following code -O1 or above, you will either get a link error or an as error:
int a;
int
main()
{
l1:
  a= &&l1-&&l2;
  return 0;
l2:;
}

I first reported it here: <http://gcc.gnu.org/ml/gcc/2004-04/msg00556.html> but the 
descussion went into wrong direction, I just wantted to know if someone had noticed this 
before.

-- 
           Summary: [tree-ssa] [regression] labels after are removed even
                    though they are used
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: middle-end
        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=15014



More information about the Gcc-bugs mailing list