aboutsummaryrefslogtreecommitdiff
path: root/gcc/ra.h
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel1@de.ibm.com>2008-01-17 16:18:59 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2008-01-17 16:18:59 +0000
commit599824d24ab2e824ba8af60c123debc03023a94d (patch)
tree5121992dd80b8b1bb8673bf19c1c5051d0828766 /gcc/ra.h
parent9328dd5725be9ddbca3350bf0586b30c3b920a6d (diff)
downloadgcc-599824d24ab2e824ba8af60c123debc03023a94d.zip
gcc-599824d24ab2e824ba8af60c123debc03023a94d.tar.gz
gcc-599824d24ab2e824ba8af60c123debc03023a94d.tar.bz2
global.c (find_reg): Mark the eh regs as used if necessary.
2008-01-17 Andreas Krebbel <krebbel1@de.ibm.com> * global.c (find_reg): Mark the eh regs as used if necessary. * ra-conflict.c (global_conflicts): Set no_eh_reg flag. * ra.h (struct allocno): no_eh_reg field added. Changed no_stack_reg type to bitfield. From-SVN: r131601
Diffstat (limited to 'gcc/ra.h')
-rw-r--r--gcc/ra.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ra.h b/gcc/ra.h
index 4081df3..c7e12a7 100644
--- a/gcc/ra.h
+++ b/gcc/ra.h
@@ -75,9 +75,14 @@ struct allocno
HARD_REG_SET regs_someone_prefers;
+#ifdef EH_RETURN_DATA_REGNO
+ /* Set to true if allocno can't be allocated in an eh register. */
+ unsigned int no_eh_reg:1;
+#endif
+
#ifdef STACK_REGS
/* Set to true if allocno can't be allocated in the stack register. */
- bool no_stack_reg;
+ unsigned int no_stack_reg:1;
#endif
};
extern struct allocno *allocno;