From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19822 invoked by alias); 20 Nov 2014 03:43:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 19745 invoked by uid 48); 20 Nov 2014 03:43:45 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57979] G++ accepts constant expression defined using floating point non-constexpr glvalue Date: Thu, 20 Nov 2014 03:43:00 -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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution assigned_to target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-11/txt/msg02130.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57979 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org Target Milestone|--- |5.0 --- Comment #8 from Jason Merrill --- (In reply to Ville Voutilainen from comment #5) > I think this should be put on hold, since EWG told CWG in Rapperswil > that const floats should perform the same magic as const ints do, see > http://open-std.org/JTC1/SC22/WG21/docs/cwg_closed.html#1826 > which EWG suggested CWG to reopen and resolve. I had already done most of the work before you made this comment. :) You might want to ping Mike about that again, as I don't think it came up in core at the Urbana meeting. Fixed for gcc 5.