This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33151] Invalid insn with pre_inc
- From: "zadeck at naturalbridge dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Aug 2007 18:59:16 -0000
- Subject: [Bug target/33151] Invalid insn with pre_inc
- References: <bug-33151-14936@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from zadeck at naturalbridge dot com 2007-08-23 18:59 -------
Subject: Re: Invalid insn with pre_inc
pinskia at gcc dot gnu dot org wrote:
> ------- Comment #3 from pinskia at gcc dot gnu dot org 2007-08-22 22:41 -------
> I think we need a new predicate for this rtl instruction, currently we just
> have:
> (clobber (match_operand:DF 4 "memory_operand" "=o"))
>
>
>
After thinking about this last night, i believe that this problem should
be solved at the machine description level, not by changing
auto-inc-dec.c. Auto-inc-dec.c uses all of the standard interfaces to
keep from generating invalid rtl. So it seems proper to have the md
level not allow the creation of this insn.
Kenny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33151