* [Bug target/9571] [PPC] problems with 'const', -msdata=eabi and sections.
[not found] <20030204140601.9571.osv@javad.ru>
@ 2003-07-20 0:52 ` mmitchel at gcc dot gnu dot org
2003-10-14 14:42 ` osv at topconrd dot ru
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-07-20 0:52 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9571
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[3.3/3.4 regression] [PPC] |[PPC] problems with 'const',
|problems with 'const', - |-msdata=eabi and sections.
|msdata=eabi and sections. |
Target Milestone|3.3.1 |---
------- Additional Comments From mmitchel at gcc dot gnu dot org 2003-07-20 00:52 -------
Based on Franz's comments, this bug is not really a regression at all.
I've therefore removed the regression tags.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/9571] [PPC] problems with 'const', -msdata=eabi and sections.
[not found] <20030204140601.9571.osv@javad.ru>
2003-07-20 0:52 ` mmitchel at gcc dot gnu dot org
@ 2003-10-14 14:42 ` osv at topconrd dot ru
2004-01-11 15:59 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: osv at topconrd dot ru @ 2003-10-14 14:42 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9571
------- Additional Comments From osv at topconrd dot ru 2003-10-14 14:42 -------
> r0 is used as a pointer to sdata2, this is a bug, it should be r2.
No, the %r0 you see is fake. In the object file it's a special relocatable
symbol that is resolved to either 2 (r2) or 13 (r13) by the linker depending on
actual output section the symbol refers to, so there is no bug here.
As there is no bug at this point, the:
> Based on Franz's comments, this bug is not really a regression at all.
> I've therefore removed the regression tags.
is wrong as Franz's comments are wrong.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/9571] [PPC] problems with 'const', -msdata=eabi and sections.
[not found] <20030204140601.9571.osv@javad.ru>
2003-07-20 0:52 ` mmitchel at gcc dot gnu dot org
2003-10-14 14:42 ` osv at topconrd dot ru
@ 2004-01-11 15:59 ` pinskia at gcc dot gnu dot org
2004-02-26 16:25 ` smeisner at charter dot net
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-11 15:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-11 15:59 -------
*** Bug 13646 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |oakad at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9571
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/9571] [PPC] problems with 'const', -msdata=eabi and sections.
[not found] <20030204140601.9571.osv@javad.ru>
` (2 preceding siblings ...)
2004-01-11 15:59 ` pinskia at gcc dot gnu dot org
@ 2004-02-26 16:25 ` smeisner at charter dot net
2004-11-29 6:24 ` cvs-commit at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: smeisner at charter dot net @ 2004-02-26 16:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From smeisner at charter dot net 2004-02-26 16:25 -------
I have fixed this bug (and another) against the 3.3.3 release. I am not a GCC
developer, just a hack that loves GCC. The fix works for my needs, but most
likely is not how it should be implemented. I could send a diff or a patch if
the developers are interested in seeing what I did.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9571
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/9571] [PPC] problems with 'const', -msdata=eabi and sections.
[not found] <20030204140601.9571.osv@javad.ru>
` (3 preceding siblings ...)
2004-02-26 16:25 ` smeisner at charter dot net
@ 2004-11-29 6:24 ` cvs-commit at gcc dot gnu dot org
2004-11-29 10:36 ` schwab at suse dot de
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-29 6:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-29 06:24 -------
Subject: Bug 9571
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: amodra@gcc.gnu.org 2004-11-29 06:24:31
Modified files:
gcc : ChangeLog varasm.c
Log message:
PR target/9571
* varasm.c (default_elf_select_section_1): Pass decl to named_section.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6616&r2=2.6617
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/varasm.c.diff?cvsroot=gcc&r1=1.461&r2=1.462
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9571
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/9571] [PPC] problems with 'const', -msdata=eabi and sections.
[not found] <20030204140601.9571.osv@javad.ru>
` (4 preceding siblings ...)
2004-11-29 6:24 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-29 10:36 ` schwab at suse dot de
2004-11-29 13:36 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: schwab at suse dot de @ 2004-11-29 10:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From schwab at suse dot de 2004-11-29 10:36 -------
Breaks libgfortran on ia64.
../../../libgfortran/generated/product_c4.c: In function '__product_c4':
../../../libgfortran/generated/product_c4.c:143: internal compiler error: in
named_section, at varasm.c:451
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
The decl is actually a COMPLEX_CST, i.e. not a DECL_P.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9571
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/9571] [PPC] problems with 'const', -msdata=eabi and sections.
[not found] <20030204140601.9571.osv@javad.ru>
` (5 preceding siblings ...)
2004-11-29 10:36 ` schwab at suse dot de
@ 2004-11-29 13:36 ` pinskia at gcc dot gnu dot org
2004-11-30 6:44 ` amodra at bigpond dot net dot au
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-29 13:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-29 13:35 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9571
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/9571] [PPC] problems with 'const', -msdata=eabi and sections.
[not found] <20030204140601.9571.osv@javad.ru>
` (6 preceding siblings ...)
2004-11-29 13:36 ` pinskia at gcc dot gnu dot org
@ 2004-11-30 6:44 ` amodra at bigpond dot net dot au
2005-01-31 6:53 ` pinskia at gcc dot gnu dot org
2005-02-12 23:23 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-11-30 6:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at bigpond dot net dot au 2004-11-30 06:44 -------
My patch didn't completely fix this problem, only the wrong .sdata2 attributes.
Incidentally, the followup patch to fix the libgfortran breakage is:
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: amodra@gcc.gnu.org 2004-11-29 11:29:13
Modified files:
gcc : ChangeLog varasm.c
Log message:
* varasm.c (default_elf_select_section_1): Only pass DECL_P decl
to named_section.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6618&r2=2.6619
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/varasm.c.diff?cvsroot=gcc&r1=1.462&r2=1.463
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9571
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/9571] [PPC] problems with 'const', -msdata=eabi and sections.
[not found] <20030204140601.9571.osv@javad.ru>
` (7 preceding siblings ...)
2004-11-30 6:44 ` amodra at bigpond dot net dot au
@ 2005-01-31 6:53 ` pinskia at gcc dot gnu dot org
2005-02-12 23:23 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-31 6:53 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9571
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/9571] [PPC] problems with 'const', -msdata=eabi and sections.
[not found] <20030204140601.9571.osv@javad.ru>
` (8 preceding siblings ...)
2005-01-31 6:53 ` pinskia at gcc dot gnu dot org
@ 2005-02-12 23:23 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-12 23:23 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9571
^ permalink raw reply [flat|nested] 11+ messages in thread