This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: committed: Ada updates


Laurent GUERBY <laurent@guerby.net> writes:


>    7.a   Ramification: The compiler is inhibited from moving an assignment to
>          an inspectable variable past an inspection point for that variable.
>          On the other hand, the evaluation of an expression that might raise
>          an exception may be moved past an inspection point (see 11.6).

[...]

Sounds like asm("" ::: "memory")
Perhaps you can just use that? 

-Andi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]