From faae4ae73f955ae9049f540fc7199e583a1d781e Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 18 Sep 2008 13:27:36 -0700 Subject: re PR target/37394 (Segfault in ia64_variable_issue with -O -fschedule-insns2) gcc/ 2008-09-18 H.J. Lu PR target/37394 * config/ia64/ia64.c (ia64_optimization_options): Move checking and setting flag_schedule_insns_after_reload and ia64_flag_schedule_insns2 back to ... (ia64_override_options): Here. gcc/testsuite/ 2008-09-18 H.J. Lu PR target/37394 * g++.dg/other/pr37394.C: New. From-SVN: r140475 --- gcc/testsuite/ChangeLog | 13 +++++++++---- gcc/testsuite/g++.dg/other/pr37394.C | 12 ++++++++++++ 2 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 gcc/testsuite/g++.dg/other/pr37394.C (limited to 'gcc/testsuite') diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ea13346..66f16b1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,10 +1,15 @@ +2008-09-18 H.J. Lu + + PR target/37394 + * g++.dg/other/pr37394.C: New. + 2008-09-18 Paul Thomas - PR fortran/35945 - * gfortran.dg/host_assoc_types_2.f90: New test. + PR fortran/35945 + * gfortran.dg/host_assoc_types_2.f90: New test. - PR fortran/36700 - * gfortran.dg/host_assoc_call_2.f90: New test. + PR fortran/36700 + * gfortran.dg/host_assoc_call_2.f90: New test. 2008-09-18 DJ Delorie diff --git a/gcc/testsuite/g++.dg/other/pr37394.C b/gcc/testsuite/g++.dg/other/pr37394.C new file mode 100644 index 0000000..7b5772e --- /dev/null +++ b/gcc/testsuite/g++.dg/other/pr37394.C @@ -0,0 +1,12 @@ +// Origin: Martin Michlmayr +// { dg-do compile { target ia64-*-* } } +// { dg-options "-O -fschedule-insns2" } + +struct _Words +{ + void *_M_pword; + _Words (): + _M_pword (0) + { + } +} _M_word_zero; -- cgit v1.1