This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch i386,c,c++]: PR/12171 - calling convention omitted in error message


Hello,

sorry, I sent patch under wrong bug-report. If there is common
agreement for displaying for such types all attributes without
filtering for ABI modifying ones, I will rework that patch.

2010-12-22  Kai Tietz

	PR target/12171
	* c-family/c-pretty-print.c: Add target.h include.
	(pp_c_specifier_qualifier_list): Call
	pp_c_calling_convention_attributes for (*).
	(pp_c_calling_convention_attributes): New.
	* c-family/c-pretty-print.h (pp_c_calling_convention_attributes):
	New prototype.
	* cp/error.c (dump_type_prefix): Call
	pp_c_calling_convention_attributes for (*).
	* cp/cxx-pretty-print.c (pp_cxx_ptr_operator):
	Likewise.
	* config/i386/i386.c (ix86_attribute_affects_calling_convention):
	New hook.
	(TARGET_ATTRIBUTE_AFFECTS_CALLING_CONVENTION): Define.
	* doc/tm.texi.in (TARGET_ATTRIBUTE_AFFECTS_CALLING_CONVENTION): Add.
	* doc/tm.texi: Regenerated.

Regards,
Kai

Attachment: dispcallconv.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]