From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 46C79385841C; Thu, 11 Jan 2024 00:13:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 46C79385841C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704932034; bh=B4scHYxLOAxVEJ/4Vixvnal5HrYrOTKHimjUTlK1gk4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Wsmiw4YpJD9WHxUFxSvtrsH/y3QNRoI6a44i6KwsshBgoJQqCTSWHew0sXcRBp1JB qDEtf9GFXZHsIQNk8O6+OWl4gAMkabOxB07wVWJGiyZOmsRv8pmamgXVpjxCGTQXlL 1atKQ06lWh0z4Z5r54AhkAfcAaIBoBiIKTKawCK8= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113156] [11/12/13/14 Regression] AVR build broken due to ICE while compiling libgcc, started with r14-6201-gf0a90c7d7333fc Date: Thu, 11 Jan 2024 00:13:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: build, ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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=3D113156 --- Comment #11 from Andrew Pinski --- So the problem is avr_option_optimization_table sets the default mlong-double/mdouble size but if you don't have save on the option, it chan= ges back to the default which then errors out. Other targets handle setting the default like this differently, rs6000 hand= les the default `long double` in some interesting fashion. The patch is semi-correct but I need to make sure we error out if used with= the target/optimization attribute (I suspect we do).=