[Bug lto/51205] -flto discards memset/memcpy when only referenced by g++ generated code

bruck.michael at googlemail dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 19 02:13:00 GMT 2012


Michael Bruck <bruck.michael at googlemail dot com> changed:

           What    |Removed                     |Added
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Michael Bruck <bruck.michael at googlemail dot com> 2012-06-19 02:13:02 UTC ---
(In reply to comment #1)
> Can you try if this is fixed with GCC 4.7.x when using binutils 2.22 or newer
> and using the linker plugin?

I tried with arm-eabi-gcc 4.7.1 and binutils 2.22.52 with the same command line
and the bug is fixed in those.

(don't know if it makes a difference that I switched to arm-eabi, but arm-elf
won't build anymore for me)

More information about the Gcc-bugs mailing list