http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56715



Goswin von Brederlow <goswin-v-b at web dot de> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|RESOLVED                    |UNCONFIRMED

         Resolution|INVALID                     |



--- Comment #5 from Goswin von Brederlow <goswin-v-b at web dot de> 2013-03-25 
11:11:52 UTC ---

If it is invalid, as in not allowed, then I would expect an error. If it is

undefined behaviour then I would expect a warning.



For example:



    register const int r4 asm("r4") = 0x1000;

Warning: const expression wont be bound to a specific register.

Reply via email to