From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 812DD384AB55; Thu, 18 Apr 2024 11:15:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 812DD384AB55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713438927; bh=YD4Cd+xbKKW2NHd/Vfez4yS60ePrBANHlCQjWm0LbDU=; h=From:To:Subject:Date:From; b=dgmQf6XAshN49q3Algkzi9CO7lpRRuMhiErafdtG3NyXEbaK4yVHL4NDIVvRHaV8H S1RdqwWAX8WkIL08cH1BBSoaZfCumWarQtS9tRSd5IuD/W5avtdPm0m/LgKfV9R0VL BXGyAYJg52sC6Xa5R60FpFKgn2ZClb+RtnzT0RLk= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-10024] [testsuite] [i386] require fpic for pr111497.C X-Act-Checkin: gcc X-Git-Author: Alexandre Oliva X-Git-Refname: refs/heads/master X-Git-Oldrev: cc02ebfcfd0755b330c50a840ab713fedd6d8887 X-Git-Newrev: 514c6b1cb766dc0a14121016ce84b9f5a1ef4e41 Message-Id: <20240418111527.812DD384AB55@sourceware.org> Date: Thu, 18 Apr 2024 11:15:27 +0000 (GMT) List-Id: https://gcc.gnu.org/g:514c6b1cb766dc0a14121016ce84b9f5a1ef4e41 commit r14-10024-g514c6b1cb766dc0a14121016ce84b9f5a1ef4e41 Author: Alexandre Oliva Date: Thu Apr 18 08:01:29 2024 -0300 [testsuite] [i386] require fpic for pr111497.C Fix another test that uses -fPIC without requiring fpic support. for gcc/testsuite/ChangeLog * g++.target/i386/pr111497.C: Require fpic support. Diff: --- gcc/testsuite/g++.target/i386/pr111497.C | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/g++.target/i386/pr111497.C b/gcc/testsuite/g++.target/i386/pr111497.C index a645bb95907..30e2e0409ad 100644 --- a/gcc/testsuite/g++.target/i386/pr111497.C +++ b/gcc/testsuite/g++.target/i386/pr111497.C @@ -1,5 +1,6 @@ // { dg-do compile { target ia32 } } // { dg-options "-march=i686 -mtune=generic -fPIC -O2 -g" } +// { dg-require-effective-target fpic } class A; struct B { const char *b1; int b2; };