public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/192] String literals don't obey -fdata-sections
[not found] <20000502194601.192.greyham@research.canon.com.au>
@ 2003-06-09 19:38 ` pinskia@physics.uc.edu
2003-08-17 1:36 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: pinskia@physics.uc.edu @ 2003-06-09 19:38 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=192
pinskia@physics.uc.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|0000-00-00 00:00:00 |2003-06-09 19:38:12
date| |
------- Additional Comments From pinskia@physics.uc.edu 2003-06-09 19:38 -------
Still happens on the mainline (20030609).
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/192] String literals don't obey -fdata-sections
[not found] <20000502194601.192.greyham@research.canon.com.au>
2003-06-09 19:38 ` [Bug optimization/192] String literals don't obey -fdata-sections pinskia@physics.uc.edu
@ 2003-08-17 1:36 ` pinskia at gcc dot gnu dot org
2004-05-23 20:28 ` [Bug rtl-optimization/192] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-17 1:36 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=192
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/192] String literals don't obey -fdata-sections
[not found] <20000502194601.192.greyham@research.canon.com.au>
2003-06-09 19:38 ` [Bug optimization/192] String literals don't obey -fdata-sections pinskia@physics.uc.edu
2003-08-17 1:36 ` pinskia at gcc dot gnu dot org
@ 2004-05-23 20:28 ` pinskia at gcc dot gnu dot org
2004-05-23 21:09 ` jsm at polyomino dot org dot uk
` (4 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-23 20:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-22 21:08 -------
Will not fix as -fwritable-strings is no longer supported in 3.5.0 and above.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|SUSPENDED |RESOLVED
Resolution| |WONTFIX
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=192
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/192] String literals don't obey -fdata-sections
[not found] <20000502194601.192.greyham@research.canon.com.au>
` (2 preceding siblings ...)
2004-05-23 20:28 ` [Bug rtl-optimization/192] " pinskia at gcc dot gnu dot org
@ 2004-05-23 21:09 ` jsm at polyomino dot org dot uk
2004-05-23 23:12 ` giovannibajo at libero dot it
` (3 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: jsm at polyomino dot org dot uk @ 2004-05-23 21:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jsm at polyomino dot org dot uk 2004-05-22 21:53 -------
Subject: Re: String literals don't obey -fdata-sections
On Sat, 22 May 2004, pinskia at gcc dot gnu dot org wrote:
> Will not fix as -fwritable-strings is no longer supported in 3.5.0 and above.
The basic feature request has nothing to do with -fwritable-strings, that
was just one example. As far as I know this sort of feature would still
be just as useful as when this feature request was submitted. (Similarly
- mentioned in the projects list rather than being the subject of a bug
report - an attribute to specify a section for string constants would also
be of use.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=192
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/192] String literals don't obey -fdata-sections
[not found] <20000502194601.192.greyham@research.canon.com.au>
` (3 preceding siblings ...)
2004-05-23 21:09 ` jsm at polyomino dot org dot uk
@ 2004-05-23 23:12 ` giovannibajo at libero dot it
2004-05-24 2:38 ` [Bug middle-end/192] " pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: giovannibajo at libero dot it @ 2004-05-23 23:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-05-23 02:18 -------
following JSM
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WONTFIX |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=192
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/192] String literals don't obey -fdata-sections
[not found] <20000502194601.192.greyham@research.canon.com.au>
` (4 preceding siblings ...)
2004-05-23 23:12 ` giovannibajo at libero dot it
@ 2004-05-24 2:38 ` pinskia at gcc dot gnu dot org
2004-10-13 13:40 ` pinskia at gcc dot gnu dot org
2004-11-30 6:36 ` amodra at bigpond dot net dot au
7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-24 2:38 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.5.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=192
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/192] String literals don't obey -fdata-sections
[not found] <20000502194601.192.greyham@research.canon.com.au>
` (5 preceding siblings ...)
2004-05-24 2:38 ` [Bug middle-end/192] " pinskia at gcc dot gnu dot org
@ 2004-10-13 13:40 ` pinskia at gcc dot gnu dot org
2004-11-30 6:36 ` amodra at bigpond dot net dot au
7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-13 13:40 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=192
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/192] String literals don't obey -fdata-sections
[not found] <20000502194601.192.greyham@research.canon.com.au>
` (6 preceding siblings ...)
2004-10-13 13:40 ` pinskia at gcc dot gnu dot org
@ 2004-11-30 6:36 ` amodra at bigpond dot net dot au
7 siblings, 0 replies; 8+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-11-30 6:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at bigpond dot net dot au 2004-11-30 06:36 -------
This is true of other constants too. For example, on powerpc-linux, compiling
the testcase in pr9571:
gcc -O2 -m32 -fdata-sections -fno-merge-constants -S /src/tmp/pr9571.c
gives:
.file "pr9571.c"
.globl d
.section .sdata.d,"a",@progbits
.align 3
.type d, @object
.size d, 8
d:
.long 1074339512
.long 1374389535
.section .rodata
.align 3
.LC0:
.long 1074339512
.long 1374389535
.section ".text"
.align 2
.p2align 4,,15
.globl f
.type f, @function
f:
lis 9,.LC0@ha
lfd 1,.LC0@l(9)
blr
.size f,.-f
.ident "GCC: (GNU) 4.0.0 20041129 (experimental)"
.section .note.GNU-stack,"",@progbits
The duplication of the constant isn't ideal either.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=192
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-11-30 6:36 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20000502194601.192.greyham@research.canon.com.au>
2003-06-09 19:38 ` [Bug optimization/192] String literals don't obey -fdata-sections pinskia@physics.uc.edu
2003-08-17 1:36 ` pinskia at gcc dot gnu dot org
2004-05-23 20:28 ` [Bug rtl-optimization/192] " pinskia at gcc dot gnu dot org
2004-05-23 21:09 ` jsm at polyomino dot org dot uk
2004-05-23 23:12 ` giovannibajo at libero dot it
2004-05-24 2:38 ` [Bug middle-end/192] " pinskia at gcc dot gnu dot org
2004-10-13 13:40 ` pinskia at gcc dot gnu dot org
2004-11-30 6:36 ` amodra at bigpond dot net dot au
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).