This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR54603 - fix structure constructors with proc-pointers
- From: Janus Weil <janus at gcc dot gnu dot org>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gcc patches <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Mon, 17 Sep 2012 14:23:52 +0200
- Subject: Re: [Patch, Fortran] PR54603 - fix structure constructors with proc-pointers
- References: <505710DC.7080708@net-b.de>
Hi Tobias,
> structure constructures with proc-pointer arguments were either leading to
> wrong results or to ICEs.
> I use now the same condition as in gfc_trans_pointer_assignment.
>
> Build and regtested on x86-64-linux.
> OK for the trunk?
looks good to me. Thanks!
The "scan-tree-dump-times" directives in the test case are probably
supposed to check for the wrong-code issue, right? But shouldn't this
be caught by the runtime-checking already? Anyway a bit of
double-checking can not hurt, I guess ...
Cheers,
Janus