------- Comment #5 from paulthomas2 at wanadoo dot fr  2006-04-03 00:56 -------
Subject: Re:  Scalar TRANSFER - error: invalid
 operand to unary operator

pinskia at gcc dot gnu dot org wrote:

>------- Comment #4 from pinskia at gcc dot gnu dot org  2006-04-02 22:43 
>-------
>A work around is to do:
>
>   integer :: tmp
>.....
>   tmp = 1
>   chr = IACHAR(TRANSFER(tmp,"a"))
>
>
>  
>
Yes, indeed.  I eventually stumbled across that after seeing the comment 
in is_gimple_val.

Thanks

Paul


-- 


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

Reply via email to