https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77677
--- Comment #10 from kugan at gcc dot gnu.org --- (In reply to Pat Haugen from comment #9) > (In reply to kugan from comment #8) > > Author: kugan > > Date: Fri Sep 23 10:25:09 2016 > > New Revision: 240420 > > > > URL: https://gcc.gnu.org/viewcvs?rev=240420&root=gcc&view=rev > > Log: > > Drop TREE_OVERFLOW > > > > gcc/ChangeLog: > > > > 2016-09-23 Kugan Vivekanandarajah <kug...@linaro.org> > > > > PR ipa/77677 > > * ipa-cp.c (propagate_vr_accross_jump_function): Drop TREE_OVERFLOW > > from constant while creating value range. > > > Unfortunately this does not fix the problem building 176.gcc on powerpc. > Following is reduced testcase. Failure occurs with 'gcc -O2'. > > enum machine_mode { MAX_MACHINE_MODE }; > struct { > int mode : 8 > } a; > b; > static fn1(); > fn2() { fn1(a, a.mode); } > > fn1(x, mode) enum machine_mode mode; > { int c = b = c; } Sorry for the breakage. Posted a patch at https://gcc.gnu.org/ml/gcc-patches/2016-09/msg01746.html for this.