Commit fc07d9e3 by Jakub Jelinek Committed by Jakub Jelinek

sysv4.opt (mregnames): Change Var to rs6000_regnames.

	* config/rs6000/sysv4.opt (mregnames): Change Var to rs6000_regnames.
	* config/rs6000/sysv4.h (TARGET_REGNAMES): Define.

	* gcc.target/powerpc/regnames-1.c: New test.

From-SVN: r154653
parent 72b2bc46
2009-11-25 Jakub Jelinek <jakub@redhat.com>
* config/rs6000/sysv4.opt (mregnames): Change Var to rs6000_regnames.
* config/rs6000/sysv4.h (TARGET_REGNAMES): Define.
* print-rtl.c (print_rtx): When printing newline, append
print_rtx_head and indentation after the newline.
......@@ -63,6 +63,7 @@ extern enum rs6000_sdata_type rs6000_sdata;
#define TARGET_NO_PROTOTYPE (! TARGET_PROTOTYPE)
#define TARGET_NO_TOC (! TARGET_TOC)
#define TARGET_NO_EABI (! TARGET_EABI)
#define TARGET_REGNAMES rs6000_regnames
#ifdef HAVE_AS_REL16
#undef TARGET_SECURE_PLT
......
......@@ -91,7 +91,7 @@ Target Report Var(TARGET_NO_BITFIELD_WORD)
Allow bit-fields to cross word boundaries
mregnames
Target Var(TARGET_REGNAMES)
Target Var(rs6000_regnames)
Use alternate register names
;; This option does nothing and only exists because the compiler
......
2009-11-25 Jakub Jelinek <jakub@redhat.com>
* gcc.target/powerpc/regnames-1.c: New test.
2009-11-25 Eric Botcazou <ebotcazou@adacore.com>
John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
......
/* { dg-do compile { target powerpc*-*-linux* } */
/* { dg-options "-mregnames" } */
register double f17 asm ("f17");
double foo (void)
{
return f17;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment