[Bug tree-optimization/31602] Overflow warning causes GDB -Werror build failure

2007-04-24 Thread ian at airs dot com
--- Comment #7 from ian at airs dot com 2007-04-24 23:27 --- Fixed on mainline and 4.2 branch. -- ian at airs dot com changed: What|Removed |Added Status|NEW

[Bug tree-optimization/31602] Overflow warning causes GDB -Werror build failure

2007-04-24 Thread ian at gcc dot gnu dot org
--- Comment #6 from ian at gcc dot gnu dot org 2007-04-24 22:54 --- Subject: Bug 31602 Author: ian Date: Tue Apr 24 22:54:22 2007 New Revision: 124127 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124127 Log: PR tree-optimization/31602 * tree-ssa-loop-ch.c (copy

[Bug tree-optimization/31602] Overflow warning causes GDB -Werror build failure

2007-04-24 Thread ian at gcc dot gnu dot org
--- Comment #5 from ian at gcc dot gnu dot org 2007-04-24 21:44 --- Subject: Bug 31602 Author: ian Date: Tue Apr 24 21:44:45 2007 New Revision: 124120 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124120 Log: ./: PR tree-optimization/31602 * tree-ssa-loop-ch.c (

[Bug tree-optimization/31602] Overflow warning causes GDB -Werror build failure

2007-04-20 Thread drow at gcc dot gnu dot org
--- Comment #4 from drow at gcc dot gnu dot org 2007-04-20 20:04 --- Subject: Re: Overflow warning causes GDB -Werror build failure On Fri, Apr 20, 2007 at 03:17:19PM -, ian at airs dot com wrote: > This patch fixes the test case in the PR. I am testing it. It would be >

[Bug tree-optimization/31602] Overflow warning causes GDB -Werror build failure

2007-04-20 Thread ian at airs dot com
--- Comment #3 from ian at airs dot com 2007-04-20 16:17 --- Created an attachment (id=13394) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13394&action=view) Proposed patch This patch fixes the test case in the PR. I am testing it. It would be interesting to hear whether it als

[Bug tree-optimization/31602] Overflow warning causes GDB -Werror build failure

2007-04-18 Thread ian at airs dot com
--- Comment #2 from ian at airs dot com 2007-04-18 15:14 --- Yes, the warning is happening because gcc relies on undefined signed overflow when assuming that it will execute the loop at least once. Of course when using -fwrapv the loop should not be executed at all when num > INT_MAX -

[Bug tree-optimization/31602] Overflow warning causes GDB -Werror build failure

2007-04-17 Thread drow at false dot org
--- Comment #1 from drow at gcc dot gnu dot org 2007-04-17 13:26 --- Subject: Re: New: Overflow warning causes GDB -Werror build failure On Tue, Apr 17, 2007 at 12:21:36PM -, drow at gcc dot gnu dot org wrote: > GCC HEAD now warns about this testcase for mips-linux, reduce