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 bootstrap/80531] [7 Regression] RC1 bootstrap comparison failure


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.

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