[Bug c/79023] ARM: Compiler optimizations cause branch instruction within while loop to call itself infinitely.

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jan 7 23:11:00 GMT 2017


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
volatile void *ptr;

is a pointer to a violatile void type.

You want:
void *volatile  ptr;


More information about the Gcc-bugs mailing list