public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/70230] 11 test regressions when building GCC 6 with --enable-default-ssp
       [not found] <bug-70230-4@http.gcc.gnu.org/bugzilla/>
@ 2022-01-25 13:49 ` allan at archlinux dot org
  2022-01-28 17:45 ` cvs-commit at gcc dot gnu.org
  2022-01-28 18:42 ` law at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: allan at archlinux dot org @ 2022-01-25 13:49 UTC (permalink / raw)
  To: gcc-bugs

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

Allan McRae <allan at archlinux dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |allan at archlinux dot org

--- Comment #5 from Allan McRae <allan at archlinux dot org> ---
Created attachment 52286
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52286&action=edit
Fix testsuite issues with --enable-default-ssp

Add -fno-stack-protector to dg-options where needed.  Fixes the following
testsuite failures from adding --enable-default-ssp to configure:

FAIL: gcc.dg/asan/use-after-scope-4.c   -O0  execution test
FAIL: gcc.dg/stack-usage-1.c scan-stack-usage foo\\t(256|264)\\tstatic
FAIL: gcc.dg/superblock.c scan-rtl-dump-times sched2 "ADVANCING TO" 2
FAIL: gcc.target/i386/avx-vzeroupper-17.c scan-assembler-times avx_vzeroupper 1
FAIL: gcc.target/i386/cleanup-1.c execution test
FAIL: gcc.target/i386/cleanup-2.c execution test
FAIL: gcc.target/i386/interrupt-redzone-1.c scan-assembler-not \\tcld
FAIL: gcc.target/i386/interrupt-redzone-2.c scan-assembler-not \\tcld
FAIL: gcc.target/i386/pr79793-1.c scan-assembler-times add[lq][\\t
]*\\\\\$400,[\\t ]*%[re]sp 1
FAIL: gcc.target/i386/pr79793-1.c scan-assembler-times fxsave64[\\t
]*-120\\\\(%[re]sp\\\\) 1
FAIL: gcc.target/i386/pr79793-1.c scan-assembler-times sub[lq][\\t
]*\\\\\$400,[\\t ]*%[re]sp 1
FAIL: gcc.target/i386/pr79793-2.c scan-assembler-times add[lq][\\t
]*\\\\\$400,[\\t ]*%[re]sp 1
FAIL: gcc.target/i386/pr79793-2.c scan-assembler-times fxsave64[\\t
]*-120\\\\(%[re]sp\\\\) 1
FAIL: gcc.target/i386/pr79793-2.c scan-assembler-times sub[lq][\\t
]*\\\\\$392,[\\t ]*%[re]sp 1
FAIL: gcc.target/i386/shrink_wrap_1.c scan-rtl-dump pro_and_epilogue
"Performing shrink-wrapping"
FAIL: gcc.target/i386/stack-check-11.c scan-assembler-times or[ql] 3
FAIL: gcc.target/i386/stack-check-11.c scan-assembler-times sub[ql] 4
FAIL: gcc.target/i386/stack-check-18.c scan-assembler-times or[ql] 1
FAIL: gcc.target/i386/stack-check-19.c scan-assembler-times (?:je|jne) 3
FAIL: gcc.target/i386/stack-check-19.c scan-assembler-times or[ql] 2
FAIL: gcc.target/i386/sw-1.c scan-rtl-dump pro_and_epilogue "Performing
shrink-wrapping"
FAIL: gcc.target/i386/stackalign/pr88483-1.c -mno-stackrealign 
scan-assembler-not (sub|add)(l|q)[\\\\t ]*\\\\\$[0-9]*,[\\\\t ]*%[re]?sp
FAIL: gcc.target/i386/stackalign/pr88483-1.c -mno-stackrealign 
scan-assembler-not and[lq]?[^\\\\n]*-[0-9]+,[^\\\\n]*sp
FAIL: gcc.target/i386/stackalign/pr88483-1.c -mstackrealign  scan-assembler-not
(sub|add)(l|q)[\\\\t ]*\\\\\$[0-9]*,[\\\\t ]*%[re]?sp
FAIL: gcc.target/i386/stackalign/pr88483-1.c -mstackrealign  scan-assembler-not
and[lq]?[^\\\\n]*-[0-9]+,[^\\\\n]*sp
FAIL: gcc.target/i386/stackalign/pr88483-2.c -mno-stackrealign 
scan-assembler-not and[lq]?[^\\\\n]*-[0-9]+,[^\\\\n]*sp
FAIL: gcc.target/i386/stackalign/pr88483-2.c -mstackrealign  scan-assembler-not
and[lq]?[^\\\\n]*-[0-9]+,[^\\\\n]*sp

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug testsuite/70230] 11 test regressions when building GCC 6 with --enable-default-ssp
       [not found] <bug-70230-4@http.gcc.gnu.org/bugzilla/>
  2022-01-25 13:49 ` [Bug testsuite/70230] 11 test regressions when building GCC 6 with --enable-default-ssp allan at archlinux dot org
