https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61345
Bug ID: 61345 Summary: [4.10 Regression] ICE (segfault) in combine while compiling the linux kernel Product: gcc Version: 4.10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target: aarch64*-linux-gnu Simple Testcase (compiled with -O2): unsigned grab_cache_page_write_begin(unsigned flags, unsigned capabilities) { unsigned gfp_mask; unsigned gfp_notmask = 0; gfp_mask = flags & ((1 << 25) - 1); if (!(capabilities & 0x00000001)) gfp_mask |= 0x1000000u; return (gfp_mask & ~gfp_notmask); }