public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/60283] Wrong code: decode_omp_directive: implicit_pure not correctly unset
       [not found] <bug-60283-4@http.gcc.gnu.org/bugzilla/>
@ 2014-03-17 22:19 ` burnus at gcc dot gnu.org
  2014-03-19 21:03 ` burnus at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu.org @ 2014-03-17 22:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
For OpenMP fixed by the patch
http://gcc.gnu.org/ml/gcc-patches/2014-03/msg00782.html

For OpenACC, fixed by the patch at
http://gcc.gnu.org/ml/fortran/2014-03/msg00113.html


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/60283] Wrong code: decode_omp_directive: implicit_pure not correctly unset
       [not found] <bug-60283-4@http.gcc.gnu.org/bugzilla/>
  2014-03-17 22:19 ` [Bug fortran/60283] Wrong code: decode_omp_directive: implicit_pure not correctly unset burnus at gcc dot gnu.org
@ 2014-03-19 21:03 ` burnus at gcc dot gnu.org
  2014-03-20 19:42 ` burnus at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu.org @ 2014-03-19 21:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Author: burnus
Date: Wed Mar 19 21:03:14 2014
New Revision: 208687

URL: http://gcc.gnu.org/viewcvs?rev=208687&root=gcc&view=rev
Log:
2014-03-18  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60543
        PR fortran/60283
        * gfortran.h (gfc_unset_implicit_pure): New prototype.
        * resolve.c (gfc_unset_implicit_pure): New.
        (resolve_structure_cons, resolve_function,
        pure_subroutine): Use it.
        * decl.c (match_old_style_init, gfc_match_data,
        match_pointer_init, variable_decl): Ditto.
        * expr.c (gfc_check_pointer_assign): Ditto.
        * intrinsic.c (gfc_intrinsic_sub_interface): Ditto.
        * io.c (match_vtag, gfc_match_open, gfc_match_close,
        match_filepos, gfc_match_inquire, gfc_match_print,
        gfc_match_wait): Ditto.
        * match.c (gfc_match_critical, gfc_match_stopcode,
        lock_unlock_statement, sync_statement, gfc_match_allocate,
        gfc_match_deallocate): Ditto.
        * parse.c (decode_omp_directive): Ditto.
        * symbol.c (gfc_add_save): Ditto.

2014-03-18  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60543
        PR fortran/60283
        * gfortran.dg/implicit_pure_4.f90: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/implicit_pure_4.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/fortran/expr.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/intrinsic.c
    trunk/gcc/fortran/io.c
    trunk/gcc/fortran/match.c
    trunk/gcc/fortran/parse.c
    trunk/gcc/fortran/resolve.c
    trunk/gcc/fortran/symbol.c
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/60283] Wrong code: decode_omp_directive: implicit_pure not correctly unset
       [not found] <bug-60283-4@http.gcc.gnu.org/bugzilla/>
  2014-03-17 22:19 ` [Bug fortran/60283] Wrong code: decode_omp_directive: implicit_pure not correctly unset burnus at gcc dot gnu.org
  2014-03-19 21:03 ` burnus at gcc dot gnu.org
@ 2014-03-20 19:42 ` burnus at gcc dot gnu.org
  2014-03-20 19:42 ` burnus at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu.org @ 2014-03-20 19:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Author: burnus
Date: Thu Mar 20 19:42:15 2014
New Revision: 208733

URL: http://gcc.gnu.org/viewcvs?rev=208733&root=gcc&view=rev
Log:
2014-03-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60543
        PR fortran/60283
        * gfortran.h (gfc_unset_implicit_pure): New prototype.
        * resolve.c (gfc_unset_implicit_pure): New.
        (resolve_structure_cons, resolve_function,
        pure_subroutine, resolve_ordinary_assign): Use it.
        * decl.c (match_old_style_init, gfc_match_data,
        match_pointer_init, variable_decl): Ditto.
        * expr.c (gfc_check_pointer_assign): Ditto.
        * intrinsic.c (gfc_intrinsic_sub_interface): Ditto.
        * io.c (match_vtag, gfc_match_open, gfc_match_close,
        match_filepos, gfc_match_inquire, gfc_match_print,
        gfc_match_wait, check_io_constraints): Ditto.
        * match.c (gfc_match_critical, gfc_match_stopcode,
        lock_unlock_statement, sync_statement, gfc_match_allocate,
        gfc_match_deallocate): Ditto.
        * parse.c (decode_omp_directive): Ditto.
        * symbol.c (gfc_add_save): Ditto.

2014-03-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60543
        PR fortran/60283
        * gfortran.dg/implicit_pure_4.f90: New.


Added:
    branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/implicit_pure_4.f90
Modified:
    branches/gcc-4_7-branch/gcc/fortran/ChangeLog
    branches/gcc-4_7-branch/gcc/fortran/decl.c
    branches/gcc-4_7-branch/gcc/fortran/gfortran.h
    branches/gcc-4_7-branch/gcc/fortran/intrinsic.c
    branches/gcc-4_7-branch/gcc/fortran/io.c
    branches/gcc-4_7-branch/gcc/fortran/match.c
    branches/gcc-4_7-branch/gcc/fortran/parse.c
    branches/gcc-4_7-branch/gcc/fortran/resolve.c
    branches/gcc-4_7-branch/gcc/fortran/symbol.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/60283] Wrong code: decode_omp_directive: implicit_pure not correctly unset
       [not found] <bug-60283-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2014-03-20 19:42 ` burnus at gcc dot gnu.org
