[Bug c++/99508] [11 Regression] Asm labels declared inside a function are ignored
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99508 --- Comment #6 from Frank Mehnert --- Fix confirmed. Thanks guys!
[Bug c++/99508] New: Asm labels declared inside a function are ignored
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99508 Bug ID: 99508 Summary: Asm labels declared inside a function are ignored Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: frank.mehnert at googlemail dot com Target Milestone: --- This is apparently a gcc-11 regression. Following example: #include void foo() { void bar() asm ("bar_assembler"); extern unsigned buzz asm("buzz_assembler"); bar(); printf("%d\n", buzz); } Compile this C++ source code with -c and look at the generated symbols with 'objdump -tC'. g++-10: *UND* bar_assembler *UND* buzz_assembler *UND* printf g++-11: (Debian experimental 20210306): *UND* bar() *UND* buzz *UND* printf g++11 produces the same result as g++10 if 'bar' and 'buzz' are declared outside foo().
[Bug c/84168] Please backport "Avoid assembler warnings from AArch64 constructor/destructor priorities."
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84168 --- Comment #3 from Frank Mehnert --- Sorry for the late response and thanks for bringing this up on gcc-patches.
[Bug c/84168] New: Please backport "Avoid assembler warnings from AArch64 constructor/destructor priorities."
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84168 Bug ID: 84168 Summary: Please backport "Avoid assembler warnings from AArch64 constructor/destructor priorities." Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: frank.mehnert at googlemail dot com Target Milestone: --- Please backport changeset 41be51b050e5de25e711657bdc0b19a7e98a564a at least to gcc-7, if possible also to gcc-6. This warning is triggered very often in our (L4Re) project. Thank you!