------- 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. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40598