summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wconversion-4.c
Commit message (Collapse)AuthorAgeFilesLines
* c-typeck.c (parser_build_binary_op): Don't call the function ↵Roger Sayle2006-05-011-0/+5
unsigned_conversion_warning to spot operand/result type... * c-typeck.c (parser_build_binary_op): Don't call the function unsigned_conversion_warning to spot operand/result type overflow. (build_binary_op): Instead, call convert_and_check instead of convert to report the problem when the operands are promoted. * c-common.c (unsigned_conversion_warning): Make static. * c-common.h (unsigned_conversion_warning): Delete prototype. * gcc.dg/Wconversion-3.c: New test case. * gcc.dg/Wconversion-4.c: Likewise. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r113418