------- Comment #3 from burnus at gcc dot gnu dot org 2010-07-14 17:42 -------
After PR 44773 has been fixed, we are back to things which failed before. Test
case which has no diagnostic (same as the one in comment 0 but with TARGET
attribute to force the creation of an array temporary)
integer, target :: a(-4:1), b(0:4)
b = 5
i = 0
a(i:1) = f(b)
contains
function f(x)
integer :: x(:),f(size(x))
f = x
end function
end
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2010-07-14 17:42:11
date| |
Summary|[4.6 Regression] Missed |Missing -fcheck=bounds
|runtime error after revision|diagnostic for function
|161550 |assignment with tmp array
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44744