https://gcc.gnu.org/g:7af0453c13077a35a76aa077bff48dc505f35c34

commit r17-5679-g7af0453c13077a35a76aa077bff48dc505f35c34
Author: Jason Merrill <[email protected]>
Date:   Tue Oct 20 16:04:45 2026 -0400

    testsuite: add comment to g++.dg/header.C
    
    I found this comment surprising, so I added a bit more detail.
    
    gcc/testsuite/ChangeLog:
    
            * g++.dg/header.C: Add detail to comment.

Diff:
---
 gcc/testsuite/g++.dg/header.C | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/g++.dg/header.C b/gcc/testsuite/g++.dg/header.C
index 41a6dcbef3fd..7d9fc2735b94 100644
--- a/gcc/testsuite/g++.dg/header.C
+++ b/gcc/testsuite/g++.dg/header.C
@@ -1,6 +1,8 @@
 /* This really should use "dg-do compile" without the -S in dg-options,
    but the extra options get put after the input file in that case, and
-   hence the test would fail. */
+   hence the test would fail.  Search for "This is obscure" in
+   /usr/share/dejagnu/target.exp.  Maybe we should add a dg-early-options
+   to pass early_flags= to target_compile?  */
 /* { dg-do assemble } */
 /* { dg-options "-S -x c++-header" } */

Reply via email to