2008-03-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/35724
* gfortran.dg/cshift_shift_real_2.f90: New test.
From-SVN: r133669
+2008-03-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/35724
+ * gfortran.dg/cshift_shift_real_2.f90: New test.
+
2008-03-26 Uros Bizjak <ubizjak@gmail.com>
* gcc.c-torture/execute/multi-ix.c: Limit CHUNK size between 1 and 500.
--- /dev/null
+! { dg-do compile }
+! PR35724 Compile time segmentation fault for CSHIFT with negative third arg
+ SUBROUTINE RA0072(DDA,LDA,nf10,nf1,mf1,nf2)
+ REAL DDA(10,10)
+ LOGICAL LDA(10,10)
+ WHERE (LDA) DDA = CSHIFT(DDA,1,-MF1) ! MF1 works, -1 works
+ END SUBROUTINE
+