[Bug c/88774] Qualification of parameters does not change a function type: Bug or standard defect?

2019-01-10 Thread anders.granlund.0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88774 Anders Granlund changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/88774] Qualification of parameters does not change a function type: Bug or standard defect?

2019-01-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88774 --- Comment #2 from Jonathan Wakely --- Yes, that's consistent with how C++ handles top-level cv-qualifiers in function parameters.

[Bug c/88774] Qualification of parameters does not change a function type: Bug or standard defect?

2019-01-09 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88774 --- Comment #1 from joseph at codesourcery dot com --- Although the wording is different in the two cases (and the rule for return types is newer), I think qualifiers on function parameters should be considered as not part of the type just as