public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/44295]  New: [4.6 Regression] Failed to build 483.xalancbmk in SPEC CPU 2006
@ 2010-05-27 17:22 hjl dot tools at gmail dot com
  2010-05-27 18:57 ` [Bug middle-end/44295] " hjl dot tools at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-05-27 17:22 UTC (permalink / raw)
  To: gcc-bugs

On Linux/x86-64, revision 159912 failed to build 483.xalancbmk in
SPEC CPU 2006:

g++ -c -o DOMDocumentImpl.o -DSPEC_CPU -DNDEBUG  -DAPP_NO_THREADS
-DXALAN_INMEM_MSG_LOADER -I. -Ixercesc -Ixercesc/dom -Ixercesc/dom/impl
-Ixercesc/sax -Ixercesc/util/MsgLoaders/InMemory
-Ixercesc/util/Transcoders/Iconv -Ixalanc/include -DPROJ_XMLPARSER
-DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM
-DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER
-DXML_USE_PTHREADS  -O3 -ffast-math -funroll-loops   -DSPEC_CPU_LP64 
-DSPEC_CPU_LINUX     DOMDocumentImpl.cpp
  called by: virtual xercesc_2_5::DOMNodeList*
xercesc_2_5::DOMDocumentImpl::getElementsByTagName(const XMLCh*) const/607
(1.00 per call) (inlined) (can throw external) 
  calls: void* xercesc_2_5::DOMDocumentImpl::allocate(size_t)/724 (0.07 per
call) (can throw external)
xercesc_2_5::DOMDeepNodeListPool<TVal>::DOMDeepNodeListPool(XMLSize_t, bool,
XMLSize_t) [with TVal = xercesc_2_5::DOMDeepNodeListImpl, XMLSize_t = long
unsigned int]/812 (0.07 per call) (can throw external) TVal*
xercesc_2_5::DOMDeepNodeListPool<TVal>::getByKey(const void*, const XMLCh*,
const XMLCh*) [with TVal = xercesc_2_5::DOMDeepNodeListImpl, XMLCh = short
unsigned int]/289 (inlined) (1.00 per call) (can throw external) void*
xercesc_2_5::DOMDocumentImpl::allocate(size_t)/724 (0.10 per call) (can throw
external) xercesc_2_5::DOMDeepNodeListImpl::DOMDeepNodeListImpl(const
xercesc_2_5::DOMNode*, const XMLCh*)/982 (0.10 per call) (can throw external)
XMLSize_t xercesc_2_5::DOMDeepNodeListPool<TVal>::put(void*, XMLCh*, XMLCh*,
TVal*) [with TVal = xercesc_2_5::DOMDeepNodeListImpl, XMLSize_t = long unsigned
int, XMLCh = short unsigned int]/795 (0.10 per call) (can throw external) TVal*
xercesc_2_5::DOMDeepNodeListPool<TVal>::getById(XMLSize_t) [with TVal =
xercesc_2_5::DOMDeepNodeListImpl, XMLSize_t = long unsigned int]/796 (inlined)
(0.10 per call) (can throw external) 
  References: 
  Refering this function: 
DOMDocumentImpl.cpp:497:66: internal compiler error: verify_cgraph_node failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
specmake[3]: *** [DOMDocumentImpl.o] Error 1
specmake[3]: *** Waiting for unfinished jobs....

Revision 159789 is OK.


-- 
           Summary: [4.6 Regression] Failed to build 483.xalancbmk in SPEC
                    CPU 2006
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44295


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/44295] [4.6 Regression] Failed to build 483.xalancbmk in SPEC CPU 2006
  2010-05-27 17:22 [Bug middle-end/44295] New: [4.6 Regression] Failed to build 483.xalancbmk in SPEC CPU 2006 hjl dot tools at gmail dot com
@ 2010-05-27 18:57 ` hjl dot tools at gmail dot com
  2010-05-27 22:11 ` hjl dot tools at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-05-27 18:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl dot tools at gmail dot com  2010-05-27 18:57 -------
It is caused by revision 159907:

http://gcc.gnu.org/ml/gcc-cvs/2010-05/msg00963.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44295


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/44295] [4.6 Regression] Failed to build 483.xalancbmk in SPEC CPU 2006
  2010-05-27 17:22 [Bug middle-end/44295] New: [4.6 Regression] Failed to build 483.xalancbmk in SPEC CPU 2006 hjl dot tools at gmail dot com
  2010-05-27 18:57 ` [Bug middle-end/44295] " hjl dot tools at gmail dot com
