public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28217]  New: [4.2 regression] ICE in tree_int_cst_sgn
@ 2006-07-01 21:51 schwab at suse dot de
  2006-07-01 22:02 ` [Bug c++/28217] " schwab at suse dot de
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: schwab at suse dot de @ 2006-07-01 21:51 UTC (permalink / raw)
  To: gcc-bugs

/tmp/cvs/gcc-20060701/Build/./gcc/xgcc -shared-libgcc
-B/tmp/cvs/gcc-20060701/Build/./gcc -nostdinc++
-L/tmp/cvs/gcc-20060701/Build/ia64-suse-linux/libstdc++-v3/src
-L/tmp/cvs/gcc-20060701/Build/ia64-suse-linux/libstdc++-v3/src/.libs
-B/tmp/cvs/gcc-20060701/Build/root/ia64-suse-linux/bin/
-B/tmp/cvs/gcc-20060701/Build/root/ia64-suse-linux/lib/ -isystem
/tmp/cvs/gcc-20060701/Build/root/ia64-suse-linux/include -isystem
/tmp/cvs/gcc-20060701/Build/root/ia64-suse-linux/sys-include -Winvalid-pch
-Wno-deprecated -xc++-header -O2 -g  -D_GNU_SOURCE
-I/tmp/cvs/gcc-20060701/Build/ia64-suse-linux/libstdc++-v3/include/ia64-suse-linux
-I/tmp/cvs/gcc-20060701/Build/ia64-suse-linux/libstdc++-v3/include
-I/tmp/cvs/gcc-20060701/libstdc++-v3/libsupc++
/tmp/cvs/gcc-20060701/libstdc++-v3/include/precompiled/extc++.h -O2 -g -o
./ia64-suse-linux/bits/extc++.h.gch/O2g.gch
/tmp/cvs/gcc-20060701/Build/ia64-suse-linux/libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp:235:
internal compiler error: tree check: expected integer_cst, have scope_ref in
tree_int_cst_sgn, at tree.c:4476

#1  0x40000000008cd430 in tree_check_failed (node=0x200000000189da40, 
    file=0x4000000000d013b8 "../../gcc/tree.c", line=4476, 
    function=0x4000000000d03d98 "tree_int_cst_sgn") at ../../gcc/tree.c:6059
6059      internal_error ("tree check: %s, have %s in %s, at %s:%d",
(gdb) up
#2  0x40000000008cf5b0 in tree_int_cst_sgn (t=0x200000000189da40)
    at ../../gcc/tree.c:4476
4476      if (TREE_INT_CST_LOW (t) == 0 && TREE_INT_CST_HIGH (t) == 0)
(gdb) p t
$1 = (tree) 0x200000000189da40
(gdb) pt t
 <scope_ref 0x200000000189da40
    arg 0 <record_type 0x2000000001f9a050 is_simple<Key> type_0 type_5 type_6
VOID
        align 8 symtab 0 alias set -1 context <namespace_decl
0x2000000001dd1ad0 detail>
        no-binfo use_template=1 interface-unknown
        chain <type_decl 0x2000000001f9f5a0 is_simple<Key>>>
    arg 1 <identifier_node 0x200000010615bbc0 value
    bindings <(nil)>
    local bindings <(nil)>>>
(gdb) up
During symbol reading, unsupported tag: 'DW_TAG_const_type'.
#3  0x4000000000235010 in write_template_arg_literal (
    value=<value optimized out>) at ../../gcc/cp/mangle.c:1216
1216      int sign = tree_int_cst_sgn (cst);
(gdb) up
#4  0x4000000000237da0 in write_template_args (args=0x2000000002aa6e40)
    at ../../gcc/cp/mangle.c:2310
2310        write_template_arg_literal (node);
(gdb) p args
$2 = (tree) 0x2000000002aa6e40
(gdb) pt
 <tree_vec 0x2000000002aa6e40
    elt 0 <const_decl 0x2000000001cba260 simple_value>
    elt 1 <template_type_parm 0x200000000189b180 Value_Type>
    elt 2 <typename_type 0x2000000001846730 pointer>>
(gdb) p *mangle_obstack 
$10 = {chunk_size = 4064, chunk = 0x6000000000219dc0, 
  object_base = 0x600000000021a2be
"_ZN5pb_ds6detail12binary_heap_IT_T0_T1_E6modifyENS0_33binary_heap_const_point_iterator_IS2_NS0_16conditional_typeILNS5_5._199E",
next_free = 0x600000000021a33c "", chunk_limit = 0x600000000021ada0 "", 
  temp = 0, alignment_mask = 0, 
  chunkfun = @0x4000000000d84880: 0x4000000000c38e00 <xmalloc>, 
  freefun = 0x2000000000046798 <local+4696>, extra_arg = 0x0, 
  use_extra_arg = 0, maybe_empty_object = 0, alloc_failed = 0}


-- 
           Summary: [4.2 regression] ICE in tree_int_cst_sgn
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, build
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schwab at suse dot de


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


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

end of thread, other threads:[~2007-02-03 17:50 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-01 21:51 [Bug c++/28217] New: [4.2 regression] ICE in tree_int_cst_sgn schwab at suse dot de
2006-07-01 22:02 ` [Bug c++/28217] " schwab at suse dot de
2006-07-02 14:54 ` schwab at suse dot de
2006-07-04 14:40 ` rguenth at gcc dot gnu dot org
2006-07-04 14:48 ` pinskia at gcc dot gnu dot org
2006-07-04 14:52 ` schwab at suse dot de
2006-07-04 15:43 ` fnf at specifix dot com
2006-07-04 15:47 ` pinskia at gcc dot gnu dot org
2006-07-06 22:17 ` pinskia at gcc dot gnu dot org
2006-07-11  8:45 ` schwab at suse dot de
2006-07-11  8:46 ` pinskia at gcc dot gnu dot org
2006-07-11  9:08 ` fnf at specifix dot com
2006-07-11 11:57 ` pinskia at gcc dot gnu dot org
2006-07-11 13:28 ` dje at gcc dot gnu dot org
2006-07-11 18:31 ` mrs at apple dot com
2006-07-12 15:03 ` [Bug c++/28217] [4.0/4.1/4.2 " reichelt at gcc dot gnu dot org
2006-07-12 17:15 ` bkoz at gcc dot gnu dot org
2006-07-12 21:58 ` jason at gcc dot gnu dot org
2006-07-13  1:11 ` [Bug c++/28217] [4.0/4.1 " pinskia at gcc dot gnu dot org
2006-07-13 13:21 ` reichelt at gcc dot gnu dot org
2007-01-03 23:53 ` jakub at gcc dot gnu dot org
2007-01-03 23:54 ` jakub at gcc dot gnu dot org
2007-01-03 23:57 ` jakub at gcc dot gnu dot org
2007-01-04  0:01 ` [Bug c++/28217] [4.0 " jakub at gcc dot gnu dot org
2007-02-03 17:50 ` gdr at gcc dot gnu dot org

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).