PR 60414: Patch proposal

Andre Vehreschild vehre@gmx.de
Fri Jul 18 10:02:00 GMT 2014


Hi all,

this is my first try to submit a patch, so please be kind and correct me when I
do something wrong.

I was contracted to fix some issues listed in the bugtracker for fortran.
Please find attached my first attempt for bug PR60414 (I'll attach it to the
bug in the tracker in a second).

The bug terminates the compiler, because in the translation phase an unexpected
construction is seen as actual argument. I tracked down the location where the
decision to construct the parse tree seen is made and deduced, that the
parameter matching is not respecting the array_ref done in the code not
compiling. I have fixed this by checking if the ->ref member of the actual
argument is set. The analysis continues and the test case created for it
compile fine now.

Patch content:
- Changelog entry in gcc/fortran/Changelog
- Changelog entry in gcc/testsuite/Changelog
- Patch in interface.c: two line comment, one line actual code
- Testcase in gcc/testsuite/fortran.dg/unlimited_polymorphism_18.f90

Regards,
	Andre
-- 
Andre Vehreschild
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr60414.patch
Type: text/x-patch
Size: 1635 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20140718/954638fd/attachment.bin>


More information about the Fortran mailing list