From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12446 invoked by alias); 24 Jun 2014 18:37:45 -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 12419 invoked by uid 48); 24 Jun 2014 18:37:42 -0000 From: "daniel.kruegler at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61543] static_cast(static_cast(enum_value)) doesn't get an error Date: Tue, 24 Jun 2014 18:37: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.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel.kruegler at googlemail dot com X-Bugzilla-Status: UNCONFIRMED 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: cc 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-SW-Source: 2014-06/txt/msg01903.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61543 Daniel Kr=C3=BCgler changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.kruegler@googlemail. | |com --- Comment #1 from Daniel Kr=C3=BCgler --- Looks similar to bug 49171: gcc currently still accepts reinterpret_cast and equivalent void* casts in constant expressions. >>From gcc-bugs-return-454823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 24 18:41:55 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14812 invoked by alias); 24 Jun 2014 18:41:55 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14769 invoked by uid 48); 24 Jun 2014 18:41:51 -0000 From: "adrien.hamelin+gcc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61597] Unexpected behavior at runtime Date: Tue, 24 Jun 2014 18: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.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adrien.hamelin+gcc at gmail dot com X-Bugzilla-Status: UNCONFIRMED 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg01905.txt.bz2 Content-length: 349 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597 --- Comment #5 from Adrien Hamelin --- It's a type i created to be able to store data that does not fit in ram, with some streaming with the hard drive. But i removed most of it to simplify the problem search for you, even if i did not think of everything.