-
Joseph Myers authored
c-lex.c (interpret_float): Give a pedwarn rather than a warning for an out-of-range floating point constant. * 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. From-SVN: r88793
Joseph Myers authoredc-lex.c (interpret_float): Give a pedwarn rather than a warning for an out-of-range floating point constant. * 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. From-SVN: r88793
c-lex.c 22.75 KiB