Bug 48919 - [4.7 Regression] FAIL: gfortran.dg/coarray/this_image_2.f90
Summary: [4.7 Regression] FAIL: gfortran.dg/coarray/this_image_2.f90
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.7.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 22:46 UTC by H.J. Lu
Modified: 2011-05-07 06:42 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2011-05-06 22:46:34 UTC
On Linux/x86, revision 173506 gave

FAIL: gfortran.dg/coarray/this_image_2.f90 -fcoarray=lib  -O2  -lcaf_single (test for excess errors)

Revision 173497 is OK.
Comment 1 Tobias Burnus 2011-05-06 22:58:52 UTC
Fixed by http://gcc.gnu.org/ml/fortran/2011-05/msg00023.html
Comment 2 Tobias Burnus 2011-05-07 05:38:13 UTC
Author: burnus
Date: Sat May  7 05:38:08 2011
New Revision: 173528

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173528
Log:
2011-05-07  Tobias Burnus  <burnus@net-b.de>

        PR fortran/18918
        PR fortran/48919
        * trans.h: Move gfc_init_coarray_decl prototype ...
        * gfortran.h: ... to here.
        * parse.c (translate_all_program_units): Call
        * gfc_init_coarray_decl.
        (gfc_parse_file): Update translate_all_program_units call.
        * trans-decl.c (gfc_init_coarray_decl): Fix variable
        * declaration,
        new argument whether DECL_EXTERNAL should be used.
        (create_main_function): Update gfc_init_coarray_decl call.
        * trans-intrinsic.c (trans_this_image, trans_image_index,
        conv_intrinsic_cobound): Ditto.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/parse.c
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/fortran/trans-intrinsic.c
    trunk/gcc/fortran/trans.h
Comment 3 Tobias Burnus 2011-05-07 06:42:48 UTC
FIXED. Thanks for the report.