This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Adding constraints.md to my port
- From: Ian Lance Taylor <iant at google dot com>
- To: Jean Christophe Beyler <jean dot christophe dot beyler at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 14 Jul 2009 12:53:19 -0700
- Subject: Re: Adding constraints.md to my port
- References: <c568a2600907141130l4155f84cta745de579419f46b@mail.gmail.com>
Jean Christophe Beyler <jean.christophe.beyler@gmail.com> writes:
> In file included from ./tm_p.h:5,
> from /home/toto/gcc-4.3.2/gcc/c-pragma.c:35:
> ./tm-preds.h:40:1: warning: "CONSTRAINT_LEN" redefined
> In file included from ./tm.h:6,
> from /home/toto/gcc-4.3.2/gcc/c-pragma.c:24:
> /home/toto/gcc-4.3.2/gcc/defaults.h:797:1: warning: this is the
> location of the previous definition
See defaults.h:
#if !defined CONSTRAINT_LEN \
&& !defined REG_CLASS_FROM_LETTER \
&& !defined REG_CLASS_FROM_CONSTRAINT \
&& !defined CONST_OK_FOR_LETTER_P \
&& !defined CONST_OK_FOR_CONSTRAINT_P \
&& !defined CONST_DOUBLE_OK_FOR_LETTER_P \
&& !defined CONST_DOUBLE_OK_FOR_CONSTRAINT_P \
&& !defined EXTRA_CONSTRAINT \
&& !defined EXTRA_CONSTRAINT_STR \
&& !defined EXTRA_MEMORY_CONSTRAINT \
&& !defined EXTRA_ADDRESS_CONSTRAINT
#define USE_MD_CONSTRAINTS
Make sure that your CPU.h file does not define any of those macros.
Ian