public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/15870] New: internal compiler error: in change_address_1, at emit-rtl.c:1811
@ 2004-06-08  8:49 sean at mcneil dot com
  2004-06-08 11:47 ` [Bug bootstrap/15870] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: sean at mcneil dot com @ 2004-06-08  8:49 UTC (permalink / raw)
  To: gcc-bugs

When doing a make bootstrap:

#1  0x00000000005e6c40 in change_address_1 (memref=0x201b75f90, mode=SImode,
    addr=0x201b866b0, validate=1) at ../../gcc/gcc/emit-rtl.c:1811
1811        abort ();
(gdb) p *memref
$1 = {code = PARALLEL, mode = BLKmode, jump = 0, call = 0, unchanging = 0,
  volatil = 0, in_struct = 0, used = 0, integrated = 0, frame_related = 0,
  return_val = 0, u = {fld = {{rtint = 28856864, rtuint = 28856864,
        rtstr = 0x201b85220 "\002", rtx = 0x201b85220, rtvec = 0x201b85220,
        rttype = 28856864, rt_addr_diff_vec_flags = {min_align = 32,
          base_after_vec = 0, min_after_vec = 1, max_after_vec = 0,
          min_after_base = 0, max_after_base = 1, offset_unsigned = 0,
          scale = 184}, rt_cselib = 0x201b85220, rtbit = 0x201b85220,
        rttree = 0x201b85220, bb = 0x201b85220, rtmem = 0x201b85220,
        rtreg = 0x201b85220}}, hwint = {8618791456}}}
(gdb) bt
#0  fancy_abort (file=0xa120d3 "../../gcc/gcc/emit-rtl.c", line=1811,
    function=0xa1233b "change_address_1") at ../../gcc/gcc/diagnostic.c:590
#1  0x00000000005e6c40 in change_address_1 (memref=0x201b75f90, mode=SImode,
    addr=0x201b866b0, validate=1) at ../../gcc/gcc/emit-rtl.c:1811
#2  0x00000000005e7871 in adjust_address_1 (memref=0x201b75f90, mode=SImode,
    offset=0, validate=1, adjust=1) at ../../gcc/gcc/emit-rtl.c:1912
#3  0x0000000000618f6d in store_field (target=0x201b75f90, bitsize=32,
    bitpos=0, mode=SImode, exp=0x201b74d20, value_mode=VOIDmode, unsignedp=1,
    type=0x2018b0e00, alias_set=70) at ../../gcc/gcc/expr.c:5501
#4  0x0000000000612796 in expand_assignment (to=0x201b27370, from=0x201b74d20,
    want_value=0) at ../../gcc/gcc/expr.c:3862
#5  0x000000000063819c in expand_expr_real_1 (exp=0x201b27780, target=0x0,
    tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at ../../gcc/gcc/expr.c:8924
#6  0x000000000061d465 in expand_expr_real (exp=0x201b27780,
    target=0x200c18400, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at ../../gcc/gcc/expr.c:6378
#7  0x000000000063ffd3 in expand_expr (exp=0x201b27780, target=0x200c18400,
    mode=VOIDmode, modifier=EXPAND_NORMAL) at ../../gcc/gcc/expr.h:533
#8  0x000000000062fe39 in expand_expr_real_1 (exp=0x2017a0c00, target=0x0,
    tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at ../../gcc/gcc/expr.c:8408
#9  0x000000000061d49b in expand_expr_real (exp=0x2017a0c00,
---Type <return> to continue, or q <return> to quit---
    target=0x200c18400, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at ../../gcc/gcc/expr.c:6384
#10 0x000000000063ffd3 in expand_expr (exp=0x2017a0c00, target=0x200c18400,
    mode=VOIDmode, modifier=EXPAND_NORMAL) at ../../gcc/gcc/expr.h:533
#11 0x00000000006214da in expand_expr_real_1 (exp=0x201b84c30, target=0x0,
    tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x7fffffffe560)
    at ../../gcc/gcc/expr.c:6876
#12 0x000000000061d49b in expand_expr_real (exp=0x201b84c30,
    target=0x200c18400, tmode=VOIDmode, modifier=EXPAND_NORMAL,
    alt_rtl=0x7fffffffe560) at ../../gcc/gcc/expr.c:6384
#13 0x0000000000890417 in expand_expr_stmt_value (exp=0x201b84c30,
    want_value=0, maybe_last=0) at ../../gcc/gcc/stmt.c:2128
#14 0x00000000004bee3c in tree_rest_of_compilation (fndecl=0x2018b6d20,
    nested_p=false) at ../../gcc/gcc/tree-optimize.c:561
#15 0x0000000000428130 in c_expand_body (fndecl=0x2018b6d20)
    at ../../gcc/gcc/c-decl.c:6374
#16 0x0000000000929655 in cgraph_expand_function (node=0x2018c12a0)
    at ../../gcc/gcc/cgraphunit.c:794
#17 0x000000000092b8cb in cgraph_expand_all_functions ()
    at ../../gcc/gcc/cgraphunit.c:1668
#18 0x000000000092bbb1 in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1758
#19 0x0000000000483ae1 in c_objc_common_finish_file ()
    at ../../gcc/gcc/c-objc-common.c:240
---Type <return> to continue, or q <return> to quit---
#20 0x000000000040dbb5 in finish_file () at ../../gcc/gcc/c-lang.c:213
#21 0x0000000000478dc2 in c_common_parse_file (set_yydebug=0)
    at ../../gcc/gcc/c-opts.c:1241
#22 0x00000000008a7d1d in compile_file () at ../../gcc/gcc/toplev.c:1654
#23 0x00000000008a98d5 in do_compile () at ../../gcc/gcc/toplev.c:2700
#24 0x00000000008a9939 in toplev_main (argc=25, argv=0x7fffffffe7b8)
    at ../../gcc/gcc/toplev.c:2732
#25 0x0000000000498533 in main (argc=25, argv=0x7fffffffe7b8)
    at ../../gcc/gcc/main.c:35

-- 
           Summary: internal compiler error: in change_address_1, at emit-
                    rtl.c:1811
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sean at mcneil dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: amd64-unknown-freebsd5.2
  GCC host triplet: amd64-unknown-freebsd5.2
GCC target triplet: amd64-unknown-freebsd5.2


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


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

* [Bug bootstrap/15870] internal compiler error: in change_address_1, at emit-rtl.c:1811
  2004-06-08  8:49 [Bug bootstrap/15870] New: internal compiler error: in change_address_1, at emit-rtl.c:1811 sean at mcneil dot com
@ 2004-06-08 11:47 ` pinskia at gcc dot gnu dot org
  2004-06-09  2:50 ` sean at mcneil dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-08 11:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-08 11:47 -------
This is a dup of bug 15868.

*** This bug has been marked as a duplicate of 15868 ***

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


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


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

* [Bug bootstrap/15870] internal compiler error: in change_address_1, at emit-rtl.c:1811
  2004-06-08  8:49 [Bug bootstrap/15870] New: internal compiler error: in change_address_1, at emit-rtl.c:1811 sean at mcneil dot com
  2004-06-08 11:47 ` [Bug bootstrap/15870] " pinskia at gcc dot gnu dot org
