From: Akim Demaille Date: Tue, 29 Jan 2013 07:58:51 +0000 (+0100) Subject: c++: please G++ 4.8 with -O3: type puning issue X-Git-Tag: v2.7.90~134 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/ddb9db15?hp=675d9fe4899dc7a2b99d7401a58610b7c63ec1e5 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++. --- 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