From patchwork Tue Feb 19 23:30:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Li, Pan2 via Gcc-patches" X-Patchwork-Id: 1044953 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-496671-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gcc.gnu.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="qvqUGeog"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="WIduTIVW"; 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 443xnp2qDCz9s7h for ; Wed, 20 Feb 2019 10:31:16 +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 :mime-version:from:reply-to:date:message-id:subject:to:cc :content-type; q=dns; s=default; b=LienSBgafZqLthoersa42YKMSJJEL rcNoTQGpgkFMWQ4r827NkliT+4Hxeic7S2bxselWHqxvHamx2j386XECYOBz4JFV uU3IyiPsDO4k2C4vS/cdHfaPUC21UWeinl8yQF/f15wl8ilDjaLAT4fNl3IIHKV+ Y7xTfpNoWpoRUQ= 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 :mime-version:from:reply-to:date:message-id:subject:to:cc :content-type; s=default; bh=S+4m4i3NOgYJlJQ815rKs+0y9Jw=; b=qvq UGeog9ZyotE2yW0kihLfgAkP1PyLM7N6c576TO0eVrJ9cHhSQZQ4ee24no+Lg1fn 0i5S7ixlUZpYCyicRB25gmIQPGAARd2eISzDW02iUuT6dnjpLv27wvQFHT9vtfpy 1A8Cu0rYyuYIJfHbKVT0Ya8Zt2LTvM/JjTC8nG0E= Received: (qmail 103480 invoked by alias); 19 Feb 2019 23:31:07 -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 103291 invoked by uid 89); 19 Feb 2019 23:31:04 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-19.1 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, SPF_PASS, USER_IN_DEF_SPF_WL autolearn=ham version=3.3.2 spammy=Hx-languages-length:1078, cmticegooglecom, cmtice@google.com, U*cmtice X-HELO: mail-wm1-f54.google.com Received: from mail-wm1-f54.google.com (HELO mail-wm1-f54.google.com) (209.85.128.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 19 Feb 2019 23:31:03 +0000 Received: by mail-wm1-f54.google.com with SMTP id e74so4063344wmg.3 for ; Tue, 19 Feb 2019 15:31:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=WLtfYS49e3VFels44QTXRr9SHIuk18pzZjf8JCQghMU=; b=WIduTIVWhVu9Td0uBHfhMQOb74HDqhs7PIBbhZsvAOIzaxloFsboa5mL+qyMMzNydy B8JywI/yxGPayUneycqnwBMofkEFU6R5TsNd0/KlgMa7HnZ02iYaPYahs4aHPKauDmZ1 hmnCUZbh03lW7x0WnmgI6V3iVgofEsz2q13omKHH20VjsSUk3syPAv7fvYJckUhL5zMg zihA7doKfF5+GQlT4RQh8RgEXqnt1TWXlprJpG78CORIf5yOT0sDSTxyAppNI6Np2GGe CHFy/YpCUjzG02WkrdB2i0CwmQZUawYHXfF1QNdwsAhOqZGNeR4A62Dh7blpA7uq+uU0 Y9fA== MIME-Version: 1.0 X-Patchwork-Original-From: "Caroline Tice via gcc-patches" From: "Li, Pan2 via Gcc-patches" Reply-To: Caroline Tice Date: Tue, 19 Feb 2019 15:30:48 -0800 Message-ID: Subject: [PATCH, libvtv] Fix testsuite issue. To: GCC Patches , Richard Biener Cc: Eric Christopher , Luis Lozano , Caroline Tice X-IsSubscribed: yes One of the testsuite tests for libvtv is failing due to an incorrect signature for the function "main". This patch fixes that. Testing: The libvtv testsuite failed 4 tests without this fix; it passes all of them with it. Ok to commit? -- Caroline Tice cmtice@google.com Index: libvtv/ChangeLog =================================================================== --- libvtv/ChangeLog (revision 269022) +++ libvtv/ChangeLog (working copy) @@ -1,3 +1,8 @@ +2019-02-19 Caroline Tice + + Fix testsuite + * testsuite/libvtv.cc/const_vtable.cc (main): Fix function signature. + 2019-01-01 Jakub Jelinek Update copyright years. Index: libvtv/testsuite/libvtv.cc/const_vtable.cc =================================================================== --- libvtv/testsuite/libvtv.cc/const_vtable.cc (revision 269022) +++ libvtv/testsuite/libvtv.cc/const_vtable.cc (working copy) @@ -28,7 +28,7 @@ ~D(); }; extern "C" int printf(const char *,...); -main() +int main(int argc, char**argv) { try { D *d = new D;