Created attachment 40860 [details]
preprocessed linux/fs/hpfs/anode.c, compressed, not reduced
I ran into a regression building the kernel with the latest gcc yesterday:
/git/arm-soc/fs/hpfs/anode.c: In function 'hpfs_truncate_btree':
/git/arm-soc/fs/hpfs/anode.c:399:6: internal compiler error: in VN_INFO_GET, at tree-ssa-sccvn.c:407
void hpfs_truncate_btree(struct super_block *s, secno f, int fno, unsigned secs)
This seems very similar to pr79740, but is not fixed by r245780, which was done to address that one. I build this with "aarch64-linux-gcc-7.0.1 -c anode.i -Os -Wall -fno-strict-aliasing -Wno-pointer-sign".
Date: Thu Mar 2 07:53:42 2017
New Revision: 245830
2017-03-02 Richard Biener <firstname.lastname@example.org>
* tree-ssa-pre.c (eliminate_insert): Give up if we simplify
the to insert expression to sth existing.
* gcc.dg/torture/pr79777.c: New testcase.
Fix confirmed with all configurations that previously showed the problem. Thanks a lot!