[Bug other/11484] New: GNU AS bug

sunilsreenivas2001 at yahoo dot com gcc-bugzilla@gcc.gnu.org
Thu Jul 10 01:05:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: GNU AS bug
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sunilsreenivas2001 at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org

Hi!
    I am not sure if this is the correct place to report bug with GNU AS. I 
assumed so because GCC internally uses GNU AS (Assembler). Ok the problem is 
that when using Intel syntax, for ARPL instruction the compiler doesnot report 
error when using Scaled Base Index mode when base register is specified as a 16 
bit register (NOT 32 bit). Instead it generates random code and this can cause 
problems during the execution. So ARPL [%ax],%bx compiles and produces: 63 fe
I think it is going to do the same mistakes for all SIB modes. Please check it.
GCC Version: 2.96
Platform: i386-redhat-linux Linux kernel version: 2.4.18-10 intel 686 processor.
Thanks,
Sunil.



More information about the Gcc-bugs mailing list