This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Unifying asm and normal insn handling
- To: Jeffrey A Law <law at cygnus dot com>
- Subject: Re: Unifying asm and normal insn handling
- From: Bernd Schmidt <crux at pool dot informatik dot rwth-aachen dot de>
- Date: Thu, 15 Oct 1998 11:48:17 +0200 (MET DST)
- cc: egcs-patches at cygnus dot com
>
> You should probably indicate explicitly that we fall through the case into
> the default. Usually we mark such things with /* FALLTHROUGH */
Ok.
> > + /* Just return "no reloads" if insn has no operands with constraints. */
> > + if (noperands == 0 || n_alternatives == 0)
> > + return;
> I'm not sure this is safe, believe it or not.
The previous code did this already for asm statements, and I didn't notice
that this wasn't done for normal insns. I'll try whether simply deleting the
condition causes any problems for asms (it shouldn't, but...)
Bernd