diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/error_recovery_4.f90 | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 68b2349..ff43843 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-10-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + * gfortran.dg/error_recovery_4.f90: New test. + 2007-10-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> * gfortran.dg/default_format_denormal_2.f90: New test. diff --git a/gcc/testsuite/gfortran.dg/error_recovery_4.f90 b/gcc/testsuite/gfortran.dg/error_recovery_4.f90 new file mode 100644 index 0000000..31e0e3b --- /dev/null +++ b/gcc/testsuite/gfortran.dg/error_recovery_4.f90 @@ -0,0 +1,5 @@ +! { dg-do compile } +! PR33609 ICE on arithmetic overflow +! Before patch, this segfaulted. +print *, real(huge(1.0_8),4) ! { dg-error "Arithmetic overflow" } +end |