On Mon, May 25, 2026 at 3:46 PM Eric Botcazou <[email protected]> wrote: > > > I submitted the patch formally here: > > https://gcc.gnu.org/pipermail/gcc-patches/2026-May/717765.html > > Thanks, but the back-ticks are too awkward, so I have restored the original > format and added the mangled name as a new second field, so that scripts can > just look at the last three fields. I have also updated the documentation. > > Tested on x86-64/Linux, applied on the mainline. > > > * doc/invoke.texi (fstack-usage): Document new second field. > * toplev.cc (output_stack_usage_1): Revert latest changes and add > the mangled name as the second field. > > * gcc.dg/stack-usage-1.c: Adjust. >
I checked in this patch to adjust gcc.target/i386/stack-usage-realign.c. -- H.J. --- Adjust stack-usage-realign.c for commit dbb7b2af2333b69707ffbea6a2a98830c37a0485 Author: Eric Botcazou <[email protected]> Date: Mon May 25 09:42:04 2026 +0200 Restore original format of -fstack-usage and add new second field * gcc.target/i386/stack-usage-realign.c: Adjusted.
From 8d81ccde31888032b031995ec2c20341eb7541ac Mon Sep 17 00:00:00 2001 From: "H.J. Lu" <[email protected]> Date: Tue, 26 May 2026 06:04:33 +0800 Subject: [PATCH] Adjust stack-usage-realign.c for commit dbb7b2af233 Adjust stack-usage-realign.c for commit dbb7b2af2333b69707ffbea6a2a98830c37a0485 Author: Eric Botcazou <[email protected]> Date: Mon May 25 09:42:04 2026 +0200 Restore original format of -fstack-usage and add new second field * gcc.target/i386/stack-usage-realign.c: Adjusted. Signed-off-by: H.J. Lu <[email protected]> --- gcc/testsuite/gcc.target/i386/stack-usage-realign.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/stack-usage-realign.c b/gcc/testsuite/gcc.target/i386/stack-usage-realign.c index f377f54b94e..d7f81e78cb7 100644 --- a/gcc/testsuite/gcc.target/i386/stack-usage-realign.c +++ b/gcc/testsuite/gcc.target/i386/stack-usage-realign.c @@ -17,5 +17,5 @@ int main (void) return 0; } -/* { dg-final { scan-stack-usage "main `main`\t48\tdynamic,bounded" } } */ +/* { dg-final { scan-stack-usage "main\tmain\t48\tdynamic,bounded" } } */ /* { dg-final { cleanup-stack-usage } } */ -- 2.54.0