@ 2010-05-27 22:11 ` hjl dot tools at gmail dot com
  2010-05-29 18:35 ` hjl dot tools at gmail dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-05-27 22:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2010-05-27 22:11 -------
Created an attachment (id=20764)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20764&action=view)
A testcase for Linux/x86-64

[hjl@gnu-32 build_base_o3.0000]$ /export/gnu/import/rrs/159907/usr/bin/gcc -O3
pr44295.ii -S
...
 calls: void* operator new(size_t, xercesc_2_5::DOMDocument*)/252 (0.10 per
call) (can throw external)
xercesc_2_5::DOMDeepNodeListPool<TVal>::DOMDeepNodeListPool(XMLSize_t, bool,
XMLSize_t) [with TVal = xercesc_2_5::DOMDeepNodeListImpl, XMLSize_t = long
unsigned int]/144 (0.10 per call) (can throw external) TVal*
xercesc_2_5::DOMDeepNodeListPool<TVal>::getByKey(const void*, const XMLCh*,
const XMLCh*) [with TVal = xercesc_2_5::DOMDeepNodeListImpl, XMLCh = short
unsigned int]/1 (inlined) (1.00 per call) (can throw external) 
  References: 
  Refering this function: 
pr44295.ii:3006:66: internal compiler error: verify_cgraph_node failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-32 build_base_o3.0000]$


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44295


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/44295] [4.6 Regression] Failed to build 483.xalancbmk in SPEC CPU 2006
  2010-05-27 17:22 [Bug middle-end/44295] New: [4.6 Regression] Failed to build 483.xalancbmk in SPEC CPU 2006 hjl dot tools at gmail dot com
  2010-05-27 18:57 ` [Bug middle-end/44295] " hjl dot tools at gmail dot com
  2010-05-27 22:11 ` hjl dot tools at gmail dot com
@ 2010-05-29 18:35 ` hjl dot tools at gmail dot com
  2010-06-02 15:40 ` hubicka at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-05-29 18:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hjl dot tools at gmail dot com  2010-05-29 18:35 -------
Created an attachment (id=20774)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20774&action=view)
A reduced testcase

[hjl@gnu-32 delta]$ /export/gnu/import/rrs/159912/usr/bin/gcc -S -O3 pr44295.ii
pr44295.ii: In member function \u2018xercesc_2_5::DOMNodeList*
xercesc_2_5::DOMDocumentImpl::getElementsByTagName(const XMLCh*) const\u2019:
pr44295.ii:157:68: error: edge points to wrong declaration:
 <function_decl 0x7f3c21ea3600
_ZN11xercesc_2_519DOMDeepNodeListPoolINS_19DOMDeepNodeListImplEEC2Embm.clone.2
    type <method_type 0x7f3c220d8000
        type <void_type 0x7f3c2210de70 void type_6 VOID
            align 8 symtab 0 alias set -1 canonical type 0x7f3c2210de70
            pointer_to_this <pointer_type 0x7f3c2210df18>>
        QI
        size <integer_cst 0x7f3c220f8758 constant 8>
        unit size <integer_cst 0x7f3c220f8780 constant 1>
        align 8 symtab 0 alias set -1 canonical type 0x7f3c220879d8 method
basetype <record_type 0x7f3c22082a80 DOMDeepNodeListPool>
        arg-types <tree_list 0x7f3c21e9f3e8 value <pointer_type 0x7f3c22082b28>
            chain <tree_list 0x7f3c2211d5f0 value <void_type 0x7f3c2210de70
void>>>
        pointer_to_this <pointer_type 0x7f3c2208a5e8>>
    asm_written used static decl_5 QI file pr44295.ii line 126 col 25 align 16
context <record_type 0x7f3c22082a80 DOMDeepNodeListPool> initial <error_mark
0x7f3c22100ca8> abstract_origin <function_decl 0x7f3c2207b800
DOMDeepNodeListPool>
    arguments <parm_decl 0x7f3c220b3a18 this
        type <pointer_type 0x7f3c22082b28 type <record_type 0x7f3c22082a80
DOMDeepNodeListPool>
            public unsigned DI
            size <integer_cst 0x7f3c220f8a50 constant 64>
            unit size <integer_cst 0x7f3c220f8a78 constant 8>
            align 64 symtab 0 alias set 16 canonical type 0x7f3c22082b28
            pointer_to_this <pointer_type 0x7f3c21ecac78>>
        readonly used unsigned DI file pr44295.ii line 126 col 239 size
<integer_cst 0x7f3c220f8a50 64> unit size <integer_cst 0x7f3c220f8a78 8>
        align 64 context <function_decl 0x7f3c21ea3600
_ZN11xercesc_2_519DOMDeepNodeListPoolINS_19DOMDeepNodeListImplEEC2Embm.clone.2>
abstract_origin <parm_decl 0x7f3c22088220 this>
        (reg/f:DI 3 bx [orig:70 this ] [70]) arg-type <pointer_type
0x7f3c22082b28>
        incoming-rtl (reg:DI 5 di [ this ])>
    result <result_decl 0x7f3c220d3e80 D.2898 type <void_type 0x7f3c2210de70
void>
        used ignored VOID file pr44295.ii line 130 col 3
        align 8 context <function_decl 0x7f3c21ea3600
_ZN11xercesc_2_519DOMDeepNodeListPoolINS_19DOMDeepNodeListImplEEC2Embm.clone.2>
abstract_origin <result_decl 0x7f3c22080e80 D.2669>>
    full-name
"xercesc_2_5::DOMDeepNodeListPool<TVal>::DOMDeepNodeListPool(XMLSize_t, bool,
XMLSize_t = 128) [with TVal = xercesc_2_5::DOMDeepNodeListImpl, XMLSize_t =
long unsigned int]"
    pending-inline-info 0x7f3c220a1310 template-info 0x7f3c220764a0
    (mem:QI (symbol_ref:DI
("_ZN11xercesc_2_519DOMDeepNodeListPoolINS_19DOMDeepNodeListImplEEC2Embm.clone.2")
[flags 0x3] <function_decl 0x7f3c21ea3600
_ZN11xercesc_2_519DOMDeepNodeListPoolINS_19DOMDeepNodeListImplEEC2Embm.clone.2>)
[0 S1 A8])>
 Instead of: <function_decl 0x7f3c2207b700 __comp_ctor 
    type <method_type 0x7f3c22087930
        type <void_type 0x7f3c2210de70 void type_6 VOID
            align 8 symtab 0 alias set -1 canonical type 0x7f3c2210de70
            pointer_to_this <pointer_type 0x7f3c2210df18>>
        QI
        size <integer_cst 0x7f3c220f8758 constant 8>
        unit size <integer_cst 0x7f3c220f8780 constant 1>
        align 8 symtab 0 alias set -1 canonical type 0x7f3c220879d8 method
basetype <record_type 0x7f3c22082a80 DOMDeepNodeListPool>
        arg-types <tree_list 0x7f3c22084870 value <pointer_type 0x7f3c22082b28>
            chain <tree_list 0x7f3c220847d0 value <integer_type 0x7f3c2210d690
