[Bug c++/10635] [3.3/3.4 regression] ICE (segfault) when dereferencing an incomplete type casted from a void pointer
cvs-commit@gcc.gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 12 17:22:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10635
------- Additional Comments From cvs-commit@gcc.gnu.org 2003-06-12 17:22 -------
Subject: Bug 10635
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: mmitchel@gcc.gnu.org 2003-06-12 17:22:30
Modified files:
gcc/cp : Make-lang.in mangle.c typeck.c
Added files:
gcc/testsuite/g++.dg/expr: cast1.C
Log message:
PR c++/10635
* typeck.c (build_c_cast): Check that the destination type is
complete.
PR c++/10635
* g++.dg/expr/cast1.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/cast1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/Make-lang.in.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.125.4.3&r2=1.125.4.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/mangle.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.63.2.2&r2=1.63.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.436.2.7&r2=1.436.2.8
------- Additional Comments From cvs-commit@gcc.gnu.org 2003-06-12 17:22 -------
Subject: Bug 10635
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: mmitchel@gcc.gnu.org 2003-06-12 17:22:30
Modified files:
gcc/cp : Make-lang.in mangle.c typeck.c
Added files:
gcc/testsuite/g++.dg/expr: cast1.C
Log message:
PR c++/10635
* typeck.c (build_c_cast): Check that the destination type is
complete.
PR c++/10635
* g++.dg/expr/cast1.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/cast1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/Make-lang.in.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.125.4.3&r2=1.125.4.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/mangle.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.63.2.2&r2=1.63.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.436.2.7&r2=1.436.2.8
More information about the Gcc-bugs
mailing list