This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Fortran - trunk, committed] Allow arrays larger than 2**32 bits on 32 bit targets.
- To: gcc-patches at gcc dot gnu dot org
- Subject: [Fortran - trunk, committed] Allow arrays larger than 2**32 bits on 32 bit targets.
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Wed, 24 Oct 2001 22:39:09 +0200
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
L.S.,
Andreas Jaeger was kind enough to test the Fortran program included in
message
http://gcc.gnu.org/ml/gcc/2001-10/msg01165.html
after applying the patch attached to f/com.c. It ran to completion
without aborting, which means that my assumptions in the above message
are essentially correct.
Because the only way to get broader testing of this patch is to include
it in the snapshots, I just committed it to the trunk.
Subsequently, I will inform the comp.lang.fortran crowd of this new
feature, to _ensure_ some testing :-)
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)
2001-10-22 Toon Moene <toon@moene.indiv.nluug.nl>
* com.c (ffecom_check_size_overflow_): Only check for TREE_OVERFLOW.
*** com.c.orig Fri Oct 19 14:59:44 2001
--- com.c Sun Oct 21 14:17:15 2001
*************** ffecom_check_size_overflow_ (ffesymbol s
*** 2267,2272 ****
if ((tree_int_cst_sgn (TYPE_SIZE (type)) < 0)
! || (!dummy && (((TREE_INT_CST_HIGH (TYPE_SIZE (type)) != 0))
! || TREE_OVERFLOW (TYPE_SIZE (type)))))
{
ffebad_start (FFEBAD_ARRAY_LARGE);
--- 2267,2271 ----
if ((tree_int_cst_sgn (TYPE_SIZE (type)) < 0)
! || (!dummy && TREE_OVERFLOW (TYPE_SIZE (type))))
{
ffebad_start (FFEBAD_ARRAY_LARGE);