[M3devel] record types in backend
Jay K
jay.krell at cornell.edu
Sun Aug 22 00:42:21 CEST 2010
In debugging this..the gcc code wants to enumerate the fields of a struct.
We spend the effort building up most of this information, but we never hook it up to the parameter.
The fields are null. From debugging it.
Then from reading our code:
declare_param:
m3_build_type
case T_struct:
{
tree ts = make_node (RECORD_TYPE);
TYPE_FIELDS (ts) = NULL_TREE;
Seems to me we should have a hash of typeid to tree, and here we should look
up the typeid and set the fields appropriately.
I'll try that.
Besides fixing SPARC64_SOLARIS here, it should dramatically improve debugging with stock gdb.
We'll see.
- Jay
From: jay.krell at cornell.edu
To: jkrell at elego.de; m3commit at elegosoft.com
Date: Sat, 21 Aug 2010 21:49:04 +0000
Subject: Re: [M3commit] CVS Update: cm3
It turns out 4.3.5 fails the same way.
- Jay
> Date: Sat, 21 Aug 2010 10:39:34 +0000
> To: m3commit at elegosoft.com
> From: jkrell at elego.de
> Subject: [M3commit] CVS Update: cm3
>
> CVSROOT: /usr/cvs
> Changes by: jkrell at birch. 10/08/21 10:39:34
>
> Modified files:
> cm3/m3-sys/m3cc/src/: m3makefile
>
> Log message:
> back to gcc 4.3 for SPARC64_SOLARIS, see m3-sys/m3tests/src/p2/p247
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20100821/bf2c36b3/attachment-0001.html>
More information about the M3devel
mailing list