[Bug c/107736] call to a function, generated by inline asm, is off by one byte

2022-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107736 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #6 from Andrew

[Bug c/107736] call to a function, generated by inline asm, is off by one byte

2022-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107736 --- Comment #5 from Andrew Pinski --- (In reply to mfarca from comment #4) > Thanks for creating the issue for improving documentation. > > Could you then clarify if call to the incorrect address is a bug or not? > instructions are allowed to

[Bug c/107736] call to a function, generated by inline asm, is off by one byte

2022-11-17 Thread miladfarca at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107736 --- Comment #4 from mfarca --- Thanks for creating the issue for improving documentation. Could you then clarify if call to the incorrect address is a bug or not? instructions are allowed to be under `.rodata` section as this section is still

[Bug c/107736] call to a function, generated by inline asm, is off by one byte

2022-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107736 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/107736] call to a function, generated by inline asm, is off by one byte

2022-11-17 Thread miladfarca at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107736 --- Comment #2 from mfarca --- > Toplevel inline-asm will be emitted without any knowledge of the current > section. So this is a limitation of gcc I guess? as clang does have the knowledge on which is which. The main issue still persists as

[Bug c/107736] call to a function, generated by inline asm, is off by one byte

2022-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107736 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Keywords|