This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/17538] New: Filename and IMA


The debug info believes everything is in the first file.
aaa.c:
main() { print(); }
bbb.c:
print() { printf("hello world\n"); }
gcc -g  aa.c bb.c -combine -S
This produces a single output file, aa.s, containing both functions.
However it has only one filename stab,
        .stabs  "aaa.c",100,0,0,0
so everything appears to be in that file.

-- 
           Summary: Filename and IMA
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dpatel at apple dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: powerpc-darwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]