[Bug target/41424] Heavily optimized x86_64-w64 binary produces negative effects

xxcv07 at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Sep 22 12:28:00 GMT 2009



------- Comment #3 from xxcv07 at gmail dot com  2009-09-22 12:28 -------
I am reopening this bug based on that I have retested and recompiled using
gcc-trunk which leads to trying to reduce to the exact optimization flag which
was causing this problem. As you can see the gdb output above is invalid (which
was my mistake) but the bug for taking snapshots and -O2 optimization breaks
vlc at playback idx/sub + avi file.
I have narrowed it right down to a single flag -foptimize-sibling-calls this
flag is enabled in -O2 and produces faulty codes. In the runtime it will
trigger when vlccore was compiled with this flag which is the default
optimization for -O2.
Target specific ?
So please ignore the "assembler dump" in the initial description as it doesn't
apply now.
This is a rather critical bug, where it's unreproducible inside a debugger
instance. Its effects I have already outlined in the original description.
You probably have more knowledge in why this flag causes such a big issue for
x86_64-w64 target.
I'm only a user with minimal programming knowledge, I have provide all the
information and tests reports to the best of my ability.


-- 

xxcv07 at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41424



More information about the Gcc-bugs mailing list