summaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-28 02:10:46 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-28 02:10:46 +0000
commit01bffb8afc287ee9e0fe75f308ce833f6bbf2da3 (patch)
tree6f738d00ada7be3ce8db1003689f609d416aebdd /gcc/except.c
parent9f6a375a825242954aba0162c4f603fae1224e2a (diff)
downloadgcc-01bffb8afc287ee9e0fe75f308ce833f6bbf2da3.tar.gz
* except.c (default_exception_section): Move variable into the
scope where it is used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59593 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/except.c b/gcc/except.c
index 0a5e49fa813..c455d5208e3 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -3597,10 +3597,10 @@ default_exception_section ()
{
if (targetm.have_named_sections)
{
- int tt_format = ASM_PREFERRED_EH_DATA_FORMAT (/*code=*/0, /*global=*/1);
int flags;
-
#ifdef HAVE_LD_RO_RW_SECTION_MIXING
+ int tt_format = ASM_PREFERRED_EH_DATA_FORMAT (/*code=*/0, /*global=*/1);
+
flags = (! flag_pic
|| ((tt_format & 0x70) != DW_EH_PE_absptr
&& (tt_format & 0x70) != DW_EH_PE_aligned))