------- Comment #2 from rguenth at gcc dot gnu dot org  2009-12-19 19:05 -------
Huh, it only fails from the testsuite harness, not when executing outside of
that environment?!  When I decrease the outside stack size limit it no longer
fails in either case (decrease from 8MB to 1MB).

Valgrind shows

==22802== Invalid read of size 4
==22802==    at 0x8BE74C0: lst_do_interchange_1 (graphite-interchange.c:709)
==22802==    by 0x8BE754D: lst_do_interchange (graphite-interchange.c:730)
==22802==    by 0x8BE7575: lst_do_interchange (graphite-interchange.c:734)
==22802==    by 0x8BE7575: lst_do_interchange (graphite-interchange.c:734)
==22802==    by 0x8BE760B: scop_do_interchange (graphite-interchange.c:748)
==22802==    by 0x8B32895: apply_poly_transforms (graphite-poly.c:260)
==22802==    by 0x8B2C2A9: graphite_transform_loops (graphite.c:276)
==22802==    by 0x871F954: graphite_transforms (tree-ssa-loop.c:300)
==22802==    by 0x850297B: execute_one_pass (passes.c:1561)
....
==22802==  Address 0x4acf7b8 is 8 bytes inside a block of size 12 free'd
==22802==    at 0x4024866: free (vg_replace_malloc.c:325)
==22802==    by 0x8BE65FD: free_lst (graphite-poly.h:704)
==22802==    by 0x8BE69B2: lst_try_interchange_loops
(graphite-interchange.c:639)
==22802==    by 0x8BE7355: lst_try_interchange (graphite-interchange.c:670)
==22802==    by 0x8BE74AF: lst_do_interchange_1 (graphite-interchange.c:710)

etc.

thus this looks like a dup of PR42178.

*** This bug has been marked as a duplicate of 42178 ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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

Reply via email to