From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.intec.unl.edu.ar (unknown [200.9.237.140]) by sourceware.org (Postfix) with ESMTPS id 02EDB3858D20 for ; Sat, 12 Aug 2023 13:35:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 02EDB3858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=intec.unl.edu.ar Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intec.unl.edu.ar Received: from localhost (localhost [127.0.0.1]) by mail.intec.unl.edu.ar (Postfix) with ESMTP id 2C438283581; Sat, 12 Aug 2023 10:41:13 -0300 (ART) Received: from mail.intec.unl.edu.ar ([127.0.0.1]) by localhost (mail.intec.unl.edu.ar [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id rf_1cVvLlyza; Sat, 12 Aug 2023 10:41:11 -0300 (ART) Received: from localhost (localhost [127.0.0.1]) by mail.intec.unl.edu.ar (Postfix) with ESMTP id 2F2E9283596; Sat, 12 Aug 2023 10:41:11 -0300 (ART) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.intec.unl.edu.ar 2F2E9283596 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intec.unl.edu.ar; s=95F69FDA-B53A-11E9-B408-E2E41DC56D40; t=1691847671; bh=8zkBO7DptCVJkZYDRay4a28bkKu8Gf25x8CV/8pIZxI=; h=Date:From:To:Message-ID:MIME-Version; b=cYGNTZMhIFHQ+fqDeOVZVzwkGHiHz/Yv2ohubY5Tsxt0HSe0pH20VvEPFTj/M6acm Oh5EjKiGtOMza1UE9rLOGBQ+0sIjoE5XFlnAQmxp5WLGhUNbsze4x+4J3iIlvYxik9 IQB7W8dtrMTuCz4kPwbP3DbZ5OvtMLpILEJ9Xzn5B4S+g9zqLp5Z/Nso7PvowL0K22 Hik4CCwnBuOaRR2r9UC3Uw2Dr0+1sevyhLvyRbbjsU8yhjSAHhbpxPdZI3ESgeTqmn qBDs6CCR9zUT/HuZeMmIqs8EwMiKYH1/hGT+xO4ZCso8GaYjNa/xatMk4xJHEnIS3y mi8vgUZZSdV5w== X-Virus-Scanned: amavisd-new at intec.unl.edu.ar Received: from mail.intec.unl.edu.ar ([127.0.0.1]) by localhost (mail.intec.unl.edu.ar [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 7hFqRaiNGPT8; Sat, 12 Aug 2023 10:41:11 -0300 (ART) Received: from mail.intec.unl.edu.ar (mail.intranet [192.168.0.134]) by mail.intec.unl.edu.ar (Postfix) with ESMTP id 010B3283581; Sat, 12 Aug 2023 10:41:10 -0300 (ART) Date: Sat, 12 Aug 2023 10:41:10 -0300 (ART) From: Jorge D'Elia Reply-To: Jorge D'Elia To: Paul Richard Thomas Cc: Jerry , Gfortran List Message-ID: <1762418863.818.1691847670663.JavaMail.zimbra@intec.unl.edu.ar> In-Reply-To: References: <1302200217.1817.1691757297462.JavaMail.zimbra@intec.unl.edu.ar> Subject: Re: beta gfortran 14.x.y (using -march=native and intrinsic repeat) gives a signal SIGILL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: Zimbra 8.8.12_GA_3803 (ZimbraWebClient - FF116 (Linux)/8.8.12_GA_3794) Thread-Topic: beta gfortran 14.x.y (using -march=native and intrinsic repeat) gives a signal SIGILL Thread-Index: be0wCZRgaZrZFsW+4q4L8cqyw8VnOA== X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FOREIGN_BODY1,PDS_BAD_THREAD_QP_64,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Paul, ----- Mensaje original ----- > De: "Paul Richard Thomas" > Para: "Jerry" > CC: "Jorge D'Elia" , "Gfortran List" , "Jorge D'Elia" > > Enviado: S=C3=A1bado, 12 de Agosto 2023 3:56:44 > Asunto: Re: beta gfortran 14.x.y (using -march=3Dnative and intrinsic rep= eat) gives a signal SIGILL > > Hi Jorge, >=20 >> There were some recent patches in this area IIRC. >> >> Jerry >=20 > The tree dump is identical to mine, obtained with GNU Fortran (GCC) > 14.0.0 20230809 (experimental), so I doubt that any recent patches are > responsible. It seems so. Furthermore, I have the feeling that the problem is outside=20 GFortran, between the use of -mtune=3Dnative versus -march=3Dnative. For ex= ample, $ gfortran --version GNU Fortran (GCC) 14.0.0 20230808 (experimental) $ ls -all total 4 drwxr-xr-x. 1 jdelia jdelia 16 Aug 12 10:06 . drwxr-xr-x. 1 jdelia jdelia 2782 Aug 12 10:05 .. -rwxr-xr-x. 1 jdelia jdelia 223 Aug 11 08:28 test.f90 $ gfortran -mtune=3Dnative -fcheck=3Dall -std=3Df2018 -Wall -Werror -Wextra= -g -fdump-tree-original -o test-mtune.exe test.f90 $ ls -all total 36 drwxr-xr-x. 1 jdelia jdelia 110 Aug 12 10:17 . drwxr-xr-x. 1 jdelia jdelia 2782 Aug 12 10:05 .. -rwxr-xr-x. 1 jdelia jdelia 223 Aug 11 08:28 test.f90 -rwxr-xr-x. 1 jdelia jdelia 26856 Aug 12 10:17 test-mtune.exe -rw-r--r--. 1 jdelia jdelia 1405 Aug 12 10:17 test-mtune-test.f90.005t.ori= ginal $ mv test-mtune-test.f90.005t.original test-mtune.f90.005t.original $ ls -all total 36 drwxr-xr-x. 1 jdelia jdelia 100 Aug 12 10:19 . drwxr-xr-x. 1 jdelia jdelia 2782 Aug 12 10:05 .. -rwxr-xr-x. 1 jdelia jdelia 223 Aug 11 08:28 test.f90 -rwxr-xr-x. 1 jdelia jdelia 26856 Aug 12 10:17 test-mtune.exe -rw-r--r--. 1 jdelia jdelia 1405 Aug 12 10:17 test-mtune.f90.005t.original $ gfortran -march=3Dnative -fcheck=3Dall -std=3Df2018 -Wall -Werror -Wextra= -g -fdump-tree-original -o test-march.exe test.f90 $ ls -all total 68 drwxr-xr-x. 1 jdelia jdelia 194 Aug 12 10:19 . drwxr-xr-x. 1 jdelia jdelia 2782 Aug 12 10:05 .. -rwxr-xr-x. 1 jdelia jdelia 223 Aug 11 08:28 test.f90 -rwxr-xr-x. 1 jdelia jdelia 28064 Aug 12 10:19 test-march.exe -rw-r--r--. 1 jdelia jdelia 1405 Aug 12 10:19 test-march-test.f90.005t.ori= ginal -rwxr-xr-x. 1 jdelia jdelia 26856 Aug 12 10:17 test-mtune.exe -rw-r--r--. 1 jdelia jdelia 1405 Aug 12 10:17 test-mtune.f90.005t.original $ mv test-march-test.f90.005t.original test-march.f90.005t.original $ ls -all total 68 drwxr-xr-x. 1 jdelia jdelia 184 Aug 12 10:19 . drwxr-xr-x. 1 jdelia jdelia 2782 Aug 12 10:05 .. -rwxr-xr-x. 1 jdelia jdelia 223 Aug 11 08:28 test.f90 -rwxr-xr-x. 1 jdelia jdelia 28064 Aug 12 10:19 test-march.exe -rw-r--r--. 1 jdelia jdelia 1405 Aug 12 10:19 test-march.f90.005t.original -rwxr-xr-x. 1 jdelia jdelia 26856 Aug 12 10:17 test-mtune.exe -rw-r--r--. 1 jdelia jdelia 1405 Aug 12 10:17 test-mtune.f90.005t.original $ diff test-mtune.f90.005t.original test-march.f90.005t.original=20 # (nothing is shown, thus both tree dumps ares identical). $ test-mtune.exe=20 cc : =20 $ test-march.exe=20 Program received signal SIGILL: Illegal instruction. Backtrace for this error: #0 0x15268845fb1f in ??? #1 0x4011c2 in test =09at /home/jdelia/TEST/test.f90:6 #2 0x4012ae in main =09at /home/jdelia/TEST/test.f90:8 Illegal instruction (core dumped) > Being unable to reproduce the error, there is not much that I can do. > Sorry Non problem. To avoid this error, for now we exclude the use=20 of -march=3Dnative in our makefiles, and just use -mtune=3Dnative. > Paul Thanks for your time. Regards. Jorge. --