This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/54823] string literal characters not constant
- From: "devel at fresse dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 Oct 2012 12:45:45 +0000
- Subject: [Bug c/54823] string literal characters not constant
- Auto-submitted: auto-generated
- References: <bug-54823-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54823
--- Comment #5 from Sebastian Freundt <devel at fresse dot org> 2012-10-05 12:45:45 UTC ---
Ok, I see. I assume, there's no plans on widening the allowed expressions for
constant integers?
It's autogenerated code a la:
#define foo "bar"
(foo)[1] * 0x55 + (foo)[2] * 0x30
where the indices are calculated. I was trying to port the generated code to
gcc.
Thanks anyway.