libgomp failures on powerpc-apple-darwin8

Jack Howarth howarth@bromo.msbb.uc.edu
Thu Mar 15 00:32:00 GMT 2007


   It looks like modifying the testsuite scripts for libgomp
to properly compile c++ files with g++ will be pretty messy.
Can we just fix PR30703 for now with the simple change...


Index: libgomp/testsuite/libgomp.c++/pr30703.C
===================================================================
/usr/local/bin/gccdiff: line 1: i#!/bin/bash: No such file or directory
--- libgomp/testsuite/libgomp.c++/pr30703.C     (revision 122939)
+++ libgomp/testsuite/libgomp.c++/pr30703.C     (working copy)
@@ -1,5 +1,6 @@
 // PR c++/30703
 // { dg-do run }
+// { dg-options "-shared-libgcc" }
 
 #include <omp.h>
 
which at least suppresses the problem on Darwin. I'll file a PR later that
c++.exp in the libgomp/testsuite/libgomp.c++ needs to use g++ for compiling
(right now it calls gfortran-dg-runtest.exp).
                Jack



More information about the Gcc mailing list