[Bug c/108959] ice in modify_assignment, at ipa-param-manipulation.cc:1905

2023-02-27 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108959

--- Comment #2 from David Binderman  ---
Reduced code seems to be:

union U2 {
  long f0;
  int f1
};
g_16;
g_70[];
static func_61(int) {
  for (;;)
g_70[g_16] = 4;
}
static func_43(int *p_44) { func_61(*p_44); }
main() {
  union U2 l_38 = {9};
  int *l_49 = _38;
  func_43(l_49);
}

[Bug c/108959] ice in modify_assignment, at ipa-param-manipulation.cc:1905

2023-02-27 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108959

--- Comment #1 from David Binderman  ---
The bug first seems to occur sometime between git hash g:5c43f06c228d169c,
dated 20230202 and g:f0065f207cf19cd9, dated 20230203.