[Bug target/61296] Excessive alignment in ix86_data_alignment

2021-09-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 Andrew Pinski changed: What|Removed |Added CC||drepper.fsp at gmail dot com --- Comment

[Bug target/61296] Excessive alignment in ix86_data_alignment

2016-03-30 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 --- Comment #18 from H.J. Lu --- *** Bug 70451 has been marked as a duplicate of this bug. ***

[Bug target/61296] Excessive alignment in ix86_data_alignment

2014-12-17 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/61296] Excessive alignment in ix86_data_alignment

2014-12-17 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 --- Comment #16 from hjl at gcc dot gnu.org --- Author: hjl Date: Wed Dec 17 14:22:57 2014 New Revision: 218818 URL: https://gcc.gnu.org/viewcvs?rev=218818&root=gcc&view=rev Log: Add -malign-data={abi|compat|cachineline} Add -malign-data={abi|c

[Bug target/61296] Excessive alignment in ix86_data_alignment

2014-12-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 --- Comment #15 from H.J. Lu --- (In reply to Jakub Jelinek from comment #13) > Read the sources? It really depends on many factors. There are int max_align_compat = optimize_size ? BITS_PER_WORD : MIN (256, MAX_OFILE_ALIGNMENT); With -

[Bug target/61296] Excessive alignment in ix86_data_alignment

2014-12-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 H.J. Lu changed: What|Removed |Added CC||kirill.yukhin at intel dot com --- Comment #14

[Bug target/61296] Excessive alignment in ix86_data_alignment

2014-12-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 --- Comment #13 from Jakub Jelinek --- Read the sources? It really depends on many factors.

[Bug target/61296] Excessive alignment in ix86_data_alignment

2014-12-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 --- Comment #12 from H.J. Lu --- (In reply to Jakub Jelinek from comment #11) > If you hit the assumption beyond what ABI mandates on some public symbol > issue in some older GCC version, then sure, if you have that public symbol > defined by ICC

[Bug target/61296] Excessive alignment in ix86_data_alignment

2014-12-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 --- Comment #11 from Jakub Jelinek --- If you hit the assumption beyond what ABI mandates on some public symbol issue in some older GCC version, then sure, if you have that public symbol defined by ICC, it will misbehave. But, if it is compiled

[Bug target/61296] Excessive alignment in ix86_data_alignment

2014-12-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 --- Comment #10 from H.J. Lu --- (In reply to Jakub Jelinek from comment #9) > (In reply to H.J. Lu from comment #8) > > Do you have a testcase to show decreasing DATA_ALIGNMENT would break > > backwards compatibility with older gcc versions? >

[Bug target/61296] Excessive alignment in ix86_data_alignment

2014-12-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 --- Comment #9 from Jakub Jelinek --- (In reply to H.J. Lu from comment #8) > Do you have a testcase to show decreasing DATA_ALIGNMENT would break > backwards compatibility with older gcc versions? Older GCC versions used DATA_ALIGNMENT (what is

[Bug target/61296] Excessive alignment in ix86_data_alignment

2014-12-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 --- Comment #8 from H.J. Lu --- (In reply to Jakub Jelinek from comment #7) > See discussions when I've added DATA_ABI_ALIGNMENT. DATA_ABI_ALIGNMENT was added for PR 56564: /* Similar to DATA_ALIGNMENT, but for the cases where the ABI mandates

[Bug target/61296] Excessive alignment in ix86_data_alignment

2014-12-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 --- Comment #7 from Jakub Jelinek --- See discussions when I've added DATA_ABI_ALIGNMENT.

[Bug target/61296] Excessive alignment in ix86_data_alignment

2014-12-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 --- Comment #6 from H.J. Lu --- (In reply to Jakub Jelinek from comment #5) > I doubt we can do anything about it though, decreasing DATA_ALIGNMENT would > break backwards compatibility with older gcc versions. We need a testcase to verify the c

[Bug target/61296] Excessive alignment in ix86_data_alignment

2014-12-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug target/61296] Excessive alignment in ix86_data_alignment

2014-12-11 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/61296] Excessive alignment in ix86_data_alignment

2014-06-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 --- Comment #3 from H.J. Lu --- Comments for DATA_ALIGNMENT One use of this macro is to increase alignment of medium-size data to make it all fit in fewer cache lines. Another is to cause character arrays to be word-aligned so that `st

[Bug target/61296] Excessive alignment in ix86_data_alignment

2014-05-30 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 --- Comment #2 from H.J. Lu --- After r199898, DATA_ALIGNMENT is only for optimization purposes. Align struct >= 64 bytes to 64 bytes may increase data size due to excessive alignment.

[Bug target/61296] Excessive alignment in ix86_data_alignment

2014-05-27 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 --- Comment #1 from H.J. Lu --- The comdat definition needs to the biggest alignment generated by any compilers.