[Bug c/102797] ice in useless_type_conversion_p, at gimple-expr.c:87

2021-10-16 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102797 --- Comment #2 from Dmitry G. Dyachenko --- r12-4256 PASS r12- FAIL $ cat x.ii struct b { b(int); }; void d() { int c = 1; do try { b a = 1; while (1) { c++; a = 1; } } catch (...) { }

[Bug c/102797] ice in useless_type_conversion_p, at gimple-expr.c:87

2021-10-16 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102797 --- Comment #1 from David Binderman --- Reduced C code is glib_autoptr_cleanup_GdkPaintable(struct _GdkPaintable **_ptr) { glib_autoptr_clear_GdkPaintable(*_ptr); } glib_autoptr_clear_GdkRGBA(struct _GdkRGBA *_ptr) { if (_ptr)