[Bug c/38187] New: when using gcc compile the code with option "-g3", I find the inline assemble code are palced in section .debug_macinfo

zuogang at huawei dot com gcc-bugzilla@gcc.gnu.org
Thu Nov 20 02:30:00 GMT 2008


the source code sample:
...
ULONG MON_OnCallGetIndex();
    __asm__
    ("MON_OnCallGetIndex:lwz  3, 0(1)\n\
      lwz  4, 4(3)\n\
      lwz  3, 124(4)\n\
      blr");
...


-- 
           Summary: when using gcc compile the code with option "-g3", I
                    find the inline assemble code are palced in section
                    .debug_macinfo
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zuogang at huawei dot com
  GCC host triplet: dell workstation x


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



More information about the Gcc-bugs mailing list