From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 101623857802; Tue, 20 Jul 2021 17:04:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 101623857802 From: "dave.anglin at bell dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64 Date: Tue, 20 Jul 2021 17:04:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: major X-Bugzilla-Who: dave.anglin at bell dot net X-Bugzilla-Status: WAITING 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: 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: Tue, 20 Jul 2021 17:04:21 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61577 --- Comment #259 from dave.anglin at bell dot net --- On 2021-07-19 5:00 p.m., me at larbob dot org wrote: > I've now tried 11.1.0 almost exactly as The Written Word builds it, and s= till > get: > > during GIMPLE pass: dce > ../../libiberty/mkstemps.c: In function 'mkstemps': > ../../libiberty/mkstemps.c:80:1: internal compiler error: Illegal instruc= tion > 80 | mkstemps (char *pattern, int suffix_len) > | ^~~~~~~~ The compiler being used to compile mkstemps.c is broken.=C2=A0 If core dump= s are enabled, you should be able to use gdb (wdb) directly to find the illegal instructio= n. If not, one can find the illegal instruction by adding "-save-temps -v" to = the compile command. This will give the information needed to run the compilation under gdb (wdb) If I was to guess, the illegal instruction is likely to be an out of range branch. I would check HP patch for HP ld.=C2=A0 There may be version dependent diff= erences in weak support.=