[Bug c++/20536] G++ segfault on tiny snipped of invalid code
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 22 09:12:00 GMT 2005
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-22 09:11 -------
Subject: Bug 20536
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: paolo@gcc.gnu.org 2005-03-22 09:11:03
Modified files:
gcc/cp : ChangeLog init.c parser.c
Log message:
2005-03-22 Paolo Carlini <pcarlini@suse.de>
PR c++/20461
PR c++/20536
* init.c (emit_mem_initializers): Don't crash on undefined
types.
2005-03-22 Paolo Carlini <pcarlini@suse.de>
PR c++/20463
* parser.c (cp_parser_diagnose_invalid_type_name):
Check TYPE_BINFO (current_class_type) before attempting
to emit inform messages.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.13&r2=1.4648.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/init.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.412.2.2&r2=1.412.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.319.2.1&r2=1.319.2.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20536
More information about the Gcc-bugs
mailing list