This is the mail archive of the gcc@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]

Re: [tree-ssa] labels after returns


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



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