* [Bug tree-optimization/37031] ICE for h264ref in gather_interchange_stats with -ftree-loop-linear
2008-08-05 17:39 [Bug tree-optimization/37031] New: ICE for h264ref in gather_interchange_stats with -ftree-loop-linear janis at gcc dot gnu dot org
@ 2008-08-05 17:43 ` janis at gcc dot gnu dot org
2008-08-05 17:45 ` janis at gcc dot gnu dot org
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: janis at gcc dot gnu dot org @ 2008-08-05 17:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from janis at gcc dot gnu dot org 2008-08-05 17:41 -------
Created an attachment (id=16026)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16026&action=view)
minimized testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37031
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/37031] ICE for h264ref in gather_interchange_stats with -ftree-loop-linear
2008-08-05 17:39 [Bug tree-optimization/37031] New: ICE for h264ref in gather_interchange_stats with -ftree-loop-linear janis at gcc dot gnu dot org
2008-08-05 17:43 ` [Bug tree-optimization/37031] " janis at gcc dot gnu dot org
@ 2008-08-05 17:45 ` janis at gcc dot gnu dot org
2008-08-05 17:46 ` janis at gcc dot gnu dot org
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: janis at gcc dot gnu dot org @ 2008-08-05 17:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from janis at gcc dot gnu dot org 2008-08-05 17:43 -------
Created an attachment (id=16027)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16027&action=view)
output of valgrind and GCC for minimized testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37031
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/37031] ICE for h264ref in gather_interchange_stats with -ftree-loop-linear
2008-08-05 17:39 [Bug tree-optimization/37031] New: ICE for h264ref in gather_interchange_stats with -ftree-loop-linear janis at gcc dot gnu dot org
2008-08-05 17:43 ` [Bug tree-optimization/37031] " janis at gcc dot gnu dot org
2008-08-05 17:45 ` janis at gcc dot gnu dot org
@ 2008-08-05 17:46 ` janis at gcc dot gnu dot org
2008-08-05 21:25 ` janis at gcc dot gnu dot org
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: janis at gcc dot gnu dot org @ 2008-08-05 17:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from janis at gcc dot gnu dot org 2008-08-05 17:44 -------
Created an attachment (id=16028)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16028&action=view)
script to compile testcase under valgrind
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37031
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/37031] ICE for h264ref in gather_interchange_stats with -ftree-loop-linear
2008-08-05 17:39 [Bug tree-optimization/37031] New: ICE for h264ref in gather_interchange_stats with -ftree-loop-linear janis at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-08-05 17:46 ` janis at gcc dot gnu dot org
@ 2008-08-05 21:25 ` janis at gcc dot gnu dot org
2008-08-10 20:22 ` [Bug tree-optimization/37031] [4.4 Regression] " pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: janis at gcc dot gnu dot org @ 2008-08-05 21:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from janis at gcc dot gnu dot org 2008-08-05 21:24 -------
A regression showed that the problem shown by valgrind was introduced by this
patch:
http://gcc.gnu.org/viewcvs?view=rev&rev=135672
r135672 | spop | 2008-05-20 19:11:56 +0000 (Tue, 20 May 2008)
--
janis at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |spop at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37031
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/37031] [4.4 Regression] ICE for h264ref in gather_interchange_stats with -ftree-loop-linear
2008-08-05 17:39 [Bug tree-optimization/37031] New: ICE for h264ref in gather_interchange_stats with -ftree-loop-linear janis at gcc dot gnu dot org
` (3 preceding siblings ...)
2008-08-05 21:25 ` janis at gcc dot gnu dot org
@ 2008-08-10 20:22 ` pinskia at gcc dot gnu dot org
2008-08-22 15:24 ` rguenth at gcc dot gnu dot org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-10 20:22 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Summary|ICE for h264ref in |[4.4 Regression] ICE for
|gather_interchange_stats |h264ref in
|with -ftree-loop-linear |gather_interchange_stats
| |with -ftree-loop-linear
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37031
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/37031] [4.4 Regression] ICE for h264ref in gather_interchange_stats with -ftree-loop-linear
2008-08-05 17:39 [Bug tree-optimization/37031] New: ICE for h264ref in gather_interchange_stats with -ftree-loop-linear janis at gcc dot gnu dot org
` (4 preceding siblings ...)
2008-08-10 20:22 ` [Bug tree-optimization/37031] [4.4 Regression] " pinskia at gcc dot gnu dot org
@ 2008-08-22 15:24 ` rguenth at gcc dot gnu dot org
2008-09-15 13:35 ` jakub at gcc dot gnu dot org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-22 15:24 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37031
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/37031] [4.4 Regression] ICE for h264ref in gather_interchange_stats with -ftree-loop-linear
2008-08-05 17:39 [Bug tree-optimization/37031] New: ICE for h264ref in gather_interchange_stats with -ftree-loop-linear janis at gcc dot gnu dot org
` (5 preceding siblings ...)
2008-08-22 15:24 ` rguenth at gcc dot gnu dot org
@ 2008-09-15 13:35 ` jakub at gcc dot gnu dot org
2008-09-16 17:23 ` janis at gcc dot gnu dot org
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-15 13:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jakub at gcc dot gnu dot org 2008-09-15 13:34 -------
Can you still reproduce it? With x86_64-linux -> powerpc64-linux cross I see
no errors from:
valgrind ./cc1 -O3 -ftree-loop-linear /tmp/bug.c -m32 -maltivec
(just a few leaks).
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37031
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/37031] [4.4 Regression] ICE for h264ref in gather_interchange_stats with -ftree-loop-linear
2008-08-05 17:39 [Bug tree-optimization/37031] New: ICE for h264ref in gather_interchange_stats with -ftree-loop-linear janis at gcc dot gnu dot org
` (6 preceding siblings ...)
2008-09-15 13:35 ` jakub at gcc dot gnu dot org
@ 2008-09-16 17:23 ` janis at gcc dot gnu dot org
2009-01-08 11:04 ` jakub at gcc dot gnu dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: janis at gcc dot gnu dot org @ 2008-09-16 17:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from janis at gcc dot gnu dot org 2008-09-16 17:21 -------
Valgrind no longer complains for this testcase, but the I still get the
reported ICE compiling q_matrix.c with "-O3 -ftree-loop-linear".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37031
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/37031] [4.4 Regression] ICE for h264ref in gather_interchange_stats with -ftree-loop-linear
2008-08-05 17:39 [Bug tree-optimization/37031] New: ICE for h264ref in gather_interchange_stats with -ftree-loop-linear janis at gcc dot gnu dot org
` (7 preceding siblings ...)
2008-09-16 17:23 ` janis at gcc dot gnu dot org
@ 2009-01-08 11:04 ` jakub at gcc dot gnu dot org
2009-01-08 13:39 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-01-08 11:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jakub at gcc dot gnu dot org 2009-01-08 11:04 -------
Created an attachment (id=17055)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17055&action=view)
pr37031.i
Slightly less minimized testcase which reproduces (under valgrind only) on both
powerpc64-linux native and x86_64-linux -> powerpc64-linux cross, with
-O3 -ftree-loop-linear -m{32,64}.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37031
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/37031] [4.4 Regression] ICE for h264ref in gather_interchange_stats with -ftree-loop-linear
2008-08-05 17:39 [Bug tree-optimization/37031] New: ICE for h264ref in gather_interchange_stats with -ftree-loop-linear janis at gcc dot gnu dot org
` (8 preceding siblings ...)
2009-01-08 11:04 ` jakub at gcc dot gnu dot org
@ 2009-01-08 13:39 ` jakub at gcc dot gnu dot org
2009-01-08 13:52 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-01-08 13:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from jakub at gcc dot gnu dot org 2009-01-08 13:39 -------
Testing a patch.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|WAITING |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-01-08 13:39:09
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37031
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/37031] [4.4 Regression] ICE for h264ref in gather_interchange_stats with -ftree-loop-linear
2008-08-05 17:39 [Bug tree-optimization/37031] New: ICE for h264ref in gather_interchange_stats with -ftree-loop-linear janis at gcc dot gnu dot org
` (9 preceding siblings ...)
2009-01-08 13:39 ` jakub at gcc dot gnu dot org
@ 2009-01-08 13:52 ` jakub at gcc dot gnu dot org
2009-01-08 14:18 ` spop at gcc dot gnu dot org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-01-08 13:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from jakub at gcc dot gnu dot org 2009-01-08 13:51 -------
Created an attachment (id=17056)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17056&action=view)
gcc44-pr37031.patch
Fix I'm going to bootstrap/regtest.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37031
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/37031] [4.4 Regression] ICE for h264ref in gather_interchange_stats with -ftree-loop-linear
2008-08-05 17:39 [Bug tree-optimization/37031] New: ICE for h264ref in gather_interchange_stats with -ftree-loop-linear janis at gcc dot gnu dot org
` (10 preceding siblings ...)
2009-01-08 13:52 ` jakub at gcc dot gnu dot org
@ 2009-01-08 14:18 ` spop at gcc dot gnu dot org
2009-01-08 16:02 ` jakub at gcc dot gnu dot org
2009-01-08 16:03 ` jakub at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-01-08 14:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from spop at gcc dot gnu dot org 2009-01-08 14:18 -------
Subject: Re: [4.4 Regression] ICE for h264ref in gather_interchange_stats with
-ftree-loop-linear
Patch looks good. Thanks for this fix.
Sebastian
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37031
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/37031] [4.4 Regression] ICE for h264ref in gather_interchange_stats with -ftree-loop-linear
2008-08-05 17:39 [Bug tree-optimization/37031] New: ICE for h264ref in gather_interchange_stats with -ftree-loop-linear janis at gcc dot gnu dot org
` (11 preceding siblings ...)
2009-01-08 14:18 ` spop at gcc dot gnu dot org
@ 2009-01-08 16:02 ` jakub at gcc dot gnu dot org
2009-01-08 16:03 ` jakub at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-01-08 16:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from jakub at gcc dot gnu dot org 2009-01-08 16:01 -------
Subject: Bug 37031
Author: jakub
Date: Thu Jan 8 16:01:42 2009
New Revision: 143188
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143188
Log:
PR tree-optimization/37031
* lambda-code.c (lambda_collect_parameters): Call pointer_set_destroy
on parameter_set.
(build_access_matrix): Reserve correct size for AM_MATRIX vector,
allocate it using gc instead of heap, use VEC_quick_push instead of
VEC_safe_push.
* graphite.c (build_access_matrix): Allocate AM_MATRIX vector using gc
instead of heap, use VEC_quick_push instead of VEC_safe_push.
* tree-data-ref.h (struct access_matrix): Change matrix to gc
allocated vector from heap allocated.
* lambda.h: Add DEF_VEC_ALLOC_P for gc allocated lambda_vector.
* tree-loop-linear.c (linear_transform_loops): Allocate nest
vector only after perfect_loop_nest_depth call.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/graphite.c
trunk/gcc/lambda-code.c
trunk/gcc/lambda.h
trunk/gcc/tree-data-ref.h
trunk/gcc/tree-loop-linear.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37031
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/37031] [4.4 Regression] ICE for h264ref in gather_interchange_stats with -ftree-loop-linear
2008-08-05 17:39 [Bug tree-optimization/37031] New: ICE for h264ref in gather_interchange_stats with -ftree-loop-linear janis at gcc dot gnu dot org
` (12 preceding siblings ...)
2009-01-08 16:02 ` jakub at gcc dot gnu dot org
@ 2009-01-08 16:03 ` jakub at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-01-08 16:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from jakub at gcc dot gnu dot org 2009-01-08 16:03 -------
Fixed.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37031
^ permalink raw reply [flat|nested] 15+ messages in thread