------- Comment #4 from rguenth at gcc dot gnu dot org 2009-03-04 15:21 ------- In TODO_recompute_alias after PRE we have something (alc_capture_mixer1, found through DECL_INITIAL of caps) in gimple_addressable_vars that is no longer available.
Honza, this is yours again. I guess during inlining we no longer add referenced vars to the inlined-to function if they are addresses of globals referenced through initializers of local statics? static struct snd_kcontrol_new alc_capture_mixer1[]; static void set_capture_mixer(struct alc_spec *spec) { static struct snd_kcontrol_new *caps[3] = { alc_capture_mixer1, alc_capture_mixer2, alc_capture_mixer3, }; if (spec->num_adc_nids > 0 && spec->num_adc_nids <= 3) spec->cap_mixer = caps[spec->num_adc_nids - 1]; } inlined into some other function. Proper testcase still reducing. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu dot | |org Keywords| |ice-on-valid-code Priority|P3 |P1 Last reconfirmed|2009-03-04 15:16:02 |2009-03-04 15:21:37 date| | Summary|[4.4 Regression] tree-dsa |[4.4 Regression] ICE in |leads to an ICE |referenced_var_lookup, at | |tree-dfa.c:563 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39360