This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/34946] [4.3 Regression] internal compiler error: in gfc_trans_create_temp_array, at fortran/trans-array.c:592



------- Comment #15 from jv244 at cam dot ac dot uk  2008-01-25 19:10 -------
(In reply to comment #12)
> For another ICE at trans-array.c:592 see example at PR31610, comment #12.

yes, it is almost certainly the same problem:

  integer :: i(1) = 0
  write(*,*) foo(i+[1])
end

compiles while

  integer :: i(1) = 0
  write(*,*) foo([1]+i)
end

ICEs


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34946


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]