Revert "String literals are always const"
commit9ed8b54f6cd2ebf1d5dc678ab2296e92ad85cd3e
authorMichael Matz <matz@suse.de>
Tue, 4 Jul 2017 14:37:49 +0000 (4 16:37 +0200)
committerMichael Matz <matz@suse.de>
Tue, 4 Jul 2017 14:37:49 +0000 (4 16:37 +0200)
tree07b490cb82da21f445ed54d45b689383aca27608
parent580ad5f24c9542bfaa7e24ae8a32af3e0e5a6cf9
Revert "String literals are always const"

This reverts commit d4fe9aba3fc6f4b9cc97b100e86ffe7af5c29619.
I was confused by the fact that string literals aren't writable.
Nevertheless the type isn't const.  As extension in GCC it's const
with -Wwrite-string, which is exactly what we had before.

GCC also wonders in a comment if it's really a good idea to change
expression types based on warning flags (IMHO it's not), but let's
be compatible.  So restore the state from before.
tccgen.c