https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70063
--- Comment #3 from Andrew Wygle ---
This appears to be fixed in GCC 6.1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70063
Andre Vieira changed:
What|Removed |Added
CC||andre.simoesdiasvieira@arm.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70063
--- Comment #1 from Andrew Wygle ---
A quick correction - as my example above accidentally shows, compiling with
optimizations isn't a guarantee of avoiding this problem, it just sometimes
helps if the arguments are unused, as the optimizer will