This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libgomp failures on powerpc-apple-darwin8


   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]