[Bug rtl-optimization/25196] [4.0/4.1 Regression] i386: wrong arguments passed

2005-12-20 Thread steven at gcc dot gnu dot org
--- Comment #8 from steven at gcc dot gnu dot org 2005-12-20 15:58 --- Gross. According to a comment in postreload.c:move2add_note_store(), we can have pushes without REG_INC notes: /* Some targets do argument pushes without adding REG_INC notes. */ So we need to go look for those {

[Bug rtl-optimization/25196] [4.0/4.1 Regression] i386: wrong arguments passed

2005-12-20 Thread steven at gcc dot gnu dot org
--- Comment #7 from steven at gcc dot gnu dot org 2005-12-20 14:59 --- Does not fail with trunk or the head of the gcc 4.1 branch. But it does fail with gcc 4.0.2. I'm going to try it with the head of the gcc 4.0 branch now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25196

[Bug rtl-optimization/25196] [4.0/4.1 Regression] i386: wrong arguments passed

2005-12-20 Thread belyshev at depni dot sinp dot msu dot ru
--- Comment #6 from belyshev at depni dot sinp dot msu dot ru 2005-12-20 10:59 --- *** Bug 23453 has been marked as a duplicate of this bug. *** -- belyshev at depni dot sinp dot msu dot ru changed: What|Removed |Added

[Bug rtl-optimization/25196] [4.0/4.1 Regression] i386: wrong arguments passed

2005-12-20 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |steven at gcc dot gnu dot |dot org

[Bug rtl-optimization/25196] [4.0/4.1 Regression] i386: wrong arguments passed

2005-12-20 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2005-12-20 10:17 --- Re. comment #4: but this new PR has a much simpler test case :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25196

[Bug rtl-optimization/25196] [4.0/4.1 Regression] i386: wrong arguments passed

2005-12-20 Thread belyshev at depni dot sinp dot msu dot ru
--- Comment #4 from belyshev at depni dot sinp dot msu dot ru 2005-12-20 09:17 --- // short testcase, compile with "-m32 -march=i386 -O3 -fomit-frame-pointer" extern void abort (void); static int j; static void __attribute__((noinline)) f1 (int a, int b, int c, int d, int e) { j =