https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80361
--- Comment #8 from Dominique d'Humieres ---
Duplicate of/related to pr67505?
The flag -fcheck=recursion is enough to trigger the runtime error and I see it
with 4.9.3, but not with 4.8.5.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80361
--- Comment #7 from Jürgen Reuter ---
Created attachment 41159
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41159=edit
Correct reproducer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80361
--- Comment #6 from Jürgen Reuter ---
Ah sorry, here is the tarball with the missing file and also the correct flags.
And please remove the 'severe' from regression, I first thought this was with
default flags.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80361
Dominique d'Humieres changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80361
--- Comment #4 from Jürgen Reuter ---
Created attachment 41158
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41158=edit
Reproducer
Just unpack, do make, and then ./rt_error. Results in
$ ./rt_error
Running test: particle_specifiers_2At
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80361
--- Comment #3 from Jürgen Reuter ---
Indeed it is the -fcheck=all flag that causes the problem. I will send a
smaller reproducer soon.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80361
--- Comment #2 from Jürgen Reuter ---
The problem doesn't appear with our strict flags
-O0 -fbacktrace -fcheck=array-temps,bounds,do,mem,pointer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80361
--- Comment #1 from Jürgen Reuter ---
Bug only appears when using the flags -fbacktrace -ggdb -fcheck=all.
With default flags -O2 -g it doesn't occur.