From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81648 invoked by alias); 23 Aug 2015 16:41:08 -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 81606 invoked by uid 48); 23 Aug 2015 16:41:04 -0000 From: "myriachan at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/49171] [C++0x][constexpr] Constant expressions support reinterpret_cast Date: Sun, 23 Aug 2015 16:41: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.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: myriachan at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktietz at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: 2015-08/txt/msg01598.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49171 Melissa changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |myriachan at gmail dot com --- Comment #12 from Melissa --- (In reply to Kai Tietz from comment #11) > Fixed with delayed-folding for C++. Therefore mine. Why fix it? The Standard doesn't allow it, but it's still useful. For example, std::numeric_limits::infinity() cannot be implemented without it or compiler magic (e.g. __builtin_huge_valf in the current libstdc++). Melissa