public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [COMMITTED] Fix pr libffi/64581
@ 2015-01-20 21:47 Richard Henderson
  0 siblings, 0 replies; only message in thread
From: Richard Henderson @ 2015-01-20 21:47 UTC (permalink / raw)
  To: GCC Patches

One of the few changes to libffi.exp that we picked up
that looked quite logical.  But I guess it turns out that
we haven't properly configured the c++ compiler in dejagnu
for libffi.

Easiest thing to do is just revert this hunk.


r~


        PR libffi/64581
        * testsuite/lib/libffi.exp (libffi_target_compile): Don't switch
        to C++ mode when compiling C++ source code.

--- a/libffi/testsuite/lib/libffi.exp
+++ b/libffi/testsuite/lib/libffi.exp
@@ -219,10 +219,6 @@ proc libffi_target_compile { source dest type options } {
 	lappend options "libs= -lpthread"
     }

-    if { [string match "*.cc" $source] } {
-	lappend options "c++"
-    }
-
     verbose "options: $options"
     return [target_compile $source $dest $type $options]
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-20 21:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-20 21:47 [COMMITTED] Fix pr libffi/64581 Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).