[Bug middle-end/39447] ICE in create_data_ref with -O1 -floop-interchange

2009-03-18 Thread spop at gcc dot gnu dot org
--- Comment #8 from spop at gcc dot gnu dot org 2009-03-18 17:48 --- Fixed. -- spop at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/39447] ICE in create_data_ref with -O1 -floop-interchange

2009-03-16 Thread il dot basso dot buffo at gmail dot com
--- Comment #3 from il dot basso dot buffo at gmail dot com 2009-03-16 22:21 --- Here's a further reduction: struct Point { int line, col; Point( int l = -1, int c = 0 ) throw() : line( l ), col( c ) {} bool operator==( const Point p ) const throw() { return ( line ==

[Bug middle-end/39447] ICE in create_data_ref with -O1 -floop-interchange

2009-03-16 Thread il dot basso dot buffo at gmail dot com
--- Comment #4 from il dot basso dot buffo at gmail dot com 2009-03-16 22:24 --- Bah, here's an even smaller example: struct Point { int line, col; Point( int l = -1, int c = 0 ) throw() : line( l ), col( c ) {} bool operator==( const Point p ) const throw() { return (

Re: [Bug middle-end/39447] ICE in create_data_ref with -O1 -floop-interchange

2009-03-16 Thread Sebastian Pop
Thanks for the reduced testcase, it completely went out of my radar (by now my delta script should have finished reducing it as well on the gcc-farm, but I won't even look at it). Thanks again for the reduced case. I will look at the bug now. Sebastian

[Bug middle-end/39447] ICE in create_data_ref with -O1 -floop-interchange

2009-03-16 Thread sebpop at gmail dot com
--- Comment #5 from sebpop at gmail dot com 2009-03-16 22:34 --- Subject: Re: ICE in create_data_ref with -O1 -floop-interchange Thanks for the reduced testcase, it completely went out of my radar (by now my delta script should have finished reducing it as well on the

Re: [Bug middle-end/39447] ICE in create_data_ref with -O1 -floop-interchange

2009-03-16 Thread Sebastian Pop
Hi, I don't know who coded the overly complicated exclude_component_ref. In the graphite branch we already cleaned up all this code, but in trunk we still have it. Attached is a patch that fixes the problem by looking at whether the operand contains COMPONENT_REFs before calling the data

[Bug middle-end/39447] ICE in create_data_ref with -O1 -floop-interchange

2009-03-16 Thread sebpop at gmail dot com
--- Comment #6 from sebpop at gmail dot com 2009-03-16 23:18 --- Subject: Re: ICE in create_data_ref with -O1 -floop-interchange Hi, I don't know who coded the overly complicated exclude_component_ref. In the graphite branch we already cleaned up all this code, but in trunk

[Bug middle-end/39447] ICE in create_data_ref with -O1 -floop-interchange

2009-03-13 Thread spop at gcc dot gnu dot org
--- Comment #2 from spop at gcc dot gnu dot org 2009-03-13 17:00 --- Reducing. -- spop at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned

[Bug middle-end/39447] ICE in create_data_ref with -O1 -floop-interchange

2009-03-12 Thread il dot basso dot buffo at gmail dot com
--- Comment #1 from il dot basso dot buffo at gmail dot com 2009-03-12 20:41 --- Created an attachment (id=17452) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17452action=view) Preprocessed C++ source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39447