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] Fix problem in EH fix-up due to a previouls merge error.


2008/9/30 Doug Kwan (éæå) <dougkwan@google.com>:
> Commited.  Cherry-picking works again.  Currently there is no
> multi-file LTO test case and I think we want have some to avoid
> unnoticed future breakage of WPA or LTO --combine.

Agreed.  Just add them to testsuite/gcc.dg/lto and/or
testsuite/g++.dg/lto.  However, you may need to write some dejagnu
harness.

Janice, is there support in dg.exp to write multi-file tests?
Essentially we need to do:

$ gcc -c -flto a.c
$ gcc -c -flto b.c
$ gcc -o prog -flto a.o b.o


Thanks.  Diego.
>
> -Doug
>
> 2008/9/30 Diego Novillo <dnovillo@google.com>:
>> On Tue, Sep 30, 2008 at 16:10, Doug Kwan (éæå) <dougkwan@google.com> wrote:
>>
>>>        * lto-symtab.c (lto_symbol_overwrite_decl): Check for change in
>>>        exception attribute and remember decl for fix-up.
>>>        (lto_symtab_merge_decl): Remove incorrect code do to a previous
>>>        merge error.  Check for change in exception attribute and
>>>        remember decl for fix-up.
>>
>> OK.
>>
>>
>> Diego.
>>
>

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