This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/13324] [3.4 Regression] a-calend.adb:396:33: warning: value not in range of type "Ada.Calendar.Day_Duration"
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Dec 2003 16:58:23 -0000
- Subject: [Bug ada/13324] [3.4 Regression] a-calend.adb:396:33: warning: value not in range of type "Ada.Calendar.Day_Duration"
- References: <20031205213136.13324.danglin@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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