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]

[fixed-point] Check "_Sat" and update one test


Hi,

  This patch gives errors when _Sat is used
without "_Fract" or "_Accum".  "typespec.c"
is updated to test _Sat with other specifiers.
Thanks!

Regards,
Chao-ying

ChangeLog
2007-05-25  Chao-ying Fu  <fu@mips.com>

	* c-decl.c (declspecs_add_type): Update comments to include
	_Sat, _Fract, and _Accum.
	(finish_declspecs): Give errors when _Sat is used without _Fract
	or _Accum.

testsuite/ChangeLog

2007-05-25  Chao-ying Fu  <fu@mips.com>

	* gcc.dg/fixed-point/typespec.c: Add tests for _Sat.

Attachment: gcc.diff
Description: gcc.diff


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