[Bug c/54823] string literal characters not constant

devel at fresse dot org gcc-bugzilla@gcc.gnu.org
Fri Oct 5 12:46:00 GMT 2012


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.



More information about the Gcc-bugs mailing list