[Bug tree-optimization/19108] [4.0/4.1 regression] ICE initializing arrays
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-29 22:44 --- Subject: Bug 19108 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-29 22:43:48 Modified files: gcc: ChangeLog tree-sra.c Added files: gcc/testsuite/g++.dg/opt: pr19108.C Log message: PR tree-opt/19108 * tree-sra.c (generate_element_init_1): Handle RANGE_EXPR. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.8019r2=2.8020 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-sra.c.diff?cvsroot=gccr1=2.54r2=2.55 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/pr19108.C.diff?cvsroot=gccr1=NONEr2=1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19108
[Bug tree-optimization/19108] [4.0/4.1 regression] ICE initializing arrays
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-29 22:56 --- Subject: Bug 19108 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-03-29 22:56:05 Modified files: gcc: ChangeLog tree-sra.c Added files: gcc/testsuite/g++.dg/opt: pr19108.C Log message: PR tree-opt/19108 * tree-sra.c (generate_element_init_1): Handle RANGE_EXPR. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=2.7592.2.89r2=2.7592.2.90 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-sra.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=2.53r2=2.53.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/pr19108.C.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.2.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19108
[Bug tree-optimization/19108] [4.0/4.1 regression] ICE initializing arrays
--- Additional Comments From rth at gcc dot gnu dot org 2005-03-29 22:58 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19108
[Bug tree-optimization/19108] [4.0/4.1 regression] ICE initializing arrays
--- Additional Comments From rth at gcc dot gnu dot org 2005-03-28 19:13 --- Indeed, SRA *does* need to be updated to handle the RANGE_EXPR. And not in the hash routine at all -- it needs to happen before that. Consider the following modified test case: struct A { int i[6]; A () : i(1) {} }; struct B { A a; B(const A x) : a(x) {} }; B b=A(); int main() { return b.a.i[0] == 1 ? 0 : 1; } Steven, if you don't have time to work on this, reassign the bug to me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19108
[Bug tree-optimization/19108] [4.0/4.1 regression] ICE initializing arrays
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-28 21:04 --- Indeed I do not have time to work on this. I should have unassigned this bug long ago, sorry about that. -- What|Removed |Added AssignedTo|steven at gcc dot gnu dot |rth at gcc dot gnu dot org |org | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19108
[Bug tree-optimization/19108] [4.0/4.1 regression] ICE initializing arrays
--- Additional Comments From mmitchel at gcc dot gnu dot org 2005-03-24 17:57 --- My concern with this patch is that SRA may need other updates to full take into account RANGE_EXPR. RTH, comments? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19108
[Bug tree-optimization/19108] [4.0/4.1 regression] ICE initializing arrays
--- Additional Comments From sayler at thewalrus dot org 2005-03-18 15:49 --- working to replicate this in current CVS. -- What|Removed |Added CC||sayler at thewalrus dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19108
[Bug tree-optimization/19108] [4.0/4.1 regression] ICE initializing arrays
--- Additional Comments From sayler at thewalrus dot org 2005-03-18 23:00 --- Bug still present. The patch in #2 seems to fix the issue, though. I can't say that the hash function chosen is the most efficient, but it's surely better than an ICE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19108
[Bug tree-optimization/19108] [4.0/4.1 regression] ICE initializing arrays
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-03-16 20:52 --- Are there any news, Steven? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19108