bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 6/6] c++: please G++ 4.8 with -O3: type puning issue


From: Akim Demaille
Subject: [PATCH 6/6] c++: please G++ 4.8 with -O3: type puning issue
Date: Tue, 29 Jan 2013 09:04:37 +0100

* 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 874d640..a21fb4e 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
-- 
1.8.1.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]