This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] -fnon-call-exceptions vs LTO
On Sun, May 16, 2010 at 8:01 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> Well, more elegant way would definitly be to make this represented in the
>> IL. I guess it is relatively easy to do it at function level (i.e. make
>> cfun->non_call_exceptions and prohibit inlinlining that change the value)
>> but it is really more an statement property. ?Wonder how hard would be to
>> implement this right...
>
> OK, I can try the function level, thanks.
>
> Anyone to approve the following bits only?
>
>
> ? ? ? ?* opts.c (handle_option): Call into LTO streamer only if ENABLE_LTO.
> ? ? ? ?(decode_options): Likewise.
> ? ? ? ?* Makefile.in (opts.o): Add dependency on LTO_STREAMER_H.
IIUC this is already broken for -fexceptions, see
http://gcc.gnu.org/ml/gcc-bugs/2010-05/msg01685.html.
Ciao!
Steven