[Bug middle-end/25990] gomp ICE with -fopenmp

2006-02-02 Thread dnovillo at gcc dot gnu dot org


--- Comment #14 from dnovillo at gcc dot gnu dot org  2006-02-02 12:27 
---
Subject: Bug 25990

Author: dnovillo
Date: Thu Feb  2 12:27:02 2006
New Revision: 110511

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=110511
Log:

PR 25990
* tree-cfg.c (move_block_to_fn): Clear out the basic block
array after growing it.

testsuite/

PR 25990
* gcc.dg/gomp/pr25990.c: New test.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-cfg.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25990



[Bug middle-end/25990] gomp ICE with -fopenmp

2006-02-02 Thread dnovillo at gcc dot gnu dot org


--- Comment #15 from dnovillo at gcc dot gnu dot org  2006-02-02 12:37 
---
Fixed.  http://gcc.gnu.org/ml/gcc-patches/2006-02/msg00121.html


-- 

dnovillo at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25990



[Bug middle-end/25990] gomp ICE with -fopenmp

2006-02-01 Thread reichelt at gcc dot gnu dot org


--- Comment #7 from reichelt at gcc dot gnu dot org  2006-02-01 12:38 
---
Hi Diego,

did you have a look at this one?
This makes -fopenmp almost unusable for the C++ frontend.
PR 26032 is probably a duplicate of this one.
I stumbled over the bug independently, too.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25990



[Bug middle-end/25990] gomp ICE with -fopenmp

2006-02-01 Thread dnovillo at gcc dot gnu dot org


--- Comment #8 from dnovillo at gcc dot gnu dot org  2006-02-01 12:56 
---
Mine.


-- 

dnovillo at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |dnovillo at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2006-01-27 14:22:50 |2006-02-01 12:56:18
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25990



[Bug middle-end/25990] gomp ICE with -fopenmp

2006-02-01 Thread tbptbp at gmail dot com


--- Comment #9 from tbptbp at gmail dot com  2006-02-01 14:28 ---
And you can add PR 25983 on top of it :)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25990



[Bug middle-end/25990] gomp ICE with -fopenmp

2006-02-01 Thread dnovillo at gcc dot gnu dot org


--- Comment #10 from dnovillo at gcc dot gnu dot org  2006-02-01 16:05 
---

I can't reproduced this with [EMAIL PROTECTED] nor [EMAIL PROTECTED]  Could you 
please
try again?


-- 

dnovillo at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25990



[Bug middle-end/25990] gomp ICE with -fopenmp

2006-02-01 Thread reichelt at gcc dot gnu dot org


--- Comment #11 from reichelt at gcc dot gnu dot org  2006-02-01 16:19 
---
I still get a segfault for the testcase in comment #6.
This is revision 110467 on x86_64-unknown-linux-gnu.
Note, that this is with the C frontend:

gcc -fopenmp --param ggc-min-expand=0 --param ggc-min-heapsize=0 -c PR25990.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25990



[Bug middle-end/25990] gomp ICE with -fopenmp

2006-02-01 Thread pinskia at gcc dot gnu dot org


--- Comment #12 from pinskia at gcc dot gnu dot org  2006-02-01 18:06 
---
I can still confirm it too.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|WAITING |NEW
   Last reconfirmed|2006-02-01 12:56:18 |2006-02-01 18:06:32
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25990



[Bug middle-end/25990] gomp ICE with -fopenmp

2006-02-01 Thread dnovillo at gcc dot gnu dot org


--- Comment #13 from dnovillo at gcc dot gnu dot org  2006-02-01 22:36 
---
(In reply to comment #11)
 I still get a segfault for the testcase in comment #6.
 This is revision 110467 on x86_64-unknown-linux-gnu.

Ah, yes.  I had failed to notice the failure is on x86_64.  Sorry about that.


-- 

dnovillo at gcc dot gnu dot org changed:

   What|Removed |Added

   Last reconfirmed|2006-02-01 18:06:32 |2006-02-01 22:36:04
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25990



[Bug middle-end/25990] gomp ICE with -fopenmp and -O2

2006-01-27 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2006-01-27 12:58 ---
This is a GC failure:
#0  ggc_set_mark (p=0xafafafafafafafaf) at
/home/pinskia/src/checkin/trunk/gcc/ggc-page.c:588
#1  0x00620268 in gt_ggc_mx_basic_block_def (x_p=Variable x_p is not
available.
) at gtype-desc.c:462
#2  0x0062060f in gt_ggc_mx_VEC_basic_block_gc (x_p=Variable x_p is
not available.
) at gtype-desc.c:193
#3  0x00620673 in gt_ggc_mx_control_flow_graph (x_p=Variable x_p is
not available.
) at gtype-desc.c:624
#4  0x0062072f in gt_ggc_mx_function (x_p=Variable x_p is not
available.
) at gtype-desc.c:639
#5  0x00409622 in gt_ggc_mx_lang_tree_node (x_p=Variable x_p is not
available.
) at gt-c-decl.h:315
#6  0x00619df7 in gt_ggc_mx_cgraph_node (x_p=Variable x_p is not
available.
) at gtype-desc.c:166
#7  0x00619f16 in gt_ggc_m_P11cgraph_node4htab (x_p=Variable x_p is
not available.
) at gtype-desc.c:1694


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

  Component|c   |middle-end


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25990



[Bug middle-end/25990] gomp ICE with -fopenmp

2006-01-27 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2006-01-27 14:09 ---
You can reproduce this with -std=c99 -fopenmp --param ggc-min-expand=0 --param
ggc-min-heapsize=0


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

Summary|gomp ICE with -fopenmp and -|gomp ICE with -fopenmp
   |O2  |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25990



[Bug middle-end/25990] gomp ICE with -fopenmp

2006-01-27 Thread pinskia at gcc dot gnu dot org


--- Comment #4 from pinskia at gcc dot gnu dot org  2006-01-27 14:11 ---
Reducing.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25990



[Bug middle-end/25990] gomp ICE with -fopenmp

2006-01-27 Thread pinskia at gcc dot gnu dot org


--- Comment #5 from pinskia at gcc dot gnu dot org  2006-01-27 14:22 ---
Reduced testcase:
__strcspn_c2 (__const char *__s, int __reject1, int __reject2)
{
  int m = 1,n = 1,s = 1;
  int DD,EE,num_s;
  int m_max = 99;
  int n_max = 00;
  for ( n = 1 ; n = 99 ; n++ )
for ( m = 1 ; m = 99 ; m++ )
  for ( m = 1 ; m = m_max ; m++)
for ( s = 1 ; s = num_s ; s++)
{
  int liter ;
#pragma omp parallel for private(m,liter,s)
   for ( n = 1 ; n = n_max ; n++) {}
}
}


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||dnovillo at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-01-27 14:22:50
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25990



[Bug middle-end/25990] gomp ICE with -fopenmp

2006-01-27 Thread reichelt at gcc dot gnu dot org


--- Comment #6 from reichelt at gcc dot gnu dot org  2006-01-27 15:18 
---
Even simpler testcase:

==
void foo()
{
  int i;
  for ( i=0; i1; i++ ) ;
  for ( i=0; i1; i++ ) ;
  for ( i=0; i1; i++ ) ;
  for ( i=0; i1; i++ ) ;
  for ( i=0; i1; i++ ) ;
#pragma omp parallel
  ;
}
==


-- 

reichelt at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||reichelt at gcc dot gnu dot
   ||org
   Keywords||monitored


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25990