------- Comment #1 from burnus at gcc dot gnu dot org  2007-02-26 16:47 -------
I checked: "  USE foo, ONLY:" is syntactically correct.

The problem is that "only_flag = 1;" and no symbol is in the only-list.

I think one needs to modify module.c's "read_module", but I fail quickly to see
were the symbol "foo" is not added/deleted from the symbol tree.

All other compilers I tried (g95,ifort,nagf95,sunf95) gave an error.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |accepts-invalid
   Last reconfirmed|0000-00-00 00:00:00         |2007-02-26 16:47:56
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30973

Reply via email to