===================================================================
@@ -1,3 +1,7 @@
+2014-08-15 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
+
+ * call.c (build_conditional_expr_1): Use OPT_Wextra in warning.
+
2014-08-14 Paolo Carlini <paolo.carlini@oracle.com>
* typeck.c (composite_pointer_type, cxx_sizeof_or_alignof_type,
===================================================================
@@ -5017,7 +5017,7 @@
type_promotes_to (arg3_type)))))
{
if (complain & tf_warning)
- warning_at (loc, 0, "enumeral and non-enumeral type in "
+ warning_at (loc, OPT_Wextra, "enumeral and non-enumeral type in "
"conditional expression");
}