This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/49081] Incorrect counter used for compilation of string literals.
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 20 May 2011 17:36:40 +0000
- Subject: [Bug c/49081] Incorrect counter used for compilation of string literals.
- Auto-submitted: auto-generated
- References: <bug-49081-4@http.gcc.gnu.org/bugzilla/>
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.