[Bug middle-end/52230] OpenMP: Simple C program triggers SIGSEGV at execution

2012-07-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52230

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|4.7.1   |4.6.3

--- Comment #9 from Richard Guenther rguenth at gcc dot gnu.org 2012-07-02 
14:11:37 UTC ---
Fixed for 4.6.3.


[Bug middle-end/52230] OpenMP: Simple C program triggers SIGSEGV at execution

2012-03-22 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52230

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|4.7.0   |4.7.1

--- Comment #8 from Richard Guenther rguenth at gcc dot gnu.org 2012-03-22 
08:27:35 UTC ---
GCC 4.7.0 is being released, adjusting target milestone.


[Bug middle-end/52230] OpenMP: Simple C program triggers SIGSEGV at execution

2012-02-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52230

--- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-14 
23:32:44 UTC ---
Author: jakub
Date: Tue Feb 14 23:32:39 2012
New Revision: 184240

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184240
Log:
Backported from mainline
2012-02-13  Jakub Jelinek  ja...@redhat.com

PR middle-end/52230
* omp-low.c (expand_omp_for): If a static schedule without
chunk size has NULL region-cont, force fd.chunk_size to be
integer_zero_node.

Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/omp-low.c


[Bug middle-end/52230] OpenMP: Simple C program triggers SIGSEGV at execution

2012-02-13 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52230

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
   Last reconfirmed||2012-02-13
  Component|libgomp |middle-end
 Resolution|INVALID |
 Ever Confirmed|0   |1

--- Comment #3 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-13 
12:00:38 UTC ---
You're right, but please report bugs for supported compilers only next time.
The problem only happens if the omp for body doesn't fall through, i.e. only on
very questionable sources like this one.


[Bug middle-end/52230] OpenMP: Simple C program triggers SIGSEGV at execution

2012-02-13 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52230

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||openmp
 Status|REOPENED|ASSIGNED
 AssignedTo|unassigned at gcc dot   |jakub at gcc dot gnu.org
   |gnu.org |
   Target Milestone|--- |4.7.0


[Bug middle-end/52230] OpenMP: Simple C program triggers SIGSEGV at execution

2012-02-13 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52230

--- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-13 
12:05:12 UTC ---
Created attachment 26649
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26649
gcc47-pr52230.patch

Untested fix.


[Bug middle-end/52230] OpenMP: Simple C program triggers SIGSEGV at execution

2012-02-13 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52230

--- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-13 
19:57:28 UTC ---
Author: jakub
Date: Mon Feb 13 19:57:24 2012
New Revision: 184165

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184165
Log:
PR middle-end/52230
* omp-low.c (expand_omp_for): If a static schedule without
chunk size has NULL region-cont, force fd.chunk_size to be
integer_zero_node.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/omp-low.c


[Bug middle-end/52230] OpenMP: Simple C program triggers SIGSEGV at execution

2012-02-13 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52230

--- Comment #6 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-13 
20:04:12 UTC ---
Fixed for trunk, might backport it to 4.[654] eventually, but it isn't high
priority, given that it doesn't make any sense to have non-fallthru omp for
body, using omp for then isn't really appropriate.