bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/21066] icf folds template functions with different exception h


From: ccoutant at gmail dot com
Subject: [Bug gold/21066] icf folds template functions with different exception handling semantics
Date: Tue, 24 Jan 2017 20:48:42 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=21066

Cary Coutant <ccoutant at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-01-24
     Ever confirmed|0                           |1

--- Comment #1 from Cary Coutant <ccoutant at gmail dot com> ---
The problem here is that the two functions are identical in every aspect,
except for the LSDA in .gcc_except_table. Since the LSDA has relocations
pointing to the code, but not the other way around, the linker's ICF code
doesn't spot the difference.

It looks like we'll have to disable ICF for any functions that have an LSDA
associated with them. A more ambitious approach might be to try to parse the
LSDAs for each function and include their contents and relocations as part of
the function's signature.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]