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

            Bug ID: 98267
           Summary: internal compiler error: verify_ssa failed
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ryan.burn at gmail dot com
  Target Milestone: ---

Compiling valgrind-3.16.1 fails with the error message below using the latest
version of gcc.

gcc --version
root@929ac6d10aed:/valgrind/valgrind-3.16.1# gcc --version
gcc (GCC) 11.0.0 20201213 (experimental)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



################### Error
m_debuginfo/readpdb.c: In function 'DEBUG_SnarfLinetab':
m_debuginfo/readpdb.c:1631:16: warning: this 'if' clause does not guard...
[-Wmisleading-indentation]
 1631 |                if (debug)
      |                ^~
In file included from ./pub_core_basics.h:38,
                 from m_debuginfo/readpdb.c:38:
../include/pub_tool_basics.h:69:30: note: ...this statement, but the latter is
misleadingly indented as if it were guarded by the 'if'
   69 | #define ML_(str)    VGAPPEND(vgModuleLocal_,    str)
      |                              ^~~~~~~~~~~~~~
../include/pub_tool_basics.h:66:29: note: in definition of macro 'VGAPPEND'
   66 | #define VGAPPEND(str1,str2) str1##str2
      |                             ^~~~
m_debuginfo/readpdb.c:1636:19: note: in expansion of macro 'ML_'
 1636 |                   ML_(addLineInfo)(
      |                   ^~~
m_debuginfo/readpdb.c: In function 'pdb_dump.constprop':
m_debuginfo/readpdb.c:1902:13: error: definition in block 66 follows the use
 1902 | static void pdb_dump( const struct pdb_reader* pdb,
      |             ^~~~~~~~
for SSA_NAME: _144 in statement:
_928 = .ADD_OVERFLOW (_142, _144);
during GIMPLE pass: widening_mul
m_debuginfo/readpdb.c:1902:13: internal compiler error: verify_ssa failed
0xffff5f verify_ssa(bool, bool)
        ../../gcc/tree-ssa.c:1214
0xd0932d execute_function_todo
        ../../gcc/passes.c:2049
0xd09c7b execute_todo
        ../../gcc/passes.c:2096
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.

Reply via email to