Skip to content

testsuite: Optimized Statement Format #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/Warray-bounds-11.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ void foo(int (*a)[3])
struct h1b* h1b = malloc(sizeof(struct h1b) + 3 * sizeof(int));
struct h3b* h3b = malloc(sizeof(struct h3b));
// h0b->j[4] = 1;
h1b->j[4] = 1;; /* { dg-warning "subscript 4 is above array bound" } */
h3b->j[4] = 1;; /* { dg-warning "subscript 4 is above array bound" } */
h1b->j[4] = 1; /* { dg-warning "subscript 4 is above array bound" } */
h3b->j[4] = 1; /* { dg-warning "subscript 4 is above array bound" } */

// make sure nothing gets optimized away
bar(*a);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ assemble_string (const char *p, int size)
if (thissize > maximum)
thissize = maximum;

default_elf_asm_output_ascii (asm_out_file, p, thissize);;
default_elf_asm_output_ascii (asm_out_file, p, thissize);

pos += thissize;
p += thissize;
Expand Down
2 changes: 1 addition & 1 deletion gcc/testsuite/gcc.target/aarch64/vdup_lane_2.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ test_vdups_lane_u32 ()
uint64_t __attribute__ ((noinline))
wrap_vdupd_lane_u64_0 (uint64x1_t dummy, uint64x1_t a)
{
return vdupd_lane_u64 (a, 0);;
return vdupd_lane_u64 (a, 0);
}

int __attribute__ ((noinline))
Expand Down
2 changes: 1 addition & 1 deletion gcc/testsuite/gcc.target/arm/div64-unwinding.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ extern int (*_Unwind_RaiseException) (void *) __attribute__((weak));
int main(void)
{
if (&_Unwind_RaiseException != NULL)
abort ();;
abort ();
return foo (x, y);
}
2 changes: 1 addition & 1 deletion gcc/testsuite/gcc.target/arm/pr60650-2.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fn2 ()
register int m asm ("r0");
asm (" .err .endif\n\t": "=r" (h), "=r" (j):"r" (m),
"r"
(l));;
(l));
});
}
}
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.target/arm/pr70278.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ double __ieee754_hypot(double x, double y)
{
double a=x,b=y,t1,t2,y1,y2,w;
int j,k,ha,hb;
do { ieee_double_shape_type gh_u; gh_u.value = (x); (ha) = gh_u.parts.msw; } while (0);;
do { ieee_double_shape_type gh_u; gh_u.value = (x); (ha) = gh_u.parts.msw; } while (0);
if(hb > ha) {a=y;b=x;j=ha; ha=hb;hb=j;} else {a=x;b=y;}
if(ha > 0x5f300000) {
do { ieee_double_shape_type sh_u; sh_u.value = (a); sh_u.parts.msw = (ha); (a) = sh_u.value; } while (0);;
do { ieee_double_shape_type sh_u; sh_u.value = (a); sh_u.parts.msw = (ha); (a) = sh_u.value; } while (0);
}
w = a-b;
if (w <= b)
Expand Down
2 changes: 1 addition & 1 deletion gcc/testsuite/gcc.target/powerpc/builtins-revb-runnable.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ main()
arg_int128[0] |= 0x9405182930415263;
expected_int128[0] = 0x6352413029180594;
expected_int128[0] = expected_int128[0] << 64;
expected_int128[0] |= 0x8372615049382716;;
expected_int128[0] |= 0x8372615049382716;

result_int128 = vec_revb (arg_int128);

Expand Down