http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50506
--- Comment #12 from Rafał Mużyło 2011-09-25 18:02:58
UTC ---
(In reply to comment #11)
Does the WONTFIX resolution here mean that glibc will need a fix then ?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50506
Richard Guenther changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50506
--- Comment #10 from Rafał Mużyło 2011-09-25 13:51:14
UTC ---
So, I ran one more test:
gcc-4.6.1 -O2 -Wall -c -o fprintf-mini-bug-4.6.o fprintf-mini-bug-4.6.i
-fno-align-functions -fno-align-jumps -fno-align-labels -fno-align-loops
-fno-caller-sa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50506
--- Comment #9 from Rafał Mużyło 2011-09-25 13:33:42
UTC ---
What I'm trying to say is that gcc should either:
- accept the code even with -fno-ipa-cp
- reject the code even with -fipa-cp
- print better diagnostics, if -fipa-cp should be the magi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50506
Rafał Mużyło changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50506
Richard Guenther changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50506
--- Comment #6 from Rafał Mużyło 2011-09-24 16:05:20
UTC ---
So, whose bug is it then ? glibc ?
cause before reduction, the code was
(http://bugs.gentoo.org/show_bug.cgi?id=365015):
#include
static void w_i(void *fp, int (*outf)(void *, const c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50506
--- Comment #5 from Andrew Pinski 2011-09-24
15:54:22 UTC ---
And this is not a bug in GCC really as GCC is correct it cannot inline
always_inline functions for indirect function calls.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50506
--- Comment #4 from Rafał Mużyło 2011-09-24 13:38:47
UTC ---
Well,...
The actual result was quite a bit more interesting, cause:
Using built-in specs.
COLLECT_GCC=/usr/i686-pc-linux-gnu/gcc-bin/4.5.3/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50506
--- Comment #3 from Rafał Mużyło 2011-09-24 13:17:59
UTC ---
OK, that's a bit surprising, -fipa-cp does help for attachment from comment 1,
but not for my final reduction - removing the attribute still works there,
though.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50506
Rafał Mużyło changed:
What|Removed |Added
Attachment #25355|0 |1
is obsolete|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50506
Rafał Mużyło changed:
What|Removed |Added
Attachment #25354|0 |1
is obsolete|
12 matches
Mail list logo