This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ada mainline


Laurent GUERBY wrote:

> stage1/xgcc -Bstage1/
>  -B/home/guerby/work/gcc/install/install-20040909T003617/i686-pc-linux-gnu/bi
n/
> -c -g -O2      -gnatpg -gnata -g -O1 -fno-inline \ -I- -I. -Iada
> -I/home/guerby/work/gcc/version-head/gcc/ada
> /home/guerby/work/gcc/version-head/gcc/ada/a-except.adb -o
> ada/a-except.o +===========================GNAT BUG
> DETECTED==============================+
>> 3.5.0 20040908 (experimental) (i686-pc-linux-gnu) GCC error:
>> |
>> in peel_address, at tree-ssa-loop-ivopts.c:2560
>> |
>> Error detected at a-exexda.adb:312:8
>> |

This is bcause peel_address does not handle some trees generated by Ada (I
think it was VIEW_CONVERT_EXPR, but I may be wrong). Honza was working on it,
but then he preferred to wait for Zdenek to be back. Bootstrapping
with -fno-ivopts should be a workaround for now.


> ../../xgcc -B../../ -c -g -O2 -fPIC      -W -Wall -gnatpg
> a-nllcef.ads -o a-nllcef.o +===========================GNAT BUG
> DETECTED==============================+
>> 3.5.0 20040908 (experimental) (x86_64-unknown-linux-gnu) GCC error:
>> |
>> in optimize_mode_switching, at lcm.c:1225
>> |
>> Error detected at a-ngcefu.adb:710:1 [a-nllcef.ads:19:1]
>> |

This is PR 17345. It was broken by Uros i387 patch, and Honza has a proposed
solution. See the audit trail for more infos. You may want to double-check that
the attacched patch does indeed cure the Ada failure as well.

Giovanni Bajo



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]