This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Forcing the production of unreachable code
- From: Patrick Moran <patrick dot a dot moran at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 30 Jun 2009 23:48:38 -0400
- Subject: Re: Forcing the production of unreachable code
- References: <fccd26750906302046jc8689a2rf1c75885986edc88@mail.gmail.com>
Hello all,
I was wondering if there is some means of directing gcc to generate
unreachable code?? Either a means to do so globally or a specific
scope would be great.? I wish to generate some code which employs
inline assembly and/or libunwind to do a type of exception handling
not possible in standard C.
Don't get me wrong - the compiler is correct. The generated code is
unreachable via any standard C control flow mechanism, but I'd really
like it to generate the code anyways.? Is there any way to do this?
Thanks,
Patrick Moran