@ 2014-03-20 19:42 ` burnus at gcc dot gnu.org
  2014-03-20 19:46 ` burnus at gcc dot gnu.org
  2014-04-05 10:37 ` tschwinge at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu.org @ 2014-03-20 19:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Author: burnus
Date: Thu Mar 20 19:42:00 2014
New Revision: 208732

URL: http://gcc.gnu.org/viewcvs?rev=208732&root=gcc&view=rev
Log:
2014-03-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60543
        PR fortran/60283
        * gfortran.h (gfc_unset_implicit_pure): New prototype.
        * resolve.c (gfc_unset_implicit_pure): New.
        (resolve_structure_cons, resolve_function,
        pure_subroutine, resolve_ordinary_assign): Use it.
        * decl.c (match_old_style_init, gfc_match_data,
        match_pointer_init, variable_decl): Ditto.
        * expr.c (gfc_check_pointer_assign): Ditto.
        * intrinsic.c (gfc_intrinsic_sub_interface): Ditto.
        * io.c (match_vtag, gfc_match_open, gfc_match_close,
        match_filepos, gfc_match_inquire, gfc_match_print,
        gfc_match_wait, check_io_constraints): Ditto.
        * match.c (gfc_match_critical, gfc_match_stopcode,
        lock_unlock_statement, sync_statement, gfc_match_allocate,
        gfc_match_deallocate): Ditto.
        * parse.c (decode_omp_directive): Ditto.
        * symbol.c (gfc_add_save): Ditto.

2014-03-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60543
        PR fortran/60283
        * gfortran.dg/implicit_pure_4.f90: New.


Added:
    branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/implicit_pure_4.f90
Modified:
    branches/gcc-4_8-branch/gcc/fortran/ChangeLog
    branches/gcc-4_8-branch/gcc/fortran/decl.c
    branches/gcc-4_8-branch/gcc/fortran/expr.c
    branches/gcc-4_8-branch/gcc/fortran/gfortran.h
    branches/gcc-4_8-branch/gcc/fortran/intrinsic.c
    branches/gcc-4_8-branch/gcc/fortran/io.c
    branches/gcc-4_8-branch/gcc/fortran/match.c
    branches/gcc-4_8-branch/gcc/fortran/parse.c
    branches/gcc-4_8-branch/gcc/fortran/resolve.c
    branches/gcc-4_8-branch/gcc/fortran/symbol.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/60283] Wrong code: decode_omp_directive: implicit_pure not correctly unset
       [not found] <bug-60283-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2014-03-20 19:42 ` burnus at gcc dot gnu.org
@ 2014-03-20 19:46 ` burnus at gcc dot gnu.org
  2014-04-05 10:37 ` tschwinge at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu.org @ 2014-03-20 19:46 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Fixed on the trunk and 4.8/4.9 branches.

Still to be fixed on the gomp-4_0-branch, see patch:
http://gcc.gnu.org/ml/fortran/2014-03/msg00113.html

Assuming it will be done at the next trunk to branch merged, closing as FIXED.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/60283] Wrong code: decode_omp_directive: implicit_pure not correctly unset
       [not found] <bug-60283-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2014-03-20 19:46 ` burnus at gcc dot gnu.org
@ 2014-04-05 10:37 ` tschwinge at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2014-04-05 10:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Sat Apr  5 10:36:58 2014
New Revision: 209150

URL: http://gcc.gnu.org/viewcvs?rev=209150&root=gcc&view=rev
Log:
Use gfc_unset_implicit_pure.

    PR fortran/60283
    gcc/fortran/
    * parse.c (decode_oacc_directive): Use gfc_unset_implicit_pure.

Modified:
    branches/gomp-4_0-branch/gcc/fortran/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/fortran/parse.c


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-04-05 10:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-60283-4@http.gcc.gnu.org/bugzilla/>
2014-03-17 22:19 ` [Bug fortran/60283] Wrong code: decode_omp_directive: implicit_pure not correctly unset burnus at gcc dot gnu.org
2014-03-19 21:03 ` burnus at gcc dot gnu.org
2014-03-20 19:42 ` burnus at gcc dot gnu.org
2014-03-20 19:42 ` burnus at gcc dot gnu.org
2014-03-20 19:46 ` burnus at gcc dot gnu.org
2014-04-05 10:37 ` tschwinge at gcc dot gnu.org

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).