From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1820 invoked by alias); 20 Feb 2007 21:23:59 -0000 Received: (qmail 1774 invoked by uid 48); 20 Feb 2007 21:23:49 -0000 Date: Tue, 20 Feb 2007 21:23:00 -0000 Message-ID: <20070220212349.1773.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/30895] [4.1/4.2/4.3 regression] ICE with complex values in template parameter 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-02/txt/msg02391.txt.bz2 ------- Comment #1 from pinskia at gcc dot gnu dot org 2007-02-20 21:23 ------- > OTOH, we don't allow casts from complex int to int. We should as this is a GCC extension. >I'm not quite sure whether the code is valid or not. It is valid as we are using two extensions to C++, complex and complex integers (I say two because the former is C99, while the latter is an extension to C99). -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-02-20 21:23:49 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30895