@ 2004-06-09  2:50 ` sean at mcneil dot com
  2004-06-09  3:15 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: sean at mcneil dot com @ 2004-06-09  2:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From sean at mcneil dot com  2004-06-09 02:50 -------
It would either appear that this isn't a duplicate or the bug specified as
duplicate has not been fixed even though it is marked as fixed.  I do not see
any trace of the patches specified in bug-15868 and this reported problem has
not been fixed, so perhaps it hasn't been committed yet.  There are some
differences, though.

bug-15868 is for an hppa-linux target and fails in expand_expr_real_1, at
expr.c:6634

This bug fails in change_address_1, at emit-rtl.c:1811

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


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


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

* [Bug bootstrap/15870] internal compiler error: in change_address_1, at emit-rtl.c:1811
  2004-06-08  8:49 [Bug bootstrap/15870] New: internal compiler error: in change_address_1, at emit-rtl.c:1811 sean at mcneil dot com
  2004-06-08 11:47 ` [Bug bootstrap/15870] " pinskia at gcc dot gnu dot org
  2004-06-09  2:50 ` sean at mcneil dot com
@ 2004-06-09  3:15 ` pinskia at gcc dot gnu dot org
  2004-06-09  8:10 ` sean at mcneil dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-09  3:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-09 03:14 -------
Are you sure that this patch did not fix it:
        * gimple-low.c (struct lower_data): Replace the_return_label and
        one_return_stmt with return_statements.
        (lower_function_body): Process the entire list of return_statements.
        (lower_return_expr): Check source value before unifying return_exprs.
        * gimplify.c (gimplify_return_expr): Force the use of a temporary
        for !aggregate_value_p.
        * tree-gimple.c: Update RETURN_EXPR grammer.

As it did fix the other bug for sure as there is testresults from it today: <http://gcc.gnu.org/ml/gcc-
testresults/2004-06/msg00323.html>.

Also if it is not fixed can you attach the preproccessed source?

-- 


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


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

* [Bug bootstrap/15870] internal compiler error: in change_address_1, at emit-rtl.c:1811
  2004-06-08  8:49 [Bug bootstrap/15870] New: internal compiler error: in change_address_1, at emit-rtl.c:1811 sean at mcneil dot com
                   ` (2 preceding siblings ...)
  2004-06-09  3:15 ` pinskia at gcc dot gnu dot org
@ 2004-06-09  8:10 ` sean at mcneil dot com
  2004-06-09  8:11 ` sean at mcneil dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: sean at mcneil dot com @ 2004-06-09  8:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From sean at mcneil dot com  2004-06-09 08:10 -------
Created an attachment (id=6498)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6498&action=view)
preprocessed sources

This is what the stage1 compiler was working on when it failed.

-- 


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


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

* [Bug bootstrap/15870] internal compiler error: in change_address_1, at emit-rtl.c:1811
  2004-06-08  8:49 [Bug bootstrap/15870] New: internal compiler error: in change_address_1, at emit-rtl.c:1811 sean at mcneil dot com
                   ` (3 preceding siblings ...)
  2004-06-09  8:10 ` sean at mcneil dot com
@ 2004-06-09  8:11 ` sean at mcneil dot com
  2004-06-09  8:14 ` sean at mcneil dot com
  2004-06-09 10:06 ` sean at mcneil dot com
  6 siblings, 0 replies; 8+ messages in thread
