OSDN Git Service

gcc/c-family:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jul 2011 21:30:24 +0000 (21:30 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jul 2011 21:30:24 +0000 (21:30 +0000)
commitfc501191fdad86559ab06dc4d6dccd6970fe67b4
tree7addef770a5a423e51574d8ee986e8096f1cbd72
parent20cbba22ce21aaf58be3fb1b438436d5ffbbd94d
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176591 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr49705.c [new file with mode: 0644]