[Bug c/50111] New: Option -O0 cause "Error: unsupported for `movq'"

llancelot7 at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Aug 18 02:25:00 GMT 2011


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

             Bug #: 50111
           Summary: Option -O0 cause "Error: unsupported for `movq'"
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: llancelot7@gmail.com


While compiling http://www.libsdl.org/release/SDL-1.2.14.tar.gz with CFLAGS="-g
-O0" appears:
./src/video/SDL_RLEaccel.c: Assembler messages:
./src/video/SDL_RLEaccel.c:831: Error: unsupported for `movq'
./src/video/SDL_RLEaccel.c:831: Error: unsupported for `movq'
./src/video/SDL_RLEaccel.c:831: Error: unsupported for `movq'
./src/video/SDL_RLEaccel.c:831: Error: unsupported for `movq'
./src/video/SDL_RLEaccel.c:930: Error: unsupported for `movq'
./src/video/SDL_RLEaccel.c:930: Error: unsupported for `movq'
./src/video/SDL_RLEaccel.c:930: Error: unsupported for `movq'
./src/video/SDL_RLEaccel.c:930: Error: unsupported for `movq'

Any other -OX flag gives no errors. No flag gives error.
On 4.4.X and on 4.5.X versions -O0 gives no errors while compilation. 
(Tested on i386 arch).



More information about the Gcc-bugs mailing list