------- Comment #4 from rguenth at gcc dot gnu dot org  2008-02-06 20:58 -------
Confirmed.

If you remove the second #pragma omp single in

      if( s == 0 ) {
#pragma omp single
#pragma omp single
        {
          for( LearnerBase * i = learners[0]; s == 0; ) {
            if( os ) i->getInfo();
          }
        }

then the ICE is gone.  It also warns about this, but I don't see this
warning in the original testcase, so the reduced testcase may not
trigger exactly the same bug - who knows.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|                            |4.3.0
           Priority|P3                          |P2
   Last reconfirmed|0000-00-00 00:00:00         |2008-02-06 20:58:59
               date|                            |


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

Reply via email to