[gnu.gcc.bug] improper code generation for char *...

adam@sniff.bsw.com (Adam R de Boor) (01/26/89)

if you declare something

static char foo[] = { "hi", "there" };

you get the improper code:

.text
LC0:
	.ascii "hi\0"
LC1:
	.ascii "there\0"
.data
_foo:
	.byte LC0
	.byte LC1

It does given a warning about initializing an integer from a pointer
but generates the bogus code indicated. I'm running on an ISI machine (to
my sadness) using their assembler with various bugs and annoyances fixed.
The gcc release is 1.31.

a