gcc:
* gimplify.c (gimplify_seq_add_stmt): No longer static.
* gimple.h: Declare it.
* gimple.c (gimple_build_eh_filter): No ops.
gcc/cp:
* cp-gimplify.c (gimplify_must_not_throw_expr): Use
gimple_build_eh_must_not_throw.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159407
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-05-14 Jason Merrill <jason@redhat.com>
+
+ PR c++/44127
+ * gimplify.c (gimplify_seq_add_stmt): No longer static.
+ * gimple.h: Declare it.
+ * gimple.c (gimple_build_eh_filter): No ops.
+
2010-05-14 Jan Hubicka <jh@suse.cz>
* ipa.c (enqueue_cgraph_node): Update comment; do not re-enqueue
+2010-05-14 Jason Merrill <jason@redhat.com>
+
+ PR c++/44127
+ * cp-gimplify.c (gimplify_must_not_throw_expr): Use
+ gimple_build_eh_must_not_throw.
+
2010-05-14 Martin Jambor <mjambor@suse.cz>
* cp-lang.c (LANG_HOOKS_FOLD_OBJ_TYPE_REF): Remove both its undef
void gimple_seq_add_stmt (gimple_seq *, gimple);
+/* Link gimple statement GS to the end of the sequence *SEQ_P. If
+ *SEQ_P is NULL, a new sequence is allocated. This function is
+ similar to gimple_seq_add_stmt, but does not scan the operands.
+ During gimplification, we need to manipulate statement sequences
+ before the def/use vectors have been constructed. */
+void gimplify_seq_add_stmt (gimple_seq *, gimple);
+
/* Allocate a new sequence and initialize its first element with STMT. */
static inline gimple_seq
During gimplification, we need to manipulate statement sequences
before the def/use vectors have been constructed. */
-static void
+void
gimplify_seq_add_stmt (gimple_seq *seq_p, gimple gs)
{
gimple_stmt_iterator si;
+2010-05-14 Jason Merrill <jason@redhat.com>
+
+ PR c++/44127
+ * g++.dg/eh/terminate1.C: New.
+
2010-05-14 Jakub Jelinek <jakub@redhat.com>
* gfortran.dg/gomp/pr44036-1.f90: Adjust.
// { dg-final { scan-assembler-not "_ZSt9terminatev" } }
-// Also there should only be two EH call sites: #0 for throw A() and #1 for
-// _Unwind_Resume. We don't want call site info for __cxa_end_catch, since
-// ~A is trivial.
-
-// { dg-final { scan-assembler-not "LEHB2" } }
-
struct A
{
A() { }