summaryrefslogtreecommitdiff
path: root/gcc/ra.h
diff options
context:
space:
mode:
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-17 16:18:59 +0000
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-17 16:18:59 +0000
commit74748e47c7c3af646d70012caeff51f5531d60cd (patch)
tree5121992dd80b8b1bb8673bf19c1c5051d0828766 /gcc/ra.h
parenta13ff5904a508ab8c3bc31344a2f29921f3de1d1 (diff)
downloadgcc-74748e47c7c3af646d70012caeff51f5531d60cd.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131601 138bc75d-0d04-0410-961f-82ee72b054a4
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 4081df347ca..c7e12a7b0c5 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;