From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by sourceware.org (Postfix) with ESMTPS id 433393858D35; Sun, 19 Mar 2023 13:12:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 433393858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-x432.google.com with SMTP id cu12so244484pfb.13; Sun, 19 Mar 2023 06:12:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679231541; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=qS9ZccMUJZfqkdIBWRuSRX9Br8u4X2D/Eu4gPf1X2zQ=; b=qCjATKo7+P4E2y2VVoNaxTN/aVwRjR+CJLQQ3i1FWzIZZVFHwvza9k44WJX2z9M0FA NolgE+xKYBX0d0yztfW7K1frJJkNtL5fJM/KCTm2lA/LlLKLUKTpdS/U9lgxcKiD4OyP /Vy4j54J8Y5JNURAREUShq1jND206Vk42I8jiMtSRSoIQ24e+on6WpSMvG6ck2kWwqRt yGtdiV6Tjjbj7s7J5yosUIJsHx9IskS1CAL2O7ojTO34I49r4dyAnv09/V21LJ1sgVq+ 5DMwdDJhIte3d/8xF4d+vOb/RWUT6f5tZ0EPN8WODJ8pFN32OlKeZA5sgjOv2vG5J5cf EORQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679231541; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qS9ZccMUJZfqkdIBWRuSRX9Br8u4X2D/Eu4gPf1X2zQ=; b=CFzuOHvlGgdcjWHsA6EMryVOYLGSRb5pDSAGM9cIniwx8HPAwloI+xnvZCoIRtcuHB z58zI8f8W6zP09LanFWCGbwI10x+pecjQPRhQmyShlkgD5oaSUv4s2yiKP4ZWiVOL3a8 Zx8aP1uiTKumIptWnQLhvzXK/UyPdts5EGYpogZNnfLo+54yUUCYFiV0XXnyOR9jxiPm +lmgD7q6Zdzj3zI/7hZG2Y+PPPrDk6CTSz0GCji5nv36DGq5hY+kb469HJevTb871IB0 jpx5EpJYD/19OhePAQ31SJ0z4NwAuHO0wDPDJTixq6wwU7IkXPss53EydSI7hXl0vvDd iKqw== X-Gm-Message-State: AO0yUKUeNECijdlybMNpSyqCrt67109qHR99R5D3EGVUyOjWF+UR5y3w nX0IFuZBpBIsvAYs6J4HzSP/eBbJlrE+fTdeDt4= X-Google-Smtp-Source: AK7set9pENH3Yq8/MN7FHrKefDqoIQVS4CTzFQda3H5Dk/YJJYloyUr3PYlQ4/yYtNTQ6xDCXYy11DHCP5wxBJb7Ctg= X-Received: by 2002:a05:6a00:2283:b0:626:2343:76b0 with SMTP id f3-20020a056a00228300b00626234376b0mr4022685pfe.6.1679231540899; Sun, 19 Mar 2023 06:12:20 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Paul Richard Thomas Date: Sun, 19 Mar 2023 13:12:09 +0000 Message-ID: Subject: Re: [patch, fortran, doc] Explicitly mention undefined overflow To: Thomas Koenig Cc: "fortran@gcc.gnu.org" , gcc-patches Content-Type: multipart/alternative; boundary="0000000000007db30505f7408f79" X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --0000000000007db30505f7408f79 Content-Type: text/plain; charset="UTF-8" Hi Thomas, Yes, that's fine for trunk. I wonder if it is worth being explicit that linear congruential pseudo-random number generators can and do fail at -O3? Thanks for the doc patches! Paul On Sun, 19 Mar 2023 at 08:32, Thomas Koenig via Fortran wrote: > Here's also an update on the docs to explicitly mention behavior > on overflow. > > Maybe this will reach another 0.05% of users... > > OK for trunk? > > Best regards > > Thomas > > gcc/fortran/ChangeLog: > > * gfortran.texi: Mention behavior on overflow. > -- "If you can't explain it simply, you don't understand it well enough" - Albert Einstein --0000000000007db30505f7408f79--