This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Alias code
- To: mark at markmitchell dot com
- Subject: Alias code
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 29 Jun 1998 04:18:30 -0600
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
We've got a little problem.
While the machine independent code is mostly free of gen_rtx (MEM)
calls, many of the target files, and some of the front-ends that we
want to interoperate (but possibly do not control) with are not free
of such calls.
I think we need to handle these cases in a clean manner. ie, we
have to initialize the alias set field when we allocate the MEM or
REG expression
Thoughts?
jeff
ps. i just spent 3hrs tracking down a case where the compiler would
mis-compile a testcase, but not if you turned on -g or certain debug
dumps -- it was tracked down to a call to gen_rtx (MEM) in a target
config file. I don't want to have to do this very often :(