------- Comment #7 from dave dot korn dot cygwin at gmail dot com 2009-05-30 17:09 ------- http://gcc.gnu.org/ml/fortran/2009-05/msg00452.html
We have two functions that both match MAIN_NAME_P, because they share the same DECL_NAME. This happens when there is a "PROGRAM main" directive in the fortran source. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40309