[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
- [PATCH 0/6] {master} c++: various improvements, Akim Demaille, 2013/01/29
- [PATCH 2/6] c++: improve the signature of yysyntax_error_, Akim Demaille, 2013/01/29
- [PATCH 4/6] c++: use more explicit types than int, Akim Demaille, 2013/01/29
- [PATCH 1/6] c++: style changes, Akim Demaille, 2013/01/29
- [PATCH 6/6] c++: please G++ 4.8 with -O3: type puning issue,
Akim Demaille <=
- [PATCH 3/6] c++: value_type -> kind_type, Akim Demaille, 2013/01/29
- [PATCH 5/6] c++: please G++ 4.8 with -O3: array bounds, Akim Demaille, 2013/01/29