This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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 55692: ICE on incorrect use of ASSOCIATED function


>> here is a close-to-obvious patch for an ICE-on-invalid problem with
>> ASSOCIATED: The relevant checks to catch the error were already there,
>> but were not reached due to a gcc_assert(0) appearing earlier. The
>> patch basically just removes the gcc_assert.
>>
>> Regtested on x86_64-unknown-linux-gnu. Ok for trunk?

Thanks, Tobias. Committed as r194744.

Cheers,
Janus



>> 2012-12-28  Janus Weil  <janus@gcc.gnu.org>
>>
>>      PR fortran/55692
>>      * check.c (gfc_check_associated): Remove a "gcc_assert (0)".
>>
>> 2012-12-28  Janus Weil  <janus@gcc.gnu.org>
>>
>>      PR fortran/55692
>>      * gfortran.dg/associated_7.f90: New.
>
>


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