* [Bug middle-end/64824] ICE in gimple verification
2015-01-27 19:27 [Bug middle-end/64824] New: ICE in gimple verification u17263 at att dot net
@ 2015-02-04 22:33 ` jakub at gcc dot gnu.org
2015-02-04 22:40 ` jakub at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-04 22:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64824
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 4 22:32:36 2015
New Revision: 220420
URL: https://gcc.gnu.org/viewcvs?rev=220420&root=gcc&view=rev
Log:
PR c/64824
PR c/64868
gcc/c/
* c-parser.c (c_parser_omp_atomic): Handle RDIV_EXPR.
gcc/cp/
* parser.c (cp_parser_omp_atomic): Handle RDIV_EXPR.
gcc/c-family/
* c-omp.c (c_finish_omp_atomic): Use TRUNC_DIV_EXPR
instead of RDIV_EXPR. Use build_binary_op instead of
build2_loc.
libgomp/
* testsuite/libgomp.c/pr64824.c: New test.
* testsuite/libgomp.c/pr64868.c: New test.
* testsuite/libgomp.c++/pr64824.C: New test.
* testsuite/libgomp.c++/pr64868.C: New test.
Added:
trunk/libgomp/testsuite/libgomp.c++/pr64824.C
trunk/libgomp/testsuite/libgomp.c++/pr64868.C
trunk/libgomp/testsuite/libgomp.c/pr64824.c
trunk/libgomp/testsuite/libgomp.c/pr64868.c
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-omp.c
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-parser.c
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/libgomp/ChangeLog
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/64824] ICE in gimple verification
2015-01-27 19:27 [Bug middle-end/64824] New: ICE in gimple verification u17263 at att dot net
2015-02-04 22:33 ` [Bug middle-end/64824] " jakub at gcc dot gnu.org
@ 2015-02-04 22:40 ` jakub at gcc dot gnu.org
2015-02-11 9:41 ` dcb314 at hotmail dot com
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-04 22:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64824
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2015-02-04
CC| |jakub at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk so far.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/64824] ICE in gimple verification
2015-01-27 19:27 [Bug middle-end/64824] New: ICE in gimple verification u17263 at att dot net
2015-02-04 22:33 ` [Bug middle-end/64824] " jakub at gcc dot gnu.org
2015-02-04 22:40 ` jakub at gcc dot gnu.org
@ 2015-02-11 9:41 ` dcb314 at hotmail dot com
2015-02-11 9:42 ` dcb314 at hotmail dot com
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2015-02-11 9:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64824
David Binderman <dcb314 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dcb314 at hotmail dot com
--- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---
Created attachment 34720
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34720&action=edit
C++ source code
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/64824] ICE in gimple verification
2015-01-27 19:27 [Bug middle-end/64824] New: ICE in gimple verification u17263 at att dot net
` (2 preceding siblings ...)
2015-02-11 9:41 ` dcb314 at hotmail dot com
@ 2015-02-11 9:42 ` dcb314 at hotmail dot com
2015-02-11 9:53 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2015-02-11 9:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64824
--- Comment #4 from David Binderman <dcb314 at hotmail dot com> ---
The attached code fails on trunk dated 20150211
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:166:6: error: type mismatch in
shift
expression
DEFINE_OP(rol_32_T0_im, T0 = do_rol_32(T0, PARAM1));
^
unsigned int
unsigned int
int *
T0.167 = T0.166 r<< &__op_PARAM1;
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:166:6: internal compiler error:
veri
fy_gimple failed
0xc05b14 verify_gimple_in_seq(gimple_statement_base*)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/64824] ICE in gimple verification
2015-01-27 19:27 [Bug middle-end/64824] New: ICE in gimple verification u17263 at att dot net
` (3 preceding siblings ...)
2015-02-11 9:42 ` dcb314 at hotmail dot com
@ 2015-02-11 9:53 ` jakub at gcc dot gnu.org
2015-02-11 13:41 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-11 9:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64824
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
What does #c3 have to do with this? I don't see any OpenMP pragmas in your
code, therefore it can't be related to this. File a new PR?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/64824] ICE in gimple verification
2015-01-27 19:27 [Bug middle-end/64824] New: ICE in gimple verification u17263 at att dot net
` (4 preceding siblings ...)
2015-02-11 9:53 ` jakub at gcc dot gnu.org
@ 2015-02-11 13:41 ` jakub at gcc dot gnu.org
2015-02-11 14:44 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-11 13:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64824
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 11 13:40:31 2015
New Revision: 220617
URL: https://gcc.gnu.org/viewcvs?rev=220617&root=gcc&view=rev
Log:
PR c/64824
* c-parser.c (c_parser_binary_expression): Fix OpenMP stack[sp].prec
check in the POP macro.
* testsuite/libgomp.c/atomic-18.c: New test.
* testsuite/libgomp.c++/atomic-16.C: New test.
Added:
trunk/libgomp/testsuite/libgomp.c++/atomic-16.C
trunk/libgomp/testsuite/libgomp.c/atomic-18.c
Modified:
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-parser.c
trunk/libgomp/ChangeLog
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/64824] ICE in gimple verification
2015-01-27 19:27 [Bug middle-end/64824] New: ICE in gimple verification u17263 at att dot net
` (5 preceding siblings ...)
2015-02-11 13:41 ` jakub at gcc dot gnu.org
@ 2015-02-11 14:44 ` jakub at gcc dot gnu.org
2015-02-11 14:49 ` jakub at gcc dot gnu.org
2015-09-09 17:12 ` jakub at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-11 14:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64824
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 11 14:44:10 2015
New Revision: 220622
URL: https://gcc.gnu.org/viewcvs?rev=220622&root=gcc&view=rev
Log:
Backported from mainline
2015-02-04 Jakub Jelinek <jakub@redhat.com>
PR c/64824
PR c/64868
* c-omp.c (c_finish_omp_atomic): Use TRUNC_DIV_EXPR
instead of RDIV_EXPR. Use build_binary_op instead of
build2_loc.
* c-parser.c (c_parser_omp_atomic): Handle RDIV_EXPR.
* parser.c (cp_parser_omp_atomic): Handle RDIV_EXPR.
* testsuite/libgomp.c/pr64824.c: New test.
* testsuite/libgomp.c/pr64868.c: New test.
* testsuite/libgomp.c++/pr64824.C: New test.
* testsuite/libgomp.c++/pr64868.C: New test.
Added:
branches/gcc-4_9-branch/libgomp/testsuite/libgomp.c++/pr64824.C
branches/gcc-4_9-branch/libgomp/testsuite/libgomp.c++/pr64868.C
branches/gcc-4_9-branch/libgomp/testsuite/libgomp.c/pr64824.c
branches/gcc-4_9-branch/libgomp/testsuite/libgomp.c/pr64868.c
Modified:
branches/gcc-4_9-branch/gcc/c-family/ChangeLog
branches/gcc-4_9-branch/gcc/c-family/c-omp.c
branches/gcc-4_9-branch/gcc/c/ChangeLog
branches/gcc-4_9-branch/gcc/c/c-parser.c
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/parser.c
branches/gcc-4_9-branch/libgomp/ChangeLog
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/64824] ICE in gimple verification
2015-01-27 19:27 [Bug middle-end/64824] New: ICE in gimple verification u17263 at att dot net
` (6 preceding siblings ...)
2015-02-11 14:44 ` jakub at gcc dot gnu.org
@ 2015-02-11 14:49 ` jakub at gcc dot gnu.org
2015-09-09 17:12 ` jakub at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-11 14:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64824
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 11 14:48:41 2015
New Revision: 220624
URL: https://gcc.gnu.org/viewcvs?rev=220624&root=gcc&view=rev
Log:
PR c/64824
* c-parser.c (c_parser_binary_expression): Fix OpenMP stack[sp].prec
check in the POP macro.
* testsuite/libgomp.c/atomic-18.c: New test.
* testsuite/libgomp.c++/atomic-16.C: New test.
Added:
branches/gcc-4_9-branch/libgomp/testsuite/libgomp.c++/atomic-16.C
branches/gcc-4_9-branch/libgomp/testsuite/libgomp.c/atomic-18.c
Modified:
branches/gcc-4_9-branch/gcc/c/ChangeLog
branches/gcc-4_9-branch/gcc/c/c-parser.c
branches/gcc-4_9-branch/libgomp/ChangeLog
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/64824] ICE in gimple verification
2015-01-27 19:27 [Bug middle-end/64824] New: ICE in gimple verification u17263 at att dot net
` (7 preceding siblings ...)
2015-02-11 14:49 ` jakub at gcc dot gnu.org
@ 2015-09-09 17:12 ` jakub at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-09-09 17:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64824
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 10+ messages in thread