C on X86 : Instruction does not dominate all uses!

Post Reply

Topic author
joukj
Master
Posts: 175
Joined: Thu Aug 27, 2020 5:50 am
Reputation: 0
Status: Offline

C on X86 : Instruction does not dominate all uses!

Post by joukj » Fri Jun 30, 2023 10:09 am

I the following when using the C-compiler. It seems to be an informational, since the .obj file seems OK. Can someone explain to me what the compiler is trying to tell me>

Code: Select all

rumba-jj) cc/vers
VSI C X7.4-785 (GEM 50X65) on OpenVMS x86_64 V9.2-1  
rumba-jj) ty test.c
#include <unistd.h>
#include <stdio.h>

typedef struct {
	int numberprocess;
	int width, height;
} runstruct;

static runstruct *runs = (runstruct *) NULL;

void main()
{
   runstruct *rp;
   rp = &runs[1];
   if ((rp->numberprocess = vfork()) == -1)
     (void) fprintf(stderr, "Fork error\n");
}

  30-JUN-2023 15:42:25
rumba-jj) cc test.c
Instruction does not dominate all uses!
  %6 = load i32, i32* %rp, align 4, !dbg !29
  %19 = sext i32 %6 to i64, !dbg !29
Instruction does not dominate all uses!
  %6 = load i32, i32* %rp, align 4, !dbg !29
  %19 = sext i32 %6 to i64, !dbg !29


jreagan
VSI Expert
Master
Posts: 139
Joined: Tue Dec 01, 2020 8:40 am
Reputation: 0
Status: Offline

Re: C on X86 : Instruction does not dominate all uses!

Post by jreagan » Fri Jun 30, 2023 2:33 pm

Added to the list. Thanks.

John


Topic author
joukj
Master
Posts: 175
Joined: Thu Aug 27, 2020 5:50 am
Reputation: 0
Status: Offline

Re: C on X86 : Instruction does not dominate all uses!

Post by joukj » Tue Jan 02, 2024 3:46 am

seems to be solved in V7.5-009

thanks
Jouk

Post Reply