From: sean at mcneil dot com @ 2004-06-09  8:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From sean at mcneil dot com  2004-06-09 08:11 -------
Created an attachment (id=6499)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6499&action=view)
output up to ICE

This is what it was able to produce before the ICE.

-- 


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


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

* [Bug bootstrap/15870] internal compiler error: in change_address_1, at emit-rtl.c:1811
  2004-06-08  8:49 [Bug bootstrap/15870] New: internal compiler error: in change_address_1, at emit-rtl.c:1811 sean at mcneil dot com
                   ` (4 preceding siblings ...)
  2004-06-09  8:11 ` sean at mcneil dot com
@ 2004-06-09  8:14 ` sean at mcneil dot com
  2004-06-09 10:06 ` sean at mcneil dot com
  6 siblings, 0 replies; 8+ messages in thread
From: sean at mcneil dot com @ 2004-06-09  8:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From sean at mcneil dot com  2004-06-09 08:14 -------
I just confirmed that the patches are listed in the Changelog for gcc and it
still fails with the same backtrace supplied previously.


-- 


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


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

* [Bug bootstrap/15870] internal compiler error: in change_address_1, at emit-rtl.c:1811
  2004-06-08  8:49 [Bug bootstrap/15870] New: internal compiler error: in change_address_1, at emit-rtl.c:1811 sean at mcneil dot com
                   ` (5 preceding siblings ...)
  2004-06-09  8:14 ` sean at mcneil dot com
@ 2004-06-09 10:06 ` sean at mcneil dot com
  6 siblings, 0 replies; 8+ messages in thread
From: sean at mcneil dot com @ 2004-06-09 10:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From sean at mcneil dot com  2004-06-09 10:05 -------
Just got a bunch of changes from cvs.  The only thing I can think of is my brain
pattern recognition is faulty when looking at the Changelog or I managed to get
a cvs up where the Changelog entry was done but not the actual source changes.

Anyway, Andrew's previous assignment as a duplicate was correct and it is indeed
fixed.  Currently building and made it to stage2.


*** This bug has been marked as a duplicate of 15868 ***

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


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


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

end of thread, other threads:[~2004-06-09 10:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-08  8:49 [Bug bootstrap/15870] New: internal compiler error: in change_address_1, at emit-rtl.c:1811 sean at mcneil dot com
2004-06-08 11:47 ` [Bug bootstrap/15870] " pinskia at gcc dot gnu dot org
2004-06-09  2:50 ` sean at mcneil dot com
2004-06-09  3:15 ` pinskia at gcc dot gnu dot org
2004-06-09  8:10 ` sean at mcneil dot com
2004-06-09  8:11 ` sean at mcneil dot com
2004-06-09  8:14 ` sean at mcneil dot com
2004-06-09 10:06 ` sean at mcneil 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).