https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118407
--- Comment #14 from Tamar Christina <tnfchris at gcc dot gnu.org> --- (In reply to Torbjorn SVENSSON from comment #13) > Created attachment 65046 [details] > predcom-8.c.188t.vect for > arm/arch=armv7ve/cpu=cortex-a7/float-abi=hard/fpu=neon > > Command used to generate the file is: > > /build/r17-2366-gcfc5aa4ed975c4/install-native/bin/arm-none-eabi-gcc > ../gcc/testsuite/gcc.dg/tree-ssa/predcom-8.c -marm -march=armv7ve > -mcpu=cortex-a7 -mfloat-abi=hard -mfpu=neon -fdiagnostics-plain-output -O3 > -fdump-tree-pcom-details-blocks -fdump-tree-vect-all -S -o predcom-8.s Thanks, that's weird, the dump file definitely has it complaining about the invalid sums after vect e.g. ;; basic block 34, loop depth 0, count 67298542 (estimated locally, freq 0.5859), maybe hot ;; Invalid sum of incoming counts 37162368 (estimated locally, freq 0.3235), should be 67298542 (estimated locally, freq 0.5859) ;; prev block 30, next block 31, flags: (NEW) ;; pred: 30 [75.0% (guessed)] count:28478685 (estimated locally, freq 0.2479) (FALSE_VALUE) ;; 17 [10.0% (guessed)] count:8683683 (estimated locally, freq 0.0756) (TRUE_VALUE) # i_73 = PHI <tmp.14_77(30), 0(17)> can you check the pcom dump file?
