public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/8564
@ 2002-12-12 8:06 Wolfgang Bangerth
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Bangerth @ 2002-12-12 8:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/8564; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c++/8564
Date: Thu, 12 Dec 2002 10:04:47 -0600 (CST)
This patchset:
> 2001-01-03 Jason Merrill <jason@redhat.com>
>
> * init.c (build_default_init): New fn.
> (perform_member_init): Split out from here.
> (build_new_1): Use it. Simplify initialization logic.
> (build_vec_init): Take an array, rather than a pointer and maxindex.
> Speed up simple initializations. Don't clean up if we're assigning.
> * cp-tree.h: Adjust.
> * decl2.c (do_static_initialization): Remove TREE_VEC case.
> * parse.y (new_initializer): Return void_zero_node for ().
> * typeck.c (build_modify_expr): Handle getting a CONSTRUCTOR.
> * typeck2.c (digest_init): Only complain about user-written
> CONSTRUCTORs.
is causing high priority regression PR 8564. The testcase for this PR is
------------------------
struct A { static char* p; };
int i = 1;
char* A::p = new char[i];
void foo() {}
------------------------
It fails like so:
bash-2.05$ ../gcc/bin-2001-01-02/gcc/cc1plus -O -quiet PR8564.cc
PR8564.cc: In function `void __static_initialization_and_destruction_0(int, int)':
PR8564.cc:8: Internal compiler error in find_function_data, at function.c:327
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Regards
Wolfgang
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth
^ permalink raw reply [flat|nested] 4+ messages in thread
* c++/8564
@ 2003-01-17 3:46 jason
0 siblings, 0 replies; 4+ messages in thread
From: jason @ 2003-01-17 3:46 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/8564; it has been noted by GNATS.
From: jason@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: c++/8564
Date: 17 Jan 2003 03:43:53 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jason@gcc.gnu.org 2003-01-16 19:43:53
Modified files:
gcc/cp : ChangeLog cp-tree.h init.c typeck.c
Log message:
PR c++/8564
* init.c (build_vec_init): Re-add maxindex parm.
(perform_member_init, build_aggr_init): Pass it.
(build_new_1): Pass it. Use an incomplete array type for full_type.
* typeck.c (build_modify_expr): Pass it.
* cp-tree.h: Adjust.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3163&r2=1.3164
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&r1=1.801&r2=1.802
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/init.c.diff?cvsroot=gcc&r1=1.305&r2=1.306
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.444&r2=1.445
^ permalink raw reply [flat|nested] 4+ messages in thread
* c++/8564
@ 2003-01-17 3:46 jason
0 siblings, 0 replies; 4+ messages in thread
From: jason @ 2003-01-17 3:46 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/8564; it has been noted by GNATS.
From: jason@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: c++/8564
Date: 17 Jan 2003 03:43:53 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jason@gcc.gnu.org 2003-01-16 19:43:52
Added files:
gcc/testsuite/g++.dg/init: new3.C
Log message:
PR c++/8564
* init.c (build_vec_init): Re-add maxindex parm.
(perform_member_init, build_aggr_init): Pass it.
(build_new_1): Pass it. Use an incomplete array type for full_type.
* typeck.c (build_modify_expr): Pass it.
* cp-tree.h: Adjust.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/new3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* c++/8564
@ 2003-01-17 3:46 jason
0 siblings, 0 replies; 4+ messages in thread
From: jason @ 2003-01-17 3:46 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/8564; it has been noted by GNATS.
From: jason@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: c++/8564
Date: 17 Jan 2003 03:44:10 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: jason@gcc.gnu.org 2003-01-16 19:44:10
Modified files:
gcc/cp : ChangeLog cp-tree.h init.c typeck.c
Log message:
PR c++/8564
* init.c (build_vec_init): Re-add maxindex parm.
(perform_member_init, build_aggr_init): Pass it.
(build_new_1): Pass it. Use an incomplete array type for full_type.
* typeck.c (build_modify_expr): Pass it.
* cp-tree.h: Adjust.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3076.2.17&r2=1.3076.2.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.776.2.3&r2=1.776.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/init.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.299&r2=1.299.2.1
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&r2=1.436.2.1
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-01-17 3:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-12 8:06 c++/8564 Wolfgang Bangerth
2003-01-17 3:46 c++/8564 jason
2003-01-17 3:46 c++/8564 jason
2003-01-17 3:46 c++/8564 jason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).