https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79058

--- Comment #2 from ktkachov at gcc dot gnu.org ---
Reduced testcase:

enum { NILFS_SEGMENT_USAGE_ACTIVE, NILFS_SEGMENT_USAGE_DIRTY } a;

void fn2 (long long);

void fn1() {
  int b = a & 1 << NILFS_SEGMENT_USAGE_DIRTY;
  fn2 (b ? (long long) -1 : 0);
}

ICEs with -Os -mbig-endian -mcpu=arm7tdmi

Reply via email to