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 bootstrap/14462] [3.5 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  2004-03-09 06:12 -------
Subject: Re:  [3.5 Regression] a-calend.adb:396:33: warni

I can't find any difference in the .o files generated at stage2 with and
without Paulo's patch except for the following two files:

dave@gsyprf11:~/gcc-3.5/objdir/gcc$ for i in ada/*.o;do cmp $i stage2/$i;done
ada/b_gnat1.o stage2/ada/b_gnat1.o differ: char 35, line 1
ada/b_gnatb.o stage2/ada/b_gnatb.o differ: char 35, line 1

These differences are caused by differences in the .c files generated
by gnatbind:

--- ada/b_gnatb.c       2004-03-08 21:13:44.000000000 -0800
+++ stage2/ada/b_gnatb.c        2004-03-08 19:30:32.000000000 -0800
@@ -13,46 +13,6 @@ extern void __gnat_initialize (void);
 extern void __gnat_finalize (void);
 extern void __gnat_install_handler (void);

-extern void system__standard_library___elabs (void);
-extern void ada__exceptions___elabs (void);
-extern void system__exceptions___elabs (void);
-extern void system__soft_links___elabb (void);
-extern void system__secondary_stack___elabb (void);
-extern void system__exception_table___elabb (void);
...

stage1/gnatbind with Paulo's patch generates identical C code to
stage2/gnatbind without Paulo's patch (b_gnatb.c and b_gnat1.c).

Dave


-- 


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


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