This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/53084] [4.7/4.8 Regression] GCC cannot handle array initialization of string constant with point arithmetic properly
- From: "ktietz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 23 Apr 2012 17:19:27 +0000
- Subject: [Bug c/53084] [4.7/4.8 Regression] GCC cannot handle array initialization of string constant with point arithmetic properly
- Auto-submitted: auto-generated
- References: <bug-53084-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53084
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|*-*-mingw* |x86_64-*-* i686-*-*
--- Comment #4 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-04-23 17:19:27 UTC ---
(In reply to comment #3)
> Can't reproduce on x86_64-linux, please fill in Target.
Hmm, I can. For x86_64-unknown-linux-gnu using -O0 as optimization option, I
see for this test
aa.2162:
.LC1:
.string "foo"
.quad .LC1+1
which is wrong, too.