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: Adding constraints.md to my port


Ok, so actually, my cpu.h file had some of those included. I've
removed them and am now filling in the constraints.md file with what
is needed. I also so that they were obsolete in the GCC internals,
I'll be moving everything to the constraints then.

Thank you for your help,
Jc

On Tue, Jul 14, 2009 at 3:53 PM, Ian Lance Taylor<iant@google.com> wrote:
> 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
>


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