This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/54934] [fortran] Invalid >4GB array bounds with 32-bit target
- From: "jan.kratochvil at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 15 Oct 2012 18:47:05 +0000
- Subject: [Bug debug/54934] [fortran] Invalid >4GB array bounds with 32-bit target
- Auto-submitted: auto-generated
- References: <bug-54934-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54934
--- Comment #3 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2012-10-15 18:47:05 UTC ---
Created attachment 28452
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28452
.S from reproducer for -m32 output fixed by hand
.S file is a fix-up by hand to make -m32 working:
#if 0
original - not working
#else
patched - working
#endif
Or for original GCC output:
-m64 (working) -> -m32 (not working)
<88> DW_AT_lower_bound : 0xfffffffeffffffff
<90> DW_AT_upper_bound : 0xffffffff00000000
->
<74> DW_AT_lower_bound : 0xffffffff
<78> DW_AT_upper_bound : 0
<b5> DW_AT_lower_bound : 0x100000000
<bd> DW_AT_upper_bound : 0x100000001
->
<96> DW_AT_lower_bound : 0
<97> DW_AT_upper_bound : 1