View | Details | Return to bug 70230
Collapse All | Expand All

(-)a/gcc/testsuite/gcc.dg/asan/use-after-scope-4.c (+1 lines)
Lines 1-4 Link Here
1
// { dg-do run }
1
// { dg-do run }
2
/* { dg-options "-fno-stack-protector" } */
2
3
3
#define FN(NAME) \
4
#define FN(NAME) \
4
NAME (void) \
5
NAME (void) \
(-)a/gcc/testsuite/gcc.dg/stack-usage-1.c (-1 / +1 lines)
Lines 1-5 Link Here
1
/* { dg-do compile } */
1
/* { dg-do compile } */
2
/* { dg-options "-fstack-usage" } */
2
/* { dg-options "-fstack-usage -fno-stack-protector" } */
3
/* nvptx doesn't have a reg allocator, and hence no stack usage data.  */
3
/* nvptx doesn't have a reg allocator, and hence no stack usage data.  */
4
/* { dg-skip-if "" { nvptx-*-* } } */
4
/* { dg-skip-if "" { nvptx-*-* } } */
5
5
(-)a/gcc/testsuite/gcc.dg/superblock.c (-1 / +1 lines)
Lines 1-5 Link Here
1
/* { dg-do compile } */
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fno-asynchronous-unwind-tables -fsched2-use-superblocks -fdump-rtl-sched2 -fdump-rtl-bbro" } */
2
/* { dg-options "-O2 -fno-asynchronous-unwind-tables -fsched2-use-superblocks -fdump-rtl-sched2 -fdump-rtl-bbro -fno-stack-protector" } */
3
/* { dg-require-effective-target scheduling } */
3
/* { dg-require-effective-target scheduling } */
4
4
5
typedef int aligned __attribute__ ((aligned (64)));
5
typedef int aligned __attribute__ ((aligned (64)));
(-)a/gcc/testsuite/gcc.target/i386/avx-vzeroupper-17.c (-1 / +1 lines)
Lines 1-5 Link Here
1
/* { dg-do compile { target lp64 } } */
1
/* { dg-do compile { target lp64 } } */
2
/* { dg-options "-O2 -mavx -mabi=ms -dp" } */
2
/* { dg-options "-O2 -mavx -mabi=ms -dp -fno-stack-protector" } */
3
3
4
typedef float __m256 __attribute__ ((__vector_size__ (32), __may_alias__));
4
typedef float __m256 __attribute__ ((__vector_size__ (32), __may_alias__));
5
5
(-)a/gcc/testsuite/gcc.target/i386/cleanup-1.c (-1 / +1 lines)
Lines 1-5 Link Here
1
/* { dg-do run { target *-*-linux* *-*-gnu* } } */
1
/* { dg-do run { target *-*-linux* *-*-gnu* } } */
2
/* { dg-options "-fexceptions -fnon-call-exceptions -fasynchronous-unwind-tables -O2" } */
2
/* { dg-options "-fexceptions -fnon-call-exceptions -fasynchronous-unwind-tables -O2 -fno-stack-protector" } */
3
/* Test complex CFA value expressions.  */
3
/* Test complex CFA value expressions.  */
4
4
5
#include <unwind.h>
5
#include <unwind.h>
(-)a/gcc/testsuite/gcc.target/i386/cleanup-2.c (-1 / +1 lines)
Lines 1-5 Link Here
1
/* { dg-do run { target { *-*-linux* && { ! ia32 } } } } */
1
/* { dg-do run { target { *-*-linux* && { ! ia32 } } } } */
2
/* { dg-options "-fexceptions -fnon-call-exceptions -fasynchronous-unwind-tables -O2" } */
2
/* { dg-options "-fexceptions -fnon-call-exceptions -fasynchronous-unwind-tables -O2 -fno-stack-protector" } */
3
/* Test complex CFA value expressions.  */
3
/* Test complex CFA value expressions.  */
4
4
5
#include <unwind.h>
5
#include <unwind.h>
(-)a/gcc/testsuite/gcc.target/i386/interrupt-redzone-1.c (-1 / +1 lines)
Lines 1-5 Link Here
1
/* { dg-do compile { target { ! ia32 } } } */
1
/* { dg-do compile { target { ! ia32 } } } */
2
/* { dg-options "-O2 -mgeneral-regs-only -mno-cld -mred-zone" } */
2
/* { dg-options "-O2 -mgeneral-regs-only -mno-cld -mred-zone -fno-stack-protector" } */
3
3
4
void
4
void
5
__attribute__((interrupt))
5
__attribute__((interrupt))
(-)a/gcc/testsuite/gcc.target/i386/interrupt-redzone-2.c (-1 / +1 lines)
Lines 1-5 Link Here
1
/* { dg-do compile { target { ! ia32 } } } */
1
/* { dg-do compile { target { ! ia32 } } } */
2
/* { dg-options "-O2 -mgeneral-regs-only -mno-cld -mred-zone" } */
2
/* { dg-options "-O2 -mgeneral-regs-only -mno-cld -mred-zone -fno-stack-protector" } */
3
3
4
void
4
void
5
__attribute__((interrupt))
5
__attribute__((interrupt))
(-)a/gcc/testsuite/gcc.target/i386/pr79793-1.c (-1 / +1 lines)
Lines 1-5 Link Here
1
/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
1
/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
2
/* { dg-options "-O2 -mgeneral-regs-only -mtune=generic" } */
2
/* { dg-options "-O2 -mgeneral-regs-only -mtune=generic -fno-stack-protector" } */
3
3
4
void
4
void
5
 __attribute__ ((interrupt))
