This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/31974] [4.3 regression]: Many libgomp failures
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 May 2007 17:16:20 -0000
- Subject: [Bug tree-optimization/31974] [4.3 regression]: Many libgomp failures
- References: <bug-31974-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-05-19 18:16 -------
Indeed...
$ cat u.f90
subroutine foo (n)
integer :: n
character (len = n) :: v(n)
v = ''
end subroutine foo
call foo(7)
end
$ gfortran u.f90 -O && ./a.out
$ gfortran u.f90 -O -ftree-vrp && ./a.out
Fortran runtime error: Attempt to allocate a negative amount of memory.
The tree-original output is a bit convoluted, but I think it's doing the right
thing. I'm attaching it here.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|libgomp |tree-optimization
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2007-05-19 18:16:20
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31974