[Bug tree-optimization/21639] poisoned ggc memory used for -ftree-vectorize

2005-05-26 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-05-26 12:02 --- patch: http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02477.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21639

[Bug tree-optimization/21639] poisoned ggc memory used for -ftree-vectorize

2005-05-24 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-05-24 15:16 --- (In reply to comment #7) > > >So at the moment, you cannot run ggc_collect inside loop opts. > > > > > > > > Is this going to change? > > > > If not, I guess removing TODO_ggc_collect is the simpliest thing

[Bug tree-optimization/21639] poisoned ggc memory used for -ftree-vectorize

2005-05-24 Thread rakdver at atrey dot karlin dot mff dot cuni dot cz
--- Additional Comments From rakdver at atrey dot karlin dot mff dot cuni dot cz 2005-05-24 15:06 --- Subject: Re: poisoned ggc memory used for -ftree-vectorize > >there are several places in loop opts that are not GGC-safe (in > >particular the tree nodes refered from loop structures

[Bug tree-optimization/21639] poisoned ggc memory used for -ftree-vectorize

2005-05-24 Thread paolo dot bonzini at lu dot unisi dot ch
--- Additional Comments From paolo dot bonzini at lu dot unisi dot ch 2005-05-24 14:26 --- Subject: Re: poisoned ggc memory used for -ftree-vectorize >there are several places in loop opts that are not GGC-safe (in >particular the tree nodes refered from loop structures are not >seen

[Bug tree-optimization/21639] poisoned ggc memory used for -ftree-vectorize

2005-05-24 Thread rakdver at atrey dot karlin dot mff dot cuni dot cz
--- Additional Comments From rakdver at atrey dot karlin dot mff dot cuni dot cz 2005-05-24 14:24 --- Subject: Re: poisoned ggc memory used for -ftree-vectorize > > Is there a rule that ggc_collect should not be called during loop > optimizations? > > I don't know. (Zdenek?) there a

[Bug tree-optimization/21639] poisoned ggc memory used for -ftree-vectorize

2005-05-24 Thread bonzini at gcc dot gnu dot org
--- Additional Comments From bonzini at gcc dot gnu dot org 2005-05-24 13:46 --- scev_info_str should be ggc_alloc-ed. Then, the hash table with the cache should be marked with GTY((param_is (struct scev_info_str))) If this fixes the bug, you can remove the TODO_ggc_collect from lowe

[Bug tree-optimization/21639] poisoned ggc memory used for -ftree-vectorize

2005-05-24 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-05-24 12:54 --- > Is there a rule that ggc_collect should not be called during loop optimizations? I don't know. (Zdenek?) I think passes within the loop optimizer can assume that the scev information cached in the scev ht

[Bug tree-optimization/21639] poisoned ggc memory used for -ftree-vectorize

2005-05-24 Thread paolo dot bonzini at lu dot unisi dot ch
--- Additional Comments From paolo dot bonzini at lu dot unisi dot ch 2005-05-24 11:59 --- Subject: Re: poisoned ggc memory used for -ftree-vectorize >Paolo, is the above solution ok with you? If so, I'll go ahead and prepare a >patch. Alternatively, if ggc_collect is really required

[Bug tree-optimization/21639] poisoned ggc memory used for -ftree-vectorize

2005-05-24 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-05-24 11:53 --- I can reproduce this problem on powerpc-apple-darwin, even without the options "-maltivec -mabi-altivec" (which means that no simd vectorization takes place). What happens is that the scalar_evolution_info ha