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/84848] [8/9 Regression] FAIL: gfortran.dg/coarray/event_3.f08/9 -fcoarray=single -O2 -latomic execution test


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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|hppa64-hp-hpux11.11         |hppa64-hp-hpux11.11,
                   |                            |alphaev68-linux-gnu
                 CC|                            |ubizjak at gmail dot com

--- Comment #8 from Uroš Bizjak <ubizjak at gmail dot com> ---
Also happens on alphaev68-linux-gnu.

BTW: on x86_64-linux-gnu the testcae "works" because it gets optimized to:

main:
        subq    $8, %rsp
        call    _gfortran_set_args
        movl    $options.0.3777, %esi
        movl    $7, %edi
        call    _gfortran_set_options
        xorl    %eax, %eax
        addq    $8, %rsp
        ret

So, it just happens that init-regs pass initializes FRAME.1 reg to 0, which is
not the case for alphaev68, as the variable lives in memory.

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