semantics.c (finish_compound_literal): Don't call check_narrowing if !(complain ...
authorPaolo Carlini <paolo.carlini@oracle.com>
Sun, 18 Dec 2011 23:39:11 +0000 (23:39 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 18 Dec 2011 23:39:11 +0000 (23:39 +0000)
commitc428869b6d7ddcb0b94d1f248b433040601532f0
tree62a8cb00c31cde57061d66894ed4d2c0b06f94ac
parent2ad8d9105d0f772c46c12d65c799ed3938285346
semantics.c (finish_compound_literal): Don't call check_narrowing if !(complain & tf_warning_or_error).

2011-12-18  Paolo Carlini  <paolo.carlini@oracle.com>

* semantics.c (finish_compound_literal): Don't call check_narrowing
if !(complain & tf_warning_or_error).

From-SVN: r182462
gcc/cp/ChangeLog
gcc/cp/semantics.c