[Bug fortran/40969] [4.5 regression] Revision 150465 failed gfortran.dg/c_by_val_1.f

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 5 20:36:00 GMT 2009



------- Comment #13 from burnus at gcc dot gnu dot org  2009-08-05 20:36 -------
(In reply to comment #11)
> This patch works:
> +  if (typelist || sym->attr.if_source != IFSRC_UNKNOWN)
> +    typelist = gfc_chainon_list (typelist, void_type_node);

That patch essentially undoes the patch of PR 40949 as this is essentially
identically to

   if (typelist)
     typelist = gfc_chainon_list (typelist, void_type_node);

I think it is best to go back to the old version (i.e. revert the patch PR
40949) and fix it properly as proposed in PR 40976 (and in PR 40978)


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|burnus at gcc dot gnu dot   |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40969



More information about the Gcc-bugs mailing list