* emit-rtl.c (try_split): Use INSN_LIST instead of EXPR_LIST for
REG_LIBCALL note.
* gfortran.dg/pr33074.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127511
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-08-15 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/33074
+ * emit-rtl.c (try_split): Use INSN_LIST instead of EXPR_LIST for
+ REG_LIBCALL note.
+
2007-08-14 Daniel Berlin <dberlin@dberlin.org>
* tree-pass.h (PROP_pta): Removed.
/* Relink the insns with REG_LIBCALL note and with REG_RETVAL note
after split. */
REG_NOTES (insn_last)
- = gen_rtx_EXPR_LIST (REG_LIBCALL,
+ = gen_rtx_INSN_LIST (REG_LIBCALL,
XEXP (note, 0),
REG_NOTES (insn_last));
2007-08-15 Jakub Jelinek <jakub@redhat.com>
+ PR middle-end/33074
+ * gfortran.dg/pr33074.f90: New test.
+
PR c++/32992
* g++.dg/opt/nrv14.C: New test.
--- /dev/null
+! PR middle-end/33074
+! { dg-do compile }
+! { dg-options "-O" }
+
+subroutine pr33074(a, w)
+ real a(1), w(1)
+ a(1) = 2.0**int(w(1))
+end