[Bug inline-asm/101738] Variable value is not set when address passed as register in inline assembly at O2

2021-08-02 Thread moinakb001 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101738 --- Comment #1 from Moinak Bhattacharyya --- Note: clang does not have this problem, generating: ``` test: mov dword ptr [rsp - 4], 305419896 lea rax, [rsp - 4] .asm_label: ret ```

[Bug inline-asm/101738] New: Variable value is not set when address passed as register in inline assembly at O2

2021-08-02 Thread moinakb001 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101738 Bug ID: 101738 Summary: Variable value is not set when address passed as register in inline assembly at O2 Product: gcc Version: 12.0 Status: UNCONFIRMED Sever