https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88710
--- Comment #4 from c...@mnet-mail.de ---
Thanks, this caught the bounds violation with the following output:
lbound/ubound(a):-1-1 1 2 1 1
lbound/ubound(b):-1-1 1 2 1 1
lbound/ubound(c):-1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88710
--- Comment #3 from Dominique d'Humieres ---
> For what it's worth, I have compiled the code also with '-Wall'
> and '-Warray-bounds' but both these options didn't give any warning.
The relevant option is -fcheck=bounds.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88710
--- Comment #2 from c...@mnet-mail.de ---
Yes, the said block accesses 't' outside its bounds (because
the returned bounds are wrong).
Thanks for mentioning this.
For what it's worth, I have compiled the code also with '-Wall'
and
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88710
Dominique d'Humieres changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|