This is the mail archive of the gcc-bugs@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]

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


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2003-12-10 16:58 -------
Subject: Re:  [3.4 Regression] a-calend.adb:396:33: warning: va

> > If not, could you identify which patch caused this strange regression ?
> 
> I'm fairly certain the regression was introduced by this patch:
> 
> gcc/gcc/ada 3ssoliop.ads 52osinte.ads 53osinte ...
> at 5 Dec 2003 10:24:08 -0000.

I was wrong.  The actual patch that introduced the regression was installed
a little latter in the day:

2003-12-05  Roger Sayle  <roger@eyesopen.com>

	* dojump.c (do_jump): If the expression being compared against
	zero, is the subreg of a promoted variable, perform the comparison
	in the promoted mode.
	* simplify-rtx.c (simplify_unary_operation): Optimize sign and
	zero-extensions of subregs of promoted variables where the
	extension is identical to that used to promote the variable.

Dave


-- 


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


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