[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-07-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 Bug 95237 depends on bug 96192, which changed state. Bug 96192 Summary: tree-inline.c(copy_decl_for_dup_finish) should preserve decl alignment in copy https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96192 What|Removed

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-07-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #25 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:07c70c29affe7c6d01ab37cc7bc725fd1351f668 commit r11-2315-g07c70c29affe7c6d01ab37cc7bc725fd1351f668 Author: Sunil K Pandey Date: Fri

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-07-22 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #24 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:748ada0acb6fd746207aaff23a468717eee06555 commit r11-2270-g748ada0acb6fd746207aaff23a468717eee06555 Author: H.J. Lu Date: Wed Jul 22

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-07-22 Thread skpgkp2 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #23 from Sunil Pandey --- (In reply to David Binderman from comment #20) > This bug has prevented the successful compilation of the local > Linux kernel for just over a month now. > > If I can assist with any testing, please let me

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-07-21 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-07-21 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #21 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:0a9d711df36b42b6494b73a90c7ebf050e904493 commit r11-2259-g0a9d711df36b42b6494b73a90c7ebf050e904493 Author: Sunil K Pandey Date: Fri

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-07-20 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #20 from David Binderman --- This bug has prevented the successful compilation of the local Linux kernel for just over a month now. If I can assist with any testing, please let me know.

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 Jakub Jelinek changed: What|Removed |Added CC||slyfox at inbox dot ru --- Comment #19

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-19 Thread skpgkp2 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #18 from Sunil Pandey --- Another test, trigger with -Os option. $ cat foo.i int a; long long b() {} int c() { if (b()) a = 1; } $gcc -m32 -mpreferred-stack-boundary=2 -Os -c foo.i during GIMPLE pass: adjust_alignment

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-19 Thread skpgkp2 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #17 from Sunil Pandey --- $ cat foo.c long long c(long long x) {} int a() { long long b = c(b); } $ gcc -m32 -mpreferred-stack-boundary=2 -c foo.c during GIMPLE pass: adjust_alignment foo.c: In function ??a??: foo.c:2:5: internal

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 Jakub Jelinek changed: What|Removed |Added CC||elver at google dot com --- Comment #16

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-02 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #15 from rguenther at suse dot de --- On June 2, 2020 6:55:21 PM GMT+02:00, skpgkp2 at gmail dot com wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 > >--- Comment #14 from Sunil Pandey --- >Created attachment 48662 >

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-02 Thread skpgkp2 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #14 from Sunil Pandey --- Created attachment 48662 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48662=edit Add target hook to skip alignment check for long long on x86 with -m32 and -mpreferred-stack-boundary=2 Bootstrap and

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-02 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #13 from rguenther at suse dot de --- On Tue, 2 Jun 2020, hjl.tools at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 > > --- Comment #12 from H.J. Lu --- > (In reply to H.J. Lu from comment #10) > > (In

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-02 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #12 from H.J. Lu --- (In reply to H.J. Lu from comment #10) > (In reply to rguent...@suse.de from comment #9) > > > > The i386 psABI specifies 4 byte alignment for long long. But we want to > > > use 8 byte alignment if there is no

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-02 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #11 from rguenther at suse dot de --- On Tue, 2 Jun 2020, hjl.tools at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 > > --- Comment #10 from H.J. Lu --- > (In reply to rguent...@suse.de from comment

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-02 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #10 from H.J. Lu --- (In reply to rguent...@suse.de from comment #9) > > The i386 psABI specifies 4 byte alignment for long long. But we want to > > use 8 byte alignment if there is no ABI implication and no stack realignment > >

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-02 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #9 from rguenther at suse dot de --- On Tue, 2 Jun 2020, hjl.tools at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 > > --- Comment #8 from H.J. Lu --- > (In reply to Kito Cheng from comment #6) > >

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-02 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #8 from H.J. Lu --- (In reply to Kito Cheng from comment #6) > Created attachment 48658 [details] > i386-Implement-ROUND_TYPE_ALIGN-to-make-sure-alignme.patch > > Some optimization might made decision depend on the alignment, and

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 Richard Biener changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-01 Thread kito at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #6 from Kito Cheng --- Created attachment 48658 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48658=edit i386-Implement-ROUND_TYPE_ALIGN-to-make-sure-alignme.patch Some optimization might made decision depend on the

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-01 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #5 from H.J. Lu --- On i386, we don't do dynamic stack realignment for long long objects with -mpreferred-stack-boundary=2 on purpose. A backend should be allowed to opt-out gcc_assert (align >= DECL_ALIGN (var)); based one

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-01 Thread skpgkp2 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #4 from Sunil Pandey --- This test case and many other regression on x86 caused by following change set r11-508 Good $ /local/skpandey/gccwork/pr95237/tools-build/gcc-debug-r11-507/release/usr/gcc-11.0.0-x86-64/bin/gcc -m32

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-01 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #3 from Uroš Bizjak --- ICEs are "fixed" by the first hunk, the testcase in Comment #0 by the second: --cut here-- diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 060e2df62ea..cd7abaf7e04 100644 ---

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-05-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 Richard Biener changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-05-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Target Milestone|---