Take me off this list
UVMDudeMan
The@uvmdudeman.com
Sun Jul 6 03:38:00 GMT 2003
Please take me off this list soon.
Quoting Segher Boessenkool <segher@koffie.nl>:
> Jamie Lokier wrote:
> > Segher Boessenkool wrote:
> >>The manual says:
> >>
> >> "The analogous feature in Fortran is called an assigned goto,
> >> but that name seems inappropriate in C, where one can do more
> >> than simply store label addresses in label variables."
> >>
> >>Not that I can see what more that could be (unless undefined
> >>behaviour is allowed).
> >
> > Dubious, but works:
> >
> > #include <stdint.h>
> > #include <stdio.h>
> >
> > int main ()
> > {
> > uintptr_t label = (uintptr_t) &&label1;
>
> Do all GCC ports provide uintptr_t? Nice loophole, btw.
>
>
> Segher
>
>
>
>
>
--
UVMDudeMan...verbally beating reality back into hippies since 2003
More information about the Gcc
mailing list