From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AB8253858D28; Sat, 4 Mar 2023 09:29:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AB8253858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677922155; bh=4EWy4m5lQksihUSGMpcUhEOFPPoTmfeFlKwXNl2wwNA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Bjky1lbH+/vvThigfmRg33qkfrLyvKQ87h2gZuKKosb8Jzq3xH1vlDp4VCM8fSYCb a1Kz12F25EBHB/eoXcv1SVWMuLmAT9MQ+1j4NcyJ2fD4J/nRsfkzvQh3MFlzqaPFHy +8ORKtIyzDdRmzl8r4jAEQOFooHdlO3VnICUX5r4= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/108973] [10/11/12 Regression] Sufficiently narrow terminal window causes selftest failure Date: Sat, 04 Mar 2023 09:29:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: build, diagnostic, ice-on-valid-code, internal-improvement X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108973 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[13 Regression] |[10/11/12 Regression] |Sufficiently narrow |Sufficiently narrow |terminal window causes |terminal window causes |selftest failure |selftest failure Target Milestone|13.0 |10.5 --- Comment #7 from Jakub Jelinek --- Fixed on the trunk so far. Just tried 10 branch and it ICEs in self-tests = with COLUMNS=3D41 as well: $ ./xgcc -B ./ -v Reading specs from ./specs COLLECT_GCC=3D./xgcc COLLECT_LTO_WRAPPER=3D./lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../configure --disable-bootstrap --enable-checking=3Dyes --enable-languages=3Dc,c++,fortran : (reconfigured)=20 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.4.1 20220628 (GCC)=20 $ COLUMNS=3D41 ./xgcc -B./ -B/usr/local/x86_64-pc-linux-gnu/bin/ -isystem /usr/local/x86_64-pc-linux-gnu/include -isystem /usr/local/x86_64-pc-linux-gnu/sys-include -L/usr/src/gcc-10/obj/gcc/../ld = -xc -nostdinc /dev/null -S -o /dev/null -fself-test=3D../../gcc/testsuite/selft= ests ../../gcc/diagnostic-show-locus.c:3949: test_add_location_if_nearby: FAIL: ASSERT_STREQ (" struct same_line { double x; double y; ;\n" "=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 ~ ^\n", pp_formatted_text (dc.printer)) val1=3D" struct same_line { double x; double y; ; ~ ^ " val2=3D" truct same_line { double x; double y; ; ~ ^ " cc1: internal compiler error: in fail_formatted, at selftest.c:63 0x21a3a86 diagnostic_impl ../../gcc/selftest.h:1309 0x21a541a internal_error(char const*, ...) ../../gcc/selftest.h:1711 0x21a5678 fancy_abort(char const*, int, char const*) ../../gcc/selftest.h:1778 0x219d50b selftest::fail_formatted(selftest::location const&, char const*, = ...) ../../gcc/selftest.h:63 0x219d5fa selftest::assert_streq(selftest::location const&, char const*, ch= ar const*, char const*, char const*) ../../gcc/selftest.h:92 0x21b2fb6 test_add_location_if_nearby ../../gcc/../libcpp/include/cpplib.h:3949 0x21dd17a selftest::for_each_line_table_case(void (*)(selftest::line_table_= case const&)) ../../gcc/../libcpp/include/cpplib.h:3573 0x21b95ea selftest::diagnostic_show_locus_c_tests() ../../gcc/../libcpp/include/cpplib.h:5022 0x20d83f9 selftest::run_tests() ../../gcc/wide-int-bitmask.h:96 0x11ae133 toplev::run_self_tests() ../../gcc/flags.h:2351 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=