diff mbox series

[testsuite] Mark gdc.dg/pr89041.d as compile test

Message ID yddimwqy8ms.fsf@CeBiTec.Uni-Bielefeld.DE
State New
Headers show
Series [testsuite] Mark gdc.dg/pr89041.d as compile test | expand

Commit Message

Rainer Orth March 10, 2019, 4:52 p.m. UTC
The new gdc.dg/pr89041.d FAILs for the non-default multilib (e.g. on
i386-pc-solaris2.11 and x86_64-pc-linux-gnu):

+FAIL: gdc.dg/pr89041.d   -O0  (test for excess errors)
+UNRESOLVED: gdc.dg/pr89041.d   -O0  compilation failed to produce executable

Excess errors:
Undefined                       first referenced
 symbol                             in file
main                                /usr/lib/amd64/crt1.o
ld: fatal: symbol referencing errors

As was the case with gdc.dg/pr89042?.d

	https://gcc.gnu.org/ml/gcc-patches/2019-01/msg01656.html

it needs to be marked as compile test.  Done as follows, tested on
x86_64-pc-linux-gnu, installed on mainline.

	Rainer

Comments

Iain Buclaw March 10, 2019, 4:58 p.m. UTC | #1
On Sun, 10 Mar 2019 at 17:52, Rainer Orth <ro@cebitec.uni-bielefeld.de> wrote:
>
> The new gdc.dg/pr89041.d FAILs for the non-default multilib (e.g. on
> i386-pc-solaris2.11 and x86_64-pc-linux-gnu):
>
> +FAIL: gdc.dg/pr89041.d   -O0  (test for excess errors)
> +UNRESOLVED: gdc.dg/pr89041.d   -O0  compilation failed to produce executable
>
> Excess errors:
> Undefined                       first referenced
>  symbol                             in file
> main                                /usr/lib/amd64/crt1.o
> ld: fatal: symbol referencing errors
>
> As was the case with gdc.dg/pr89042?.d
>
>         https://gcc.gnu.org/ml/gcc-patches/2019-01/msg01656.html
>
> it needs to be marked as compile test.  Done as follows, tested on
> x86_64-pc-linux-gnu, installed on mainline.
>

I'll try to remember that for next time, thanks.
diff mbox series

Patch

# HG changeset patch
# Parent  5f3c8a1cef5d6d21a44703bfbfb7b63013d80579
Mark gdc.dg/pr89041.d as compile test

diff --git a/gcc/testsuite/gdc.dg/pr89041.d b/gcc/testsuite/gdc.dg/pr89041.d
--- a/gcc/testsuite/gdc.dg/pr89041.d
+++ b/gcc/testsuite/gdc.dg/pr89041.d
@@ -1,4 +1,5 @@ 
 // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89041
+// { dg-do compile }
 module pr89041;
 
 enum dg = delegate {};