[Bug rtl-optimization/46854] PowerPC optimization regression

2017-03-03 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46854 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug rtl-optimization/46854] PowerPC optimization regression

2010-12-09 Thread joakim.tjernlund at transmode dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46854 --- Comment #4 from joakim.tjernlund at transmode dot se 2010-12-09 18:23:59 UTC --- Here is the copy an an earlier mail I sent to the list in November: Using gcc 4.4.4 -Os on loop(long *to, long *from, long len) { for (; len; --len)

[Bug rtl-optimization/46854] PowerPC optimization regression

2010-12-09 Thread joakim.tjernlund at transmode dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46854 --- Comment #3 from joakim.tjernlund at transmode dot se 2010-12-09 18:21:50 UTC --- (In reply to comment #2) > Note, -O2 generates mostly the code you want, except that it looks the address > of the string twice: > > Here is the code generated w

[Bug rtl-optimization/46854] PowerPC optimization regression

2010-12-09 Thread meissner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46854 Michael Meissner changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/46854] PowerPC optimization regression

2010-12-09 Thread joakim.tjernlund at transmode dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46854 --- Comment #1 from joakim.tjernlund at transmode dot se 2010-12-09 09:10:50 UTC --- Somewhat related observation: It would be nice if gcc could optimize static inline const char *test(int i) { const char *p = "abc\0def\0gef"; for(; i; --