------- Comment #6 from jakub at gcc dot gnu dot org 2010-05-12 08:29 ------- Created an attachment (id=20644) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20644&action=view) gcc46-pr44036.patch
Only very lightly tested patch. 1) allows dummy procedures and procedure pointers, disallows external procedures in the lists (the last ones definitely aren't variables and aren't even represented as such) 2) makes sure POINTER_TYPE to FUNCTION_TYPE isn't privatized by reference, this is wrong and causes crashes just about everywhere 3) had to tweak trans.c slightly to set input_location early, otherwise for b INDIRECT_REF is created with EXPR_LOCATION of the previous parallel. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44036