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

Re: [Patch, Fortran] PR 44742 - Avoid ICE when -fmax-array-constructor is exeeded


On 07/06/2010 09:10 AM, Tobias Burnus wrote:
The patch adds a diagnostic for "constant" (F95, F2008; F2003:
"initialization") expressions where the array constructor exceeds the
limit given by  -fmax-array-constructor -- thus fixing an ICE.

The error message has been copied from array.c's gfc_expand_constructor.
Thus, if you don't like it, one should change it there and in
trans-array.c's gfc_conv_array_initializer as well. (Actually, I do not
like the wording much, but did not immediately come up with something else.)

Build and currently regtesting on x86-64-linux.
OK for the trunk when it succeeded?

* * *

The patch (as posted in the PR) was approved by Jerry on IRC - I thus
intent to commit it after regtesting finished.

Yes, OK and thanks for patch.


Jerry


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