5
 __attribute__ ((interrupt))
(-)a/gcc/testsuite/gcc.target/i386/pr79793-2.c (-1 / +1 lines)
Lines 1-5 Link Here
1
/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
1
/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
2
/* { dg-options "-O2 -mgeneral-regs-only -mtune=generic" } */
2
/* { dg-options "-O2 -mgeneral-regs-only -mtune=generic -fno-stack-protector" } */
3
3
4
typedef unsigned int uword_t __attribute__ ((mode (__word__)));
4
typedef unsigned int uword_t __attribute__ ((mode (__word__)));
5
5
(-)a/gcc/testsuite/gcc.target/i386/shrink_wrap_1.c (-1 / +1 lines)
Lines 1-5 Link Here
1
/* { dg-do compile { target { ! ia32 } } } */
1
/* { dg-do compile { target { ! ia32 } } } */
2
/* { dg-options "-O2 -fdump-rtl-pro_and_epilogue" } */
2
/* { dg-options "-O2 -fdump-rtl-pro_and_epilogue -fno-stack-protector" } */
3
3
4
enum machine_mode
4
enum machine_mode
5
{
5
{
(-)a/gcc/testsuite/gcc.target/i386/stack-check-11.c (-1 / +1 lines)
Lines 1-5 Link Here
1
/* { dg-do compile } */
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fstack-clash-protection -mtune=generic" } */
2
/* { dg-options "-O2 -fstack-clash-protection -mtune=generic -fno-stack-protector" } */
3
/* { dg-require-effective-target supports_stack_clash_protection } */
3
/* { dg-require-effective-target supports_stack_clash_protection } */
4
4
5
#include <stdint.h>
5
#include <stdint.h>
(-)a/gcc/testsuite/gcc.target/i386/stack-check-18.c (-1 / +1 lines)
Lines 1-5 Link Here
1
/* { dg-do compile } */
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fstack-clash-protection -mtune=generic -fdump-rtl-expand" } */
2
/* { dg-options "-O2 -fstack-clash-protection -mtune=generic -fdump-rtl-expand -fno-stack-protector" } */
3
/* { dg-require-effective-target supports_stack_clash_protection } */
3
/* { dg-require-effective-target supports_stack_clash_protection } */
4
/* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */
4
/* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */
5
5
(-)a/gcc/testsuite/gcc.target/i386/stack-check-19.c (-1 / +1 lines)
Lines 1-5 Link Here
1
/* { dg-do compile } */
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fstack-clash-protection -mtune=generic -fdump-rtl-expand" } */
2
/* { dg-options "-O2 -fstack-clash-protection -mtune=generic -fdump-rtl-expand -fno-stack-protector" } */
3
/* { dg-require-effective-target supports_stack_clash_protection } */
3
/* { dg-require-effective-target supports_stack_clash_protection } */
4
/* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */
4
/* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */
5
5
(-)a/gcc/testsuite/gcc.target/i386/stackalign/pr88483-1.c (-1 / +1 lines)
Lines 1-5 Link Here
1
/* { dg-do compile } */
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -mavx2" } */
2
/* { dg-options "-O2 -mavx2 -fno-stack-protector" } */
3
3
4
struct B
4
struct B
5
{
5
{
(-)a/gcc/testsuite/gcc.target/i386/stackalign/pr88483-2.c (-1 / +1 lines)
Lines 1-5 Link Here
1
/* { dg-do compile } */
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -mavx512f" } */
2
/* { dg-options "-O2 -mavx512f -fno-stack-protector" } */
3
3
4
struct B
4
struct B
5
{
5
{
(-)a/gcc/testsuite/gcc.target/i386/sw-1.c (-1 / +1 lines)
Lines 1-5 Link Here
1
/* { dg-do compile } */
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -mtune=generic -fshrink-wrap -fdump-rtl-pro_and_epilogue" } */
2
/* { dg-options "-O2 -mtune=generic -fshrink-wrap -fdump-rtl-pro_and_epilogue -fno-stack-protector" } */
3
/* { dg-skip-if "No shrink-wrapping preformed" { x86_64-*-mingw* } } */
3
/* { dg-skip-if "No shrink-wrapping preformed" { x86_64-*-mingw* } } */
4
4
5
#include <string.h>
5
#include <string.h>

Return to bug 70230