public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/40881] warn for obsolescent features
[not found] <bug-40881-4@http.gcc.gnu.org/bugzilla/>
@ 2012-08-14 10:26 ` burnus at gcc dot gnu.org
2012-08-14 10:30 ` burnus at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-08-14 10:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40881
--- Comment #8 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-08-14 10:26:16 UTC ---
Author: burnus
Date: Tue Aug 14 10:26:11 2012
New Revision: 190379
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190379
Log:
2012-08-14 Tobias Burnus <burnus@net-b.de>
PR fortran/40881
* error.c (gfc_notify_std): Reset cur_error_buffer->flag flag
when the error/warning has been printed.
* gfortran.h (gfc_sl_type): Add ST_LABEL_DO_TARGET.
* match.c (gfc_match_do): Use ST_LABEL_DO_TARGET.
* parse.c (check_statement_label): Use ST_LABEL_DO_TARGET.
(parse_executable): Add obsolescence check for DATA.
* resolve.c (resolve_branch): Handle ST_LABEL_DO_TARGET.
* symbol.c (gfc_define_st_label, gfc_reference_st_label):
Add obsolescence diagnostics.
* trans-stmt.c (gfc_trans_label_assign): Handle
* ST_LABEL_DO_TARGET.
2012-08-14 Tobias Burnus <burnus@net-b.de>
PR fortran/40881
* gfortran.dg/data_constraints_3.f90: New.
* gfortran.dg/data_constraints_1.f90: Add dg-options ""
to disable -pedantic compilation.
* gfortran.dg/pr37243.f: Ditto.
* gfortran.dg/g77/19990826-3.f: Ditto.
* gfortran.dg/g77/20020307-1.f : Ditto.
* gfortran.dg/g77/980310-3.f: Ditto.
Added:
trunk/gcc/testsuite/gfortran.dg/data_constraints_3.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/error.c
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/match.c
trunk/gcc/fortran/parse.c
trunk/gcc/fortran/resolve.c
trunk/gcc/fortran/symbol.c
trunk/gcc/fortran/trans-stmt.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/data_constraints_1.f90
trunk/gcc/testsuite/gfortran.dg/g77/19990826-3.f
trunk/gcc/testsuite/gfortran.dg/g77/20020307-1.f
trunk/gcc/testsuite/gfortran.dg/g77/980310-3.f
trunk/gcc/testsuite/gfortran.dg/pr37243.f
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/40881] warn for obsolescent features
[not found] <bug-40881-4@http.gcc.gnu.org/bugzilla/>
2012-08-14 10:26 ` [Bug fortran/40881] warn for obsolescent features burnus at gcc dot gnu.org
@ 2012-08-14 10:30 ` burnus at gcc dot gnu.org
2013-04-03 7:53 ` [Bug fortran/40881] [F03] " janus at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-08-14 10:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40881
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #9 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-08-14 10:30:26 UTC ---
(In reply to comment #0)
> (2) Shared DO termination and termination
> on a statement other than END DO or CONTINUE
> (6) DATA statements amongst executable statements
Those two are now fixed.
I think the only missing item is the following:
> (8) Fixed form source
(I think one should consider to add some flag to silence the fixed-form
warning. At least I know a lot of code, which is in fixed form but otherwise
warning free.)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/40881] [F03] warn for obsolescent features
[not found] <bug-40881-4@http.gcc.gnu.org/bugzilla/>
2012-08-14 10:26 ` [Bug fortran/40881] warn for obsolescent features burnus at gcc dot gnu.org
2012-08-14 10:30 ` burnus at gcc dot gnu.org
@ 2013-04-03 7:53 ` janus at gcc dot gnu.org
2013-04-04 19:23 ` janus at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: janus at gcc dot gnu.org @ 2013-04-03 7:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40881
--- Comment #10 from janus at gcc dot gnu.org 2013-04-03 07:53:11 UTC ---
http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=197389
2013-04-03 Janus Weil <janus@gcc.gnu.org>
PR fortran/56284
PR fortran/40881
* decl.c (gfc_match_formal_arglist): Warn about alternate-return
arguments.
* interface.c (check_dummy_characteristics): Return if symbols are NULL.
2013-04-03 Janus Weil <janus@gcc.gnu.org>
PR fortran/56284
PR fortran/40881
* gfortran.dg/altreturn_8.f90: New.
* gfortran.dg/altreturn_2.f90: Add -std=legacy.
* gfortran.dg/intrinsic_actual_3.f90: Ditto.
* gfortran.dg/invalid_interface_assignment.f90: Ditto.
(This adds additional warnings about alternate-return cases that were not
caught previously.)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/40881] [F03] warn for obsolescent features
[not found] <bug-40881-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2013-04-03 7:53 ` [Bug fortran/40881] [F03] " janus at gcc dot gnu.org
@ 2013-04-04 19:23 ` janus at gcc dot gnu.org
2013-04-04 19:28 ` janus at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: janus at gcc dot gnu.org @ 2013-04-04 19:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40881
--- Comment #11 from janus at gcc dot gnu.org 2013-04-04 19:23:26 UTC ---
http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=197495
2013-04-04 Janus Weil <janus@gcc.gnu.org>
PR fortran/40881
* match.c (gfc_match_return): Remove standard notification.
* primary.c (gfc_match_actual_arglist): Add standard notification.
2013-04-04 Janus Weil <janus@gcc.gnu.org>
PR fortran/40881
* gfortran.dg/altreturn_1.f90: Add -std=gnu.
* gfortran.dg/altreturn_4.f90: Ditto.
* gfortran.dg/altreturn_3.f90: Replace -std=legacy by -std=gnu.
* gfortran.dg/altreturn_5.f90: Ditto.
* gfortran.dg/altreturn_6.f90: Ditto.
* gfortran.dg/altreturn_7.f90: Ditto.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/40881] [F03] warn for obsolescent features
[not found] <bug-40881-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2013-04-04 19:23 ` janus at gcc dot gnu.org
@ 2013-04-04 19:28 ` janus at gcc dot gnu.org
2015-09-08 9:41 ` dominiq at lps dot ens.fr
2015-10-10 9:10 ` dominiq at lps dot ens.fr
6 siblings, 0 replies; 7+ messages in thread
From: janus at gcc dot gnu.org @ 2013-04-04 19:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40881
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
AssignedTo|janus at gcc dot gnu.org |unassigned at gcc dot
| |gnu.org
--- Comment #12 from janus at gcc dot gnu.org 2013-04-04 19:28:48 UTC ---
(In reply to comment #9)
> I think the only missing item is the following:
>
> > (8) Fixed form source
>
> (I think one should consider to add some flag to silence the fixed-form
> warning. At least I know a lot of code, which is in fixed form but otherwise
> warning free.)
I'm not really sure if it makes sense to add a warning for fixed source, but
I'm leaving this PR open, in case someone will consider it in the future.
For now, I certainly do not plan to work on it, therefore I'll unassign myself.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/40881] [F03] warn for obsolescent features
[not found] <bug-40881-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2013-04-04 19:28 ` janus at gcc dot gnu.org
@ 2015-09-08 9:41 ` dominiq at lps dot ens.fr
2015-10-10 9:10 ` dominiq at lps dot ens.fr
6 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-09-08 9:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40881
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
Blocks| |20585
--- Comment #13 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I'm not really sure if it makes sense to add a warning for fixed source,
> but I'm leaving this PR open, in case someone will consider it in the future.
IMO it does not make sense to warn for fixed form. Any objection to close this
PR as FIXED?
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20585
[Bug 20585] [meta-bug] Fortran 2003 support
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/40881] [F03] warn for obsolescent features
[not found] <bug-40881-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2015-09-08 9:41 ` dominiq at lps dot ens.fr
@ 2015-10-10 9:10 ` dominiq at lps dot ens.fr
6 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-10-10 9:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40881
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |FIXED
--- Comment #14 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> IMO it does not make sense to warn for fixed form. Any objection to close
> this PR as FIXED?
No feedback, closing as FIXED.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-10-10 9:10 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-40881-4@http.gcc.gnu.org/bugzilla/>
2012-08-14 10:26 ` [Bug fortran/40881] warn for obsolescent features burnus at gcc dot gnu.org
2012-08-14 10:30 ` burnus at gcc dot gnu.org
2013-04-03 7:53 ` [Bug fortran/40881] [F03] " janus at gcc dot gnu.org
2013-04-04 19:23 ` janus at gcc dot gnu.org
2013-04-04 19:28 ` janus at gcc dot gnu.org
2015-09-08 9:41 ` dominiq at lps dot ens.fr
2015-10-10 9:10 ` dominiq at lps dot ens.fr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).