[Bug c/86407] Ignore function attributes in function type declarations?

2019-05-15 Thread alexhenrie24 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86407 --- Comment #6 from Alex Henrie --- Created attachment 46363 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46363=edit [PATCH] Add option to ignore fndecl attributes on function pointers This patch separates warnings about applying

[Bug c/86407] Ignore function attributes in function type declarations?

2019-05-03 Thread alexhenrie24 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86407 --- Comment #5 from Alex Henrie --- The fundamental problem here is that some people want to combine calling convention attributes and certain other attributes in a macro and then use that macro everywhere, whereas other people want to place

[Bug c/86407] Ignore function attributes in function type declarations?

2018-07-10 Thread zfigura at codeweavers dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86407 --- Comment #4 from Zebediah Figura --- So is there any sensible way to make this attribute a type attribute instead of a function attribute? Or is this not desirable?

[Bug c/86407] Ignore function attributes in function type declarations?

2018-07-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86407 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #3

[Bug c/86407] Ignore function attributes in function type declarations?

2018-07-05 Thread zfigura at codeweavers dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86407 --- Comment #2 from Zebediah Figura --- (In reply to Richard Biener from comment #1) > Not possible without creating a sub-option for the warning I guess. But if > the attribute is a semantic one then it should be a type attribute rather > than

[Bug c/86407] Ignore function attributes in function type declarations?

2018-07-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86407 Richard Biener changed: What|Removed |Added Keywords||diagnostic Target|