[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-09 Thread hjl at gcc dot gnu dot org
--- Comment #13 from hjl at gcc dot gnu dot org 2007-10-09 14:00 --- Subject: Bug 33669 Author: hjl Date: Tue Oct 9 14:00:11 2007 New Revision: 129166 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129166 Log: gcc/ 2007-10-09 Kenneth Zadeck [EMAIL PROTECTED] PR

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-09 Thread zadeck at naturalbridge dot com
--- Comment #14 from zadeck at naturalbridge dot com 2007-10-09 15:32 --- Subject: Re: [4.3 Regression] Revision 128957 miscompiles 481.wrf hjl at gcc dot gnu dot org wrote: --- Comment #13 from hjl at gcc dot gnu dot org 2007-10-09 14:00 --- Subject: Bug 33669 Author:

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-09 Thread zadeck at naturalbridge dot com
--- Comment #15 from zadeck at naturalbridge dot com 2007-10-09 15:41 --- Subject: Re: [4.3 Regression] Revision 128957 miscompiles 481.wrf This patch fixes the problem in a slightly different way. The other patch was too conservative in that it ended up setting the added flag too

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-09 Thread hjl at lucon dot org
--- Comment #16 from hjl at lucon dot org 2007-10-09 16:19 --- (In reply to comment #14) Subject: Re: [4.3 Regression] Revision 128957 miscompiles 481.wrf please back this out. i have a different patch that i have finished testing. this one is too conservative. I backed

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-09 Thread zadeck at gcc dot gnu dot org
--- Comment #17 from zadeck at gcc dot gnu dot org 2007-10-10 03:32 --- Subject: Bug 33669 Author: zadeck Date: Wed Oct 10 03:32:43 2007 New Revision: 129193 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129193 Log: 2007-10-07 Kenneth Zadeck [EMAIL PROTECTED] PR

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-09 Thread zadeck at naturalbridge dot com
--- Comment #18 from zadeck at naturalbridge dot com 2007-10-10 03:39 --- Subject: Re: [4.3 Regression] Revision 128957 miscompiles 481.wrf HJ, Sorry about the committing snafu. I should have posted the irc log of seonbae's comments to the log for the bug. Also I had a meeting

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-09 Thread zadeck at naturalbridge dot com
--- Comment #19 from zadeck at naturalbridge dot com 2007-10-10 03:41 --- patch committed to fix this. -- zadeck at naturalbridge dot com changed: What|Removed |Added

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-09 Thread hjl at lucon dot org
--- Comment #20 from hjl at lucon dot org 2007-10-10 03:47 --- Subject: Re: [4.3 Regression] Revision 128957 miscompiles 481.wrf On Tue, Oct 09, 2007 at 11:39:48PM -0400, Kenneth Zadeck wrote: HJ, Sorry about the committing snafu. I should have posted the irc log of

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-08 Thread seongbae dot park at gmail dot com
--- Comment #12 from seongbae dot park at gmail dot com 2007-10-08 20:18 --- Subject: Re: [4.3 Regression] Revision 128957 miscompiles 481.wrf Please remove the extra blank line above the line 984 (in new file). This patch is OK. Seongbae On 10/7/07, Kenneth Zadeck [EMAIL

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-07 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-07 Thread zadeck at naturalbridge dot com
-- zadeck at naturalbridge dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |zadeck at naturalbridge dot |dot org

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-07 Thread zadeck at naturalbridge dot com
--- Comment #10 from zadeck at naturalbridge dot com 2007-10-07 21:57 --- Subject: Re: [4.3 Regression] Revision 128957 miscompiles 481.wrf This patch fixes pr33669. The failure only happens if you have a block with 2 or more uses of a multiword pseudo register that is local to

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-07 Thread zadeck at naturalbridge dot com
--- Comment #11 from zadeck at naturalbridge dot com 2007-10-08 03:53 --- *** Bug 33662 has been marked as a duplicate of this bug. *** -- zadeck at naturalbridge dot com changed: What|Removed |Added

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-06 Thread hjl at lucon dot org
--- Comment #8 from hjl at lucon dot org 2007-10-06 16:16 --- (In reply to comment #7) Subject: Re: [4.3 Regression] Revision 128957 miscompiles 481.wrf hjl at lucon dot org wrote: --- Comment #5 from hjl at lucon dot org 2007-10-06 02:07 --- Kenny, does your patch

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-06 Thread zadeck at naturalbridge dot com
--- Comment #9 from zadeck at naturalbridge dot com 2007-10-07 03:18 --- Subject: Re: [4.3 Regression] Revision 128957 miscompiles 481.wrf hj, here is a fix. I will most likely post the patch on monday after i get it really tested on a bunch of platforms. The fix is in the third

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-05 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||rguenth at gcc dot gnu dot |

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-05 Thread hjl at lucon dot org
--- Comment #1 from hjl at lucon dot org 2007-10-05 21:17 --- netcdf/posixio.c is miscompiled. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33669

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-05 Thread hjl at lucon dot org
--- Comment #2 from hjl at lucon dot org 2007-10-05 21:49 --- px_get in netcdf/posixio.c is miscompiled at -O2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33669

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-05 Thread hjl at lucon dot org
--- Comment #3 from hjl at lucon dot org 2007-10-05 21:52 --- px_get in netcdf/posixio.c is miscompiled at -O1 and -O0 is OK. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33669

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-05 Thread hjl at lucon dot org
--- Comment #4 from hjl at lucon dot org 2007-10-05 23:14 --- #include string.h #include stdlib.h typedef struct foo_t { size_t blksz; size_t bf_extent; size_t bf_cnt; void*bf_base; } foo_t; #define _RNDUP(x, unit) x) + (unit) - 1)

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-05 Thread hjl at lucon dot org
--- Comment #5 from hjl at lucon dot org 2007-10-06 02:07 --- Kenny, does your patch http://gcc.gnu.org/ml/gcc-patches/2007-10/msg00124.html handle cases where number of consecutive hard regs needed to hold some mode 1 correctly? IA32 needs 2 hard registers to hold long long and your

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-05 Thread hjl at lucon dot org
--- Comment #6 from hjl at lucon dot org 2007-10-06 02:31 --- A smaller testcase: bash-3.2$ cat x.c extern void abort (void); typedef struct foo_t { unsigned int blksz; unsigned int bf_cnt; } foo_t; #define _RNDUP(x, unit) x) + (unit) - 1) / (unit)) * (unit)) #define

[Bug rtl-optimization/33669] [4.3 Regression] Revision 128957 miscompiles 481.wrf

2007-10-05 Thread zadeck at naturalbridge dot com
--- Comment #7 from zadeck at naturalbridge dot com 2007-10-06 04:11 --- Subject: Re: [4.3 Regression] Revision 128957 miscompiles 481.wrf hjl at lucon dot org wrote: --- Comment #5 from hjl at lucon dot org 2007-10-06 02:07 --- Kenny, does your patch