@ 2022-01-28 17:45 ` cvs-commit at gcc dot gnu.org
  2022-01-28 18:42 ` law at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-28 17:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jeff Law <law@gcc.gnu.org>:

https://gcc.gnu.org/g:90c31ff339015ddd89ac519656fbd23a36ee6271

commit r12-6922-g90c31ff339015ddd89ac519656fbd23a36ee6271
Author: Allan McRae <allan@archlinux.org>
Date:   Fri Jan 28 12:44:08 2022 -0500

    testsuite/70230 - fix failures with default SSP\

    Configuring with --enable-default-ssp triggers various testsuite
    failures.  These contain asm statements that are not compatible with
    -fstack-protector.  Adding -fno-stack-protector to dg-options to
    work around this issue.

    Tested on x86_64-linux.

            PR testsuite/70230
            * gcc.dg/asan/use-after-scope-4.c (dg-options): Add
            -fno-stack-protector.
            * gcc.dg/stack-usage-1.c: Likewise
            * gcc.dg/superblock.c: Likewise
            * gcc.target/i386/avx-vzeroupper-17.c: Likewise
            * gcc.target/i386/cleanup-1.c: Likewise
            * gcc.target/i386/cleanup-2.c: Likewise
            * gcc.target/i386/interrupt-redzone-1.c: Likewise
            * gcc.target/i386/interrupt-redzone-2.c: Likewise
            * gcc.target/i386/pr79793-1.c: Likewise
            * gcc.target/i386/pr79793-2.c: Likewise
            * gcc.target/i386/shrink_wrap_1.c: Likewise
            * gcc.target/i386/stack-check-11.c: Likewise
            * gcc.target/i386/stack-check-18.c: Likewise
            * gcc.target/i386/stack-check-19.c: Likewise
            * gcc.target/i386/stackalign/pr88483-1.c: Likewise
            * gcc.target/i386/stackalign/pr88483-2.c: Likewise
            * gcc.target/i386/sw-1.c: Likewise

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug testsuite/70230] 11 test regressions when building GCC 6 with --enable-default-ssp
       [not found] <bug-70230-4@http.gcc.gnu.org/bugzilla/>
  2022-01-25 13:49 ` [Bug testsuite/70230] 11 test regressions when building GCC 6 with --enable-default-ssp allan at archlinux dot org
  2022-01-28 17:45 ` cvs-commit at gcc dot gnu.org
@ 2022-01-28 18:42 ` law at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: law at gcc dot gnu.org @ 2022-01-28 18:42 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
                 CC|                            |law at gcc dot gnu.org

--- Comment #7 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Fixed on the trunk.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-28 18:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-70230-4@http.gcc.gnu.org/bugzilla/>
2022-01-25 13:49 ` [Bug testsuite/70230] 11 test regressions when building GCC 6 with --enable-default-ssp allan at archlinux dot org
2022-01-28 17:45 ` cvs-commit at gcc dot gnu.org
2022-01-28 18:42 ` law at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).