* [Bug tree-optimization/52633] [4.7 Regression] Compiler ICE in vect_is_simple_use_1 (ARM)
2012-03-20 9:09 [Bug tree-optimization/52633] New: Compiler ICE in vect_is_simple_use_1 (ARM) juha.kallioinen at nokia dot com
@ 2012-03-20 11:14 ` rguenth at gcc dot gnu.org
2012-03-23 16:41 ` uweigand at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-03-20 11:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52633
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |armv7hl-*-gnueabi
Known to work| |4.6.3
Target Milestone|--- |4.7.1
Summary|Compiler ICE in |[4.7 Regression] Compiler
|vect_is_simple_use_1 (ARM) |ICE in vect_is_simple_use_1
| |(ARM)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/52633] [4.7 Regression] Compiler ICE in vect_is_simple_use_1 (ARM)
2012-03-20 9:09 [Bug tree-optimization/52633] New: Compiler ICE in vect_is_simple_use_1 (ARM) juha.kallioinen at nokia dot com
2012-03-20 11:14 ` [Bug tree-optimization/52633] [4.7 Regression] " rguenth at gcc dot gnu.org
@ 2012-03-23 16:41 ` uweigand at gcc dot gnu.org
2012-04-13 13:11 ` [Bug tree-optimization/52633] [4.7/4.8 " rguenth at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: uweigand at gcc dot gnu.org @ 2012-03-23 16:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52633
Ulrich Weigand <uweigand at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2012-03-23
CC| |uweigand at gcc dot gnu.org
AssignedTo|unassigned at gcc dot |uweigand at gcc dot gnu.org
|gnu.org |
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/52633] [4.7/4.8 Regression] Compiler ICE in vect_is_simple_use_1 (ARM)
2012-03-20 9:09 [Bug tree-optimization/52633] New: Compiler ICE in vect_is_simple_use_1 (ARM) juha.kallioinen at nokia dot com
2012-03-20 11:14 ` [Bug tree-optimization/52633] [4.7 Regression] " rguenth at gcc dot gnu.org
2012-03-23 16:41 ` uweigand at gcc dot gnu.org
@ 2012-04-13 13:11 ` rguenth at gcc dot gnu.org
2012-04-24 16:53 ` uweigand at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-04-13 13:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52633
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
Summary|[4.7 Regression] Compiler |[4.7/4.8 Regression]
|ICE in vect_is_simple_use_1 |Compiler ICE in
|(ARM) |vect_is_simple_use_1 (ARM)
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-04-13 13:10:40 UTC ---
I suppose also broken on trunk.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/52633] [4.7/4.8 Regression] Compiler ICE in vect_is_simple_use_1 (ARM)
2012-03-20 9:09 [Bug tree-optimization/52633] New: Compiler ICE in vect_is_simple_use_1 (ARM) juha.kallioinen at nokia dot com
` (2 preceding siblings ...)
2012-04-13 13:11 ` [Bug tree-optimization/52633] [4.7/4.8 " rguenth at gcc dot gnu.org
@ 2012-04-24 16:53 ` uweigand at gcc dot gnu.org
2012-05-04 12:47 ` uweigand at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: uweigand at gcc dot gnu.org @ 2012-04-24 16:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52633
--- Comment #2 from Ulrich Weigand <uweigand at gcc dot gnu.org> 2012-04-24 16:52:59 UTC ---
Some more details on what's going on here:
http://gcc.gnu.org/ml/gcc-patches/2012-04/msg01486.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/52633] [4.7/4.8 Regression] Compiler ICE in vect_is_simple_use_1 (ARM)
2012-03-20 9:09 [Bug tree-optimization/52633] New: Compiler ICE in vect_is_simple_use_1 (ARM) juha.kallioinen at nokia dot com
` (3 preceding siblings ...)
2012-04-24 16:53 ` uweigand at gcc dot gnu.org
@ 2012-05-04 12:47 ` uweigand at gcc dot gnu.org
2012-05-04 12:49 ` uweigand at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: uweigand at gcc dot gnu.org @ 2012-05-04 12:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52633
--- Comment #3 from Ulrich Weigand <uweigand at gcc dot gnu.org> 2012-05-04 12:46:14 UTC ---
Author: uweigand
Date: Fri May 4 12:46:04 2012
New Revision: 187158
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187158
Log:
gcc/
PR tree-optimization/52633
* tree-vect-patterns.c (vect_vect_recog_func_ptrs): Swap order of
vect_recog_widen_shift_pattern and vect_recog_over_widening_pattern.
(vect_recog_over_widening_pattern): Remove handling of code that was
already detected as over-widening pattern. Remove special handling
of "unsigned" cases. Instead, support general case of conversion
of the shift result to another type.
gcc/testsuite/
PR tree-optimization/52633
* gcc.dg/vect/vect-over-widen-1.c: Two patterns should now be
recognized as widening shifts instead of over-widening.
* gcc.dg/vect/vect-over-widen-1-big-array.c: Likewise.
* gcc.dg/vect/vect-over-widen-4.c: Likewise.
* gcc.dg/vect/vect-over-widen-4-big-array.c: Likewise.
* gcc.target/arm/pr52633.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/arm/pr52633.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/vect/vect-over-widen-1-big-array.c
trunk/gcc/testsuite/gcc.dg/vect/vect-over-widen-1.c
trunk/gcc/testsuite/gcc.dg/vect/vect-over-widen-4-big-array.c
trunk/gcc/testsuite/gcc.dg/vect/vect-over-widen-4.c
trunk/gcc/tree-vect-patterns.c
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/52633] [4.7/4.8 Regression] Compiler ICE in vect_is_simple_use_1 (ARM)
2012-03-20 9:09 [Bug tree-optimization/52633] New: Compiler ICE in vect_is_simple_use_1 (ARM) juha.kallioinen at nokia dot com
` (4 preceding siblings ...)
2012-05-04 12:47 ` uweigand at gcc dot gnu.org
@ 2012-05-04 12:49 ` uweigand at gcc dot gnu.org
2012-05-04 13:12 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: uweigand at gcc dot gnu.org @ 2012-05-04 12:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52633
Ulrich Weigand <uweigand at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Ulrich Weigand <uweigand at gcc dot gnu.org> 2012-05-04 12:49:02 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/52633] [4.7/4.8 Regression] Compiler ICE in vect_is_simple_use_1 (ARM)
2012-03-20 9:09 [Bug tree-optimization/52633] New: Compiler ICE in vect_is_simple_use_1 (ARM) juha.kallioinen at nokia dot com
` (5 preceding siblings ...)
2012-05-04 12:49 ` uweigand at gcc dot gnu.org
@ 2012-05-04 13:12 ` rguenth at gcc dot gnu.org
2012-05-04 14:57 ` uweigand at gcc dot gnu.org
2012-05-04 14:59 ` uweigand at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-05-04 13:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52633
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Known to work| |4.8.0
Resolution|FIXED |
Known to fail| |4.7.0
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-04 13:11:53 UTC ---
Please also fix the 4.7 branch.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/52633] [4.7/4.8 Regression] Compiler ICE in vect_is_simple_use_1 (ARM)
2012-03-20 9:09 [Bug tree-optimization/52633] New: Compiler ICE in vect_is_simple_use_1 (ARM) juha.kallioinen at nokia dot com
` (6 preceding siblings ...)
2012-05-04 13:12 ` rguenth at gcc dot gnu.org
@ 2012-05-04 14:57 ` uweigand at gcc dot gnu.org
2012-05-04 14:59 ` uweigand at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: uweigand at gcc dot gnu.org @ 2012-05-04 14:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52633
--- Comment #6 from Ulrich Weigand <uweigand at gcc dot gnu.org> 2012-05-04 14:56:52 UTC ---
Author: uweigand
Date: Fri May 4 14:56:48 2012
New Revision: 187162
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187162
Log:
2012-05-04 Ulrich Weigand <ulrich.weigand@linaro.org>
Backport from mainline:
2012-05-04 Ulrich Weigand <ulrich.weigand@linaro.org>
PR tree-optimization/52633
* tree-vect-patterns.c (vect_vect_recog_func_ptrs): Swap order of
vect_recog_widen_shift_pattern and vect_recog_over_widening_pattern.
(vect_recog_over_widening_pattern): Remove handling of code that was
already detected as over-widening pattern. Remove special handling
of "unsigned" cases. Instead, support general case of conversion
of the shift result to another type.
2012-05-04 Ulrich Weigand <ulrich.weigand@linaro.org>
* tree-vect-patterns.c (vect_single_imm_use): New function.
(vect_recog_widen_mult_pattern): Use it instead of open-coding loop.
(vect_recog_over_widening_pattern): Likewise.
(vect_recog_widen_shift_pattern): Likewise.
2012-04-10 Ulrich Weigand <ulrich.weigand@linaro.org>
PR tree-optimization/52870
* tree-vect-patterns.c (vect_recog_widen_mult_pattern): Verify that
presumed pattern statement is within the same loop or basic block.
2012-05-04 Ulrich Weigand <ulrich.weigand@linaro.org>
Backport from mainline:
2012-05-04 Ulrich Weigand <ulrich.weigand@linaro.org>
PR tree-optimization/52633
* gcc.dg/vect/vect-over-widen-1.c: Two patterns should now be
recognized as widening shifts instead of over-widening.
* gcc.dg/vect/vect-over-widen-1-big-array.c: Likewise.
* gcc.dg/vect/vect-over-widen-4.c: Likewise.
* gcc.dg/vect/vect-over-widen-4-big-array.c: Likewise.
* gcc.target/arm/pr52633.c: New test.
2012-04-10 Ulrich Weigand <ulrich.weigand@linaro.org>
PR tree-optimization/52870
* gcc.dg/vect/pr52870.c: New test.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/vect/pr52870.c
branches/gcc-4_7-branch/gcc/testsuite/gcc.target/arm/pr52633.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/vect/vect-over-widen-1-big-array.c
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/vect/vect-over-widen-1.c
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/vect/vect-over-widen-4-big-array.c
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/vect/vect-over-widen-4.c
branches/gcc-4_7-branch/gcc/tree-vect-patterns.c
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/52633] [4.7/4.8 Regression] Compiler ICE in vect_is_simple_use_1 (ARM)
2012-03-20 9:09 [Bug tree-optimization/52633] New: Compiler ICE in vect_is_simple_use_1 (ARM) juha.kallioinen at nokia dot com
` (7 preceding siblings ...)
2012-05-04 14:57 ` uweigand at gcc dot gnu.org
@ 2012-05-04 14:59 ` uweigand at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: uweigand at gcc dot gnu.org @ 2012-05-04 14:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52633
Ulrich Weigand <uweigand at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #7 from Ulrich Weigand <uweigand at gcc dot gnu.org> 2012-05-04 14:59:23 UTC ---
Backported to 4.7. (This incidentally also fixes PR 52870, even though we
don't have a test case exposing that problem on 4.7 ...)
^ permalink raw reply [flat|nested] 10+ messages in thread