On Wed, Jun 25, 2014 at 03:00:33PM -0600, Jeff Law wrote: > On 06/25/14 10:05, tsaund...@mozilla.com wrote: > >From: tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> > > > >Hi, > > > >Actually we can just store const tre_node * in the hash table, and actually > >remove a const cast. > > > >bootstrapped with --enable-checking=fold on top of my original series on > >x86_64-unknown-linux-gnu, and aprovied by richi on IRC, commited. > > > >Trev > > > >gcc/ > > > > PR bootstrap/61598 > > * fold-const.c (fold_checksum_tree): Use a hash_table of const > > tree_node * instead of tree_node *. > > (fold): Adjust. > > (print_fold_checksum): Likewise. > > (fold_check_failed): Likewise. > > (debug_fold_checksum): Likewise. > > (fold_build1_stat_loc): Likewise. > > (fold_build2_stat_loc): Likewise. > > (fold_build3_stat_loc): Likewise. > > (fold_build_call_array_loc): Likewise. > Opps, presumably this should be used instead of your earlier patch I > approved, right?
yeah, I checked it in a couple hours ago ;) Trev > > JEff >