This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/63858] fixed form OpenACC directive ICE with -fopenacc -fopenmp


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63858

--- Comment #7 from cesar at gcc dot gnu.org ---
Author: cesar
Date: Wed Nov 25 14:37:36 2015
New Revision: 230872

URL: https://gcc.gnu.org/viewcvs?rev=230872&root=gcc&view=rev
Log:
        PR fortran/63858

        gcc/fortran/
        * scanner.c (skip_oacc_attribute): Remove continue_flag parameter.
        Rename as ...
        (skip_free_oacc_sentinel): ... this.
        (skip_omp_attribute): Remove continue_flag parameter. Rename as ...
        (skip_free_omp_sentinel): ... this.
        (skip_free_comments): Update to call skip_free_oacc_sentinel and
        skip_free_omp_sentinel.
        (skip_fixed_omp_sentinel): New function.
        (skip_fixed_oacc_sentinel): New function.
        (skip_fixed_comments): Fix mix of OpenACC and OpenMP sentinels in
        continuation.

        gcc/testsuite/
        * goacc/omp-fixed.f: New test.
        * goacc/omp.f95: Add check for mis-matched omp and acc continuations.


Added:
    trunk/gcc/testsuite/gfortran.dg/goacc/omp-fixed.f
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/scanner.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/goacc/omp.f95

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]