(yylex): Change warning msg when decimal const is unsigned.
From-SVN: r3172
This commit is contained in:
parent
a2ecc7b9de
commit
ba99333a38
@ -1584,7 +1584,7 @@ yylex ()
|
||||
pedwarn ("integer constant out of range");
|
||||
|
||||
if (base == 10 && ! spec_unsigned && TREE_UNSIGNED (type))
|
||||
warning ("integer constant is so large that it is unsigned");
|
||||
warning ("decimal constant is so large that it is unsigned");
|
||||
|
||||
if (flag_traditional && !int_fits_type_p (yylval.ttype, type))
|
||||
/* The traditional constant 0x80000000 is signed
|
||||
|
Loading…
Reference in New Issue
Block a user