[tree-ssa] labels after returns

Diego Novillo dnovillo@redhat.com
Mon Apr 12 16:39:00 GMT 2004


On Mon, 2004-04-12 at 12:23, law@redhat.com wrote:
> In message <1081772243.3970.5.camel@localhost.localdomain>, Diego Novillo write
> s:
>  >On Mon, 2004-04-12 at 02:24, Andrew Pinski wrote:
>  >
>  >> testcase from gcc.c-torture/compile/20021108-1.c:
>  >> int
>  >> main()
>  >> {
>  >> l1:
>  >>    return &&l1-&&l2;
>  >> l2:;
>  >> }
>  >> 
>  >I thought this was invalid and thus fair game to remove?
> No, they are not fair game to remove.  The labels are fair game to 
> move though.  [A user label which is not used in control flow altering
> ways must be preserved, but its location need not be preserved. ]
> 
Regardless.  Are they not invalid?  That's my question.  Didn't you go
through FC packages fixing these things up?


Diego.



More information about the Gcc mailing list