From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 57B963858D35; Thu, 30 Jul 2020 08:37:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 57B963858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1596098276; bh=qQ4qEBfFzaaSdbG7/bdAVSc5wGdi5B7gNMMThEphMsk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uutLSwCJWJz+El80IN1ExP0pBUzUuS0E48vSnGI1VD7H8zBS2E3yv4loVLOAlZUIN cOL81Xd+qu9Ae6mKpfcrPAM6W1zdwboGEs9Xlp+FCdnLfb2yZe7wXol+ppScwLKcX9 9CdYtL8+h+Y3g67u/Du9YiinWVl07l609LydHdnw= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/96388] scheduling takes forever with -fPIC Date: Thu, 30 Jul 2020 08:37:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: compile-time-hog, memory-hog, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Thu, 30 Jul 2020 08:37:56 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96388 --- Comment #8 from Richard Biener --- > /usr/bin/time ./cc1 -quiet t.c 2>&1 | head -1 | awk '{ print $6 * 1 }' 35975 is the max RSS in kB. Guess subtracting the value for an empty compile makes sense as well.=