[LLVMbugs] [Bug 985] NEW: -fno-inline-functions should disable function inlining

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Nov 6 05:05:13 PST 2006


           Summary: -fno-inline-functions should disable function inlining
           Product: tools
           Version: trunk
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com

Compiling crtstuff.c fails on ARM because the call to __do_global_dtors_aux () 
is inlined in the following function

static void __attribute__((__used__)) call___do_global_dtors_aux (void) { asm 
("\t.section\t.fini"); __do_global_dtors_aux (); asm ("\t.text"); }

The gcc build script uses the -fno-inline-functions option when compiling 
crtstuff.c, but it doesn't work with llvm-gcc

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list