long unsigned int>
                chain <tree_list 0x7f3c220847a8 value <boolean_type
0x7f3c2210d9d8 bool>
                    chain <tree_list 0x7f3c22084780
                        purpose <integer_cst 0x7f3c22031848 constant 128> value
<integer_type 0x7f3c2210d690 long unsigned int>
                        chain <tree_list 0x7f3c2211d5f0 value <void_type
0x7f3c2210de70 void>>>>>>
        pointer_to_this <pointer_type 0x7f3c2208a5e8>>
    addressable used public static weak decl_5 QI defer-output file pr44295.ii
line 126 col 25 align 16 context <record_type 0x7f3c22082a80
DOMDeepNodeListPool> initial <block 0x7f3c220a2580> abstract_origin
<function_decl 0x7f3c2207b800 DOMDeepNodeListPool>
    arguments <parm_decl 0x7f3c22088908 this
        type <pointer_type 0x7f3c22082b28 type <record_type 0x7f3c22082a80
DOMDeepNodeListPool>
            public unsigned DI
            size <integer_cst 0x7f3c220f8a50 constant 64>
            unit size <integer_cst 0x7f3c220f8a78 constant 8>
            align 64 symtab 0 alias set 16 canonical type 0x7f3c22082b28
            pointer_to_this <pointer_type 0x7f3c21ecac78>>
        readonly used unsigned DI file pr44295.ii line 126 col 239 size
<integer_cst 0x7f3c220f8a50 64> unit size <integer_cst 0x7f3c220f8a78 8>
        align 64 context <function_decl 0x7f3c2207b700 __comp_ctor >
abstract_origin <parm_decl 0x7f3c22088220 this> arg-type <pointer_type
0x7f3c22082b28>
        chain <parm_decl 0x7f3c22088990 modulus type <integer_type
0x7f3c220455e8 XMLSize_t>
            used unsigned DI file pr44295.ii line 126 col 89 size <integer_cst
0x7f3c220f8a50 64> unit size <integer_cst 0x7f3c220f8a78 8>
            align 64 context <function_decl 0x7f3c2207b700 __comp_ctor >
abstract_origin <parm_decl 0x7f3c220882a8 modulus>
            arg-type <integer_type 0x7f3c220455e8 XMLSize_t> chain <parm_decl
0x7f3c22088a18 adoptElems>>>
    result <result_decl 0x7f3c22080f00 D.2674 type <void_type 0x7f3c2210de70
void>
        ignored VOID file pr44295.ii line 130 col 3
        align 8 context <function_decl 0x7f3c2207b700 __comp_ctor >>
    full-name
"xercesc_2_5::DOMDeepNodeListPool<TVal>::DOMDeepNodeListPool(XMLSize_t, bool,
XMLSize_t = 128) [with TVal = xercesc_2_5::DOMDeepNodeListImpl, XMLSize_t =
long unsigned int]"
    pending-inline-info 0x7f3c220a13f0 template-info 0x7f3c220764a0
    struct-function 0x7f3c22092b40 chain <function_decl 0x7f3c2207b900
getByKey>>
xercesc_2_5::DOMNodeList* xercesc_2_5::DOMDocumentImpl::getDeepNodeList(const
xercesc_2_5::DOMNode*, const XMLCh*)/24(-1) @0x7f3c220942b0 (asm:
_ZN11xercesc_2_515DOMDocumentImpl15getDeepNodeListEPKNS_7DOMNodeEPKt) (inline
copy in xercesc_2_5::DOMNodeList*
xercesc_2_5::DOMDocumentImpl::getElementsByTagName(const XMLCh*) const/17)
availability:local analyzed 22 time, 16 benefit (23 after inlining) 20 size, 8
benefit (21 after inlining) 8 bytes after inlining reachable body local
finalized inlinable
  called by: xercesc_2_5::DOMNodeList*
