{"push_id":1672210792,"size":1,"distinct_size":0,"ref":"refs/heads/trunk","head":"e610903eb76c90a013e8528a07acf997eb81e446","before":"14ea514f9f885abadc3e68fb716f7dc909018489","commits":[{"sha":"e610903eb76c90a013e8528a07acf997eb81e446","author":{"name":"saaadhu","email":"690a53a5e29ffe8446364a13fa6c3d17e2bec471@138bc75d-0d04-0410-961f-82ee72b054a4"},"message":"Fix bogus builtin-sprintf-warn-{3,10}.c failures for avr.\n\nThis patch fixes a whole bunch of failures reported for\ngcc.dg/tree-ssa/builtin-sprintf-warn-{3,10}.c for the avr target.\n\nbuiltin-sprintf-warn-10.c fails because the bounds in the warning\nmessages expect 4 digit wide exponents i.e. __DBL_MAX_EXP__ > 999.\nFor the avr, floats and doubles are both 32 bits wide, __DBL_MAX_EXP__\n== 128, and the max number of exponent digits can only be 3 .\nThe computed size thus ends up one short of the value the test\nexpects. The patch makes the test run only for targets with double64plus.\n\nbuiltin-sprintf-warn-3.c fails because the test appears to assume all\nnon lp64 targets to be ilp32. For the avr, pointer size and int size\nare equal, but both are 16 bits, not 32. The patch fixes this by\nexplicitly adding avr to the dejagnu selector.\n\ngcc/testsuite\n\n2017-04-06  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>\n\n\t* gcc.dg/tree-ssa/builtin-sprintf-warn-10.c: Require double64plus.\n\t* gcc.dg/tree-ssa/builtin-sprintf-warn-3.c (void test_too_large): \n\tAdd avr-*-* to non-lp64 selector.\n\n\ngit-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246831 138bc75d-0d04-0410-961f-82ee72b054a4","distinct":false,"url":"https://api.github.com/repos/kraj/gcc/commits/e610903eb76c90a013e8528a07acf997eb81e446"}]}
{"actor":{"display_login":"kraj"}}