On 10/05/2015 05:00 AM, Andreas Schwab wrote:
Jason Merrill <ja...@redhat.com> writes:
diff --git a/gcc/testsuite/g++.dg/tm/eh1.C b/gcc/testsuite/g++.dg/tm/eh1.C
new file mode 100644
index 0000000..1561211
--- /dev/null
+++ b/gcc/testsuite/g++.dg/tm/eh1.C
@@ -0,0 +1,10 @@
+// A handler can involve a transaction-safety conversion.
+// { dg-do run }
+// { dg-options "-fgnu-tm" }
+
+void g() transaction_safe {}
+int main()
+{
+ try { throw g; }
+ catch (void (*p)()) { }
+}
FAIL: g++.dg/tm/eh1.C -std=gnu++98 (test for excess errors)
Excess errors:
xg++: error: libitm.spec: No such file or directory
There is no libitm support on ia64.
Thanks. I moved the run tests to the libitm testsuite.
Jason