aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Biener <rguenth@gcc.gnu.org>2010-02-17 09:39:26 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-02-17 09:39:26 +0000
commit6832680673f05a91df9e902c808d809db73189a9 (patch)
tree13944f3f470088f80ec199af8001a235c9da5a9b
parent169e464e66d4b35e80d66781c6aa53fcc1726f65 (diff)
downloadgcc-6832680673f05a91df9e902c808d809db73189a9.zip
gcc-6832680673f05a91df9e902c808d809db73189a9.tar.gz
gcc-6832680673f05a91df9e902c808d809db73189a9.tar.bz2
re PR middle-end/41043 (virtual memory exhausted: Cannot allocate memory)
2010-02-16 Richard Guenther <rguenther@suse.de> PR tree-optimization/41043 * gfortran.dg/pr41043.f90: New testcase. * gcc.dg/Wstrict-overflow-18.c: XFAIL. From-SVN: r156824
-rw-r--r--gcc/testsuite/gfortran.dg/pr41043.f9011
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/pr41043.f90 b/gcc/testsuite/gfortran.dg/pr41043.f90
new file mode 100644
index 0000000..fab428b
--- /dev/null
+++ b/gcc/testsuite/gfortran.dg/pr41043.f90
@@ -0,0 +1,11 @@
+! { dg-do compile }
+! { dg-options "-O2" }
+ subroutine foo
+ implicit none
+
+ integer :: i
+
+ call gee_i(int(i**huge(0_8),kind=kind(i)))
+
+ end subroutine foo
+