C++ PATCH for c++/48008 (mangling clash with -fabi-version=5)

Jason Merrill jason@redhat.com
Mon Mar 7 20:09:00 GMT 2011


My patch from last July to avoid mangling attribute const/volatile as 
qualifiers on the type had the unfortunate effect of also omitting 
const/volatile function-cv-quals on plain function types, which can 
occur as template arguments.  This patch fixes that by stripping the 
attribute-derived qualifiers on pointer/reference-to-function types, 
where the function-cv-quals cannot occur.

Tested x86_64-pc-linux-gnu, applied to trunk.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 48008.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110307/759f4f4b/attachment.ksh>


More information about the Gcc-patches mailing list