This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/33151] Invalid insn with pre_inc



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]