From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4306 invoked by alias); 30 Dec 2004 14:49:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 4062 invoked by uid 48); 30 Dec 2004 14:49:00 -0000 Date: Thu, 30 Dec 2004 14:49:00 -0000 Message-ID: <20041230144900.4061.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041230105911.19199.lars@trolltech.com> References: <20041230105911.19199.lars@trolltech.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/19199] [3.3/3.4/4.0 Regression] Wrong warning about returning a reference to a temporary X-Bugzilla-Reason: CC X-SW-Source: 2004-12/txt/msg03954.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-30 14:48 ------- Confirmed: < = (const Foo &) (const Foo *) &TARGET_EXPR >>> why is there a cast to int in the MIN_EXPR. This causes wrong code. -- What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |normal Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |diagnostic, wrong-code Known to fail| |3.4.0 4.0.0 3.3.2 Known to work| |3.1 Priority|P3 |P2 Last reconfirmed|0000-00-00 00:00:00 |2004-12-30 14:48:58 date| | Summary|Wrong warning about |[3.3/3.4/4.0 Regression] |returning a reference to a |Wrong warning about |temporary |returning a reference to a | |temporary Target Milestone|--- |3.4.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19199