[Bug c++/83244] New: inline assembly does not verify input operands allocation

2017-12-01 Thread unjello at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: unjello at gmail dot com Target Milestone: --- Created attachment 42767 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42767&action=edit zip file with all the files to reproduce

[Bug c++/83244] inline assembly does not verify input operands allocation

2017-12-01 Thread unjello at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83244 --- Comment #2 from Andrzej Lichnerowicz --- The resolution doesn't seem appropriate. GCC is creating invalid assembly, and user should not be held responsible for writing correct code, because why have any warnings and errors at all. OTOH, it i

[Bug inline-asm/83244] inline assembly does not verify input operands allocation

2017-12-02 Thread unjello at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83244 --- Comment #4 from Andrzej Lichnerowicz --- Andrew, thank you for taking the time to shed more light on this. It all makes sense now.