------- Comment #3 from burnus at gcc dot gnu dot org 2008-04-29 12:03 ------- > const for non function decls, mean nothing to the middle-end. > I mean on local variables, const mean nothing.
Good to know. Then every (non-VALUE) dummy argument except POINTERs and ALLOCATABLEs can be marked as "const" -- and POINTERS and ALLOCATABLE if they are INTENT(IN). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36076