From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23088 invoked by alias); 29 May 2002 12:06:10 -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 23047 invoked by uid 71); 29 May 2002 12:06:05 -0000 Resent-Date: 29 May 2002 12:06:05 -0000 Resent-Message-ID: <20020529120605.23042.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, harri.pasanen@trema.com Resent-Reply-To: gcc-gnats@gcc.gnu.org, corrado.giacomini@trema.com Received:(qmail 22350 invoked by uid 61); 29 May 2002 12:04:26 -0000 Message-Id:<20020529120425.22338.qmail@sources.redhat.com> Date: Wed, 29 May 2002 05:16:00 -0000 From: corrado.giacomini@trema.com Reply-To: corrado.giacomini@trema.com To: gcc-gnats@gcc.gnu.org Cc: harri.pasanen@trema.com X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify:harri.pasanen@trema.com Subject: optimization/6856: -O2 options causes Internal compiler error on hpux11.00 X-SW-Source: 2002-05/txt/msg00951.txt.bz2 List-Id: >Number: 6856 >Category: optimization >Synopsis: -O2 options causes Internal compiler error on hpux11.00 >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed May 29 05:06:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Corrado Giacomini >Release: gcc version 3.1.1 20020517 (prerelease) >Organization: >Environment: hppa2.0w-hp-hpux11.00 >Description: In compiling the test.cc file using optimization options I have the following error message, while compile properly if I take off the -O2 options. The same code compile well in both cases on linux and on hpux as well using KCC compiler. g++ -c -O2 test.cc test.cc: In function `void __static_initialization_and_destruction_0(int, int)': test.cc:16: Internal compiler error in simplify_gen_subreg, at simplify-rtx.c: 2711 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >How-To-Repeat: Compile the attached test file using the following options: g++ -c -O2 test.c >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="test.ii" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="test.ii" IyAxICJ0ZXN0LmNjIgojIDEgIjxidWlsdC1pbj4iCiMgMSAiPGNvbW1hbmQgbGluZT4iCiMgMSAi dGVzdC5jYyIKY2xhc3MgQSB7CnB1YmxpYzoKICBpbmxpbmUgQShjb25zdCBjaGFyKmNvbnN0KiB1 c2VyX2V4Y25zKSB7fQogIHZpcnR1YWwgfkEoKSB7fQp9OwoKc3RhdGljIGNvbnN0IGNoYXIqIF9Q RF9yZXBvSWQgPSAiIEJMQSBCTEEgIjsKCmNsYXNzIEIgOiBwdWJsaWMgQQp7CnB1YmxpYzoKICBp bmxpbmUgQigpOiBBKF91c2VyX2V4bnMpIHt9CiAgc3RhdGljIGNvbnN0IGNoYXIqIGNvbnN0IF91 c2VyX2V4bnNbXTsKfTsKCmNvbnN0IGNoYXIqIGNvbnN0IEI6Ol91c2VyX2V4bnNbXSA9IHsKICBf UERfcmVwb0lkCn07Cg==