Path: utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!tut.cis.ohio-state.edu!sniff.bsw.com!adam From: adam@sniff.bsw.com (Adam R de Boor) Newsgroups: gnu.gcc.bug Subject: improper code generation for char *... Message-ID: <8901260612.AA25301@sniff.bsw.com> Date: 26 Jan 89 06:12:11 GMT Sender: news@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 23 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