From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11155 invoked by alias); 20 Jun 2002 00:06:02 -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 11132 invoked by uid 71); 20 Jun 2002 00:06:01 -0000 Resent-Date: 20 Jun 2002 00:06:01 -0000 Resent-Message-ID: <20020620000601.11130.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, janis187@us.ibm.com Received: (qmail 8017 invoked by uid 61); 19 Jun 2002 23:59:49 -0000 Message-Id: <20020619235949.8016.qmail@sources.redhat.com> Date: Thu, 20 Jun 2002 02:16:00 -0000 From: janis187@us.ibm.com Reply-To: janis187@us.ibm.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/7080: g++ ICE compiling Qt X-SW-Source: 2002-06/txt/msg00446.txt.bz2 List-Id: >Number: 7080 >Category: c++ >Synopsis: g++ ICE compiling Qt >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Wed Jun 19 17:06:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Janis Johnson >Release: gcc version 3.2 20020619 (experimental) >Organization: >Environment: i686-pc-linux-gnu and ia64-unknown-linux-gnu >Description: The current mainline gets an ICE compiling the attached test case, extracted from the Qt application development toolkit. With no compilation options other than -c, the output is: qtbug.cpp: In function `void foo()': qtbug.cpp:20: error: uninitialized const `r0' g++: Internal error: Segmentation fault (program cc1plus) Please submit a full bug report. See for instructions. I haven't tested Qt regularly with the mainline so I don't know how long it's been failing. It passes with GCC 3.1 and with the current 3.1 branch. If "const" is removed from the definition of "member" then the file compiles successfully. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="qtbug.cpp" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="qtbug.cpp" Ly8gVGhpcyB0ZXN0IGNhc2UgaXMgZXh0cmFjdGVkIGZyb20gdGhlIFF0IGFwcGxpY2F0aW9uIGRl dmVsb3BtZW50Ci8vIHRvb2xraXQuICBJdCBjYXVzZXMgYW4gSUNFIGluIEdDQyAzLjIgMjAwMjA2 MTkgKGV4cGVyaW1lbnRhbCkuCgpjbGFzcyBRT2JqZWN0Owp0eXBlZGVmIHZvaWQgKFFPYmplY3Q6 OipRTWVtYmVyKSgpOwoKY2xhc3MgUUNvbm5lY3Rpb24KewpwdWJsaWM6CiAgICBRTWVtYmVyICpt ZW1iZXIoKSBjb25zdCB7IHJldHVybiAoUU1lbWJlciopJm1icjsgfQogICAgUU1lbWJlciBtYnI7 Cn07CgpRQ29ubmVjdGlvbiAqYzsKCnZvaWQKZm9vICgpCnsKICAgIHR5cGVkZWYgdm9pZCAoUU9i amVjdDo6KlJUMCkoKTsKICAgIFJUMCByMDsKCiAgICByMCA9IChSVDApKihjLT5tZW1iZXIoKSk7 Cn0K