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
This commit is contained in:
parent
72b2bc46f5
commit
fc07d9e3cb
@ -1,5 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,7 @@
|
||||
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>
|
||||
|
||||
|
8
gcc/testsuite/gcc.target/powerpc/regnames-1.c
Normal file
8
gcc/testsuite/gcc.target/powerpc/regnames-1.c
Normal file
@ -0,0 +1,8 @@
|
||||
/* { dg-do compile { target powerpc*-*-linux* } */
|
||||
/* { dg-options "-mregnames" } */
|
||||
|
||||
register double f17 asm ("f17");
|
||||
double foo (void)
|
||||
{
|
||||
return f17;
|
||||
}
|
Loading…
Reference in New Issue
Block a user