From a25bbcfa14e950d6902b4ee6bf9331637e580c3d Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 23 Jul 2025 10:20:23 +0800 Subject: [PATCH] gcc: Drop some sed commands against the test suite They now do nothing with GCC 15. And the test result is clean with only the sed against plugin.exp. --- chapter08/gcc.xml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index 1cc918234..6a539770d 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -152,11 +152,7 @@ cd build Now remove/fix several known test failures: -sed -e '/cpython/d' -i ../gcc/testsuite/gcc.dg/plugin/plugin.exp -sed -e 's/no-pic /&-no-pie /' -i ../gcc/testsuite/gcc.target/i386/pr113689-1.c -sed -e 's/300000/(1|300000)/' -i ../libgomp/testsuite/libgomp.c-c++-common/pr109062.c -sed -e 's/{ target nonpic } //' \ - -e '/GOTPCREL/d' -i ../gcc/testsuite/gcc.target/i386/fentryname3.c +sed -e '/cpython/d' -i ../gcc/testsuite/gcc.dg/plugin/plugin.exp Test the results as a non-privileged user, but do not stop at errors: