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 c/49081] Incorrect counter used for compilation of string literals.


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-05-20 17:19:52 UTC ---
> By adding some dummy variables the static local string literals will get a
> different symbol name which results in a binary different output file.

This is expected and really not a bug as the source is different.  GCC only
guarantees the same binary output file for the same source.


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