From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 14B553858409; Mon, 13 Dec 2021 17:41:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 14B553858409 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/103688] New: [11 regression] build error after r11-9380 Date: Mon, 13 Dec 2021 17:41:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 11.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2021 17:41:07 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103688 Bug ID: 103688 Summary: [11 regression] build error after r11-9380 Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:f2cc8d059df8aea1b811a4a68512d137f4e83bd5, r11-9380=20 commit f2cc8d059df8aea1b811a4a68512d137f4e83bd5 (HEAD, origin/releases/gcc-= 11) Author: Joel Hutton Date: Fri Dec 10 10:26:42 2021 +0000 pr103523: Check for PLUS/MINUS support . . . gcc/ChangeLog: * tree-vect-loop.c (vectorizable_induction): Check for This breaks the build of gcc 11: g++ -fno-PIE -c -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG= _H -I. -I. -I/home/seurer/gcc/git/gcc-11/gcc -I/home/seurer/gcc/git/gcc-11/gcc= /. -I/home/seurer/gcc/git/gcc-11/gcc/../include -I/home/seurer/gcc/git/gcc-11/gcc/../libcpp/include -I/home/seurer/gcc/git/gcc-11/gcc/../libcody -I/home/seurer/gcc/git/build/gcc-11/./gmp -I/home/seurer/gcc/git/gcc-11/gmp -I/home/seurer/gcc/git/build/gcc-11/./mpfr/src -I/home/seurer/gcc/git/gcc-11/mpfr/src -I/home/seurer/gcc/git/gcc-11/mpc/sr= c=20 -I/home/seurer/gcc/git/gcc-11/gcc/../libdecnumber -I/home/seurer/gcc/git/gcc-11/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/seurer/gcc/git/gcc-11/gcc/../libbacktrace -I/home/seurer/gcc/git/build/gcc-11/./isl/include -I/home/seurer/gcc/git/gcc-11/isl/include -o tree-vect-loop.o -MT tree-vect-loop.o -MMD -MP -MF ./.deps/tree-vect-loop.TPo /home/seurer/gcc/git/gcc-11/gcc/tree-vect-loop.c /home/seurer/gcc/git/gcc-11/gcc/tree-vect-loop.c: In function 'bool vectorizable_induction(loop_vec_info, stmt_vec_info, gimple**, slp_tree, stmt_vector_for_cost*)': /home/seurer/gcc/git/gcc-11/gcc/tree-vect-loop.c:8000:8: error: 'directly_supported_p' was not declared in this scope 8000 | if (!directly_supported_p (PLUS_EXPR, step_vectype) | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:1142: tree-vect-loop.o] Error 1=