This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/71481] [7 regression] ICE during selftest: input.c: test_reading_source_line
- From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 09 Jun 2016 19:26:38 +0000
- Subject: [Bug bootstrap/71481] [7 regression] ICE during selftest: input.c: test_reading_source_line
- Auto-submitted: auto-generated
- References: <bug-71481-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71481
--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Sorry about the breakage.
As a workaround, the failing test can be disabled by commenting-out the call to
input_c_tests:
diff --git a/gcc/selftest-run-tests.c b/gcc/selftest-run-tests.c
index 934e700..c2fd7ac 100644
--- a/gcc/selftest-run-tests.c
+++ b/gcc/selftest-run-tests.c
@@ -48,10 +48,9 @@ selftest::run_tests ()
vec_c_tests ();
pretty_print_c_tests ();
wide_int_cc_tests ();
/* Mid-level data structures. */
- input_c_tests ();
+ //input_c_tests ();
tree_c_tests ();
gimple_c_tests ();
rtl_tests_c_tests ();
Presumably this could be fixed properly by having the selftest write out some
multiline text to a named tempfile, and then read in a line in the middle of
the text. Am investigating the best cross-platform way to open a named
tempfile.