[Bug middle-end/51323] g++ confuses this with function argument in optimized call

2011-11-29 Thread dak at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51323 --- Comment #7 from David Kastrup 2011-11-29 09:43:44 UTC --- I agree that the real fix is to force an upgrade of the compiler to a fixed version. However, Ubuntu 11.10 has been released and is in circulation, so we can't reasonably implement th

[Bug middle-end/51323] g++ confuses this with function argument in optimized call

2011-11-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51323 --- Comment #6 from Jakub Jelinek 2011-11-28 20:38:59 UTC --- That would be too big hammer approach. While the fix is in arch independent code, on most architectures you could hit it only with > 6 resp. > 8 arguments and with similar scenario ea

[Bug middle-end/51323] g++ confuses this with function argument in optimized call

2011-11-28 Thread dak at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51323 --- Comment #5 from David Kastrup 2011-11-28 19:33:26 UTC --- Question: the proposed fix is in gcc/calls.c which looks somewhat architecture independent. Am I right in assuming that this means that the bug may manifest itself under architectures

[Bug middle-end/51323] g++ confuses this with function argument in optimized call

2011-11-28 Thread dak at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51323 --- Comment #4 from David Kastrup 2011-11-28 18:24:10 UTC --- I can confirm that my version of gcc identifying itself as gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) makes your test program abort under -O2. If you _cannot_ confirm this with

[Bug middle-end/51323] g++ confuses this with function argument in optimized call

2011-11-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51323 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|