public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/97164] New: incorrect offset on structure member where type of that member has aligned attribute
@ 2020-09-22 12:20 jan.smets at nokia dot com
  2020-09-22 12:28 ` [Bug tree-optimization/97164] " jakub at gcc dot gnu.org
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: jan.smets at nokia dot com @ 2020-09-22 12:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97164

            Bug ID: 97164
           Summary: incorrect offset on structure member where type of
                    that member has aligned attribute
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jan.smets at nokia dot com
  Target Milestone: ---

Created attachment 49256
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49256&action=edit
testcase

Following testcase produces invalid code with GCC 10.2, 9.3, 8.4, 7.5
Works with GCC 6.5

GCC 6:
    movq    FPAPools+143752(%rdi), %rax

GCC 10 : 
    movq    FPAPools+143744(%rbx), %rax


Testcase compiled with : -fno-builtin -nostdinc -march=core2 -m64 -O2 
-mno-red-zone -fno-omit-frame-pointer -Wall -Wextra

Target: x86_64-linux-gnu
Configured with: /usr/src/gcc/configure --build=x86_64-linux-gnu
--disable-multilib --enable-languages=c,c++,fortran,go
gcc version 10.2.0 (GCC)

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-07-07  9:05 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-22 12:20 [Bug tree-optimization/97164] New: incorrect offset on structure member where type of that member has aligned attribute jan.smets at nokia dot com
2020-09-22 12:28 ` [Bug tree-optimization/97164] " jakub at gcc dot gnu.org
2020-09-22 12:51 ` jakub at gcc dot gnu.org
2020-09-22 13:59 ` [Bug tree-optimization/97164] [8/9/10/11 Regression] " rguenth at gcc dot gnu.org
2020-09-22 14:21 ` rguenth at gcc dot gnu.org
2020-09-22 14:35 ` jakub at gcc dot gnu.org
2020-09-23  7:56 ` jakub at gcc dot gnu.org
2020-09-23  8:01 ` jakub at gcc dot gnu.org
2020-09-23  8:20 ` rguenth at gcc dot gnu.org
2020-09-23 10:08 ` jan.smets at nokia dot com
2020-10-12 11:49 ` rguenth at gcc dot gnu.org
2020-10-23  8:08 ` cvs-commit at gcc dot gnu.org
2021-01-25 13:56 ` [Bug tree-optimization/97164] [8/9/10 " jakub at gcc dot gnu.org
2021-05-14  9:53 ` [Bug tree-optimization/97164] [9/10 " jakub at gcc dot gnu.org
2021-06-01  8:18 ` rguenth at gcc dot gnu.org
2022-05-27  9:43 ` [Bug tree-optimization/97164] [10 " rguenth at gcc dot gnu.org
2022-06-28 10:41 ` jakub at gcc dot gnu.org
2023-07-07  9:05 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).