Re: [Patch, testsuite] Fix failing builtin-sprintf-warn-{3,10}.c for avr

2017-04-10 Thread Mike Stump
On Apr 6, 2017, at 5:05 AM, Senthil Kumar Selvaraj wrote: > builtin-sprintf-warn-10.c fails because the bounds in the warning > messages expect 4 digit wide exponents i.e. __DBL_MAX_EXP__ > 999. > For the avr, floats and doubles are both 32 bits wide, __DBL_MAX_EXP__ > == 128, and the max num

[Patch, testsuite] Fix failing builtin-sprintf-warn-{3,10}.c for avr

2017-04-06 Thread Senthil Kumar Selvaraj
Hi, This patch fixes a whole bunch of failures reported for gcc.dg/tree-ssa/builtin-sprintf-warn-{3,10}.c for the avr target. builtin-sprintf-warn-10.c fails because the bounds in the warning messages expect 4 digit wide exponents i.e. __DBL_MAX_EXP__ > 999. For the avr, floats and doub