summaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2012-01-17 17:21:49 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2012-01-17 17:21:49 +0100
commitee3d2ecdc509868214e682f4192cf7047d57a78d (patch)
tree063806ffabfecffdb1aa308a9a26013274f0668b /gcc/target.h
parent3b4f05ec1ee0a91c937f9c90df8addf6aec7ad5f (diff)
re PR target/51872 (Shrink-wrapping with -mminimal-toc causes bootstrap failure)
PR bootstrap/51872 * hard-reg-set.h (struct hard_reg_set_container): New type. * target.h (struct hard_reg_set_container): Forward declare. * target.def (set_up_by_prologue): New target hook. * doc/tm.texi.in (TARGET_SET_UP_BY_PROLOGUE): Document it. * doc/tm.texi: Regenerated. * function.c (thread_prologue_and_epilogue_insns): Change set_up_by_prologue HARD_REG_SET into struct hard_reg_set_container. Call targetm.set_up_by_prologue on it. * config/rs6000/rs6000.c (rs6000_set_up_by_prologue): New function. (TARGET_SET_UP_BY_PROLOGUE): Redefine to it. From-SVN: r183254
Diffstat (limited to 'gcc/target.h')
-rw-r--r--gcc/target.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/target.h b/gcc/target.h
index 12fd9b085a0..38181989104 100644
--- a/gcc/target.h
+++ b/gcc/target.h
@@ -1,6 +1,6 @@
/* Data structure definitions for a generic GCC target.
Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
- 2011
+ 2011, 2012
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
@@ -92,6 +92,7 @@ extern bool target_default_pointer_address_modes_p (void);
struct stdarg_info;
struct spec_info_def;
+struct hard_reg_set_container;
/* The struct used by the secondary_reload target hook. */
typedef struct secondary_reload_info