From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21153 invoked by alias); 7 Oct 2002 15:16:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 21097 invoked by uid 71); 7 Oct 2002 15:16:02 -0000 Resent-Date: 7 Oct 2002 15:16:02 -0000 Resent-Message-ID: <20021007151602.21096.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, sdementen@hotmail.com Received: (qmail 19992 invoked by uid 61); 7 Oct 2002 15:13:47 -0000 Message-Id: <20021007151347.19991.qmail@sources.redhat.com> Date: Mon, 07 Oct 2002 08:16:00 -0000 From: sdementen@hotmail.com Reply-To: sdementen@hotmail.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/8160: Internal compiler error in build_modify_expr, at cp/typeck.c:5494 X-SW-Source: 2002-10/txt/msg00256.txt.bz2 List-Id: >Number: 8160 >Category: c++ >Synopsis: Internal compiler error in build_modify_expr, at cp/typeck.c:5494 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-illegal-code >Submitter-Id: net >Arrival-Date: Mon Oct 07 08:16:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Sébastien de Menten >Release: gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk) >Organization: >Environment: Fresh Mandrake 9.0 installation (gcc-2.96 is also installed) >Description: Compilation of the file leads to error_build_modify_expr.cpp: In constructor `foo::foo() [with int D = 1]': error_build_modify_expr.cpp:15: instantiated from here error_build_modify_expr.cpp:11: Internal compiler error in build_modify_expr, at cp/typeck.c:5494 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >How-To-Repeat: Compile the file with no special flags g++ error_build_modify_expr.cpp >Fix: Remove the templateness of the file (in this case, the template is useless :-)). Otherwise, this is not possible. The const array must be initialised in another way. But the standard C++ does not define any way, I think... >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/x-c++src; name="error_build_modify_expr.cpp" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="error_build_modify_expr.cpp" I2luY2x1ZGUgPGlvc3RyZWFtPgoKdGVtcGxhdGU8aW50IEQ+CmNsYXNzIGZvbyB7CnB1YmxpYzoK ICBjb25zdCBpbnQgZFszXTsKICBmb28oKTsKfTsKCnRlbXBsYXRlPGludCBEPgpmb288RD46OmZv bygpIDogZCgoY29uc3QgaW50W10pezEsMiwzfSkgewp9OwoKaW50IG1haW4oaW50IGFyZ2MsY2hh ciAqKmFyZ3YpIHsKICBmb288MT4gYjsKfTsK