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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Rainer Orth from comment #6)
> 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

I backed out my change and got

[hjl@gnu-tools-1 gcc]$ 
/export/build/gnu/gcc-cross/build-i386-solaris2.11/gcc/xgcc
-B/export/build/gnu/gcc-cross/build-i386-solaris2.11/gcc/
/export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/pr81736-3.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -mclear-hwcap -O2
-fno-omit-frame-pointer -S -o pr81736-3.s
[hjl@gnu-tools-1 gcc]$ cat pr81736-3.s
        .file   "pr81736-3.c"
        .text
        .align 16
        .globl  foo
        .type   foo, @function
foo:
        pushl   %ebx
/APP
/ 7
"/export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/pr81736-3.c"
1
        # 
/NO_APP
        popl    %ebx
        ret
        .size   foo, .-foo
        .ident  "GCC: (GNU) 8.0.0 20170812 (experimental)"
[hjl@gnu-tools-1 gcc]$ 

These 2 testcases may have exposed an existing issue for Solaris/i386 target.
Please verify it with GCC 7 and open a new bug if this is a real issue.

Reply via email to