The attached one-line patch fixes PR45187 
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45187), where we would sometimes 
try to create the backend_decl of Cray-pointees twice. We should simply bail 
out early of the procedure, following what is done in the similar situation in 
gfc_finish_var_decl().

Bootstrapped and regtested on x86_64-apple-darwin13, includes a testcase.
OK to commit?

FX

Attachment: cray.diff
Description: Binary data

Attachment: cray.ChangeLog
Description: Binary data

Reply via email to