]> git.ipfire.org Git - thirdparty/gcc.git/commit
Un-break nvptx libgomp build
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 16 Feb 2023 20:59:55 +0000 (21:59 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Thu, 16 Feb 2023 21:08:01 +0000 (22:08 +0100)
commit6cc0e7bebf1b3ad6aacf75419e7f06942409f90c
treec626c9a5454c1fae63f5af5b9aeaa510fd54d1e2
parentb4d4603df3fed290ccf721899be6bc69f037fe2b
Un-break nvptx libgomp build

    In file included from [...]/libgomp/config/nvptx/allocator.c:49:
    [...]/libgomp/config/nvptx/../../basic-allocator.c:52:2: error: invalid preprocessing directive #deine; did you mean #define?
       52 | #deine BASIC_ALLOC_YIELD
          |  ^~~~~
          |  define

Yes, indeed.

Fix-up for og12 commit 9583738a62a33a276b2aad980a27e77097f95924
"nvptx, libgomp: Move the low-latency allocator code".

libgomp/
* basic-allocator.c (BASIC_ALLOC_YIELD): instead of '#deine',
'#define' it.
libgomp/ChangeLog.omp
libgomp/basic-allocator.c