public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/42510]  New: Invalid memory access in graphite
@ 2009-12-26 16:16 hjl dot tools at gmail dot com
  2009-12-26 16:22 ` [Bug middle-end/42510] [4.5 Regression] " hjl dot tools at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-12-26 16:16 UTC (permalink / raw)
  To: gcc-bugs

gcc.dg/graphite/block-4.c fails at random. On Linux/x86-64, valgrind
reports:

==11194== Invalid read of size 8
==11194==    at 0xC714EE: lst_interchange_select_inner
(graphite-interchange.c:708)
==11194==    by 0xC72725: lst_interchange_select_outer
(graphite-interchange.c:732)
==11194==    by 0xC7278D: lst_interchange_select_outer
(graphite-interchange.c:743)
==11194==    by 0xC7278D: lst_interchange_select_outer
(graphite-interchange.c:743)
==11194==    by 0xC727CB: scop_do_interchange (graphite-interchange.c:754)
==11194==    by 0xC681A1: scop_do_block (graphite-blocking.c:293)
==11194==    by 0xBE5A57: apply_poly_transforms (graphite-poly.c:253)
==11194==    by 0xBDF68F: graphite_transform_loops (graphite.c:276)
==11194==    by 0x883286: graphite_transforms (tree-ssa-loop.c:300)
==11194==    by 0x70F54A: execute_one_pass (passes.c:1561)
==11194==    by 0x70F7D4: execute_pass_list (passes.c:1616)
==11194==    by 0x70F7E6: execute_pass_list (passes.c:1617)
==11194==  Address 0xb6aeb70 is 16 bytes inside a block of size 24 free'd
==11194==    at 0x4A04D72: free (vg_replace_malloc.c:325)
==11194==    by 0xC725B7: lst_interchange_select_inner (graphite-poly.h:704)
==11194==    by 0xC72725: lst_interchange_select_outer
(graphite-interchange.c:732)
==11194==    by 0xC7278D: lst_interchange_select_outer
(graphite-interchange.c:743)
==11194==    by 0xC7278D: lst_interchange_select_outer
(graphite-interchange.c:743)
==11194==    by 0xC727CB: scop_do_interchange (graphite-interchange.c:754)
==11194==    by 0xC681A1: scop_do_block (graphite-blocking.c:293)
==11194==    by 0xBE5A57: apply_poly_transforms (graphite-poly.c:253)
==11194==    by 0xBDF68F: graphite_transform_loops (graphite.c:276)
==11194==    by 0x883286: graphite_transforms (tree-ssa-loop.c:300)
==11194==    by 0x70F54A: execute_one_pass (passes.c:1561)
==11194==    by 0x70F7D4: execute_pass_list (passes.c:1616)
==11194==


-- 
           Summary: Invalid memory access in graphite
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/42510] [4.5 Regression] Invalid memory access in graphite
  2009-12-26 16:16 [Bug middle-end/42510] New: Invalid memory access in graphite hjl dot tools at gmail dot com
@ 2009-12-26 16:22 ` hjl dot tools at gmail dot com
  2009-12-26 19:22 ` hjl dot tools at gmail dot com
  2009-12-27 18:54 ` hjl dot tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-12-26 16:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl dot tools at gmail dot com  2009-12-26 16:22 -------
Gcc 4.4.2 runs cleanly under valgrind.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Invalid memory access in    |[4.5 Regression] Invalid
                   |graphite                    |memory access in graphite


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/42510] [4.5 Regression] Invalid memory access in graphite
  2009-12-26 16:16 [Bug middle-end/42510] New: Invalid memory access in graphite hjl dot tools at gmail dot com
  2009-12-26 16:22 ` [Bug middle-end/42510] [4.5 Regression] " hjl dot tools at gmail dot com
@ 2009-12-26 19:22 ` hjl dot tools at gmail dot com
  2009-12-27 18:54 ` hjl dot tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-12-26 19:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2009-12-26 19:22 -------
This is caused by revision 155418:

http://gcc.gnu.org/ml/gcc-cvs/2009-12/msg00562.html


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/42510] [4.5 Regression] Invalid memory access in graphite
  2009-12-26 16:16 [Bug middle-end/42510] New: Invalid memory access in graphite hjl dot tools at gmail dot com
  2009-12-26 16:22 ` [Bug middle-end/42510] [4.5 Regression] " hjl dot tools at gmail dot com
  2009-12-26 19:22 ` hjl dot tools at gmail dot com
@ 2009-12-27 18:54 ` hjl dot tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-12-27 18:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hjl dot tools at gmail dot com  2009-12-27 18:54 -------


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


-- 

hjl dot tools at gmail dot com changed:

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


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-27 18:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-26 16:16 [Bug middle-end/42510] New: Invalid memory access in graphite hjl dot tools at gmail dot com
2009-12-26 16:22 ` [Bug middle-end/42510] [4.5 Regression] " hjl dot tools at gmail dot com
2009-12-26 19:22 ` hjl dot tools at gmail dot com
2009-12-27 18:54 ` hjl dot tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).