[Bug c/39985] Type qualifiers not actually ignored on function return type

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Mon Jul 31 21:47:00 GMT 2017


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).


More information about the Gcc-bugs mailing list