https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51744
Alan Modra amodra at gmail dot com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51744
--- Comment #6 from Richard Biener rguenth at gcc dot gnu.org ---
Btw, it works when using gold ...
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51744
--- Comment #7 from Mark Pizzolato mark at infocomm dot com ---
Thanks for reducing this test case further. That illuminates something for me:
Specifically:
Notice in the following lines:
if (__builtin_constant_p (__len) __len == 0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51744
--- Comment #8 from Richard Biener rguenth at gcc dot gnu.org ---
(In reply to Mark Pizzolato from comment #7)
Thanks for reducing this test case further. That illuminates something for
me:
Specifically:
Notice in the following lines:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51744
--- Comment #9 from Mark Pizzolato mark at infocomm dot com ---
When val == 0 then the case of len == 0 is ambiguous and you can't really
tell the user they swapped val and len (because they are equal).
That is certainly true.
I'm not sure how
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51744
--- Comment #10 from Richard Biener rguenth at gcc dot gnu.org ---
It's a GNU ld bug I believe.
https://sourceware.org/bugzilla/show_bug.cgi?id=16746
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51744
--- Comment #4 from Richard Biener rguenth at gcc dot gnu.org ---
typedef __SIZE_TYPE__ size_t;
extern void *memset (void *__s, int __c, size_t __n) __attribute__
((__nothrow__)) __attribute__ ((__nonnull__ (1)));
extern void
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51744
--- Comment #5 from Richard Biener rguenth at gcc dot gnu.org ---
It also (sadly) means this works with -fno-use-linker-plugin. It also means
that not outputting the UNDEF into the LTO symbol table for this case doesn't
work as the executable
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51744
Richard Biener rguenth at gcc dot gnu.org changed:
What|Removed |Added
Known to fail||4.7.3, 4.8.3,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51744
--- Comment #2 from Mark Pizzolato mark at infocomm dot com 2012-10-23
16:42:06 UTC ---
Created attachment 28514
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28514
MUCH simpler test case
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51744
Mark Pizzolato mark at infocomm dot com changed:
What|Removed |Added
CC||mark at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51744
Richard Guenther rguenth at gcc dot gnu.org changed:
What|Removed |Added
Keywords||diagnostic,
12 matches
Mail list logo