* [Bug c/16480] using -msdata causes internal compiler error
2004-07-11 21:37 [Bug c/16480] New: using -msdata causes internal compiler error kurt at symbolicsound dot com
@ 2004-07-11 21:39 ` kurt at symbolicsound dot com
2004-07-12 4:34 ` [Bug target/16480] " pinskia at gcc dot gnu dot org
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: kurt at symbolicsound dot com @ 2004-07-11 21:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From kurt at symbolicsound dot com 2004-07-11 21:39 -------
Created an attachment (id=6724)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6724&action=view)
compiler output when -sdata is used
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16480
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/16480] using -msdata causes internal compiler error
2004-07-11 21:37 [Bug c/16480] New: using -msdata causes internal compiler error kurt at symbolicsound dot com
2004-07-11 21:39 ` [Bug c/16480] " kurt at symbolicsound dot com
@ 2004-07-12 4:34 ` pinskia at gcc dot gnu dot org
2004-08-25 7:11 ` amodra at bigpond dot net dot au
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-12 4:34 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
Component|c |target
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16480
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/16480] using -msdata causes internal compiler error
2004-07-11 21:37 [Bug c/16480] New: using -msdata causes internal compiler error kurt at symbolicsound dot com
2004-07-11 21:39 ` [Bug c/16480] " kurt at symbolicsound dot com
2004-07-12 4:34 ` [Bug target/16480] " pinskia at gcc dot gnu dot org
@ 2004-08-25 7:11 ` amodra at bigpond dot net dot au
2004-08-25 11:21 ` amodra at bigpond dot net dot au
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-08-25 7:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at bigpond dot net dot au 2004-08-25 07:11 -------
3.4.2 20040819 shows the bug too
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to fail| |3.4.2
Last reconfirmed|0000-00-00 00:00:00 |2004-08-25 07:11:51
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16480
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/16480] using -msdata causes internal compiler error
2004-07-11 21:37 [Bug c/16480] New: using -msdata causes internal compiler error kurt at symbolicsound dot com
` (2 preceding siblings ...)
2004-08-25 7:11 ` amodra at bigpond dot net dot au
@ 2004-08-25 11:21 ` amodra at bigpond dot net dot au
2004-08-26 0:03 ` geoffk at geoffk dot org
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-08-25 11:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at bigpond dot net dot au 2004-08-25 11:21 -------
Mainline fails similarly. The failure results from this splitter
(define_split
[(set (match_operand:DI 0 "nonimmediate_operand" "")
(match_operand:DI 1 "input_operand" ""))]
"reload_completed && !TARGET_POWERPC64
&& gpr_or_gpr_p (operands[0], operands[1])"
[(pc)]
{ rs6000_split_multireg_move (operands[0], operands[1]); DONE; })
The "input_operand" predicate accepts any memory operand as the second operand.
rs6000_split_multireg_move thus needs to accept anything that we accept in
rs6000_legitimate_address. For this particular failure, that's a
(mem (symbol_ref (...))), which happens to satisfy legitimate_small_data_p.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |amodra at bigpond dot net
|dot org |dot au
Status|NEW |ASSIGNED
Keywords| |patch
Known to fail|3.4.2 |3.4.2 3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16480
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/16480] using -msdata causes internal compiler error
2004-07-11 21:37 [Bug c/16480] New: using -msdata causes internal compiler error kurt at symbolicsound dot com
` (3 preceding siblings ...)
2004-08-25 11:21 ` amodra at bigpond dot net dot au
@ 2004-08-26 0:03 ` geoffk at geoffk dot org
2004-08-26 1:18 ` amodra at bigpond dot net dot au
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: geoffk at geoffk dot org @ 2004-08-26 0:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From geoffk at geoffk dot org 2004-08-26 00:03 -------
Subject: Re: using -msdata causes internal compiler error
"amodra at bigpond dot net dot au" <gcc-bugzilla@gcc.gnu.org> writes:
> ------- Additional Comments From amodra at bigpond dot net dot au 2004-08-25 11:21 -------
> Mainline fails similarly. The failure results from this splitter
>
> (define_split
> [(set (match_operand:DI 0 "nonimmediate_operand" "")
> (match_operand:DI 1 "input_operand" ""))]
> "reload_completed && !TARGET_POWERPC64
> && gpr_or_gpr_p (operands[0], operands[1])"
> [(pc)]
> { rs6000_split_multireg_move (operands[0], operands[1]); DONE; })
>
> The "input_operand" predicate accepts any memory operand as the second operand.
> rs6000_split_multireg_move thus needs to accept anything that we accept in
> rs6000_legitimate_address. For this particular failure, that's a
> (mem (symbol_ref (...))), which happens to satisfy legitimate_small_data_p.
It's probably the code under this comment:
/* We have now address involving an base register only.
If we use one of the registers to address memory,
we have change that register last. */
I expect the right thing to do is simply do
if (GET_CODE (breg) != SYMBOL_REF)
{
if (! REG_P (breg)) abort();
if (REGNO (breg) ...)
j = ...;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16480
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/16480] using -msdata causes internal compiler error
2004-07-11 21:37 [Bug c/16480] New: using -msdata causes internal compiler error kurt at symbolicsound dot com
` (4 preceding siblings ...)
2004-08-26 0:03 ` geoffk at geoffk dot org
@ 2004-08-26 1:18 ` amodra at bigpond dot net dot au
2004-08-26 1:20 ` cvs-commit at gcc dot gnu dot org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-08-26 1:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at bigpond dot net dot au 2004-08-26 01:18 -------
More analysis in http://gcc.gnu.org/ml/gcc-patches/2004-08/msg02093.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16480
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/16480] using -msdata causes internal compiler error
2004-07-11 21:37 [Bug c/16480] New: using -msdata causes internal compiler error kurt at symbolicsound dot com
` (5 preceding siblings ...)
2004-08-26 1:18 ` amodra at bigpond dot net dot au
@ 2004-08-26 1:20 ` cvs-commit at gcc dot gnu dot org
2004-08-26 1:29 ` amodra at bigpond dot net dot au
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-26 1:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-08-26 01:20 -------
Subject: Bug 16480
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: amodra@gcc.gnu.org 2004-08-26 01:20:28
Modified files:
gcc : ChangeLog
gcc/config/rs6000: rs6000.c
Log message:
PR target/16480
* config/rs6000/rs6000.c (rs6000_split_multireg_move): Don't abort
on "(mem (symbol_ref ..))" rtl. Look at LO_SUM base regs as well
as PLUS base regs.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5097&r2=2.5098
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcc&r1=1.700&r2=1.701
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16480
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/16480] using -msdata causes internal compiler error
2004-07-11 21:37 [Bug c/16480] New: using -msdata causes internal compiler error kurt at symbolicsound dot com
` (6 preceding siblings ...)
2004-08-26 1:20 ` cvs-commit at gcc dot gnu dot org
@ 2004-08-26 1:29 ` amodra at bigpond dot net dot au
2004-08-29 18:16 ` mmitchel at gcc dot gnu dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-08-26 1:29 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|3.4.2 3.5.0 |3.2.3 3.3.4 3.4.0 3.4.1
| |3.4.2
Known to work| |3.5.0
Target Milestone|--- |3.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16480
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/16480] using -msdata causes internal compiler error
2004-07-11 21:37 [Bug c/16480] New: using -msdata causes internal compiler error kurt at symbolicsound dot com
` (7 preceding siblings ...)
2004-08-26 1:29 ` amodra at bigpond dot net dot au
@ 2004-08-29 18:16 ` mmitchel at gcc dot gnu dot org
2004-08-29 18:16 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-08-29 18:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-08-29 18:12 -------
Postponed until GCC 3.4.3.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16480
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/16480] using -msdata causes internal compiler error
2004-07-11 21:37 [Bug c/16480] New: using -msdata causes internal compiler error kurt at symbolicsound dot com
` (8 preceding siblings ...)
2004-08-29 18:16 ` mmitchel at gcc dot gnu dot org
@ 2004-08-29 18:16 ` mmitchel at gcc dot gnu dot org
2004-11-01 0:47 ` mmitchel at gcc dot gnu dot org
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-08-29 18:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-08-29 18:14 -------
Postponed until GCC 3.4.3.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4.2 |3.4.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16480
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/16480] using -msdata causes internal compiler error
2004-07-11 21:37 [Bug c/16480] New: using -msdata causes internal compiler error kurt at symbolicsound dot com
` (9 preceding siblings ...)
2004-08-29 18:16 ` mmitchel at gcc dot gnu dot org
@ 2004-11-01 0:47 ` mmitchel at gcc dot gnu dot org
2004-11-10 3:15 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-11-01 0:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-11-01 00:46 -------
Postponed until GCC 3.4.4.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4.3 |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16480
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/16480] using -msdata causes internal compiler error
2004-07-11 21:37 [Bug c/16480] New: using -msdata causes internal compiler error kurt at symbolicsound dot com
` (10 preceding siblings ...)
2004-11-01 0:47 ` mmitchel at gcc dot gnu dot org
@ 2004-11-10 3:15 ` cvs-commit at gcc dot gnu dot org
2004-11-10 3:20 ` amodra at bigpond dot net dot au
2004-11-24 2:14 ` amodra at bigpond dot net dot au
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-10 3:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-10 03:14 -------
Subject: Bug 16480
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: amodra@gcc.gnu.org 2004-11-10 03:14:42
Modified files:
gcc : ChangeLog
gcc/config/rs6000: rs6000.c
Log message:
PR target/16480
2004-08-26 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.c (rs6000_split_multireg_move): Don't abort
on "(mem (symbol_ref ..))" rtl. Look at LO_SUM base regs as well
as PLUS base regs.
2004-08-01 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/rs6000.c (rs6000_split_multireg_move): Just abort
if trying to *store* to a non-offsettable address.
2004-07-30 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/rs6000.c (rs6000_split_multireg_move): Cope with
non-offsettable addresses being moved into multiple GPRs.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.682&r2=2.2326.2.683
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.576.2.33&r2=1.576.2.34
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16480
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/16480] using -msdata causes internal compiler error
2004-07-11 21:37 [Bug c/16480] New: using -msdata causes internal compiler error kurt at symbolicsound dot com
` (11 preceding siblings ...)
2004-11-10 3:15 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-10 3:20 ` amodra at bigpond dot net dot au
2004-11-24 2:14 ` amodra at bigpond dot net dot au
13 siblings, 0 replies; 15+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-11-10 3:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at bigpond dot net dot au 2004-11-10 03:20 -------
Fixed mainline and 3.4
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16480
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/16480] using -msdata causes internal compiler error
2004-07-11 21:37 [Bug c/16480] New: using -msdata causes internal compiler error kurt at symbolicsound dot com
` (12 preceding siblings ...)
2004-11-10 3:20 ` amodra at bigpond dot net dot au
@ 2004-11-24 2:14 ` amodra at bigpond dot net dot au
13 siblings, 0 replies; 15+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-11-24 2:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at bigpond dot net dot au 2004-11-24 02:14 -------
*** Bug 17337 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |osv at javad dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16480
^ permalink raw reply [flat|nested] 15+ messages in thread