[Bug fortran/40598] Some missed optimizations in array assignment
burnus at gcc dot gnu dot org
Wed Jul 1 07:52:00 GMT 2009
------- Comment #5 from burnus at gcc dot gnu dot org 2009-07-01 07:51 -------
(In reply to comment #4)
Here, I do not get any segfault/problem with valgrind (for gfortran and a.out).
> tmp = build4 (ARRAY_RANGE_REF, TREE_TYPE (dest), dest,
> build_int_cst (gfc_array_index_type, 3),
I actually do not understand why "3" works. If I read gccint (cf. comment 2)
correctly I would have expect that one needs to passe the byte size. But it
seems to work as the dump / a.out indicates.
More information about the Gcc-bugs