This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/80531] [7 Regression] RC1 bootstrap comparison failure
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 27 Apr 2017 11:19:58 +0000
- Subject: [Bug bootstrap/80531] [7 Regression] RC1 bootstrap comparison failure
- Auto-submitted: auto-generated
- References: <bug-80531-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80531
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
On simplified:
extern void foo (int *);
extern void bar (int *);
extern void baz (int *);
static int atomic_lock;
void
GOMP_atomic_start (void)
{
foo (&atomic_lock);
}
void
GOMP_atomic_end (void)
{
bar (&atomic_lock);
}
static void __attribute__((constructor))
initialize_atomic (void)
{
baz (&atomic_lock);
}
with a cross to AIX I certainly don't see random seed anywhere, even with
release checking, it uses GOMP_atomic_start in there instead.