]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: prune -freport-bug output
authorMarek Polacek <polacek@redhat.com>
Fri, 19 Apr 2024 17:51:41 +0000 (13:51 -0400)
committerMarek Polacek <polacek@redhat.com>
Mon, 22 Apr 2024 15:25:40 +0000 (11:25 -0400)
commit0db19228a9feba5a8f4e13b21f25f3aa8a6c5e85
treefc4b48b56d34722474bdf8c3e4bed726b5a754be
parentcacc55a4c0be8d0bc7417b6a28924eadbbe428e3
testsuite: prune -freport-bug output

When the compiler defaults to -freport-bug, a few dg-ice tests fail
with:

Excess errors:
Preprocessed source stored into /tmp/cc6hldZ0.out file, please attach this to your bugreport.

We could add -fno-report-bug to those tests.  But it seems to me that a
better fix would be to prune the "Preprocessed source stored..." message
in prune_gcc_output.

gcc/testsuite/ChangeLog:

* lib/prune.exp (prune_gcc_output): Also prune -freport-bug output.

Reviewed-by: Jakub Jelinek <jakub@redhat.com>
gcc/testsuite/lib/prune.exp