[Bug bootstrap/78493] profiledbootstrap failure: error: attempt to free a non-heap object 'names' in ../../gcc/cp/parser.c:11482:23

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 24 11:29:00 GMT 2016


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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Nov 24 11:26:12 2016
New Revision: 242828

URL: https://gcc.gnu.org/viewcvs?rev=242828&root=gcc&view=rev
Log:
cp_parser_range_for: use safe_push instead of quick_push (PR

        PR bootstrap/78493
        * parser.c (cp_parser_range_for): Use safe_push instead of quick_push.
        PR bootstrap/78493
        * g++.dg/cpp1z/decomp18.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/decomp18.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list