This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFD: asm-register-declared local variables and asm clobber overlap
- From: Richard Henderson <rth at redhat dot com>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 18 Sep 2002 16:25:46 -0700
- Subject: Re: RFD: asm-register-declared local variables and asm clobber overlap
- References: <200209182000.WAA21632@ignucius.axis.se>
On Wed, Sep 18, 2002 at 10:00:16PM +0200, Hans-Peter Nilsson wrote:
> I think that GCC should detect the overlap and emit an error.
I agree.
You may be able to do this directly from expand_asm_operands,
rather than waiting until the register allocator.
r~