c-decl.c (finish_declspecs): When _Sat is used without _Fract or _Accum, set the...
commit819fec00238bbbc881d99c945c55d648d62702c2
authorNigel Stephens <nigel@mips.com>
Fri, 21 Sep 2007 00:50:37 +0000 (21 00:50 +0000)
committerChao-ying Fu <chaoyingfu@gcc.gnu.org>
Fri, 21 Sep 2007 00:50:37 +0000 (21 00:50 +0000)
tree9e6d76d76fb5d25abfc32c061876d9e4067529d5
parent43c71fd353bd8fce4251b993240cc0536983f05e
c-decl.c (finish_declspecs): When _Sat is used without _Fract or _Accum, set the default type to cts_fract.

* c-decl.c (finish_declspecs): When _Sat is used without
_Fract or _Accum, set the default type to cts_fract.
This avoids a warning of "type defaults to int".

Co-Authored-By: Chao-ying Fu <fu@mips.com>
From-SVN: r128642
gcc/ChangeLog
gcc/c-decl.c