* c-lex.c (interpret_float): Give a pedwarn rather than a warning
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Oct 2004 20:25:42 +0000 (20:25 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Oct 2004 20:25:42 +0000 (20:25 +0000)
commit40f4dbd544658572dd5e4693476ddbbe29d9917b
tree31256910f3b10e27ff12fd3f87bb0f45c2c64979
parent33d22d7839d8bd9387be23980405622f06715fab
* c-lex.c (interpret_float): Give a pedwarn rather than a warning
for an out-of-range floating point constant.
* builtins.c (fold_builtin_inf): Give a pedwarn rather than a
warning if the target format does not support infinities.

testsuite:
* gcc.dg/float-range-1.c, gcc.dg/float-range-2.c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88793 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/c-lex.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/float-range-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/float-range-2.c [new file with mode: 0644]