From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 158383858406; Wed, 17 Nov 2021 15:00:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 158383858406 From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/103226] [12 Regression] Recent change to copy-headers causes execution failure for gcc.dg/torture/pr80974 Date: Wed, 17 Nov 2021 15:00:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 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: Wed, 17 Nov 2021 15:00:46 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103226 Tamar Christina changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tnfchris at gcc dot gnu.org --- Comment #6 from Tamar Christina --- (In reply to Aldy Hernandez from comment #4) > It's been a LONG time since I had to do a sim build, so please bear with = me. >=20 > I have combined tree with gcc, binutils-gdb, dejagnu, newlib-cygwin: >=20 > ~/src/combined/configure --target=3Dbfin-elf --enable-languages=3Dc,c++ > --with-newlib --prefix=3D`pwd`/install >=20 > C++ won't build: > In file included from > /home/aldyh/bld/bfin-elf/bfin-elf/libstdc++-v3/include/bits/locale_facets= .h: > 41, > from > /home/aldyh/bld/bfin-elf/bfin-elf/libstdc++-v3/include/bits/basic_ios.h:3= 7, > from > /home/aldyh/bld/bfin-elf/bfin-elf/libstdc++-v3/include/ios:44, > from > /home/aldyh/bld/bfin-elf/bfin-elf/libstdc++-v3/include/istream:38, > from > /home/aldyh/bld/bfin-elf/bfin-elf/libstdc++-v3/include/sstream:38, > from > /home/aldyh/bld/bfin-elf/bfin-elf/libstdc++-v3/include/complex:45, > from > /home/aldyh/bld/bfin-elf/bfin-elf/libstdc++-v3/include/ccomplex:39, > from > /home/aldyh/src/combined/libstdc++-v3/include/precompiled/stdc++.h:54: > /home/aldyh/bld/bfin-elf/bfin-elf/libstdc++-v3/include/bfin-elf/bits/ > ctype_base.h:44:35: error: =E2=80=98_U=E2=80=99 was not declared in this = scope > 44 | static const mask upper =3D _U; > | ^~ > ... > ... I see the same failures on aarch64-none-elf cross builds which use newlib: /build-agent/temp/buildTmp/gcc-2/aarch64-none-elf/libstdc++-v3/include/aarc= h64-none-elf/bits/ctype_base.h:44:35: error: '_U' was not declared in this scope 44 | static const mask upper =3D _U; | ^~ /build-agent/temp/buildTmp/gcc-2/aarch64-none-elf/libstdc++-v3/include/aarc= h64-none-elf/bits/ctype_base.h:45:35: error: '_L' was not declared in this scope 45 | static const mask lower =3D _L; | ^~ /build-agent/temp/buildTmp/gcc-2/aarch64-none-elf/libstdc++-v3/include/aarc= h64-none-elf/bits/ctype_base.h:46:35: error: '_U' was not declared in this scope 46 | static const mask alpha =3D _U | _L; and so on.=