From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4D4CD383E806; Wed, 24 Jun 2020 15:02:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4D4CD383E806 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1593010975; bh=V3CklI53SBQJ5mdFifokqeY0LU6/8WZxiJXugOt6f2c=; h=From:To:Subject:Date:In-Reply-To:References:From; b=UYKjaDiRdOGr+2nDHnNkmMvaZV5nDdsXXf06xhZr6wgDvdSbuQL7THrlt7dfN+bj0 A2RNH7Ta68QAXAD94hdJUxjVci3QxhFi6fEA95EUMt5y0rdRGCpx6rVb2N78F6jni4 +uYi9eGW1NKtyamOBVbyIip/f1FyPn6Ccn5mfJYc= From: "tobi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/95859] Statically true asserts not recognized as such with -O2, but with -O1, -Og, -O3 Date: Wed, 24 Jun 2020 15:02:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.1.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: tobi at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2020 15:02:55 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95859 --- Comment #3 from Tobias Schl=C3=BCter --- ps here's the compiler explorer link for the preprocessed test.=20 https://godbolt.org/z/zDw5JQ I tried manually reducing it, but couldn't easily get below the 1000kib lim= it.=