[Bug c++/99974] attributes not propagated across function redeclarations at local scope

2021-04-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99974 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/99974] attributes not propagated across function redeclarations at local scope

2021-04-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99974 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/99974] attributes not propagated across function redeclarations at local scope

2021-04-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99974 --- Comment #2 from Martin Sebor --- Here's another test case that shows a similar inconsistency between a function declaration at local scope and a subsequent one at file scope, as well as an inconsistency between the C and C++ front ends. G++

[Bug c++/99974] attributes not propagated across function redeclarations at local scope

2021-04-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99974 Martin Sebor changed: What|Removed |Added Keywords||diagnostic See Also|