Date: Fri, 5 Sep 2003 09:55:57 -0700 From: Marcel Moolenaar <marcel@xcllnt.net> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: current@freebsd.org Subject: Re: Question about genassym, locore.s and 0-sized arrays(showstopper for an icc compiled kernel) Message-ID: <20030905165557.GB566@dhcp01.pn.xcllnt.net> In-Reply-To: <20030905105507.51ba3183.Alexander@Leidinger.net> References: <20030904180448.021a1b6b.Alexander@Leidinger.net> <20030904162858.GI98381@dan.emsphone.com> <20030905001411.3a9030b3.Alexander@Leidinger.net> <20030904225123.GB39916@dan.emsphone.com> <3F584B85.AAC3A11D@mindspring.com> <20030905105507.51ba3183.Alexander@Leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 05, 2003 at 10:55:07AM +0200, Alexander Leidinger wrote: > > > > It does, according to my reading of it. They may have an issue with > > dead code removal or element aliasing. The way to find out would be > > to see what they emit for "[]"... 0 lenth, or 1? > > % <icc.c > char array[]; > > % nm icc.o > 00000001 C array Interesting, What does icc do with: struct { int tag; char obj[]; } foo; And what does the sizeof() operator give. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030905165557.GB566>