From 599824d24ab2e824ba8af60c123debc03023a94d Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Thu, 17 Jan 2008 16:18:59 +0000 Subject: global.c (find_reg): Mark the eh regs as used if necessary. 2008-01-17 Andreas Krebbel * 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 --- gcc/ra.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc/ra.h') 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; -- cgit v1.1