[Bug bootstrap/14462] [3.5 Regression] a-calend.adb:396:33: warning: value not in range of type "Ada.Calendar.Day_Duration"

dave at hiauly1 dot hia dot nrc dot ca gcc-bugzilla@gcc.gnu.org
Sat Mar 13 16:55:00 GMT 2004


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-03-13 16:55 -------
Subject: Re:  [3.5 Regression] a-calend.adb:396:33: warni

> > With Jan's patch reverted, I can sucessfully bootstrap with Ada on
> > hppa-unknown-linux-gnu and hppa2.0w-hp-hpux11.00.
> 
> Is Jan aware of this ? Is he (or someone else) working on addressing
> this failure ? If not, could you open a new PR please ? Thanks.

He's on the PR CC list but he could be away.

Why do we need a new PR?  It's Jan's patch that introduced:

../../xgcc -B../../ -c -g -O2      -W -Wall -gnatpg  a-calend.adb -o a-calend.o
a-calend.adb:396:33: warning: value not in range of type "Ada.Calendar.Day_Duration"
a-calend.adb:396:33: warning: "Constraint_Error" will be raised at run time
a-calend.ads:70:33: warning: value not in range of type "Ada.Calendar.Day_Duration"
a-calend.ads:70:33: warning: "Constraint_Error" will be raised at run time
make[6]: *** [a-calend.o] Error 1

This was determined by patching trans.c to correct the failure introduced
by Paolo's patch and then doing a search for the patch that introduced the
above failure.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14462



More information about the Gcc-bugs mailing list