This is the mail archive of the 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: [Patch, microblaze]: Add microblaze_legitimate_pic_operand method

On 02/10/2013 10:40 PM, David Holsgrove wrote:
Add microblaze_legitimate_pic_operand method

Prevents ICE where insn contains an invalid address


2013-02-11 David Holsgrove <>

  * config/microblaze/microblaze.c
    (microblaze_valid_pic_const): New function
    (microblaze_legitimate_pic_operand): Likewise
  * config/microblaze/microblaze.h
    function microblaze_legitimate_pic_operand

Committed revision 196434.

	* config/microblaze/microblaze-protos.h
	(microblaze_legitimate_pic_operand): Declare.

Index: gcc/config/microblaze/microblaze-protos.h =================================================================== --- gcc/config/microblaze/microblaze-protos.h (revision 196431) +++ gcc/config/microblaze/microblaze-protos.h (working copy) @@ -49,6 +49,7 @@ extern void microblaze_declare_object (FILE *, const char *, const char *, const char *, int); extern void microblaze_asm_output_ident (const char *); +extern int microblaze_legitimate_pic_operand (rtx); #endif /* RTX_CODE */

/* Declare functions in microblaze-c.c. */

Michael Eager
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

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