From patchwork Sun Mar 10 16:52:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 1054031 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-497637-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="yYa+R7JR"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44HS2x0mPTz9sDB for ; Mon, 11 Mar 2019 03:52:40 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:mime-version:content-type; q=dns; s=default; b=gMSiYeoOr+NzuQbdBRqo9qbi9AsNKqVLJta5D3ygY5dMf6wkk/ DQE49howov6uaaTrvGCcWib52dRsj6l3DSDi8fdX0Q0JZELXl1cKDiAFEiyL1w1r eVKI9gHrhzpgUA0Ukq+WUMljKe8M/Ez8LIGMgpSkao0jqysi87x1DseuQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:mime-version:content-type; s= default; bh=mA0+4gZVQJ/VGoxmSk3f1ZmhR0M=; b=yYa+R7JRcA/H/CErC/n1 871EJmGK6LYJ1eS8JYTjVZf9FXuZdGSaalOGh6S9qj8lVvVl4snO5nVEcAw/Kow7 7r3tX4TdPHQGltXfGCS5E2Y7T9jPs0wMO/VZjSb9ep5YMYjjxXmUfmw1RQENMxLO tJ5pi21AI1879rFbc9Dw6xk= Received: (qmail 104594 invoked by alias); 10 Mar 2019 16:52:34 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 104480 invoked by uid 89); 10 Mar 2019 16:52:34 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-17.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT autolearn=ham version=3.3.1 spammy=referencing X-HELO: smtp.CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE (HELO smtp.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 10 Mar 2019 16:52:33 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 33188CB6; Sun, 10 Mar 2019 17:52:31 +0100 (CET) Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id s8id51YEi3R1; Sun, 10 Mar 2019 17:52:29 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p4FDDBCC7.dip0.t-ipconnect.de [79.221.188.199]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id C3702CB5; Sun, 10 Mar 2019 17:52:28 +0100 (CET) From: Rainer Orth To: gcc-patches@gcc.gnu.org Cc: Iain Buclaw Subject: [testsuite] Mark gdc.dg/pr89041.d as compile test Date: Sun, 10 Mar 2019 17:52:27 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes 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 # 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 {};