[Bug target/81736] Unnecessary save and restore frame pointer with -fno-omit-frame-pointer

ro at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Aug 12 15:05:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81736

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ro at gcc dot gnu.org

--- Comment #6 from Rainer Orth <ro at gcc dot gnu.org> ---
Two of the new tests FAIL on 32-bit Solaris/x86:

+FAIL: gcc.target/i386/pr81736-3.c scan-assembler %[re]bp
+FAIL: gcc.target/i386/pr81736-4.c scan-assembler %[re]bp

The body of the first one (when configured with gas) is just

foo:
        pushl   %ebx
/APP
/ 7 "/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/i386/pr81736-3.c" 1
        # 
/ 0 "" 2
/NO_APP
        popl    %ebx
        ret

  Rainer


More information about the Gcc-bugs mailing list