[Bug c++/86911] [9 Regression] ICE in gcc/c-family/c-indentation.c:403

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 10 13:28:00 GMT 2018


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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Sounds very probable, this is what I see in GDB:

$ Breakpoint 1, get_visual_column (exploc=..., loc=2147489278,
out=0x7fffffffca24, first_nws=0x0) at
/home/marxin/Programming/gcc2/gcc/c-family/c-indentation.c:79
79      in /home/marxin/Programming/gcc2/gcc/c-family/c-indentation.c
(gdb) p line
$3 = {m_ptr = 0x7ffff5ebde79 "    {\n      while (__first != __last &&
!__pred(__first))\n\t++__first;\n      return __first;\n    }\n\n  /// This is
an overload used by find algos for the RAI case.\n  template<typename
_RandomAccessItera"..., m_n_elts = 5}

$ (gdb) p i
$6 = 6

May I help with debugging or is it clear what happens?


More information about the Gcc-bugs mailing list