[Bug middle-end/34621] [4.3 Regression] gcc.c-torture/execute/va-arg-25.c:32: internal compiler error: in expand_call, at calls.c:2785
dominiq at lps dot ens dot fr
gcc-bugzilla@gcc.gnu.org
Wed Feb 13 23:42:00 GMT 2008
------- Comment #25 from dominiq at lps dot ens dot fr 2008-02-13 23:41 -------
> (Could someone with darwin bootstraps and regtest removal of these defines? Do
> we even have an example of a failure for latest 4.3 if these are not defined?)
I bootstraped without the defines and I have a bus error on two tests in my
list, the simplest is:
!module CHECK_SEM
! Submitted by Walt Brainerd, The Fortran Company
! GNU Fortran 95 (GCC 4.1.0 20050322 (experimental))
! Windows XP
! Produces "a.exe has encountered a problem" window.
! Same problem if comments are removed so that
! the function is in a module.
! contains
function CHECK_INTEGER4_RANK1 (EXPECTED)
! integer(4), dimension(:), intent(in) :: EXPECTED
integer(4), dimension(1:) :: EXPECTED
logical :: CHECK_INTEGER4_RANK1
print *, EXPECTED
CHECK_INTEGER4_RANK1 = all(EXPECTED == 0)
end function CHECK_INTEGER4_RANK1
!end module CHECK_SEM
program array_test
!use CHECK_SEM
integer(4), dimension(3) :: dat
logical :: CHECK_INTEGER4_RANK1, res
! print *, CHECK_INTEGER4_RANK1 ((/8,5,12/))
dat = (/8,5,12/)
print *, dat
res = CHECK_INTEGER4_RANK1 (dat)
print *, res
end program array_test
These tests passed with my previous build, so the regression is probably due to
the defines removal, though I cannot rule out that it has been introduced by
recent changes (not in gfortran). I have launched a full regtesting, but the
results will be available tomorrow morning.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34621
More information about the Gcc-bugs
mailing list