From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 96C833858D1E; Tue, 2 May 2023 07:45:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 96C833858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683013541; bh=17ByeHm0xGOu5vbsSW7mEH7E1uCG8B+3GkNYUDlMm5U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LG2CVHfRStDF7L9VZ5ic4QWNztdzn6MYqCBzs/lSw7IjPGuwqPEL9OQmU/R3YpEbs qSB2aeSTt1LtQIRc2jzQjepuXE/bU4adAULl4a3zhB4CMz7HuvyH9hugiZP4DqDu04 W5OWHvIcLbLzziSoR0P55qVI5f4TAklZV8SI/WOs= From: "geryemreis at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109678] [13/14 Regression] exponential time behavior on std::variant Date: Tue, 02 May 2023 07:45:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: geryemreis at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109678 --- Comment #2 from Gery Emreis --- Its not just about compilation time but also about RAM usage. Compilation of variation of std::variant as in provided example consumes unholy amounts of= RAM which in the end makes some files uncompilable on my system, because GCC consumes all available RAM and swap and makes my system hang.=