* [Bug c++/52639] ice in supportable_widening_operation
2012-03-20 18:20 [Bug c/52639] New: ice in supportable_widening_operation dcb314 at hotmail dot com
@ 2012-03-20 19:01 ` dcb314 at hotmail dot com
2012-03-31 23:29 ` paolo.carlini at oracle dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2012-03-20 19:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52639
dcb <dcb314 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |c++
--- Comment #1 from dcb <dcb314 at hotmail dot com> 2012-03-20 18:50:21 UTC ---
The source code is C++, not C. My mistake, sorry.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/52639] ice in supportable_widening_operation
2012-03-20 18:20 [Bug c/52639] New: ice in supportable_widening_operation dcb314 at hotmail dot com
2012-03-20 19:01 ` [Bug c++/52639] " dcb314 at hotmail dot com
@ 2012-03-31 23:29 ` paolo.carlini at oracle dot com
2012-04-03 19:29 ` dcb314 at hotmail dot com
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-03-31 23:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52639
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2012-03-31
Ever Confirmed|0 |1
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-03-31 23:17:45 UTC ---
Please, do your best to reduce the size of the reproducer:
http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/52639] ice in supportable_widening_operation
2012-03-20 18:20 [Bug c/52639] New: ice in supportable_widening_operation dcb314 at hotmail dot com
2012-03-20 19:01 ` [Bug c++/52639] " dcb314 at hotmail dot com
2012-03-31 23:29 ` paolo.carlini at oracle dot com
@ 2012-04-03 19:29 ` dcb314 at hotmail dot com
2012-04-03 19:32 ` dcb314 at hotmail dot com
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2012-04-03 19:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52639
--- Comment #3 from dcb <dcb314 at hotmail dot com> 2012-04-03 19:29:11 UTC ---
Created attachment 27079
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27079
C++ source code
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/52639] ice in supportable_widening_operation
2012-03-20 18:20 [Bug c/52639] New: ice in supportable_widening_operation dcb314 at hotmail dot com
` (2 preceding siblings ...)
2012-04-03 19:29 ` dcb314 at hotmail dot com
@ 2012-04-03 19:32 ` dcb314 at hotmail dot com
2012-04-24 13:23 ` vincent-gcc at vinc17 dot net
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2012-04-03 19:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52639
--- Comment #4 from dcb <dcb314 at hotmail dot com> 2012-04-03 19:31:58 UTC ---
Finally, I managed to get delta to do something useful.
Minimal test case attached.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/52639] ice in supportable_widening_operation
2012-03-20 18:20 [Bug c/52639] New: ice in supportable_widening_operation dcb314 at hotmail dot com
` (3 preceding siblings ...)
2012-04-03 19:32 ` dcb314 at hotmail dot com
@ 2012-04-24 13:23 ` vincent-gcc at vinc17 dot net
2012-04-24 14:05 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: vincent-gcc at vinc17 dot net @ 2012-04-24 13:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52639
--- Comment #5 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> 2012-04-24 13:22:08 UTC ---
Same problem here under Debian/unstable (x86_64), with:
gcc-snapshot -O3 -march=native -std=gnu99 -c ice-setf.i
and the testcase below, using:
gcc (Debian 20120407-1) 4.8.0 20120407 (experimental) [trunk revision 186212]
Here's a simpler testcase:
// /usr/lib/gcc-snapshot/libexec/gcc/x86_64-linux-gnu/4.8.0/cc1 -fpreprocessed
ice-setf.i -march=corei7 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mpopcnt
-mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm
-mno-avx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt --param l1-cache-size=32
--param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7 -quiet
-dumpbase ice-setf.i -auxbase ice-setf -O3 -std=gnu99 -o - -frandom-seed=0
# 1 "ice-setf.i"
int a(int *, unsigned long);
int g(unsigned long);
void r(int, long);
int foo(unsigned long sy, int *x, int i)
{
unsigned long sx = x[0];
if (sy <= sx)
{
unsigned long p = sx * 64;
int m = 0;
int tmp = i ? g(sx) : a(&m, sx);
r(tmp, p);
}
return 0;
}
The ICE is reproducible with -O3, but not with -O2. Also note that this is C,
not C++.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/52639] ice in supportable_widening_operation
2012-03-20 18:20 [Bug c/52639] New: ice in supportable_widening_operation dcb314 at hotmail dot com
` (4 preceding siblings ...)
2012-04-24 13:23 ` vincent-gcc at vinc17 dot net
@ 2012-04-24 14:05 ` rguenth at gcc dot gnu.org
2012-04-24 18:09 ` dcb314 at hotmail dot com
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-04-24 14:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52639
--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-04-24 14:04:42 UTC ---
Supposedly fixed by
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.
meaning, I cannot reproduce it.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/52639] ice in supportable_widening_operation
2012-03-20 18:20 [Bug c/52639] New: ice in supportable_widening_operation dcb314 at hotmail dot com
` (5 preceding siblings ...)
2012-04-24 14:05 ` rguenth at gcc dot gnu.org
@ 2012-04-24 18:09 ` dcb314 at hotmail dot com
2012-04-24 23:58 ` vincent-gcc at vinc17 dot net
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2012-04-24 18:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52639
--- Comment #7 from dcb <dcb314 at hotmail dot com> 2012-04-24 18:08:53 UTC ---
(In reply to comment #6)
> Supposedly fixed by
>
> 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.
>
> meaning, I cannot reproduce it.
I checked and trunk 20120422 doesn't seem to have this bug.
So it looks fixed to me. Suggest mark resolved.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/52639] ice in supportable_widening_operation
2012-03-20 18:20 [Bug c/52639] New: ice in supportable_widening_operation dcb314 at hotmail dot com
` (6 preceding siblings ...)
2012-04-24 18:09 ` dcb314 at hotmail dot com
@ 2012-04-24 23:58 ` vincent-gcc at vinc17 dot net
2012-04-25 0:18 ` paolo.carlini at oracle dot com
2014-02-16 10:02 ` jackie.rosen at hushmail dot com
9 siblings, 0 replies; 11+ messages in thread
From: vincent-gcc at vinc17 dot net @ 2012-04-24 23:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52639
--- Comment #8 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> 2012-04-24 23:58:06 UTC ---
I confirm that rebuilding gcc-snapshot with the patch
http://gcc.gnu.org/viewcvs?view=revision&revision=186272 for PR
tree-optimization/52870 solves the problem.
So, I think that this bug should be closed as a duplicate of bug 52870.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/52639] ice in supportable_widening_operation
2012-03-20 18:20 [Bug c/52639] New: ice in supportable_widening_operation dcb314 at hotmail dot com
` (7 preceding siblings ...)
2012-04-24 23:58 ` vincent-gcc at vinc17 dot net
@ 2012-04-25 0:18 ` paolo.carlini at oracle dot com
2014-02-16 10:02 ` jackie.rosen at hushmail dot com
9 siblings, 0 replies; 11+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-04-25 0:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52639
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |DUPLICATE
--- Comment #9 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-04-25 00:17:23 UTC ---
*** This bug has been marked as a duplicate of bug 52870 ***
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/52639] ice in supportable_widening_operation
2012-03-20 18:20 [Bug c/52639] New: ice in supportable_widening_operation dcb314 at hotmail dot com
` (8 preceding siblings ...)
2012-04-25 0:18 ` paolo.carlini at oracle dot com
@ 2014-02-16 10:02 ` jackie.rosen at hushmail dot com
9 siblings, 0 replies; 11+ messages in thread
From: jackie.rosen at hushmail dot com @ 2014-02-16 10:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52639
Jackie Rosen <jackie.rosen at hushmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jackie.rosen at hushmail dot com
--- Comment #10 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Marked for reference. Resolved as fixed @bugzilla.
^ permalink raw reply [flat|nested] 11+ messages in thread