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

            Bug ID: 103201
           Summary: [12 Regression] trunk 20211111 ftbfs for amdgcn
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at debian dot org
  Target Milestone: ---

seen with trunk 20211111, building the amdgcn offload compiler:

../../../src-gcn/libgomp/teams.c: In function 'GOMP_teams_reg':
../../../src-gcn/libgomp/teams.c:49:6: error: 'struct gomp_thread' has no
member named 'num_teams'
   49 |   thr->num_teams = num_teams - 1;
      |      ^~
../../../src-gcn/libgomp/teams.c:50:11: error: 'struct gomp_thread' has no
member named 'team_num'
   50 |   for (thr->team_num = 0; thr->team_num < num_teams; thr->team_num++)
      |           ^~
../../../src-gcn/libgomp/teams.c:50:30: error: 'struct gomp_thread' has no
member named 'team_num'
   50 |   for (thr->team_num = 0; thr->team_num < num_teams; thr->team_num++)
      |                              ^~
../../../src-gcn/libgomp/teams.c:50:57: error: 'struct gomp_thread' has no
member named 'team_num'
   50 |   for (thr->team_num = 0; thr->team_num < num_teams; thr->team_num++)
      |                                                         ^~
../../../src-gcn/libgomp/teams.c:52:6: error: 'struct gomp_thread' has no
member named 'num_teams'
   52 |   thr->num_teams = 0;
      |      ^~
../../../src-gcn/libgomp/teams.c:53:6: error: 'struct gomp_thread' has no
member named 'team_num'
   53 |   thr->team_num = 0;
      |      ^~
../../../src-gcn/libgomp/teams.c: In function 'omp_get_num_teams':
../../../src-gcn/libgomp/teams.c:65:13: error: 'struct gomp_thread' has no
member named 'num_teams'
   65 |   return thr->num_teams + 1;
      |             ^~
../../../src-gcn/libgomp/teams.c: In function 'omp_get_team_num':
../../../src-gcn/libgomp/teams.c:72:13: error: 'struct gomp_thread' has no
member named 'team_num'
   72 |   return thr->team_num;
      |             ^~

Reply via email to