This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31600] Better error message for redeclation of USEd symbols
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Apr 2007 12:14:38 -0000
- Subject: [Bug fortran/31600] Better error message for redeclation of USEd symbols
- References: <bug-31600-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from burnus at gcc dot gnu dot org 2007-04-17 13:14 -------
If one tries to change the attribute of an USE-associated symbol the error is
better:
external omp_get_num_threads, omp_get_thread_num
1
Error: Cannot change attributes of USE-associated symbol at (1)
(I personally would favour -std=legacy instead of -std=gnu, but ok.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31600