This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/84848] [8/9 Regression] FAIL: gfortran.dg/coarray/event_3.f08/9 -fcoarray=single -O2 -latomic execution test
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 Jul 2018 12:04:36 +0000
- Subject: [Bug fortran/84848] [8/9 Regression] FAIL: gfortran.dg/coarray/event_3.f08/9 -fcoarray=single -O2 -latomic execution test
- Auto-submitted: auto-generated
- References: <bug-84848-4@http.gcc.gnu.org/bugzilla/>
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.