This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/39985] Type qualifiers not actually ignored on function return type
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 31 Jul 2017 21:47:10 +0000
- Subject: [Bug c/39985] Type qualifiers not actually ignored on function return type
- Auto-submitted: auto-generated
- References: <bug-39985-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39985
--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
In C, in C11 mode, type qualifiers are completely ignored on function
return types, including not affecting type compatibility, after my commit:
r236231 | jsm28 | 2016-05-13 21:35:39 +0000 (Fri, 13 May 2016) | 46 lines
Implement C11 DR#423 resolution (ignore function return type qualifiers).