From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9766 invoked by alias); 11 Jun 2007 21:19:53 -0000 Received: (qmail 9746 invoked by uid 48); 11 Jun 2007 21:19:44 -0000 Date: Mon, 11 Jun 2007 21:19:00 -0000 Message-ID: <20070611211944.9745.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/32260] [4.3 Regression] too many warning: dereferencing type-punned pointer will break strict-aliasing rules In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" 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 X-SW-Source: 2007-06/txt/msg00797.txt.bz2 ------- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-11 21:19 ------- Confirmed, I have not looked into this close enough but this is a front-end bug as the type (and aliasing set) of the typeid variable is different from std::type_info's. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |alias, diagnostic Last reconfirmed|0000-00-00 00:00:00 |2007-06-11 21:19:44 date| | Summary|too many warning: |[4.3 Regression] too many |dereferencing type-punned |warning: dereferencing type- |pointer will break strict- |punned pointer will break |aliasing rules |strict-aliasing rules Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32260