[Bug middle-end/192] String literals don't obey -fdata-sections

2020-09-15 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #19 from Fa

[Bug middle-end/192] String literals don't obey -fdata-sections

2015-11-25 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug middle-end/192] String literals don't obey -fdata-sections

2015-05-07 Thread gcc at mattwhitlock dot name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 --- Comment #17 from Matt Whitlock --- (In reply to Segher Boessenkool from comment #16) Thanks for the fix, Segher. Your patch seems more "right" than mine, although I will point out that it doesn't precisely address this bug report, as it places

[Bug middle-end/192] String literals don't obey -fdata-sections

2015-05-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 --- Comment #16 from Segher Boessenkool --- Author: segher Date: Thu May 7 15:51:01 2015 New Revision: 222880 URL: https://gcc.gnu.org/viewcvs?rev=222880&root=gcc&view=rev Log: PR middle-end/192 PR middle-end/54303 * varas

[Bug middle-end/192] String literals don't obey -fdata-sections

2015-05-07 Thread gcc at mattwhitlock dot name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 --- Comment #15 from Matt Whitlock --- (In reply to Jakub Jelinek from comment #14) > This doesn't really look like a good idea to me. Instead, perhaps ld's > --gc-sections or new special option should just remove unused string > literals from mer

[Bug middle-end/192] String literals don't obey -fdata-sections

2015-05-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #14 f

[Bug middle-end/192] String literals don't obey -fdata-sections

2015-05-06 Thread gcc at mattwhitlock dot name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 --- Comment #13 from Matt Whitlock --- (In reply to H.J. Lu from comment #12) > Would it better to use MD5 checksum on string contents? MD5 would be slower for not much gain in uniqueness (assuming its output is truncated to 32 bits). This applica

[Bug middle-end/192] String literals don't obey -fdata-sections

2015-05-06 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 --- Comment #12 from H.J. Lu --- (In reply to Matt Whitlock from comment #11) > Created attachment 35479 [details] > put string literals into unique sections when -fmerge-constants > -fdata-sections > > This patch puts each string literal into a (

[Bug middle-end/192] String literals don't obey -fdata-sections

2015-05-06 Thread gcc at mattwhitlock dot name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 --- Comment #11 from Matt Whitlock --- Created attachment 35479 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35479&action=edit put string literals into unique sections when -fmerge-constants -fdata-sections This patch puts each string lite

[Bug middle-end/192] String literals don't obey -fdata-sections

2015-05-06 Thread gcc at mattwhitlock dot name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 --- Comment #10 from Matt Whitlock --- (In reply to Rahul from comment #9) > I am also experiencing the same issue. Is there any solution for it? You can wrap a preprocessor macro around string literals that you want to subject to the linker's gar

[Bug middle-end/192] String literals don't obey -fdata-sections

2015-05-06 Thread rahul.gundecha at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 Rahul changed: What|Removed |Added CC||rahul.gundecha at gmail dot com --- Comment #9 fro

[Bug middle-end/192] String literals don't obey -fdata-sections

2007-04-02 Thread maskva at searxhmash dot com
--- Comment #8 from maskva at searxhmash dot com 2007-04-02 21:27 --- Created an attachment (id=13319) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13319&action=view) ned -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=192

[Bug middle-end/192] String literals don't obey -fdata-sections

2004-11-29 Thread amodra at bigpond dot net dot au
--- 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.

[Bug middle-end/192] String literals don't obey -fdata-sections

2004-10-13 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Status|REOPENED|NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=192