rs6000.c (atomic_hold_decl, [...]): Guard declaration with #ifdef.

* config/rs6000/rs6000.c (atomic_hold_decl, atomic_clear_decl,
	atomic_update_decl): Guard declaration with #ifdef.

From-SVN: r217105
This commit is contained in:
Pat Haugen 2014-11-04 22:34:43 +00:00 committed by Pat Haugen
parent 6f45018142
commit f6166a42cc
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-11-04 Pat Haugen <pthaugen@us.ibm.com>
* config/rs6000/rs6000.c (atomic_hold_decl, atomic_clear_decl,
atomic_update_decl): Guard declaration with #ifdef.
2014-11-04 Marek Polacek <polacek@redhat.com>
* sanopt.c (sanopt_optimize_walker): Remove unused variables.

View File

@ -34590,8 +34590,10 @@ make_pass_analyze_swaps (gcc::context *ctxt)
return new pass_analyze_swaps (ctxt);
}
#ifdef RS6000_GLIBC_ATOMIC_FENV
/* Function declarations for rs6000_atomic_assign_expand_fenv. */
static tree atomic_hold_decl, atomic_clear_decl, atomic_update_decl;
#endif
/* Implement TARGET_ATOMIC_ASSIGN_EXPAND_FENV hook. */