[PATCH v2] generate EH info for volatile asm statements (PR93981)
Segher Boessenkool
segher@kernel.crashing.org
Mon Mar 9 22:10:20 GMT 2020
Hi!
On Sun, Mar 08, 2020 at 05:18:21PM +0100, J.W. Jagersma wrote:
> The only question I have left now is if my proposed change to the
> documentation is acceptable or should be expanded/reworded.
I think it is fine. It's easier to judge if you look fresh at it, in
my experience, so I might think differently at stage1 time ;-)
> There is also still the question of whether non-volatile asms should be
> allowed to throw or not. I don't know if that should be discussed here
> or on the PR.
I think you should just allow it. But almost always an asm that can
throw *should* be volatile, or else the compiler might optimise it away
in unexpected cases, etc.
Segher
More information about the Gcc-patches
mailing list