aboutsummaryrefslogtreecommitdiff
path: root/gcc/genattrtab.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-02-26 07:35:21 -0800
committerRichard Henderson <rth@gcc.gnu.org>1999-02-26 07:35:21 -0800
commit6166aa0143a01709cc95c550d88ce3f179408ed3 (patch)
tree449f98d5410165e1ff94a4216465eb37b7498c1b /gcc/genattrtab.c
parentafe81dd65041bd9c567e8a7f4567da9b08db60e3 (diff)
downloadgcc-6166aa0143a01709cc95c550d88ce3f179408ed3.zip
gcc-6166aa0143a01709cc95c550d88ce3f179408ed3.tar.gz
gcc-6166aa0143a01709cc95c550d88ce3f179408ed3.tar.bz2
genattrtab.c (simplify_knowing): Fix uninitialized read in Feb 21 change.
* genattrtab.c (simplify_knowing): Fix uninitialized read in Feb 21 change. From-SVN: r25472
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r--gcc/genattrtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c
index f6008df..acba4f7 100644
--- a/gcc/genattrtab.c
+++ b/gcc/genattrtab.c
@@ -2214,7 +2214,7 @@ simplify_knowing (exp, known_true)
{
if (GET_CODE (exp) != CONST_STRING)
{
- int unknown, max;
+ int unknown = 0, max;
max = max_attr_value (exp, &unknown);
if (! unknown)
{