From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2A19B3884FB1; Wed, 14 Dec 2022 18:11:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2A19B3884FB1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671041464; bh=M00zG1eLRV4ibt7oxWZAuakOVrMARLWSfMScW/z+aJI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZySj741w9Sf11O5C6iQUna06jPjGZG3i5UBTU/PtLfv0eVqSM7JgVf/pIoKBihEcW DlAl18K6/YQFMQZOwPiWld3wRo/bz8PfX3CynqoQlFUBbnS/YZjSIX9RwwRog6/j5+ 7xc58MU31KuNzJLFZJZQlJoJV3Ju1IT1w8WbDbGU= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/108108] "gcc -MM" fails to list all dependencies Date: Wed, 14 Dec 2022 18:11:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 12.1.0 X-Bugzilla-Keywords: 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: 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=3D108108 --- Comment #2 from Andrew Pinski --- From: https://gcc.gnu.org/onlinedocs/gcc-12.2.0/cpp/Pragmas.html#Pragmas "that file will never be read again, no matter what." https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Preprocessor-Options.html#ind= ex-M "The preprocessor outputs one make rule containing the object file name for that source file, a colon, and the names of all the included files, includi= ng those coming from -include or -imacros command-line options." Since it was not read again, the file is not considered included ...=