*** empty log message ***
From-SVN: r1051
This commit is contained in:
parent
2bae939e78
commit
88d92ca5b2
@ -1446,10 +1446,10 @@ yylex ()
|
||||
warn = 1;
|
||||
}
|
||||
if (warn)
|
||||
warning ("integer constant out of range");
|
||||
pedwarn ("integer constant out of range");
|
||||
}
|
||||
else if (overflow)
|
||||
warning ("integer constant larger than compiler can handle");
|
||||
pedwarn ("integer constant larger than compiler can handle");
|
||||
|
||||
/* If it overflowed our internal buffer, then make it unsigned.
|
||||
We can't distinguish based on the tree node because
|
||||
@ -1602,6 +1602,9 @@ yylex ()
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!int_fits_type_p (yylval.ttype, type))
|
||||
pedwarn ("integer constant out of range");
|
||||
|
||||
TREE_TYPE (yylval.ttype) = type;
|
||||
*p = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user