This is the mail archive of the gcc-patches@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: [LTO][PATCH] Handle -fexceptions properly.


No this does not.  In general, it is a problem if we mix and match
objects compiled with different flags like FP math trapping.  We need
to address this problem in the future.

-Doug

2008/10/22 Chris Lattner <clattner@apple.com>:
>
> On Oct 21, 2008, at 11:53 PM, Doug Kwan (Ãö®¶¼w) wrote:
>
>> Hi,
>>
>>  This patch handles the -fexceptions flag properly in LTO.
>> Previously we unconditionally set flag_exceptions flag to 1 even when
>> -fno-exceptions is given in command line.  This patch also disable a
>> check for NOTHROW compatibility check when -fno-exceptions is given to
>> LTO.
>
> Hi Doug,
>
> Does this handle the case when some files are compiled with -fexceptions and
> some aren't?
>
> -Chris

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