[Bug c/29305] local label-as-value being placed before function prolog

2006-09-30 Thread jeremy at goop dot org
--- Comment #2 from jeremy at goop dot org 2006-10-01 05:18 --- What I'm trying to do is get the address of particular faulting instructions in an asm: faulted: asm volatile("ud2"); so that an exception handler can come back later and match a fault address with an instruction. The beh

[Bug c/29305] local label-as-value being placed before function prolog

2006-09-30 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-01 04:43 --- This is not a bug really. label as values are only supposed to be used for used with gotos. Read: http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Labels-as-Values.html Maybe it can be made a little clearer but it seems