[Bug c/50506] gcc fails at assembly with -O1 while inlining is forced

2011-09-25 Thread galtgendo at o2 dot pl
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 ?

[Bug c/50506] gcc fails at assembly with -O1 while inlining is forced

2011-09-25 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50506 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c/50506] gcc fails at assembly with -O1 while inlining is forced

2011-09-25 Thread galtgendo at o2 dot pl
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

[Bug c/50506] gcc fails at assembly with -O1 while inlining is forced

2011-09-25 Thread galtgendo at o2 dot pl
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

[Bug c/50506] gcc fails at assembly with -O1 while inlining is forced

2011-09-25 Thread galtgendo at o2 dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50506 Rafał Mużyło changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug c/50506] gcc fails at assembly with -O1 while inlining is forced

2011-09-25 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50506 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c/50506] gcc fails at assembly with -O1 while inlining is forced

2011-09-24 Thread galtgendo at o2 dot pl
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

[Bug c/50506] gcc fails at assembly with -O1 while inlining is forced

2011-09-24 Thread pinskia at gcc dot gnu.org
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.

[Bug c/50506] gcc fails at assembly with -O1 while inlining is forced

2011-09-24 Thread galtgendo at o2 dot pl
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-

[Bug c/50506] gcc fails at assembly with -O1 while inlining is forced

2011-09-24 Thread galtgendo at o2 dot pl
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.

[Bug c/50506] gcc fails at assembly with -O1 while inlining is forced

2011-09-24 Thread galtgendo at o2 dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50506 Rafał Mużyło changed: What|Removed |Added Attachment #25355|0 |1 is obsolete|

[Bug c/50506] gcc fails at assembly with -O1 while inlining is forced

2011-09-24 Thread galtgendo at o2 dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50506 Rafał Mużyło changed: What|Removed |Added Attachment #25354|0 |1 is obsolete|