2015-04-21 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/65802
* internal-fn.def (VA_ARG): Add ECF_NOTROW to flags.
* g++.dg/pr65802.C: New test.
From-SVN: r222259
+2015-04-21 Tom de Vries <tom@codesourcery.com>
+
+ PR tree-optimization/65802
+ * internal-fn.def (VA_ARG): Add ECF_NOTROW to flags.
+
2015-04-21 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* common/config/aarch64/aarch64-common.c (AARCH64_CPU_NAME_LENGTH):
DEF_INTERNAL_FN (SUB_OVERFLOW, ECF_CONST | ECF_LEAF | ECF_NOTHROW, NULL)
DEF_INTERNAL_FN (MUL_OVERFLOW, ECF_CONST | ECF_LEAF | ECF_NOTHROW, NULL)
DEF_INTERNAL_FN (TSAN_FUNC_EXIT, ECF_NOVOPS | ECF_LEAF | ECF_NOTHROW, NULL)
-DEF_INTERNAL_FN (VA_ARG, 0, NULL)
+DEF_INTERNAL_FN (VA_ARG, ECF_NOTHROW, NULL)
+2015-04-21 Tom de Vries <tom@codesourcery.com>
+
+ PR tree-optimization/65802
+ * g++.dg/pr65802.C: New test.
+
2015-04-21 Bin Cheng <bin.cheng@arm.com>
PR testsuite/65767
--- /dev/null
+// { dg-do compile }
+// { dg-options "-O0" }
+
+typedef int tf ();
+
+struct S
+{
+ tf m_fn1;
+} a;
+
+void
+fn1 ()
+{
+ try
+ {
+ __builtin_va_list c;
+ {
+ int *d = __builtin_va_arg (c, int *);
+ int **e = &d;
+ __asm__("" : "=d"(e));
+ a.m_fn1 ();
+ }
+ a.m_fn1 ();
+ }
+ catch (...)
+ {
+
+ }
+}