From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A6D753858D20; Fri, 27 Jan 2023 21:13:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A6D753858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674854001; bh=zEmlcPfJVGBAGI+dm0W8Pnp1HdDpJR1I3C7LQZlfMfU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=px1LJt5goCcWdbDwHi6Y8ouOLY6PXPiYN9/mvGZTJPs4jBvmlXNu9kxaMJ+v6f0rT dkUAIoBhIMWzA3H1w2ITDK/6IA+3irSWLIBcfuE6UA6STUXLN5DCQM3jdt5brT+EiC oN+I/VUczxAPYZqDWNfieVCD8y/nRT5gCF+6SLbM= From: "ergasies.uni at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108575] Bug in gcc arm non eabi Date: Fri, 27 Jan 2023 21:13:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.3.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ergasies.uni at gmail dot com X-Bugzilla-Status: WAITING 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: Message-ID: In-Reply-To: References: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108575 --- Comment #4 from Nikos Tosis --- (In reply to Andrew Pinski from comment #1) > What is the command line you are using to compile the sources? >=20 > Does -fno-strict-aliasing help? > Does it work at -O0? I use -mcpu=3Dcortex-m4 -std=3Dgnu11 -g -DDEBUG -DUSE_HAL_DRIVER -DSTM32F44= 6xx -Og -ffunction-sections -fdata-sections -Wall -Wextra -fstack-usage --specs=3Dnano.specs -mfpu=3Dfpv4-sp-d16 -mfloat-abi=3Dhard -mthumb -save-t= emps -ffile-prefix-map=3D/home/runner/work/Nyx_Simulink/Nyx_Simulink/Code=3D. (In reply to Andrew Pinski from comment #1) > What is the command line you are using to compile the sources? >=20 > Does -fno-strict-aliasing help? > Does it work at -O0? I think your suggestion is not working, the assembly code is different but still a wrong address.=