diff options
author | Marek Polacek <polacek@redhat.com> | 2016-08-25 08:22:56 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2016-08-25 08:22:56 +0000 |
commit | fe377a48b4c41b32bb00b5ac087d781a6b2b596f (patch) | |
tree | 486a8bdcc3246d93af945a8d4d31cfe1000b0fc9 /gcc/c/ChangeLog | |
parent | e627efefd86786d104fea7c9cc9b10a0c26b5398 (diff) | |
download | gcc-fe377a48b4c41b32bb00b5ac087d781a6b2b596f.zip gcc-fe377a48b4c41b32bb00b5ac087d781a6b2b596f.tar.gz gcc-fe377a48b4c41b32bb00b5ac087d781a6b2b596f.tar.bz2 |
re PR c/77323 (Bad "defaults to 'int'" warning for unsupported types)
PR c/77323
* c-decl.c (declspecs_add_type): Set typespec_word even when __intN
or _FloatN or _FloatNx is not supported.
(finish_declspecs): Set type to integer_type_node when _FloatN or
_FloatNx is not supported.
* gcc.dg/pr77323.c: New test.
From-SVN: r239752
Diffstat (limited to 'gcc/c/ChangeLog')
-rw-r--r-- | gcc/c/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 8d9d4aa..dc863bb 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,11 @@ +2016-08-25 Marek Polacek <polacek@redhat.com> + + PR c/77323 + * c-decl.c (declspecs_add_type): Set typespec_word even when __intN + or _FloatN or _FloatNx is not supported. + (finish_declspecs): Set type to integer_type_node when _FloatN or + _FloatNx is not supported. + 2016-08-19 Joseph Myers <joseph@codesourcery.com> PR c/32187 |