From: Sandeep D. <sa...@dd...> - 2000-03-06 21:57:25
|
Fixed... Sandeep Kevin Vigor wrote: > > Compiling the following currently coredumps the compiler: > > void foo(unsigned char *s) > { > s[0] = 'c'; > } > > This occurs when cseBBlock calls aggrToPtr() with a NULL type > pointer. A piCode of the iCode that got passed into cseBBlock looks > like: > > c.c(3:0:5:0:0) *(iTemp2 [k5 lr0:0 so:0]{ ia1 re0 rm0}{}) := > 0x63 {char } > > Note the lack of any type information at all on the result portion of > the opcode. > > I'm looking, but help appreciated as always. > > Peace, > Kevin > > _______________________________________________ > sdcc-devel mailing list > sdc...@li... > http://lists.sourceforge.net/mailman/listinfo/sdcc-devel -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sandeep Dutta Phone: 650-356-5417 Diab-SDS Fax: 650-356-5490 323 Vintage Park Drive Email: sa...@dd... Foster City, CA 94404 URL: www.ddi.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |