aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2002-11-28 02:10:46 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2002-11-28 02:10:46 +0000
commitfe3f9515cbb36fc3a816c3c35180abe6b00272ad (patch)
tree6f738d00ada7be3ce8db1003689f609d416aebdd
parent4e85eadab79e5e16cc6e0fff4c0867a87ad16ca0 (diff)
downloadgcc-fe3f9515cbb36fc3a816c3c35180abe6b00272ad.zip
gcc-fe3f9515cbb36fc3a816c3c35180abe6b00272ad.tar.gz
gcc-fe3f9515cbb36fc3a816c3c35180abe6b00272ad.tar.bz2
except.c (default_exception_section): Move variable into the scope where it is used.
* except.c (default_exception_section): Move variable into the scope where it is used. From-SVN: r59593
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/except.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0db0945..2dbc24a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * except.c (default_exception_section): Move variable into the
+ scope where it is used.
+
2002-11-27 Krister Walfridsson <cato@df.lth.se>
* config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Test for
diff --git a/gcc/except.c b/gcc/except.c
index 0a5e49f..c455d52 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))