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

--- Comment #29 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 59531
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59531&action=edit
pr109093-comment24-reduction.c

Attempted reduction of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109093#c25
attached.

It only fails on trunk but during reduction, I think some versions failed on 14
at least, maybe even 13 too (would have to redo to check).

```
$ gcc pr109093-comment24-reduction.c -o pr109093-comment24-reduction -O2
-march=znver1 -ftrivial-auto-var-init=zero -fno-stack-protector &&
./pr109093-comment24-reduction
Segmentation fault (core dumped)

$ gcc pr109093-comment24-reduction.c -o pr109093-comment24-reduction -O2
-march=znver1 -fno-stack-protector && ./pr109093-comment24-reduction

$ gcc pr109093-comment24-reduction.c -o pr109093-comment24-reduction -O2 
-ftrivial-auto-var-init=zero -fno-stack-protector &&
./pr109093-comment24-reduction
```

Reply via email to