[M3devel] a likely way to force passing records by address

Jay K jay.krell at cornell.edu
Tue Sep 14 01:51:44 CEST 2010


tree.h
/* For a PARM_DECL, records the data type used to pass the argument,
   which may be different from the type seen in the program.  */
#define DECL_ARG_TYPE(NODE) (PARM_DECL_CHECK (NODE)->decl_common.initial)



We could probably use this to easily/quickly solve the SPARC64 record problem.
But forcing records to always be passed by address.
And then dispense with any long tedious attempt to make the trees better-formed/typed.


But the better formed/typed trees have the advantage of better debugging with
gdb and probably able to allow more optimizations.
Really the SPARC64 problems (assertion failures in backend compiling caltech-parser)
triggered this, but are no longer the point).


?


 - Jay

 		 	   		  


More information about the M3devel mailing list