https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89747

            Bug ID: 89747
           Summary: valgrind error in gfc_match_decl_type_spec
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

From this configure line:

../trunk/configure --prefix=/home/dcb/gcc/results.269700.valgrind \
        --disable-multilib \
        --disable-werror \
        --enable-checking=valgrind \
        --enable-languages=ada,c,c++,fortran

with revision 269700

$ svn info 
Path: .
Working Copy Root Path: /home/dcb/gcc/trunk
URL: svn://gcc.gnu.org/svn/gcc/trunk
Relative URL: ^/trunk
Repository Root: svn://gcc.gnu.org/svn/gcc
Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4
Revision: 269700
Node Kind: directory
Schedule: normal
Last Changed Author: jakub
Last Changed Rev: 269700
Last Changed Date: 2019-03-15 08:00:46 +0000 (Fri, 15 Mar 2019)

I got

$ egrep "^==|^Config" mk.out | more

...

Configuring in x86_64-pc-linux-gnu/libsanitizer
Configuring in x86_64-pc-linux-gnu/libvtv
Configuring in x86_64-pc-linux-gnu/libitm
Configuring in x86_64-pc-linux-gnu/libgfortran
==9649== Conditional jump or move depends on uninitialised value(s)
==9649==    at 0x628358: gfc_match_decl_type_spec(gfc_typespec*, int)
(decl.c:40
47)
==9649==    by 0x6297EC: gfc_match_data_decl() (decl.c:5950)
==9649==    by 0x688540: match_word (parse.c:65)
==9649==    by 0x688540: decode_statement() (parse.c:376)

Reply via email to