* [Bug c++/26957] [4.0 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
@ 2006-03-30 23:52 ` tausq at debian dot org
2006-03-31 0:12 ` [Bug c++/26957] [4.0/4.1/4.2 " pinskia at gcc dot gnu dot org
` (23 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: tausq at debian dot org @ 2006-03-30 23:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tausq at debian dot org 2006-03-30 23:52 -------
Created an attachment (id=11171)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11171&action=view)
Testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
2006-03-30 23:52 ` [Bug c++/26957] " tausq at debian dot org
@ 2006-03-31 0:12 ` pinskia at gcc dot gnu dot org
2006-03-31 0:12 ` pinskia at gcc dot gnu dot org
` (22 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-31 0:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-31 00:12 -------
This works just fine on x86.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
2006-03-30 23:52 ` [Bug c++/26957] " tausq at debian dot org
2006-03-31 0:12 ` [Bug c++/26957] [4.0/4.1/4.2 " pinskia at gcc dot gnu dot org
@ 2006-03-31 0:12 ` pinskia at gcc dot gnu dot org
2006-03-31 8:40 ` falk at debian dot org
` (21 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-31 0:12 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Target Milestone|--- |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (2 preceding siblings ...)
2006-03-31 0:12 ` pinskia at gcc dot gnu dot org
@ 2006-03-31 8:40 ` falk at debian dot org
2006-03-31 15:04 ` danglin at gcc dot gnu dot org
` (20 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: falk at debian dot org @ 2006-03-31 8:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from falk at debian dot org 2006-03-31 08:40 -------
Confirmed, also present in 4.2.0 20060218
Test case:
struct LongDouble {
char ld[16];
};
struct DynAny {
virtual void insert_longdouble(LongDouble value) = 0;
};
struct TAO_DynCommon : public virtual DynAny {
virtual void insert_longdouble (LongDouble value);
};
void TAO_DynCommon::insert_longdouble (LongDouble value) { }
--
falk at debian dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Known to fail|4.0.3 4.1.0 |4.0.3 4.1.0 4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (3 preceding siblings ...)
2006-03-31 8:40 ` falk at debian dot org
@ 2006-03-31 15:04 ` danglin at gcc dot gnu dot org
2006-03-31 15:34 ` dave at hiauly1 dot hia dot nrc dot ca
` (19 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: danglin at gcc dot gnu dot org @ 2006-03-31 15:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from danglin at gcc dot gnu dot org 2006-03-31 15:04 -------
Breakpoint 1, make_decl_rtl (decl=0x40148880) at ../../gcc/gcc/varasm.c:968
968 gcc_assert (TREE_CODE (decl) != TYPE_DECL
(gdb) list
963 || TREE_PUBLIC (decl)
964 || DECL_EXTERNAL (decl)
965 || DECL_REGISTER (decl));
966
967 /* And that we were not given a type or a label. */
968 gcc_assert (TREE_CODE (decl) != TYPE_DECL
969 && TREE_CODE (decl) != LABEL_DECL);
970
971 /* For a duplicate declaration, we can be called twice on the
972 same DECL node. Don't discard the RTL already made. */
(gdb) bt
#0 make_decl_rtl (decl=0x40148880) at ../../gcc/gcc/varasm.c:968
#1 0x003a6adc in init_one_libfunc (name=<value optimized out>)
at ../../gcc/gcc/optabs.c:5131
#2 0x000f1768 in init_exception_processing () at ../../gcc/gcc/cp/except.c:80
#3 0x0003878c in cxx_init_decl_processing () at ../../gcc/gcc/cp/decl.c:3250
#4 0x000b3760 in cxx_init () at ../../gcc/gcc/cp/lex.c:386
#5 0x0041dad4 in toplev_main (argc=<value optimized out>,
argv=<value optimized out>) at ../../gcc/gcc/toplev.c:1864
#6 0x403566d8 in __libc_start_main () from /lib/libc.so.6
#7 0x0001d190 in _start () at ../sysdeps/hppa/elf/start.S:84
(gdb) p debug_tree (decl)
<function_decl 0x40148880 __gxx_personality_v0
type <function_type 0x400db540
type <integer_type 0x400d22a0 int public SI
size <integer_cst 0x400c22b8 constant invariant 32>
unit size <integer_cst 0x400c2048 constant invariant 4>
align 32 symtab 0 alias set -1 precision 32 min <integer_cst
0x400c2270 -2147483648> max <integer_cst 0x400c2288 2147483647>
pointer_to_this <pointer_type 0x400d2cc0>>
SI size <integer_cst 0x400c22b8 32> unit size <integer_cst 0x400c2048
4>
align 32 symtab 0 alias set -1>
public external SI file <built-in> line 0>
$1 = void
--
danglin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |danglin at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (4 preceding siblings ...)
2006-03-31 15:04 ` danglin at gcc dot gnu dot org
@ 2006-03-31 15:34 ` dave at hiauly1 dot hia dot nrc dot ca
2006-06-04 18:21 ` mmitchel at gcc dot gnu dot org
` (18 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2006-03-31 15:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca 2006-03-31 15:34 -------
Subject: Re: [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871
> ------- Comment #4 from danglin at gcc dot gnu dot org 2006-03-31 15:04 -------
> Breakpoint 1, make_decl_rtl (decl=0x40148880) at ../../gcc/gcc/varasm.c:968
> 968 gcc_assert (TREE_CODE (decl) != TYPE_DECL
> (gdb) list
> 963 || TREE_PUBLIC (decl)
> 964 || DECL_EXTERNAL (decl)
> 965 || DECL_REGISTER (decl));
> 966
> 967 /* And that we were not given a type or a label. */
> 968 gcc_assert (TREE_CODE (decl) != TYPE_DECL
> 969 && TREE_CODE (decl) != LABEL_DECL);
> 970
> 971 /* For a duplicate declaration, we can be called twice on the
> 972 same DECL node. Don't discard the RTL already made. */
> (gdb) bt
> #0 make_decl_rtl (decl=0x40148880) at ../../gcc/gcc/varasm.c:968
> #1 0x003a6adc in init_one_libfunc (name=<value optimized out>)
> at ../../gcc/gcc/optabs.c:5131
> #2 0x000f1768 in init_exception_processing () at ../../gcc/gcc/cp/except.c:80
> #3 0x0003878c in cxx_init_decl_processing () at ../../gcc/gcc/cp/decl.c:3250
> #4 0x000b3760 in cxx_init () at ../../gcc/gcc/cp/lex.c:386
> #5 0x0041dad4 in toplev_main (argc=<value optimized out>,
> argv=<value optimized out>) at ../../gcc/gcc/toplev.c:1864
> #6 0x403566d8 in __libc_start_main () from /lib/libc.so.6
> #7 0x0001d190 in _start () at ../sysdeps/hppa/elf/start.S:84
> (gdb) p debug_tree (decl)
> <function_decl 0x40148880 __gxx_personality_v0
> type <function_type 0x400db540
> type <integer_type 0x400d22a0 int public SI
> size <integer_cst 0x400c22b8 constant invariant 32>
> unit size <integer_cst 0x400c2048 constant invariant 4>
> align 32 symtab 0 alias set -1 precision 32 min <integer_cst
> 0x400c2270 -2147483648> max <integer_cst 0x400c2288 2147483647>
> pointer_to_this <pointer_type 0x400d2cc0>>
> SI size <integer_cst 0x400c22b8 32> unit size <integer_cst 0x400c2048
> 4>
> align 32 symtab 0 alias set -1>
> public external SI file <built-in> line 0>
> $1 = void
Oops, wrong call to ame_decl_rtl. The one causing the ICE is:
Assembling functions:
virtual void TAO_DynCommon::insert_longdouble(LongDouble) void
TAO_DynCommon::_ZTv0_n12_N13TAO_DynCommon17insert_longdoubleE10LongDouble(LongDouble)
Breakpoint 1, make_decl_rtl (decl=0x400cc4d0) at ../../gcc/gcc/varasm.c:957
957 gcc_assert (TREE_CODE (decl) != PARM_DECL
(gdb) bt
#0 make_decl_rtl (decl=0x400cc4d0) at ../../gcc/gcc/varasm.c:957
#1 0x00302dd4 in expand_expr_real_1 (exp=<value optimized out>,
target=<value optimized out>, tmode=<value optimized out>,
modifier=EXPAND_NORMAL, alt_rtl=0xc0013208) at ../../gcc/gcc/expr.c:6730
#2 0x00308414 in expand_expr_real (exp=0x400cc4d0, target=0x40175460,
tmode=BLKmode, modifier=EXPAND_NORMAL, alt_rtl=0xc0013208)
at ../../gcc/gcc/expr.c:6576
#3 0x0030dd6c in store_expr (exp=0x400cc4d0, target=0x40175460,
call_param_p=0) at ../../gcc/gcc/expr.c:4275
#4 0x002fb3a4 in expand_assignment (to=0x400cc9a0, from=0x400cc4d0)
at ../../gcc/gcc/expr.c:4154
#5 0x002ffa9c in expand_expr_real_1 (exp=<value optimized out>,
target=<value optimized out>, tmode=<value optimized out>,
modifier=<value optimized out>, alt_rtl=0x0) at ../../gcc/gcc/expr.c:8467
#6 0x0030832c in expand_expr_real (exp=0x4014c550, target=0x40175460,
tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
at ../../gcc/gcc/expr.c:6570
#7 0x00410f08 in expand_expr_stmt (exp=0x400cc4d0) at expr.h:494
#8 0x00458d68 in expand_gimple_basic_block (bb=0x400cdf50)
at ../../gcc/gcc/cfgexpand.c:1368
#9 0x00459ec0 in tree_expand_cfg () at ../../gcc/gcc/cfgexpand.c:1627
#10 0x00454e68 in execute_one_pass (pass=0x64ec90)
at ../../gcc/gcc/passes.c:863
#11 0x00455008 in execute_pass_list (pass=0x64ec90)
at ../../gcc/gcc/passes.c:910
#12 0x001a3750 in tree_rest_of_compilation (fndecl=0x40148700)
at ../../gcc/gcc/tree-optimize.c:418
#13 0x0010753c in expand_body (fn=0x40148700)
at ../../gcc/gcc/cp/semantics.c:3012
#14 0x000fc2f4 in use_thunk (thunk_fndecl=0x40175460,
emit_p=<value optimized out>) at ../../gcc/gcc/cp/method.c:520
#15 0x001074c4 in expand_body (fn=0x40172e00)
at ../../gcc/gcc/cp/semantics.c:2965
#16 0x00495cf0 in cgraph_expand_function (node=0x40172f00)
at ../../gcc/gcc/cgraphunit.c:1102
#17 0x00498994 in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1167
#18 0x000a7390 in cp_finish_file () at ../../gcc/gcc/cp/decl2.c:3147
#19 0x00172284 in c_common_parse_file (set_yydebug=<value optimized out>)
at ../../gcc/gcc/c-opts.c:1165
#20 0x0041dbdc in toplev_main (argc=<value optimized out>,
argv=<value optimized out>) at ../../gcc/gcc/toplev.c:999
#21 0x403566d8 in __libc_start_main () from /lib/libc.so.6
#22 0x0001d190 in _start () at ../sysdeps/hppa/elf/start.S:84
(gdb) p debug_tree (decl)
<var_decl 0x400cc4d0 value___0
type <record_type 0x40177000 LongDouble type_1 type_5 BLK
size <integer_cst 0x400c2528 constant invariant 128>
unit size <integer_cst 0x400c2540 constant invariant 16>
align 8 symtab 0 alias set -1
fields <field_decl 0x40177120 ld type <array_type 0x401770c0>
nonlocal decl_3 BLK file TAO.cc line 2 size <integer_cst
0x400c2528 128> unit size <integer_cst 0x400c2540 16>
align 8 offset_align 64
offset <integer_cst 0x400c2060 constant invariant 0>
bit offset <integer_cst 0x400c27f8 constant invariant 0> context
<record_type 0x40177000 LongDouble> chain <type_decl 0x4014a9c0 LongDouble>>
X() X(constX&) this=(X&) n_parents=0 use_template=0 interface-unknown
pointer_to_this <pointer_type 0x40177ea0> chain <type_decl 0x4014a958
LongDouble>>
used BLK file TAO.cc line 13 size <integer_cst 0x400c2528 128> unit size
<integer_cst 0x400c2540 16>
align 8 context <function_decl 0x40172e00 insert_longdouble>>
(gdb) step
951 {
(gdb)
957 gcc_assert (TREE_CODE (decl) != PARM_DECL
(gdb)
961 gcc_assert (TREE_CODE (decl) != VAR_DECL
(gdb)
TAO.cc:9: internal compiler error: in make_decl_rtl, at varasm.c:965
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (5 preceding siblings ...)
2006-03-31 15:34 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2006-06-04 18:21 ` mmitchel at gcc dot gnu dot org
2006-06-08 18:11 ` sje at cup dot hp dot com
` (17 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 18:21 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (6 preceding siblings ...)
2006-06-04 18:21 ` mmitchel at gcc dot gnu dot org
@ 2006-06-08 18:11 ` sje at cup dot hp dot com
2006-06-08 20:50 ` sje at cup dot hp dot com
` (16 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: sje at cup dot hp dot com @ 2006-06-08 18:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from sje at cup dot hp dot com 2006-06-08 17:47 -------
Created an attachment (id=11639)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11639&action=view)
Cut-down test case
Here is a cutdown test case that fails on hppa1.1-hp-hpux11.11. It does not
fail on hppa64-hp-hpux11.11 or ia64-hp-hpux11.23. If you shrink the size of
LDD then the problem goes away so it seems related to how we are passing large
(>64 bits) structures.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (7 preceding siblings ...)
2006-06-08 18:11 ` sje at cup dot hp dot com
@ 2006-06-08 20:50 ` sje at cup dot hp dot com
2006-06-08 21:22 ` sje at cup dot hp dot com
` (15 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: sje at cup dot hp dot com @ 2006-06-08 20:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from sje at cup dot hp dot com 2006-06-08 20:34 -------
Created an attachment (id=11642)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11642&action=view)
Proposed patch
I am going to test the attached patch and will submit it to gcc-patches if
there are no regressions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (8 preceding siblings ...)
2006-06-08 20:50 ` sje at cup dot hp dot com
@ 2006-06-08 21:22 ` sje at cup dot hp dot com
2006-07-24 7:24 ` thomas dot g dot girard at free dot fr
` (14 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: sje at cup dot hp dot com @ 2006-06-08 21:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from sje at cup dot hp dot com 2006-06-08 21:12 -------
I do not think my patch is correct. The variable causing the problem is
created in gimplify_parameters by a call to create_tmp_var. This local
variable is only created on systems that pass structures by pointers and which
are callee copied.
I think this variable should be a local stack variable but I think that is what
we have now. Then we run into the gcc_assert in make_decl_rtl, if I just
comment out that assert I run into one in expand_expr_real_1.
It may be that the function context is not set when creating this temporary,
that would explain the expand_expr_real_1 assert.
--
sje at cup dot hp dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sje at cup dot hp dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (9 preceding siblings ...)
2006-06-08 21:22 ` sje at cup dot hp dot com
@ 2006-07-24 7:24 ` thomas dot g dot girard at free dot fr
2006-09-07 18:21 ` jason at gcc dot gnu dot org
` (13 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: thomas dot g dot girard at free dot fr @ 2006-07-24 7:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from thomas dot g dot girard at free dot fr 2006-07-24 07:23 -------
For what it's worth:
* I have been able to reproduce this problem on a cross compiler
* the same code compiles without problem if inheritance is not virtual
--
thomas dot g dot girard at free dot fr changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thomas dot g dot girard at
| |free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (10 preceding siblings ...)
2006-07-24 7:24 ` thomas dot g dot girard at free dot fr
@ 2006-09-07 18:21 ` jason at gcc dot gnu dot org
2006-09-07 19:09 ` jason at gcc dot gnu dot org
` (12 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-09-07 18:21 UTC (permalink / raw)
To: gcc-bugs
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|0000-00-00 00:00:00 |2006-09-07 18:21:39
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (11 preceding siblings ...)
2006-09-07 18:21 ` jason at gcc dot gnu dot org
@ 2006-09-07 19:09 ` jason at gcc dot gnu dot org
2006-09-07 21:06 ` jason at gcc dot gnu dot org
` (11 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-09-07 19:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from jason at gcc dot gnu dot org 2006-09-07 19:09 -------
Created an attachment (id=12205)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12205&action=view)
Patch to clear DECL_VALUE_EXPR
This patch fixes the testcase in comment #3 with a cross compiler. Could
someone with hppa hardware give it a whirl?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (12 preceding siblings ...)
2006-09-07 19:09 ` jason at gcc dot gnu dot org
@ 2006-09-07 21:06 ` jason at gcc dot gnu dot org
2006-09-07 21:23 ` jason at gcc dot gnu dot org
` (10 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-09-07 21:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from jason at gcc dot gnu dot org 2006-09-07 21:06 -------
Subject: Bug 26957
Author: jason
Date: Thu Sep 7 21:06:28 2006
New Revision: 116760
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116760
Log:
PR c++/26957
* method.c (use_thunk): Clear DECL_HAS_VALUE_EXPR_P on copied
parms.
Added:
trunk/gcc/testsuite/g++.dg/inherit/thunk6.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/method.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (13 preceding siblings ...)
2006-09-07 21:06 ` jason at gcc dot gnu dot org
@ 2006-09-07 21:23 ` jason at gcc dot gnu dot org
2006-09-08 15:04 ` tausq at debian dot org
` (9 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-09-07 21:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from jason at gcc dot gnu dot org 2006-09-07 21:23 -------
waiting for feedback.
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (14 preceding siblings ...)
2006-09-07 21:23 ` jason at gcc dot gnu dot org
@ 2006-09-08 15:04 ` tausq at debian dot org
2006-09-08 15:51 ` [Bug c++/26957] [4.0/4.1 " pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: tausq at debian dot org @ 2006-09-08 15:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from tausq at debian dot org 2006-09-08 15:04 -------
Works for me on the original test case (ACE package) and on the reduced test
case in #3. Tested on hppa-linux native.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (15 preceding siblings ...)
2006-09-08 15:04 ` tausq at debian dot org
@ 2006-09-08 15:51 ` pinskia at gcc dot gnu dot org
2006-09-08 16:52 ` jason at gcc dot gnu dot org
` (7 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-08 15:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from pinskia at gcc dot gnu dot org 2006-09-08 15:51 -------
Then fixed on the mainline, marking as such and changing back to new for the
other branches.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Known to fail|4.0.3 4.1.0 4.2.0 |4.0.3 4.1.0
Known to work|3.3.6 3.4.5 |3.3.6 3.4.5 4.2.0
Last reconfirmed|2006-09-07 18:21:39 |2006-09-08 15:51:50
date| |
Summary|[4.0/4.1/4.2 regression] ICE|[4.0/4.1 regression] ICE in
|in make_decl_rtl, at |make_decl_rtl, at
|varasm.c:871 |varasm.c:871
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (16 preceding siblings ...)
2006-09-08 15:51 ` [Bug c++/26957] [4.0/4.1 " pinskia at gcc dot gnu dot org
@ 2006-09-08 16:52 ` jason at gcc dot gnu dot org
2006-09-08 16:54 ` jason at gcc dot gnu dot org
` (6 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-09-08 16:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from jason at gcc dot gnu dot org 2006-09-08 16:52 -------
Subject: Bug 26957
Author: jason
Date: Fri Sep 8 16:52:40 2006
New Revision: 116781
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116781
Log:
PR c++/26957
* method.c (use_thunk): Clear DECL_HAS_VALUE_EXPR_P on copied
parms.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/inherit/thunk6.C
- copied unchanged from r116760,
trunk/gcc/testsuite/g++.dg/inherit/thunk6.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/method.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (17 preceding siblings ...)
2006-09-08 16:52 ` jason at gcc dot gnu dot org
@ 2006-09-08 16:54 ` jason at gcc dot gnu dot org
2006-09-08 16:54 ` jason at gcc dot gnu dot org
` (5 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-09-08 16:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from jason at gcc dot gnu dot org 2006-09-08 16:54 -------
Subject: Bug 26957
Author: jason
Date: Fri Sep 8 16:53:55 2006
New Revision: 116782
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116782
Log:
PR c++/26957
* method.c (use_thunk): Clear DECL_HAS_VALUE_EXPR_P on copied
parms.
Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/inherit/thunk6.C
- copied unchanged from r116760,
trunk/gcc/testsuite/g++.dg/inherit/thunk6.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/method.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (18 preceding siblings ...)
2006-09-08 16:54 ` jason at gcc dot gnu dot org
@ 2006-09-08 16:54 ` jason at gcc dot gnu dot org
2006-09-09 16:11 ` jason at gcc dot gnu dot org
` (4 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-09-08 16:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from jason at gcc dot gnu dot org 2006-09-08 16:54 -------
Applied to 4.0 and 4.1 as well.
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (19 preceding siblings ...)
2006-09-08 16:54 ` jason at gcc dot gnu dot org
@ 2006-09-09 16:11 ` jason at gcc dot gnu dot org
2006-09-22 15:44 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-09-09 16:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #18 from jason at gcc dot gnu dot org 2006-09-09 16:11 -------
Subject: Bug 26957
Author: jason
Date: Sat Sep 9 16:11:34 2006
New Revision: 116799
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116799
Log:
PR c++/26957
* method.c (use_thunk): Fix patch for 4.0 branch.
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/method.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (20 preceding siblings ...)
2006-09-09 16:11 ` jason at gcc dot gnu dot org
@ 2006-09-22 15:44 ` pinskia at gcc dot gnu dot org
2006-09-25 22:04 ` debian-gcc at lists dot debian dot org
` (2 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-22 15:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #19 from pinskia at gcc dot gnu dot org 2006-09-22 15:44 -------
*** Bug 29182 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |michael dot haubenwallner at
| |salomon dot at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (21 preceding siblings ...)
2006-09-22 15:44 ` pinskia at gcc dot gnu dot org
@ 2006-09-25 22:04 ` debian-gcc at lists dot debian dot org
2006-09-25 22:05 ` debian-gcc at lists dot debian dot org
2006-09-26 7:10 ` pinskia at gcc dot gnu dot org
24 siblings, 0 replies; 26+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-09-25 22:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #20 from debian-gcc at lists dot debian dot org 2006-09-25 22:03 -------
Created an attachment (id=12326)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12326&action=view)
test case
[forwarded from http://bugs.debian.org/388626]
testcase ICEs with 3.4.6, 4.0 CVS, 4.1 CVS and current trunk, works with 2.95.4
3.3.6
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (22 preceding siblings ...)
2006-09-25 22:04 ` debian-gcc at lists dot debian dot org
@ 2006-09-25 22:05 ` debian-gcc at lists dot debian dot org
2006-09-26 7:10 ` pinskia at gcc dot gnu dot org
24 siblings, 0 replies; 26+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-09-25 22:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #21 from debian-gcc at lists dot debian dot org 2006-09-25 22:05 -------
bug should be reopened, or should a new report be filed?
Matthias
--
debian-gcc at lists dot debian dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |debian-gcc at lists dot
| |debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/26957] [4.0/4.1 regression] ICE in make_decl_rtl, at varasm.c:871
2006-03-30 23:52 [Bug c++/26957] New: [4.0 regression] ICE in make_decl_rtl, at varasm.c:871 tausq at debian dot org
` (23 preceding siblings ...)
2006-09-25 22:05 ` debian-gcc at lists dot debian dot org
@ 2006-09-26 7:10 ` pinskia at gcc dot gnu dot org
24 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-26 7:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #22 from pinskia at gcc dot gnu dot org 2006-09-26 07:10 -------
*** Bug 29209 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957
^ permalink raw reply [flat|nested] 26+ messages in thread