[Bug target/61656] Undefined behavior in classify_argument

2014-07-25 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61656 Uroš Bizjak changed: What|Removed |Added Target Milestone|4.9.3 |4.9.2

[Bug target/61656] Undefined behavior in classify_argument

2014-07-25 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61656 Uroš Bizjak changed: What|Removed |Added Target Milestone|--- |4.9.3 --- Comment #12 from Uroš Bizjak --

[Bug target/61656] Undefined behavior in classify_argument

2014-07-25 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61656 --- Comment #11 from uros at gcc dot gnu.org --- Author: uros Date: Fri Jul 25 07:47:36 2014 New Revision: 213046 URL: https://gcc.gnu.org/viewcvs?rev=213046&root=gcc&view=rev Log: Backport from mainline 2014-07-14 Jakub Jelinek P

[Bug target/61656] Undefined behavior in classify_argument

2014-07-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61656 Andrew Pinski changed: What|Removed |Added CC||zeccav at gmail dot com --- Comment #10

[Bug target/61656] Undefined behavior in classify_argument

2014-07-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61656 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/61656] Undefined behavior in classify_argument

2014-07-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61656 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Mon Jul 14 07:31:57 2014 New Revision: 212509 URL: https://gcc.gnu.org/viewcvs?rev=212509&root=gcc&view=rev Log: PR target/61656 * config/i386/i386.c (classify_argument): Don't me

[Bug target/61656] Undefined behavior in classify_argument

2014-07-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61656 --- Comment #7 from Jakub Jelinek --- The patch actually just removes the undefined behavior and nothing else, it really doesn't affect code generation. It just causes merge_classes (which is a const function) not to be called on (initialized) s

[Bug target/61656] Undefined behavior in classify_argument

2014-07-10 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61656 --- Comment #6 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #5) > then it uses movq %rsi, ... and the patch doesn't change anything on that. > If you want to use movl %esi, ... in foo in this testcase, more changes are > needed o

[Bug target/61656] Undefined behavior in classify_argument

2014-07-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61656 --- Comment #5 from Jakub Jelinek --- Depends on what testcase. In pr42025-2.c, it clearly uses movl %edi, %eax, with and without the patch. If I write: typedef struct { int p; } Ptr; struct A { long int i; union { Ptr p; int q

[Bug target/61656] Undefined behavior in classify_argument

2014-07-10 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61656 --- Comment #4 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #3) > So, are you ok with the #c0 pseudo patch? I guess I can bootstrap/regtest > it today. If we are narrowing the load from movq to movl for a SImode value, then the

[Bug target/61656] Undefined behavior in classify_argument

2014-07-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61656 --- Comment #3 from Jakub Jelinek --- So, are you ok with the #c0 pseudo patch? I guess I can bootstrap/regtest it today.

[Bug target/61656] Undefined behavior in classify_argument

2014-07-10 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61656 Uroš Bizjak changed: What|Removed |Added CC||kcc at gcc dot gnu.org --- Comment #2 from

[Bug target/61656] Undefined behavior in classify_argument

2014-07-04 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61656 --- Comment #1 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #0) > /usr/src/gcc/obj052/gcc/xgcc -B/usr/src/gcc/obj052/gcc/ > -fno-diagnostics-show-caret -fdiagnostics-color=never -O0 -w -c -o pr4 > 2025-2.o /usr/src/gcc/gcc/testsui