aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/parse.c
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2021-06-16 13:01:21 -0400
committerAndrew MacLeod <amacleod@redhat.com>2021-06-16 13:01:21 -0400
commitbdfc1207bd20cf1ad81fca121e4f7df4995cc0d6 (patch)
treea4460d7256782b6ad7c8c078f0bca319cbfc34f7 /gcc/fortran/parse.c
parent9e64426dae129cca5b62355ef6c5a3bd6137e830 (diff)
downloadgcc-bdfc1207bd20cf1ad81fca121e4f7df4995cc0d6.zip
gcc-bdfc1207bd20cf1ad81fca121e4f7df4995cc0d6.tar.gz
gcc-bdfc1207bd20cf1ad81fca121e4f7df4995cc0d6.tar.bz2
Avoid loading an undefined value in the ranger_cache constructor.
Enable_new_values takes a boolean, returning the old value. The constructor for ranger_cache initialized the m_new_value_p field by calling this routine and ignorng the result. This potentially loads the old value uninitialized. * gimple-range-cache.cc (ranger_cache::ranger_cache): Initialize m_new_value_p directly.
Diffstat (limited to 'gcc/fortran/parse.c')
0 files changed, 0 insertions, 0 deletions