2014-08-14 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Aug 2014 20:12:32 +0000 (20:12 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Aug 2014 20:12:32 +0000 (20:12 +0000)
commitb34e07a1f86deec160736cecd8937eac9288916d
tree47a77d1ffba8959442daecf27b4f471eed8bb877
parentaedd2947e223fda8838a2d2d9e7a4dc9327d8855
2014-08-14  Paolo Carlini  <paolo.carlini@oracle.com>

* typeck.c (composite_pointer_type, cxx_sizeof_or_alignof_type,
cp_build_array_ref, cp_build_function_call_vec): When a
pedwarn is suppressed under SFINAE, return error_mark_node.

* typeck.c (cxx_sizeof_or_alignof_type): Fix complain &
tf_warning_or_error, where complain is a bool, glitch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213983 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck.c