This is the mail archive of the gcc@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]

Re: gcc 3.4.0 20040121 / ia32 / read-write constraint does not allow a register


> On Thu, Jan 29, 2004 at 02:22:10PM +0000, Joern Rennecke wrote:
> > Support for "+" memory constraints was added as a feature for these
> > reasons; why do we warn about this now?
> 
> "+" has *always* been expanded to matching constraints for asms.

Yes, I know (I've implemented this), but when you use matching constraints
in the source, there is no guarantee that arguments that look the same
in sourc also compile to the same trees & rtl.  By using the "+" constraint
modifier, you get the compiler the opportunity to copy the argument itself,
and it cn take whatever precautions are necessary to keep these trees / rtl
pieces the same.


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