From ddb9db151b1620a2bffceeddf7790dd586129d92 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 29 Jan 2013 08:58:51 +0100 Subject: [PATCH] c++: please G++ 4.8 with -O3: type puning issue * tests/c++.at (Exception safety): Now that this test covers variants, pass -fno-strict-aliasing to g++. --- tests/c++.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/c++.at b/tests/c++.at index 874d6400..a21fb4eb 100644 --- a/tests/c++.at +++ b/tests/c++.at @@ -804,7 +804,7 @@ main (int argc, const char *argv[]) } ]]) AT_BISON_CHECK([[-o input.cc --report=all input.yy]]) -AT_COMPILE_CXX([[input]]) +AT_COMPILE_CXX([input], [[$NO_STRICT_ALIAS_CXXFLAGS input.cc]]) AT_PARSER_CHECK([[./input aaaas]], [[2]], [[]], [[exception caught: reduction -- 2.47.2