[Bug middle-end/57003] gcc-4.8.0 breaks -O2 optimization with Wine(64) - links/info/bisect of commits included

2013-04-24 Thread bernds at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003 Bernd Schmidt bernds at gcc dot gnu.org changed: What|Removed |Added CC||bernds

[Bug middle-end/57003] gcc-4.8.0 breaks -O2 optimization with Wine(64) - links/info/bisect of commits included

2013-04-24 Thread kirill.k.smirnov at math dot spbu.ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003 --- Comment #14 from Kirill Smirnov kirill.k.smirnov at math dot spbu.ru 2013-04-24 16:06:41 UTC --- Created attachment 29929 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29929 gcc -E output. Attached gcc -E output. Lines around

[Bug middle-end/57003] gcc-4.8.0 breaks -O2 optimization with Wine(64) - links/info/bisect of commits included

2013-04-23 Thread kirill.k.smirnov at math dot spbu.ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003 Kirill Smirnov kirill.k.smirnov at math dot spbu.ru changed: What|Removed |Added CC|

[Bug middle-end/57003] gcc-4.8.0 breaks -O2 optimization with Wine(64) - links/info/bisect of commits included

2013-04-23 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at

[Bug middle-end/57003] gcc-4.8.0 breaks -O2 optimization with Wine(64) - links/info/bisect of commits included

2013-04-23 Thread kirill.k.smirnov at math dot spbu.ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003 --- Comment #9 from Kirill Smirnov kirill.k.smirnov at math dot spbu.ru 2013-04-23 15:56:59 UTC --- ... whatever memcpy implementation you are calling and see whether it correctly returns the first argument it has been passed to it in all

[Bug middle-end/57003] gcc-4.8.0 breaks -O2 optimization with Wine(64) - links/info/bisect of commits included

2013-04-23 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003 --- Comment #10 from Jakub Jelinek jakub at gcc dot gnu.org 2013-04-23 16:00:52 UTC --- But __builtin_memcpy isn't necessarily the inline memcpy code, it can very well be a library call too. Anyway, this bugreport doesn't have a

[Bug middle-end/57003] gcc-4.8.0 breaks -O2 optimization with Wine(64) - links/info/bisect of commits included

2013-04-23 Thread kirill.k.smirnov at math dot spbu.ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003 --- Comment #11 from Kirill Smirnov kirill.k.smirnov at math dot spbu.ru 2013-04-23 21:33:10 UTC --- I'm sorry I cannot reproduce invalid behaviour within a refined test case. Instead I can provide commented asm dump from wine. This

[Bug middle-end/57003] gcc-4.8.0 breaks -O2 optimization with Wine(64) - links/info/bisect of commits included

2013-04-23 Thread kirill.k.smirnov at math dot spbu.ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003 --- Comment #12 from Kirill Smirnov kirill.k.smirnov at math dot spbu.ru 2013-04-23 22:01:18 UTC --- I' sorry, forgot to mention compiler flags: -O2 -g

[Bug middle-end/57003] gcc-4.8.0 breaks -O2 optimization with Wine(64) - links/info/bisect of commits included

2013-04-22 Thread dank at kegel dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003 --- Comment #6 from dank at kegel dot com 2013-04-22 16:39:37 UTC --- You'd think... but I didn't find any obvious memcpy replacement. I spent some time bisecting the wine source yesterday. There appear to be at least three or four

[Bug middle-end/57003] gcc-4.8.0 breaks -O2 optimization with Wine(64) - links/info/bisect of commits included

2013-04-21 Thread dank at kegel dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003 dank at kegel dot com changed: What|Removed |Added CC||dank at kegel dot com

[Bug middle-end/57003] gcc-4.8.0 breaks -O2 optimization with Wine(64) - links/info/bisect of commits included

2013-04-21 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003 --- Comment #5 from Andrew Pinski pinskia at gcc dot gnu.org 2013-04-21 18:06:36 UTC --- (In reply to comment #4) Next step may be to bisect wine's source code to see which file or files misbehave when built with -O2 but without

[Bug middle-end/57003] gcc-4.8.0 breaks -O2 optimization with Wine(64) - links/info/bisect of commits included

2013-04-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED

[Bug middle-end/57003] gcc-4.8.0 breaks -O2 optimization with Wine(64) - links/info/bisect of commits included

2013-04-18 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Component|c

[Bug middle-end/57003] gcc-4.8.0 breaks -O2 optimization with Wine(64) - links/info/bisect of commits included

2013-04-18 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003 --- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org 2013-04-19 01:00:03 UTC --- (In reply to comment #1) IIRC this is usually due to mis writing of memcpy/memset where you return null rather than the dest (first argument).