https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118470
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iains at gcc dot gnu.org, | |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- It is clearly mixing up coroutines with range for: for (const QString &displayName : m_displays.knownDisplayNamesWithMissingData()) { co_await queryAndInsertDisplayData(displayName); if (!alive || !m_serviceRegistered) { for (QLoggingCategoryMacroHolder<QtWarningMsg> qt_category(( APPLETS::BRIGHTNESS )()); qt_category; qt_category.control = false) QMessageLogger(nullptr, 0, nullptr, qt_category.name()).warning() << "ScreenBrightnessControl destroyed while querying displays, returning early"; co_return false; } So feels like PR117231 (just ICE rather than silent wrong-code).