Fix this spurious error on targets without stack protection ability:
FAIL: gcc.dg/torture/pr124041.c -O0 (test for excess errors)
Excess errors:
cc1: warning: '-fstack-protector' not supported for this target
gcc/testsuite/ChangeLog:
* gcc.dg/torture/pr124041.c: Require effective target
fstack_protector.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
/* { dg-compile } */
/* { dg-additional-options "-O2 -fno-strict-aliasing -fstack-protector -ftrivial-auto-var-init=zero -fsanitize=thread -Wall" } */
+/* { dg-require-effective-target fstack_protector } */
char *trick_compiler(void *);
int do_usercopy_stack_callee_i;