This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/34925] -fno-merge-constants doesn't work.



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-01-22 20:12 -------
THis is not a bug,
-fno-merge-constants works only across TUs and not inside a TU.
>From the documentation:
Attempt to merge identical constants (string constants and floating point
constants) across compilation units.

Plus it is working correctly for your case as it emits the string in the
.rodata section and not in the .string section.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]