From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2457 invoked by alias); 20 Jul 2011 14:37:24 -0000 Received: (qmail 2444 invoked by uid 22791); 20 Jul 2011 14:37:21 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_CB X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Jul 2011 14:37:05 +0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/49796] New: [4.7 Regression] 483.xalancbmk/447.dealII in SPEC CPU 2006 failed to build X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 20 Jul 2011 14:37:00 -0000 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: 2011-07/txt/msg01665.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49796 Summary: [4.7 Regression] 483.xalancbmk/447.dealII in SPEC CPU 2006 failed to build Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned@gcc.gnu.org ReportedBy: hjl.tools@gmail.com On Linux/x86-64, revision 176460 gave g++ -O3 -funroll-loops -ffast-math -fwhole-program -flto=jobserver -fuse-linker-plugin -DSPEC_CPU_LP64 .... ... lto1: error: edge points to wrong declaration: > QI size unit size align 8 symtab 0 alias set -1 canonical type 0x2b8492a42540 method basetype arg-types chain chain >>>> public external QI file XalanDOMString.cpp line 68 col 1 align 16 context arguments readonly unsigned DI size unit size align 64 symtab 0 alias set -1 canonical type 0x2b8492213540 reference_to_this > readonly unsigned DI file XalanDOMString.cpp line 70 col 25 size unit size align 64 context arg-type chain used unsigned DI file XalanDOMString.cpp line 69 col 25 size unit size align 64 context arg-type chain >> result ignored VOID file XalanDOMString.cpp line 80 col 1 align 8 context >> Instead of: > QI size unit size align 8 symtab 0 alias set -1 canonical type 0x2b8492830000 method basetype arg-types chain chain chain >>>> pointer_to_this > addressable used public external QI file XalanDOMString.cpp line 68 col 1 align 16 context arguments readonly unsigned DI size unit size align 64 symtab 0 alias set -1 canonical type 0x2b8492213540 reference_to_this > readonly used unsigned DI file XalanDOMString.cpp line 70 col 25 size unit size align 64 context arg-type chain used unsigned DI file XalanDOMString.cpp line 69 col 25 size unit size align 64 context arg-type chain >> result ignored VOID file XalanDOMString.cpp line 80 col 1 align 8 context >> problem/1733 @0x2b84923a4a20 (asm: _ZNK10xalanc_1_814XSLTEngineImpl7problemERKNS_14XalanDOMStringENS_15ProblemListener15eClassificationERKN11xercesc_2_57LocatorEPKNS_9XalanNodeE.13971) availability:local analyzed body local prevailing_def_ironly finalized called by: error/1732 (1.00 per call) (can throw external) warn/254 (0.78 per call) (can throw external) calls: __cxa_free_exception/2559 __comp_dtor /2539 __comp_dtor /2539 __cxa_throw/2560 (can throw external) __comp_dtor /2539 __comp_dtor /2539 __comp_ctor /1735 _ZN10xalanc_1_814XalanDOMStringC2EPKtj.constprop.15198/778 _ZN10xalanc_1_814XalanDOMStringC2EPKcj.constprop.15237/2562 __cxa_allocate_exception/2563 References: var:theDummy (addr) var:_ZTIN10xalanc_1_822XSLTProcessorExceptionE (addr) fn:__comp_dtor /257 (addr) Refering this function: has 4 outgoing edges for indirect calls. lto1: internal compiler error: verify_cgraph_node failed Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[4]: *** [/tmp/ccQtX8la.ltrans6.ltrans.o] Error 1 lto-wrapper: make returned 2 exit status /usr/local/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status specmake[3]: *** [Xalan] Error 1 g++ -O3 -funroll-loops -ffast-math -fwhole-program -flto=jobserver -fuse-linker-plugin -DSPEC_CPU_LP64 ... ... lto1: error: edge points to wrong declaration: > QI size unit size align 8 symtab 0 alias set -1 canonical type 0x2abd3c08f0a8 method basetype arg-types chain chain chain >>>>> public external autoinline QI defer-output file /export/gnu/import/svn/gcc-test-spec-lto/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_vector.h line 289 col 7 align 16 context arguments readonly unsigned DI size unit size align 64 symtab 0 alias set -1 canonical type 0x2abd3c083498> readonly unsigned DI file /export/gnu/import/svn/gcc-test-spec-lto/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_vector.h line 290 col 51 size unit size align 64 context arg-type chain used unsigned DI file /export/gnu/import/svn/gcc-test-spec-lto/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_vector.h line 289 col 24 size unit size align 64 context arg-type chain >> result ignored VOID file /export/gnu/import/svn/gcc-test-spec-lto/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_vector.h line 292 col 43 align 8 context >> Instead of: > QI size unit size align 8 symtab 0 alias set -1 canonical type 0x2abd3c08b000 method basetype arg-types chain chain chain chain >>>>> pointer_to_this > addressable used public external autoinline QI defer-output file /export/gnu/import/svn/gcc-test-spec-lto/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_vector.h line 289 col 7 align 16 context arguments readonly unsigned DI size unit size align 64 symtab 0 alias set -1 canonical type 0x2abd3c083498> readonly used unsigned DI file /export/gnu/import/svn/gcc-test-spec-lto/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_vector.h line 290 col 51 size unit size align 64 context arg-type chain used unsigned DI file /export/gnu/import/svn/gcc-test-spec-lto/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_vector.h line 289 col 24 size unit size align 64 context arg-type chain >> result ignored VOID file /export/gnu/import/svn/gcc-test-spec-lto/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_vector.h line 292 col 43 align 8 context >> lto1: error: edge points to wrong declaration: > QI size unit size align 8 symtab 0 alias set -1 canonical type 0x2abd3c08f0a8 method basetype arg-types chain chain chain >>>>> public external autoinline QI defer-output file /export/gnu/import/svn/gcc-test-spec-lto/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_vector.h line 289 col 7 align 16 context arguments readonly unsigned DI size unit size align 64 symtab 0 alias set -1 canonical type 0x2abd3c083498> readonly unsigned DI file /export/gnu/import/svn/gcc-test-spec-lto/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_vector.h line 290 col 51 size unit size align 64 context arg-type chain used unsigned DI file /export/gnu/import/svn/gcc-test-spec-lto/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_vector.h line 289 col 24 size unit size align 64 context arg-type chain >> result ignored VOID file /export/gnu/import/svn/gcc-test-spec-lto/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_vector.h line 292 col 43 align 8 context >> Instead of: > QI size unit size align 8 symtab 0 alias set -1 canonical type 0x2abd3c08b000 method basetype arg-types chain chain chain chain >>>>> pointer_to_this > addressable used public external autoinline QI defer-output file /export/gnu/import/svn/gcc-test-spec-lto/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_vector.h line 289 col 7 align 16 context arguments readonly unsigned DI size unit size align 64 symtab 0 alias set -1 canonical type 0x2abd3c083498> readonly used unsigned DI file /export/gnu/import/svn/gcc-test-spec-lto/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_vector.h line 290 col 51 size unit size align 64 context arg-type chain used unsigned DI file /export/gnu/import/svn/gcc-test-spec-lto/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_vector.h line 289 col 24 size unit size align 64 context arg-type chain >> result ignored VOID file /export/gnu/import/svn/gcc-test-spec-lto/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_vector.h line 292 col 43 align 8 context >> compute_coefficients/0 @0x2abd3c1216c0 (asm: _ZN11Polynomials12Hierarchical20compute_coefficientsEj) availability:local analyzed reachable_from_other_partition body local prevailing_def_ironly finalized called by: compute_coefficients/0 (0.18 per call) (can throw external) compute_coefficients/0 (0.07 per call) (can throw external) calls: operator delete/624 operator delete/624 operator delete/624 operator delete/624 __comp_ctor /625 (0.18 per call) operator new/626 (0.18 per call) (can throw external) compute_coefficients/0 (0.18 per call) (can throw external) _ZNSt6vectorIdSaIdEEC2EmRKdRKS0_.local.405.constprop.15750/2 (inlined) (0.07 per call) operator new/626 (0.07 per call) (can throw external) compute_coefficients/0 (0.07 per call) (can throw external) _ZNSt6vectorIdSaIdEEC2EmRKdRKS0_.local.405.constprop.15751/627 (0.04 per call) operator new/626 (0.04 per call) (can throw external) _ZNSt6vectorIdSaIdEEC2EmRKdRKS0_.local.405.constprop.15751/627 (0.04 per call) operator new/626 (0.04 per call) (can throw external) _ZNSt6vectorIPKS_IdSaIdEESaIS3_EE6resizeEmS3_.local.5880.constprop.15644/12 (inlined) (0.29 per call) (can throw external) References: var:recursive_coefficients (read) var:recursive_coefficients (read) var:recursive_coefficients (addr) var:recursive_coefficients (read) var:recursive_coefficients (read) var:recursive_coefficients (read) var:recursive_coefficients (read) Refering this function: lto1: internal compiler error: verify_cgraph_node failed Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[4]: *** [/tmp/ccPXHXxM.ltrans26.ltrans.o] Error 1 lto-wrapper: make returned 2 exit status /usr/local/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status specmake[3]: *** [dealII] Error 1 Revision 176370 is OK.