xercesc_2_5::DOMDocumentImpl::getElementsByTagName(const XMLCh*) const/17 (1.00
per call) (inlined) (can throw external) 
  calls: void* operator new(size_t, xercesc_2_5::DOMDocument*)/58 (0.10 per
call) (can throw external)
xercesc_2_5::DOMDeepNodeListPool<TVal>::DOMDeepNodeListPool(XMLSize_t, bool,
XMLSize_t) [with TVal = xercesc_2_5::DOMDeepNodeListImpl, XMLSize_t = long
unsigned int]/16 (0.10 per call) (can throw external) TVal*
xercesc_2_5::DOMDeepNodeListPool<TVal>::getByKey(const void*, const XMLCh*,
const XMLCh*) [with TVal = xercesc_2_5::DOMDeepNodeListImpl, XMLCh = short
unsigned int]/25 (inlined) (1.00 per call) (can throw external) 
  References: 
  Refering this function: 
pr44295.ii:157:68: internal compiler error: verify_cgraph_node failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-32 delta]$ 


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20764|0                           |1
        is obsolete|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44295


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/44295] [4.6 Regression] Failed to build 483.xalancbmk in SPEC CPU 2006
  2010-05-27 17:22 [Bug middle-end/44295] New: [4.6 Regression] Failed to build 483.xalancbmk in SPEC CPU 2006 hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  2010-05-29 18:35 ` hjl dot tools at gmail dot com
@ 2010-06-02 15:40 ` hubicka at gcc dot gnu dot org
  2010-06-02 16:27 ` rguenth at gcc dot gnu dot org
  2010-06-02 17:05 ` hjl dot tools at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-06-02 15:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from hubicka at gcc dot gnu dot org  2010-06-02 15:40 -------
Subject: Bug 44295

Author: hubicka
Date: Wed Jun  2 15:39:43 2010
New Revision: 160159

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160159
Log:
        PR middle-end/44295
        * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Do not
        create new cgraph node to check callee.
        * testsuite/g++.dg/torture/pr44295.C: Neww testcase.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr44295.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraphunit.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44295


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/44295] [4.6 Regression] Failed to build 483.xalancbmk in SPEC CPU 2006
  2010-05-27 17:22 [Bug middle-end/44295] New: [4.6 Regression] Failed to build 483.xalancbmk in SPEC CPU 2006 hjl dot tools at gmail dot com
                   ` (3 preceding siblings ...)
  2010-06-02 15:40 ` hubicka at gcc dot gnu dot org
@ 2010-06-02 16:27 ` rguenth at gcc dot gnu dot org
  2010-06-02 17:05 ` hjl dot tools at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-02 16:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2010-06-02 16:27 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44295


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/44295] [4.6 Regression] Failed to build 483.xalancbmk in SPEC CPU 2006
  2010-05-27 17:22 [Bug middle-end/44295] New: [4.6 Regression] Failed to build 483.xalancbmk in SPEC CPU 2006 hjl dot tools at gmail dot com
                   ` (4 preceding siblings ...)
  2010-06-02 16:27 ` rguenth at gcc dot gnu dot org
@ 2010-06-02 17:05 ` hjl dot tools at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-06-02 17:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hjl dot tools at gmail dot com  2010-06-02 17:04 -------
*** Bug 44372 has been marked as a duplicate of this bug. ***


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zsojka at seznam dot cz


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44295


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-06-02 17:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-27 17:22 [Bug middle-end/44295] New: [4.6 Regression] Failed to build 483.xalancbmk in SPEC CPU 2006 hjl dot tools at gmail dot com
2010-05-27 18:57 ` [Bug middle-end/44295] " hjl dot tools at gmail dot com
2010-05-27 22:11 ` hjl dot tools at gmail dot com
2010-05-29 18:35 ` hjl dot tools at gmail dot com
2010-06-02 15:40 ` hubicka at gcc dot gnu dot org
2010-06-02 16:27 ` rguenth at gcc dot gnu dot org
2010-06-02 17:05 ` hjl dot tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).