]> git.saurik.com Git - bison.git/commitdiff
c++: please G++ 4.8 with -O3: type puning issue
authorAkim Demaille <akim@lrde.epita.fr>
Tue, 29 Jan 2013 07:58:51 +0000 (08:58 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Tue, 29 Jan 2013 08:04:08 +0000 (09:04 +0100)
* tests/c++.at (Exception safety): Now that this test covers
variants, pass -fno-strict-aliasing to g++.

tests/c++.at

index 874d64005b363ba780e5c854cc94252dc3b9b818..a21fb4eb2f736afef8671ed1128da183d92ff8ae 100644 (file)
@@ -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