[Bug c++/25874] [gomp branch] ICE in calc_dfs_tree()

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


--- Comment #5 from dnovillo at gcc dot gnu dot org  2006-01-30 02:37 
---
Subject: Bug 25874

Author: dnovillo
Date: Mon Jan 30 02:37:09 2006
New Revision: 110392

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

PR 25874
* omp-low.c (execute_expand_omp): Move CFG cleanup code ...
(expand_omp): ... here.
(expand_omp_parallel): Only remove barriers for combined
parallel+workshare constructs.

testsuite/

* g++.dg/gomp/pr25874.C: New test.
* gcc.dg/gomp/pr25874.c: New test.


Added:
branches/gomp-20050608-branch/gcc/testsuite/g++.dg/gomp/pr25874.C
branches/gomp-20050608-branch/gcc/testsuite/gcc.dg/gomp/pr25874.c
Modified:
branches/gomp-20050608-branch/gcc/ChangeLog.gomp
branches/gomp-20050608-branch/gcc/omp-low.c
branches/gomp-20050608-branch/gcc/testsuite/ChangeLog.gomp


-- 


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



[Bug c++/25874] [gomp branch] ICE in calc_dfs_tree()

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


--- Comment #6 from dnovillo at gcc dot gnu dot org  2006-01-30 03:09 
---

Fixed.  http://gcc.gnu.org/ml/gcc-patches/2006-01/msg02090.html.


-- 

dnovillo at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



[Bug c++/25874] [gomp branch] ICE in calc_dfs_tree()

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


--- Comment #7 from dnovillo at gcc dot gnu dot org  2006-01-30 03:11 
---
Subject: Bug 25874

Author: dnovillo
Date: Mon Jan 30 03:11:29 2006
New Revision: 110393

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

PR 25874
* omp-low.c (execute_expand_omp): Move CFG cleanup code ...
(expand_omp): ... here.
(expand_omp_parallel): Only remove barriers for combined
parallel+workshare constructs.


* gcc.dg/gomp/pr25874.c: New test.


Added:
trunk/gcc/testsuite/gcc.dg/gomp/pr25874.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/omp-low.c
trunk/gcc/testsuite/ChangeLog


-- 


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



[Bug c++/25874] [gomp branch] ICE in calc_dfs_tree()

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


--- Comment #3 from dnovillo at gcc dot gnu dot org  2006-01-27 14:26 
---

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|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-01-27 14:26:53
   date||


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



[Bug c++/25874] [gomp branch] ICE in calc_dfs_tree()

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


--- Comment #4 from reichelt at gcc dot gnu dot org  2006-01-27 15:45 
---
Even shorter C-testcase (compile with -fopenmp -O):


void foo();

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

void baz()
{
#pragma omp parallel
  bar();
}



-- 

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=25874



[Bug c++/25874] [gomp branch] ICE in calc_dfs_tree()

2006-01-20 Thread martin at mpa-garching dot mpg dot de


--- Comment #1 from martin at mpa-garching dot mpg dot de  2006-01-20 14:41 
---
Created an attachment (id=10685)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10685action=view)
test case to reproduce the bug


-- 


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



[Bug c++/25874] [gomp branch] ICE in calc_dfs_tree()

2006-01-20 Thread martin at mpa-garching dot mpg dot de


--- Comment #2 from martin at mpa-garching dot mpg dot de  2006-01-20 19:17 
---
Reduced testcase:

int foo();

struct wigner_d
  {
  void recurse () {
int dd;
for (int j=0; j=1; ++j) {
#pragma omp parallel
  dd=5;
  }
}
  };

templatetypename T void rotate_alm(T arg)
  {
  wigner_d rec;
  rec.recurse();
#pragma omp parallel
foo();
  }

template void rotate_alm(float arg);
template void rotate_alm(double arg);


-- 


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