[PATCH] Fix optimization regression in constant folder

Richard Guenther richard.guenther@gmail.com
Sun Sep 30 16:03:00 GMT 2007

On 9/30/07, Eric Botcazou <ebotcazou@adacore.com> wrote:
> > Yes.
> Do you happen to have some references at hand?  I'd be interested in trying to
> understand the plan.  Note that we have to be able to reorder/simplify size
> calculations in Ada, and Roger helped us to do it better in max_size.


I tried to bootstrap & test the attached, but it fails in libjava:

internal compiler error: in fold_overflow_warning, at
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

if we really want to specialize sizetypes, then this would be the way to go
(after making it work, of course).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.patch
Type: text/x-patch
Size: 1483 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070930/771d9c7a/attachment.bin>

More information about the Gcc-patches mailing list