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 44584: [4.6 Regression] Invalid memory access with gfortran.dg/typebound_proc_15.f03


 On 08/03/2010 10:59 AM, Janus Weil wrote:
> the attached patch fixes some error recovery problems on
> typebound_proc_15 and 16 in the testsuite. When compiled with
> -std=2003, they would yield valgrind errors and ICEs. The hunk in
> class.c fixes PR 44584, while the one in resolve.c fixes PR 45161.
> After applying the fix, two other test cases showed additional error
> messages (correctly).
>
> The attached patch was regtested on x86_64-unknown-linux-gnu. Ok for trunk?

OK. Thanks for the patch!

Tobias

> 2010-08-03  Janus Weil  <janus@gcc.gnu.org>
>
> 	PR fortran/44584
> 	PR fortran/45161
> 	* class.c (add_procs_to_declared_vtab1): Don't add erroneous procedures.
> 	* resolve.c (resolve_tb_generic_targets): Check for errors.
>
>
> 2010-08-03  Janus Weil  <janus@gcc.gnu.org>
>
> 	PR fortran/44584
> 	PR fortran/45161
> 	* gfortran.dg/typebound_call_9.f03: Modified.
> 	* gfortran.dg/typebound_generic_1.f03: Modified.


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