From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9F7503851C01; Thu, 23 Apr 2020 17:22:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F7503851C01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587662571; bh=+nVKYADh0rwtg//peHevkNFSj58g2foGXxYSSuYapt8=; h=From:To:Subject:Date:From; b=KEd8WUbsaCUCALnrwoNzWXh1r9+fT0k8s3SjoiCJnnft8KwiU3tD5kKLyqiOOJpGD GkGnvhmtc2o+lLR4X7Ngh+qaJotxvCBIVj//EjEzcVzCsiH4LuUf4YUWlfg991OnPm 8wsr4n1to1eO5Q0469y3rqPA3RhRInqV1JH5UxDY= From: "sripar01 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/94735] New: MVE vector load/store pair getting removed with -O2. Date: Thu, 23 Apr 2020 17:22:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sripar01 at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: 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, 23 Apr 2020 17:22:51 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94735 Bug ID: 94735 Summary: MVE vector load/store pair getting removed with -O2. Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sripar01 at gcc dot gnu.org Target Milestone: --- Created attachment 48362 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D48362&action=3Dedit test case $ arm-none-eabi-gcc -v Using built-in specs. COLLECT_GCC=3Darm-none-eabi-gcc COLLECT_LTO_WRAPPER=3D/media/sripar01/2tb_work/Release/build-arm-none-eabi/= install/libexec/gcc/arm-none-eabi/10.0.1/lto-wrapper Target: arm-none-eabi Configured with: /media/sripar01/2tb_work/Release/src/gcc/configure --target=3Darm-none-eabi --prefix=3D/media/sripar01/2tb_work/Release/build-arm-none-eabi/install// --with-gmp=3D/media/sripar01/2tb_work/Release/build-arm-none-eabi/host-tools --with-mpfr=3D/media/sripar01/2tb_work/Release/build-arm-none-eabi/host-too= ls --with-mpc=3D/media/sripar01/2tb_work/Release/build-arm-none-eabi/host-tools --with-isl=3D/media/sripar01/2tb_work/Release/build-arm-none-eabi/host-tools --disable-shared --disable-nls --disable-threads --disable-tls --enable-checking=3Dyes --enable-languages=3Dc --without-cloog --without-isl --with-newlib --without-headers --with-multilib-list=3Drmprofile --with-pkgversion=3Dunknown Thread model: single Supported LTO compression algorithms: zlib gcc version 10.0.1 20200423 (experimental) (unknown) $ arm-none-eabi-gcc mve_vstore.i -S -O2 -march=3Darmv8.1-m.main+mve -mfloat-abi=3Dhard On compiling attached test case (mve_vstore.i) with -02 optimizes out a pai= r of vector load/store statements.=