------- Comment #4 from burnus at gcc dot gnu dot org 2007-04-15 20:20 ------- Created an attachment (id=13369) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13369&action=view) Updated patch
This patch handles almost everything except of operator(<intrinsic>) => operator(.user.) where <intrinsic> could be e.g. ".gt." or "-" or ... One probably needs also a check whether the user operator is an unary or binary operator, which should match the intrinsic operator. Difference to previous patch: allow: "use mod, only: assignment(=)" disallow: "use mod, only: assignment(=) => operator(.user.) (Before the former one was rejected and the latter accepted.) As collateral damage it seems to fix PR 29876. (At least I get a proper error message with this patch and no error message for .none. without this patch [which is different to the reported behaviour.]) -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #13312|0 |1 is obsolete| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31298