From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D417D3858CDA; Tue, 9 Apr 2024 21:08:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D417D3858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712696926; bh=EbnpBuXo7n1PIuEIbDiQ7ZSSr5DTi+WQP2SFJ3dArzI=; h=From:To:Subject:Date:From; b=ZY/hbMNQBxme41PUtr182GGOcxOnryaeBNARWp1wu2Av/BBJ/80pmzXr77j1UL1Cs Ni92/fs5A8vOH2TEtKgHbHwCyUfnIVfh8EoJUNNilMZFYlE6lpTSIaQXkOD93Dncb5 Sy3cWy5QkXXL1tbFKmGYqEZ+d3KFWyH/awDQ6YP8= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/114667] New: `gcc -O2 t.c -fdump-tree-optimized=/dev/stdout -fdump-tree-all` produces `error: could not open dump file` Date: Tue, 09 Apr 2024 21:08:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: diagnostic, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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 keywords 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114667 Bug ID: 114667 Summary: `gcc -O2 t.c -fdump-tree-optimized=3D/dev/stdout -fdump-tree-all` produces `error: could not open dump file` Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: diagnostic, rejects-valid Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- ``` [apinski@xeond2 gcc]$ ~/upstream-gcc/bin/gcc -O2 -S=20 -fdump-tree-optimized=3D/dev/stdout -fdump-tree-all t.c t.c: In function =E2=80=98main=E2=80=99: t.c:5:5: error: could not open dump file =E2=80=98/usr/local/include=E2=80= =99: Is a directory 5 | int main() | ^~~~ ``` This has been failing this way since at least 9.1.0 .=