------- Comment #3 from tkoenig at gcc dot gnu dot org  2007-07-24 05:52 -------
Subject: Bug 30814

Author: tkoenig
Date: Tue Jul 24 05:52:44 2007
New Revision: 126866

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126866
Log:
2007-07-24  Thomas Koenig  <[EMAIL PROTECTED]>

        PR fortran/30814
        * trans-decl.c (generate_function_code):  Add argument
        for flag_bounds_check to the array for set_options.
        * invoke.texi:  Mention that some checks require
        -fbounds-check to be set during compilation of the
        main program.

2007-07-24  Thomas Koenig  <[EMAIL PROTECTED]>

        PR fortran/30814
        * libgfortran.h:  Add bounds_check to compile_options_t.
        * runtime/compile_options.c (set_options):  Add handling
        of compile_options.bounds_check.
        * intrinsics/pack_generic.c (pack_internal):  Also determine
        the number of elements if compile_options.bounds_check is
        true.  Raise runtime error if a different array shape is
        detected.

2007-07-24  Thomas Koenig  <[EMAIL PROTECTED]>

        PR fortran/30814
        * gfortran.dg/pack_bounds_1.f90:  New test case.


Added:
    trunk/gcc/testsuite/gfortran.dg/pack_bounds_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/invoke.texi
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/intrinsics/pack_generic.c
    trunk/libgfortran/runtime/compile_options.c


-- 


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

Reply via email to