-
- Downloads
re PR middle-end/49705 (-Wstrict-overflow should not diagnose unevaluated expressions)
gcc/c-family: PR middle-end/49705 * c-common.c (c_disable_warnings): New static function. (c_enable_warnings): New static function. (c_fully_fold_internal): Change local unused_p to bool. Call c_disable_warnings and c_enable_warnings rather than change c_inhibit_evaluation_warnings. gcc/testsuite: PR middle-end/49705 * gcc.dg/pr49705.c: New test. From-SVN: r176591
Showing
- gcc/c-family/ChangeLog 9 additions, 0 deletionsgcc/c-family/ChangeLog
- gcc/c-family/c-common.c 33 additions, 7 deletionsgcc/c-family/c-common.c
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/pr49705.c 19 additions, 0 deletionsgcc/testsuite/gcc.dg/pr49705.c
Loading
Please register or sign in to comment