* [Bug middle-end/51339] [4.6/4.7 Regression] ICE: in convert_move, at expr.c:326 with -fopenmp and parallel for
2011-11-28 22:16 [Bug middle-end/51339] New: [4.6/4.7 Regression] ICE: in convert_move, at expr.c:326 with -fopenmp and parallel for zsojka at seznam dot cz
@ 2011-12-05 14:26 ` rguenth at gcc dot gnu.org
2011-12-05 15:44 ` [Bug c/51339] " jakub at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-05 14:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51339
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.3
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/51339] [4.6/4.7 Regression] ICE: in convert_move, at expr.c:326 with -fopenmp and parallel for
2011-11-28 22:16 [Bug middle-end/51339] New: [4.6/4.7 Regression] ICE: in convert_move, at expr.c:326 with -fopenmp and parallel for zsojka at seznam dot cz
2011-12-05 14:26 ` [Bug middle-end/51339] " rguenth at gcc dot gnu.org
@ 2011-12-05 15:44 ` jakub at gcc dot gnu.org
2011-12-05 16:26 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-12-05 15:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51339
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2011-12-05
CC| |jakub at gcc dot gnu.org
Component|middle-end |c
Ever Confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-05 15:44:15 UTC ---
Reduced testcase:
char g[] = "g";
void
foo (void)
{
#pragma omp parallel sections firstprivate (g) lastprivate (g)
{
#pragma omp section
g[0] = 'h';
}
}
With char g[2] this works. Seems a C FE bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/51339] [4.6/4.7 Regression] ICE: in convert_move, at expr.c:326 with -fopenmp and parallel for
2011-11-28 22:16 [Bug middle-end/51339] New: [4.6/4.7 Regression] ICE: in convert_move, at expr.c:326 with -fopenmp and parallel for zsojka at seznam dot cz
2011-12-05 14:26 ` [Bug middle-end/51339] " rguenth at gcc dot gnu.org
2011-12-05 15:44 ` [Bug c/51339] " jakub at gcc dot gnu.org
@ 2011-12-05 16:26 ` jakub at gcc dot gnu.org
2011-12-05 20:50 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-12-05 16:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51339
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-05 16:25:33 UTC ---
Created attachment 25993
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25993
gcc47-pr51339.patch
Untested fix.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/51339] [4.6/4.7 Regression] ICE: in convert_move, at expr.c:326 with -fopenmp and parallel for
2011-11-28 22:16 [Bug middle-end/51339] New: [4.6/4.7 Regression] ICE: in convert_move, at expr.c:326 with -fopenmp and parallel for zsojka at seznam dot cz
` (2 preceding siblings ...)
2011-12-05 16:26 ` jakub at gcc dot gnu.org
@ 2011-12-05 20:50 ` jakub at gcc dot gnu.org
2011-12-05 21:04 ` [Bug c/51339] [4.6 " jakub at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-12-05 20:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51339
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-05 20:49:42 UTC ---
Author: jakub
Date: Mon Dec 5 20:49:38 2011
New Revision: 182026
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182026
Log:
PR c/51339
* c-decl.c (c_finish_incomplete_decl, finish_decl): Call
relayout_decl instead of layout_decl.
* gcc.dg/gomp/pr51339.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/gomp/pr51339.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-decl.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/51339] [4.6 Regression] ICE: in convert_move, at expr.c:326 with -fopenmp and parallel for
2011-11-28 22:16 [Bug middle-end/51339] New: [4.6/4.7 Regression] ICE: in convert_move, at expr.c:326 with -fopenmp and parallel for zsojka at seznam dot cz
` (3 preceding siblings ...)
2011-12-05 20:50 ` jakub at gcc dot gnu.org
@ 2011-12-05 21:04 ` jakub at gcc dot gnu.org
2011-12-08 13:40 ` jakub at gcc dot gnu.org
2011-12-08 13:58 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-12-05 21:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51339
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.6/4.7 Regression] ICE: |[4.6 Regression] ICE: in
|in convert_move, at |convert_move, at expr.c:326
|expr.c:326 with -fopenmp |with -fopenmp and parallel
|and parallel for |for
Known to fail|4.7.0 |
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-05 21:02:29 UTC ---
Fixed on the trunk so far.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/51339] [4.6 Regression] ICE: in convert_move, at expr.c:326 with -fopenmp and parallel for
2011-11-28 22:16 [Bug middle-end/51339] New: [4.6/4.7 Regression] ICE: in convert_move, at expr.c:326 with -fopenmp and parallel for zsojka at seznam dot cz
` (4 preceding siblings ...)
2011-12-05 21:04 ` [Bug c/51339] [4.6 " jakub at gcc dot gnu.org
@ 2011-12-08 13:40 ` jakub at gcc dot gnu.org
2011-12-08 13:58 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-12-08 13:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51339
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-08 13:37:48 UTC ---
Author: jakub
Date: Thu Dec 8 13:37:44 2011
New Revision: 182113
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182113
Log:
Backport from mainline
2011-12-05 Jakub Jelinek <jakub@redhat.com>
PR c/51339
* c-decl.c (c_finish_incomplete_decl, finish_decl): Call
relayout_decl instead of layout_decl.
* gcc.dg/gomp/pr51339.c: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/gomp/pr51339.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/c-decl.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/51339] [4.6 Regression] ICE: in convert_move, at expr.c:326 with -fopenmp and parallel for
2011-11-28 22:16 [Bug middle-end/51339] New: [4.6/4.7 Regression] ICE: in convert_move, at expr.c:326 with -fopenmp and parallel for zsojka at seznam dot cz
` (5 preceding siblings ...)
2011-12-08 13:40 ` jakub at gcc dot gnu.org
@ 2011-12-08 13:58 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-12-08 13:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51339
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-08 13:41:28 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 8+ messages in thread