This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] labels after returns
- From: law at redhat dot com
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Mon, 12 Apr 2004 10:23:21 -0600
- Subject: Re: [tree-ssa] labels after returns
- Reply-to: law at redhat dot com
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. ]
jeff