diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2016-10-23 10:55:04 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2016-10-23 10:55:04 +0000 |
commit | fb4ab5f0057f3a43636956efb5304a4c030bc449 (patch) | |
tree | 499765d07a45f0b79924c618032cf6aca43fc607 /gcc | |
parent | 35518d76b92758c767843b515177a67717828c84 (diff) | |
download | gcc-fb4ab5f0057f3a43636956efb5304a4c030bc449.zip gcc-fb4ab5f0057f3a43636956efb5304a4c030bc449.tar.gz gcc-fb4ab5f0057f3a43636956efb5304a4c030bc449.tar.bz2 |
sparc-c.c (sparc_target_macros): Replace TARGET_64BIT with TARGET_ARCH64.
* config/sparc/sparc-c.c (sparc_target_macros): Replace TARGET_64BIT
with TARGET_ARCH64. Define __VIS to 0x400 if TARGET_VIS4.
From-SVN: r241446
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sparc/sparc-c.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2849ce8..25c38f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-10-23 Eric Botcazou <ebotcazou@adacore.com> + + * config/sparc/sparc-c.c (sparc_target_macros): Replace TARGET_64BIT + with TARGET_ARCH64. Define __VIS to 0x400 if TARGET_VIS4. + 2016-10-21 Andrew Pinski <apinski@cavium.com> * config/aarch64/aarch64-cores.def: Rewrite so IMP and PART are diff --git a/gcc/config/sparc/sparc-c.c b/gcc/config/sparc/sparc-c.c index d9f9c15..8af0312 100644 --- a/gcc/config/sparc/sparc-c.c +++ b/gcc/config/sparc/sparc-c.c @@ -29,7 +29,7 @@ sparc_target_macros (void) { builtin_define_std ("sparc"); - if (TARGET_64BIT) + if (TARGET_ARCH64) { cpp_assert (parse_in, "cpu=sparc64"); cpp_assert (parse_in, "machine=sparc64"); @@ -43,7 +43,7 @@ sparc_target_macros (void) if (TARGET_VIS4) { cpp_define (parse_in, "__VIS__=0x400"); - cpp_define (parse_in, "__VIS__=0x400"); + cpp_define (parse_in, "__VIS=0x400"); } else if (TARGET_VIS3) { |