From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 110165 invoked by alias); 26 Nov 2016 16:01:04 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 110144 invoked by uid 89); 26 Nov 2016 16:01:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:1807, sk:dominiq, Hx-spam-relays-external:209.85.161.194, D*lps.ens.fr X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-yw0-f194.google.com Received: from mail-yw0-f194.google.com (HELO mail-yw0-f194.google.com) (209.85.161.194) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 26 Nov 2016 16:00:52 +0000 Received: by mail-yw0-f194.google.com with SMTP id b66so5911491ywh.2; Sat, 26 Nov 2016 08:00:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=ErOmCiZzV7ZMAwbKHRKigrmmgk3D/irNvFb9/mDqdXE=; b=FRoYseYc1bjXq0fufPZktZFiqwGeG+a24a5XE8Byd5HR47ODLjVpBhjt0wLvaDddcU o2lCqdkO8hpxT6YeoRmqiZAs2/CapPG5S+w1WzNupK8hxD+f8BbrQvDJHQdcds4qB71e iuWJKcaeq3olIqbkoY/m42DOY1jSj6E7SAeXqA/S7XePVzClTpofysEPQsnGIoDd5Xt1 8jpvG96CySTTCF84ZWhVOgnXjH+a4UO/B8JZ/8YaSzTPoQpMoPXVRfkexwGb7osA6j1A 1INnpM0bouy5wjNuQuc+g4B5RqfD6e2xE+Ja4k5KKAglaoA4LlIk+8c+aMqYN7jfi6RM qsDA== X-Gm-Message-State: AKaTC039NO02lfvtAdJhRs/LXoz6dydx0L+X+ZSc6fkmKty5ZPXEYscMTplSD10kgldO1MhIQtnyZ8Q/13aQ7Q== X-Received: by 10.13.226.85 with SMTP id l82mr16120053ywe.43.1480176050965; Sat, 26 Nov 2016 08:00:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.52.2 with HTTP; Sat, 26 Nov 2016 08:00:50 -0800 (PST) In-Reply-To: References: <42E6ADCB-E228-42B0-BF2B-E630E56C2048@lps.ens.fr> From: Janus Weil Date: Sat, 26 Nov 2016 16:01:00 -0000 Message-ID: Subject: Re: Documentation of LTIME To: =?UTF-8?Q?Dominique_d=27Humi=C3=A8res?= Cc: Francisco Pena , gfortran , gcc-patches Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2016-11/txt/msg02682.txt.bz2 And one last point: The description of LTIME mentions TIME8, but if I try t= his: call ltime(time8(), values) I get: Error: =E2=80=98time=E2=80=99 argument of =E2=80=98ltime=E2=80=99 intrinsic= at (1) must be of kind 4 So maybe the reference to TIME8 should be replaced by TIME? Cheers, Janus 2016-11-26 16:54 GMT+01:00 Janus Weil : > 2016-11-26 16:49 GMT+01:00 Dominique d'Humi=C3=A8res : >> If there is no objection, I=E2=80=99ll commit the following patch > > Looks good to me! > > If you want, you could also fix the remaining items I mentioned in > comment 1 in the PR: > * apply the same fix to GMTIME > * fix it in the libgfortran sources as well > * possibly add some more cross-links to intrinsic.texi > > Thanks, > Janus > > > >> --- ../_clean/gcc/fortran/intrinsic.texi 2016-11-25 22:03:20.0000= 00000 +0100 >> +++ gcc/fortran/intrinsic.texi 2016-11-26 16:47:12.000000000 +0100 >> @@ -9663,11 +9663,11 @@ The elements of @var{VALUES} are assigne >> seconds >> @item Minutes after the hour, range 0--59 >> @item Hours past midnight, range 0--23 >> -@item Day of month, range 0--31 >> -@item Number of months since January, range 0--12 >> +@item Day of month, range 1--31 >> +@item Number of months since January, range 0--11 >> @item Years since 1900 >> @item Number of days since Sunday, range 0--6 >> -@item Days since January 1 >> +@item Days since January 1, range 0--365 >> @item Daylight savings indicator: positive if daylight savings is in >> effect, zero if not, and negative if the information is not available. >> @end enumerate >> >> Dominique >> >>> Le 26 nov. 2016 =C3=A0 16:02, Francisco Pena a =C3= =A9crit : >>> >>> Thank you guys, >>> >>> I have reported the documentation bug, >>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78545 >>