在 2025/9/24 下午4:24, Xi Ruoyao 写道:
On Wed, 2025-09-24 at 15:44 +0800, Lulu Cheng wrote:diff --git a/gcc/testsuite/gcc.target/loongarch/can_inline_1.c b/gcc/testsuite/gcc.target/loongarch/can_inline_1.c new file mode 100644 index 00000000000..bdae4dbebe7 --- /dev/null +++ b/gcc/testsuite/gcc.target/loongarch/can_inline_1.c @@ -0,0 +1,18 @@ +/* { dg-do compile } */ +/* { dg-options "-march=loongarch64 -mabi=lp64d -fdump-tree-einline- details -O2" } */ +/* { dg-final { scan-tree-dump {missed: not inlinable: bar/\d+ -> foo/\d+, target specific option mismatch} "einline" } } */ +/* { dg-final { scan-tree-dump-not {\(inlined\)} "einline" } } */ + +void +__attribute__ ((target ("lsx"))) +foo (void) +{} + +void +bar (void) +{ + foo (); +} + + +I think those trailing empty lines should be dropped (likewise for other tests).
Oh, I will remove these empty lines in v2. Thanks!
