[gfortran,patch] Fix for PR 27478

FX Coudert fxcoudert@gmail.com
Mon Oct 2 22:10:00 GMT 2006


:ADDPATCH fortran:

The attached patch is a proposed fix for PR 27478. I think it's only  
a workaround for a middle-end bug, but I don't think there's any  
drawback to declaring this symbol addressable even if it's not  
stricly necessary.

Bootstrapped and regtested on i686-linux. OK for mainline?



2006-10-03  Francois-Xavier Coudert  <coudert@clipper.ens.fr>

	PR middle-end/27478
	* trans-decl.c (gfc_get_fake_result_decl): Mark var as  
TREE_ADDRESSABLE.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr27478.diff
Type: application/octet-stream
Size: 342 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20061002/4cc8ef69/attachment.obj>


More information about the Fortran mailing list