From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5493 invoked by alias); 19 Feb 2015 16:32:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 5418 invoked by uid 48); 19 Feb 2015 16:32:20 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/64432] [5 Regression] SYSTEM_CLOCK(COUNT_RATE=rate) wrong result for integer(4)::rate Date: Thu, 19 Feb 2015 16:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: fxcoudert at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg02143.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64432 --- Comment #25 from Jerry DeLisle --- (In reply to Jerry DeLisle from comment #24) > (In reply to Harald Anlauf from comment #22) > > count_rate(8),count_max(1) = 0 127 > > > > OK, but the last line looks strange: lacking documentation, > > I'd expect the rate to be 1, not 0. (Not that I'd use that > > in real code...). > > Yes, tha last one is wrong. I will look into it. > I found the problem and have it fixed. I am traveling today so will not be able to upload a patch until tomorrow or the next day.