Message ID | 9ee0350e33400397851bb55c129a675519e5f174.1665038133.git.research_trasio@irq.a4lg.com |
---|---|
State | Committed |
Headers |
Return-Path: <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8A856384BC32 for <patchwork@sourceware.org>; Thu, 6 Oct 2022 06:38:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8A856384BC32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665038286; bh=u37M3evY/mE+AuK8mqk4lVIpMhVeO//HtYXeKsz4tWk=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=b1MBDYLD0liIDuxiSiCGRsEKt9i0+UMNt0lOYLMQLSVnVBwQTHFdhyz/dnegROJUZ nj26Vz08gWV12rtyHhGEPxfKM7LAFFMJlhgOI9flpRWVQZdAm6e8a8F5CPJyP38Ecr zfNX0StAD0r4p5pohhwCYmVF6MHc0qadlwj1DcjM= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-sender-0.a4lg.com (mail-sender.a4lg.com [153.120.152.154]) by sourceware.org (Postfix) with ESMTPS id E9331384BC3A for <gdb-patches@sourceware.org>; Thu, 6 Oct 2022 06:37:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E9331384BC3A Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id 3D037300089; Thu, 6 Oct 2022 06:37:39 +0000 (UTC) To: Tsukasa OI <research_trasio@irq.a4lg.com>, Andrew Burgess <aburgess@redhat.com>, Mike Frysinger <vapier@gentoo.org>, Stephane Carrez <Stephane.Carrez@gmail.com>, "Frank Ch . Eigler" <fche@redhat.com> Subject: [PATCH v2 6/7] sim/ppc: Add ATTRIBUTE_PRINTF Date: Thu, 6 Oct 2022 06:36:32 +0000 Message-Id: <9ee0350e33400397851bb55c129a675519e5f174.1665038133.git.research_trasio@irq.a4lg.com> In-Reply-To: <cover.1665038133.git.research_trasio@irq.a4lg.com> References: <cover.1664095452.git.research_trasio@irq.a4lg.com> <cover.1665038133.git.research_trasio@irq.a4lg.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> From: Tsukasa OI via Gdb-patches <gdb-patches@sourceware.org> Reply-To: Tsukasa OI <research_trasio@irq.a4lg.com> Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
sim, sim/ARCH: Add ATTRIBUTE_PRINTF
|
|
Commit Message
Tsukasa OI
Oct. 6, 2022, 6:36 a.m. UTC
Clang generates a warning if the format string of a printf-like function is not a literal ("-Wformat-nonliteral"). On the default configuration, it causes a build failure (unless "--disable-werror" is specified). To avoid warnings on the printf-like wrapper, it requires proper __attribute__((format)) and we have ATTRIBUTE_PRINTF macro for this reason. This commit adds ATTRIBUTE_PRINTF to the printf-like functions. --- sim/ppc/main.c | 2 +- sim/ppc/misc.c | 4 ++-- sim/ppc/sim_calls.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
Comments
Tsukasa OI <research_trasio@irq.a4lg.com> writes: > Clang generates a warning if the format string of a printf-like function is > not a literal ("-Wformat-nonliteral"). On the default configuration, it > causes a build failure (unless "--disable-werror" is specified). > > To avoid warnings on the printf-like wrapper, it requires proper > __attribute__((format)) and we have ATTRIBUTE_PRINTF macro for this reason. > > This commit adds ATTRIBUTE_PRINTF to the printf-like functions. I've pushed this patch, but I moved all the ATTRIBUTE_PRINTF attributes to the function declarations. Also, one of the definitions already had an ATTRIBUTE_NORETURN, I moved this to the declaration too. Thanks, Andrew --- commit 3efe5b4d9e431f58a17e38d17419d6bcc3a4dd11 Author: Tsukasa OI <research_trasio@irq.a4lg.com> Date: Thu Oct 6 06:36:32 2022 +0000 sim/ppc: Add ATTRIBUTE_PRINTF Clang generates a warning if the format string of a printf-like function is not a literal ("-Wformat-nonliteral"). On the default configuration, it causes a build failure (unless "--disable-werror" is specified). To avoid warnings on the printf-like wrapper, it requires proper __attribute__((format)) and we have ATTRIBUTE_PRINTF macro for this reason. This commit adds ATTRIBUTE_PRINTF to the printf-like functions. For the error function defined in sim_calls.c, the ATTRIBUTE_NORETURN has been moved to the function declaration. diff --git a/sim/ppc/misc.h b/sim/ppc/misc.h index 784ccfdd37b..08309134337 100644 --- a/sim/ppc/misc.h +++ b/sim/ppc/misc.h @@ -30,8 +30,8 @@ #include "ansidecl.h" #include "filter_filename.h" -extern void error -(const char *msg, ...); +extern void error (const char *msg, ...) + ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (1, 2); #define ASSERT(EXPRESSION) \ do { \ @@ -47,8 +47,8 @@ do { \ extern void *zalloc (long size); -extern void dumpf -(int indent, const char *msg, ...); +extern void dumpf (int indent, const char *msg, ...) + ATTRIBUTE_PRINTF (2, 3); extern unsigned target_a2i (int ms_bit_nr, diff --git a/sim/ppc/sim_callbacks.h b/sim/ppc/sim_callbacks.h index 08ccd258569..c5f23bf8d64 100644 --- a/sim/ppc/sim_callbacks.h +++ b/sim/ppc/sim_callbacks.h @@ -31,9 +31,8 @@ void sim_io_printf_filtered (const char *msg, ...) ATTRIBUTE_PRINTF_1; -void ATTRIBUTE_NORETURN error -(const char *msg, ...); - +extern void error (const char *msg, ...) + ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (1, 2); /* External environment: diff --git a/sim/ppc/sim_calls.c b/sim/ppc/sim_calls.c index fbc327c94e0..729f6dcb6f3 100644 --- a/sim/ppc/sim_calls.c +++ b/sim/ppc/sim_calls.c @@ -388,7 +388,7 @@ sim_io_error (SIM_DESC sd, const char *fmt, ...) /****/ -void ATTRIBUTE_NORETURN +void error (const char *msg, ...) { va_list ap;
On Tue, 2022-10-11 15:27:30 +0100, Andrew Burgess via Gdb-patches <gdb-patches@sourceware.org> wrote: > Tsukasa OI <research_trasio@irq.a4lg.com> writes: > > > Clang generates a warning if the format string of a printf-like function is > > not a literal ("-Wformat-nonliteral"). On the default configuration, it > > causes a build failure (unless "--disable-werror" is specified). > > > > To avoid warnings on the printf-like wrapper, it requires proper > > __attribute__((format)) and we have ATTRIBUTE_PRINTF macro for this reason. > > > > This commit adds ATTRIBUTE_PRINTF to the printf-like functions. > > I've pushed this patch, but I moved all the ATTRIBUTE_PRINTF attributes > to the function declarations. > > Also, one of the definitions already had an ATTRIBUTE_NORETURN, I moved > this to the declaration too. Building with a recent GCC, I get this: $ .../configure --prefix=/tmp/gdb-ppc-elf --target=ppc-elf $ make V=1 all-gdb [...] /usr/lib/gcc-snapshot/bin/gcc -c -g -O2 -Werror -DDEFAULT_INLINE=0 -DWITH_SMP=5 -DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO -Wall -Wdeclaration-after-statement -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wno-error=maybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wmissing-parameter-type -Wpointer-sign -Wold-style-declaration -I. -I. -I./../../include -I../../bfd -I./../../bfd -I../../gdb -I./../../gdb -I./../../gdb/config -I../.. -I./../../gnulib/import -I../../gnulib/import -DHAVE_COMMON_FPU -I../common -I./../common emul_generic.c /usr/lib/gcc-snapshot/bin/gcc -c -g -O2 -Werror -DDEFAULT_INLINE=0 -DWITH_SMP=5 -DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO -Wall -Wdeclaration-after-statement -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wno-error=maybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wmissing-parameter-type -Wpointer-sign -Wold-style-declaration -I. -I. -I./../../include -I../../bfd -I./../../bfd -I../../gdb -I./../../gdb -I./../../gdb/config -I../.. -I./../../gnulib/import -I../../gnulib/import -DHAVE_COMMON_FPU -I../common -I./../common emul_bugapi.c emul_bugapi.c: In function 'emul_bugapi_instruction_call': emul_bugapi.c:495:11: error: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'spreg' {aka 'unsigned int'} [-Werror=format=] 495 | error("emul-bugapi: unimplemented bugapi %s from address 0x%lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [Makefile:144: emul_bugapi.o] Error 1 make[3]: Leaving directory '/var/lib/laminar/run/gdb-ppc-elf/6/binutils-gdb/sim/ppc' make[2]: *** [Makefile:1933: all-recursive] Error 1 make[2]: Leaving directory '/var/lib/laminar/run/gdb-ppc-elf/6/binutils-gdb/sim' make[1]: *** [Makefile:1185: all] Error 2 make[1]: Leaving directory '/var/lib/laminar/run/gdb-ppc-elf/6/binutils-gdb/sim' make: *** [Makefile:11309: all-sim] Error 2 MfG, JBG --
Jan-Benedict Glaw <jbglaw@lug-owl.de> writes: > On Tue, 2022-10-11 15:27:30 +0100, Andrew Burgess via Gdb-patches <gdb-patches@sourceware.org> wrote: >> Tsukasa OI <research_trasio@irq.a4lg.com> writes: >> >> > Clang generates a warning if the format string of a printf-like function is >> > not a literal ("-Wformat-nonliteral"). On the default configuration, it >> > causes a build failure (unless "--disable-werror" is specified). >> > >> > To avoid warnings on the printf-like wrapper, it requires proper >> > __attribute__((format)) and we have ATTRIBUTE_PRINTF macro for this reason. >> > >> > This commit adds ATTRIBUTE_PRINTF to the printf-like functions. >> >> I've pushed this patch, but I moved all the ATTRIBUTE_PRINTF attributes >> to the function declarations. >> >> Also, one of the definitions already had an ATTRIBUTE_NORETURN, I moved >> this to the declaration too. > > Building with a recent GCC, I get this: > > $ .../configure --prefix=/tmp/gdb-ppc-elf --target=ppc-elf > $ make V=1 all-gdb > [...] > /usr/lib/gcc-snapshot/bin/gcc -c -g -O2 -Werror -DDEFAULT_INLINE=0 -DWITH_SMP=5 -DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO -Wall -Wdeclaration-after-statement -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wno-error=maybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wmissing-parameter-type -Wpointer-sign -Wold-style-declaration -I. -I. -I./../../include -I../../bfd -I./../../bfd -I../../gdb -I./../../gdb -I./../../gdb/config -I../.. -I./../../gnulib/import -I../../gnulib/import -DHAVE_COMMON_FPU -I../common -I./../common emul_generic.c > /usr/lib/gcc-snapshot/bin/gcc -c -g -O2 -Werror -DDEFAULT_INLINE=0 -DWITH_SMP=5 -DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO -Wall -Wdeclaration-after-statement -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wno-error=maybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wmissing-parameter-type -Wpointer-sign -Wold-style-declaration -I. -I. -I./../../include -I../../bfd -I./../../bfd -I../../gdb -I./../../gdb -I./../../gdb/config -I../.. -I./../../gnulib/import -I../../gnulib/import -DHAVE_COMMON_FPU -I../common -I./../common emul_bugapi.c > emul_bugapi.c: In function 'emul_bugapi_instruction_call': > emul_bugapi.c:495:11: error: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'spreg' {aka 'unsigned int'} [-Werror=format=] > 495 | error("emul-bugapi: unimplemented bugapi %s from address 0x%lx\n", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > make[3]: *** [Makefile:144: emul_bugapi.o] Error 1 > make[3]: Leaving directory '/var/lib/laminar/run/gdb-ppc-elf/6/binutils-gdb/sim/ppc' > make[2]: *** [Makefile:1933: all-recursive] Error 1 > make[2]: Leaving directory '/var/lib/laminar/run/gdb-ppc-elf/6/binutils-gdb/sim' > make[1]: *** [Makefile:1185: all] Error 2 > make[1]: Leaving directory '/var/lib/laminar/run/gdb-ppc-elf/6/binutils-gdb/sim' > make: *** [Makefile:11309: all-sim] Error 2 Sorry for the breakage. I've pushed the patch below, which I think should resolve the issue you are seeing, as well as some other, similar issues in the ppc sim. Let me know if you are still seeing build problems with the latest master. Thanks, Andrew --- commit 182421c9d2eea8c4877d983a2124e591f0aca710 Author: Andrew Burgess <aburgess@redhat.com> Date: Tue Oct 11 15:02:08 2022 +0100 sim/ppc: fixes for arguments to printf style functions After the recent series of fixes to mark more functions in the simulator with ATTRIBUTE_PRINTF, there were some build failures in the ppc sim due, in some cases, to bugs with the arguments being passed, and in other cases, the issues were (maybe) less serious, with arguments being the wrong size, or type, for the printf format being used. This commit fixes all of the issues that I ran into. In each case I selected the easiest solution to the problem, which is usually just casting the argument to the correct type. If anyone later on thinks the print format should change, please feel free to do that. What we have here should keep the simulator basically working as it does currently, which is my goal with this commit. diff --git a/sim/ppc/corefile.c b/sim/ppc/corefile.c index 1b3eeef8b53..b2faef58c5b 100644 --- a/sim/ppc/corefile.c +++ b/sim/ppc/corefile.c @@ -292,8 +292,8 @@ core_map_find_mapping(core_map *map, mapping = mapping->next; } if (abort) - error("core_find_mapping() - access to unmaped address, attach a default map to handle this - addr=0x%x nr_bytes=0x%x processor=0x%x cia=0x%x\n", - addr, nr_bytes, processor, cia); + error("core_find_mapping() - access to unmaped address, attach a default map to handle this - addr=0x%x nr_bytes=0x%x processor=0x%p cia=0x%x\n", + addr, nr_bytes, (void *) processor, cia); return NULL; } diff --git a/sim/ppc/emul_bugapi.c b/sim/ppc/emul_bugapi.c index c3c607b43f0..f4eed443d8b 100644 --- a/sim/ppc/emul_bugapi.c +++ b/sim/ppc/emul_bugapi.c @@ -493,7 +493,7 @@ emul_bugapi_instruction_call(cpu *processor, switch (call_id) { default: error("emul-bugapi: unimplemented bugapi %s from address 0x%lx\n", - emul_bugapi_instruction_name (call_id), SRR0); + emul_bugapi_instruction_name (call_id), (unsigned long) SRR0); break; /* read a single character, output r3 = byte */ diff --git a/sim/ppc/emul_chirp.c b/sim/ppc/emul_chirp.c index 7a585388f63..116f3732ac7 100644 --- a/sim/ppc/emul_chirp.c +++ b/sim/ppc/emul_chirp.c @@ -1509,7 +1509,7 @@ map_over_chirp_note(bfd *image, return; /* check the name field */ if (head.namesz > sizeof(name)) { - error("chirp: note name too long (%d > %d)\n", (int)head.namesz, sizeof(name)); + error("chirp: note name too long (%d > %d)\n", (int)head.namesz, (int)sizeof(name)); } if (!bfd_get_section_contents(image, sect, name, sizeof(head), head.namesz)) { @@ -1971,12 +1971,14 @@ emul_chirp_instruction_call(cpu *processor, } if (emul_data->n_args > 6) { /* See iee1275 requirements on nr returns */ error("OpenFirmware service %s called from 0x%lx with args 0x%lx, too many args (%d)\n", + service_name, (unsigned long)emul_data->return_address, (unsigned long)emul_data->arguments, emul_data->n_returns); } if (emul_data->n_returns > 6) { error("OpenFirmware service %s called from 0x%lx with args 0x%lx, with too many returns (%d)\n", + service_name, (unsigned long)emul_data->return_address, (unsigned long)emul_data->arguments, emul_data->n_args); diff --git a/sim/ppc/interrupts.c b/sim/ppc/interrupts.c index 133638fdcaf..a33274aa562 100644 --- a/sim/ppc/interrupts.c +++ b/sim/ppc/interrupts.c @@ -234,7 +234,7 @@ instruction_storage_interrupt(cpu *processor, break; default: srr1_set = 0; - error("internal error - instruction_storage_interrupt - reason %d not implemented"); + error("internal error - instruction_storage_interrupt - reason %d not implemented", reason); break; } TRACE(trace_interrupts, ("instruction storage interrupt - cia=0x%lx SRR1|=0x%lx\n", diff --git a/sim/ppc/psim.c b/sim/ppc/psim.c index 9f1db675e50..acc40edf8aa 100644 --- a/sim/ppc/psim.c +++ b/sim/ppc/psim.c @@ -99,7 +99,7 @@ find_arg(const char *err_msg, { *ptr_to_argp += 1; if (argv[*ptr_to_argp] == NULL) - error(err_msg); + error("%s", err_msg); return argv[*ptr_to_argp]; } @@ -535,7 +535,7 @@ psim_create(const char *file_name, if (ppc_trace[trace_print_device_tree] || ppc_trace[trace_dump_device_tree]) tree_print(root); if (ppc_trace[trace_dump_device_tree]) - error(""); + error("%s", ""); return system; } @@ -1186,7 +1186,7 @@ psim_merge_device_file(device *root, /* append the next line */ if (!fgets(device_path + curlen, sizeof(device_path) - curlen, description)) { fclose(description); - error("%s:%s: unexpected eof in line continuation - %s", + error("%s:%d: unexpected eof in line continuation - %s", file_name, line_nr, device_path); } if (strchr(device_path, '\n') == NULL) {
On Wed, 2022-10-12 10:39:25 +0100, Andrew Burgess <aburgess@redhat.com> wrote: > Jan-Benedict Glaw <jbglaw@lug-owl.de> writes: > > Building with a recent GCC, I get this: > > > > $ .../configure --prefix=/tmp/gdb-ppc-elf --target=ppc-elf > > $ make V=1 all-gdb > > [...] > > /usr/lib/gcc-snapshot/bin/gcc -c -g -O2 -Werror -DDEFAULT_INLINE=0 -DWITH_SMP=5 -DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO -Wall -Wdeclaration-after-statement -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wno-error=maybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wmissing-parameter-type -Wpointer-sign -Wold-style-declaration -I. -I. -I./../../include -I../../bfd -I./../../bfd -I../../gdb -I./../../gdb -I./../../gdb/config -I../.. -I./../../gnulib/import -I../../gnulib/import -DHAVE_COMMON_FPU -I../common -I./../common emul_generic.c > > /usr/lib/gcc-snapshot/bin/gcc -c -g -O2 -Werror -DDEFAULT_INLINE=0 -DWITH_SMP=5 -DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO -Wall -Wdeclaration-after-statement -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wno-error=maybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wmissing-parameter-type -Wpointer-sign -Wold-style-declaration -I. -I. -I./../../include -I../../bfd -I./../../bfd -I../../gdb -I./../../gdb -I./../../gdb/config -I../.. -I./../../gnulib/import -I../../gnulib/import -DHAVE_COMMON_FPU -I../common -I./../common emul_bugapi.c > > emul_bugapi.c: In function 'emul_bugapi_instruction_call': > > emul_bugapi.c:495:11: error: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'spreg' {aka 'unsigned int'} [-Werror=format=] > > 495 | error("emul-bugapi: unimplemented bugapi %s from address 0x%lx\n", > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > cc1: all warnings being treated as errors > > make[3]: *** [Makefile:144: emul_bugapi.o] Error 1 > > make[3]: Leaving directory '/var/lib/laminar/run/gdb-ppc-elf/6/binutils-gdb/sim/ppc' > > make[2]: *** [Makefile:1933: all-recursive] Error 1 > > make[2]: Leaving directory '/var/lib/laminar/run/gdb-ppc-elf/6/binutils-gdb/sim' > > make[1]: *** [Makefile:1185: all] Error 2 > > make[1]: Leaving directory '/var/lib/laminar/run/gdb-ppc-elf/6/binutils-gdb/sim' > > make: *** [Makefile:11309: all-sim] Error 2 > > Sorry for the breakage. Nothing to worry about --- that's exactly why I do these mass CI tests. Catch stuff early! > I've pushed the patch below, which I think should resolve the issue you > are seeing, as well as some other, similar issues in the ppc sim. > > Let me know if you are still seeing build problems with the latest > master. Just queued another build, will take about an hour. (Not too fast hardware and many jobs running...) MfG, JBG --
On Wed, 2022-10-12 12:36:49 +0200, Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote: > On Wed, 2022-10-12 10:39:25 +0100, Andrew Burgess <aburgess@redhat.com> wrote: > > Let me know if you are still seeing build problems with the latest > > master. > > Just queued another build, will take about an hour. (Not too fast > hardware and many jobs running...) That's all fixed for the target that failed. Good work! Thanks, JB --
On Wed, 2022-10-12 12:36:49 +0200, Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote: > On Wed, 2022-10-12 10:39:25 +0100, Andrew Burgess <aburgess@redhat.com> wrote: > > Jan-Benedict Glaw <jbglaw@lug-owl.de> writes: > > > Building with a recent GCC, I get this: > > > > > > $ .../configure --prefix=/tmp/gdb-ppc-elf --target=ppc-elf > > > $ make V=1 all-gdb > > > [...] ...while we're at ppc: Should powerpc64-linux_altivec, powerpc-eabisimaltivec and powerpc-eabialtivec be supported? I think so, but these all fail with: + log_execute cfg ./configure --prefix=/tmp/gdb-powerpc-eabialtivec --target=powerpc-eabialtivec + log_execute all make V=1 all-gdb [...] [all 2022-10-12 12:30:53] /usr/lib/gcc-snapshot/bin/gcc -c -g -O2 -Werror -DDEFAULT_INLINE=0 -DWITH_SMP=5 -DWITH_ALTIVEC -DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO -Wall -Wdeclaration-after-statement -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wno-error=maybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wmissing-parameter-type -Wpointer-sign -Wold-style-declaration -I. -I. -I./../../include -I../../bfd -I./../../bfd -I../../gdb -I./../../gdb -I./../../gdb/config -I../.. -I./../../gnulib/import -I../../gnulib/import -DHAVE_COMMON_FPU -I../common -I./../common icache.c [all 2022-10-12 12:30:54] altivec.igen: In function 'icache_Vector_Convert_to_Unsigned_FixedPoint_Word_Saturate': [all 2022-10-12 12:30:54] altivec.igen:1016:31: error: pointer targets in passing argument 1 of 'sim_fpu_to64u' differ in signedness [-Werror=pointer-sign] [all 2022-10-12 12:30:54] 1016 | sim_fpu_to64u (&temp, &a, sim_fpu_round_default); [all 2022-10-12 12:30:54] | ^~~~~ [all 2022-10-12 12:30:54] | | [all 2022-10-12 12:30:54] | int64_t * {aka long int *} [all 2022-10-12 12:30:54] In file included from icache.c:33: [all 2022-10-12 12:30:54] ../common/sim-fpu.h:308:47: note: expected 'uint64_t *' {aka 'long unsigned int *'} but argument is of type 'int64_t *' {aka 'long int *'} [all 2022-10-12 12:30:54] 308 | INLINE_SIM_FPU (int) sim_fpu_to64u (uint64_t *u, const sim_fpu *f, [all 2022-10-12 12:30:54] | ~~~~~~~~~~^ [all 2022-10-12 12:31:21] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC0': [all 2022-10-12 12:31:21] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:21] 1191 | sat |= tempsat; [all 2022-10-12 12:31:21] | ~~~~^~~~~~ [all 2022-10-12 12:31:21] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:21] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:21] | ^~~ [all 2022-10-12 12:31:21] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC0': [all 2022-10-12 12:31:21] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:21] 1208 | sat |= tempsat; [all 2022-10-12 12:31:21] | ~~~~^~~~~~ [all 2022-10-12 12:31:21] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:21] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:21] | ^~~ [all 2022-10-12 12:31:22] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC1': [all 2022-10-12 12:31:22] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:22] 1191 | sat |= tempsat; [all 2022-10-12 12:31:22] | ~~~~^~~~~~ [all 2022-10-12 12:31:22] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:22] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:22] | ^~~ [all 2022-10-12 12:31:22] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC1': [all 2022-10-12 12:31:22] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:22] 1208 | sat |= tempsat; [all 2022-10-12 12:31:22] | ~~~~^~~~~~ [all 2022-10-12 12:31:22] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:22] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:22] | ^~~ [all 2022-10-12 12:31:23] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC2': [all 2022-10-12 12:31:23] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:23] 1191 | sat |= tempsat; [all 2022-10-12 12:31:23] | ~~~~^~~~~~ [all 2022-10-12 12:31:23] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:23] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:23] | ^~~ [all 2022-10-12 12:31:23] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC2': [all 2022-10-12 12:31:23] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:23] 1208 | sat |= tempsat; [all 2022-10-12 12:31:23] | ~~~~^~~~~~ [all 2022-10-12 12:31:23] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:23] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:23] | ^~~ [all 2022-10-12 12:31:24] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC3': [all 2022-10-12 12:31:24] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:24] 1191 | sat |= tempsat; [all 2022-10-12 12:31:24] | ~~~~^~~~~~ [all 2022-10-12 12:31:24] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:24] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:24] | ^~~ [all 2022-10-12 12:31:25] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC3': [all 2022-10-12 12:31:25] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:25] 1208 | sat |= tempsat; [all 2022-10-12 12:31:25] | ~~~~^~~~~~ [all 2022-10-12 12:31:25] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:25] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:25] | ^~~ [all 2022-10-12 12:31:26] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC4': [all 2022-10-12 12:31:26] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:26] 1191 | sat |= tempsat; [all 2022-10-12 12:31:26] | ~~~~^~~~~~ [all 2022-10-12 12:31:26] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:26] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:26] | ^~~ [all 2022-10-12 12:31:26] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC4': [all 2022-10-12 12:31:26] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:26] 1208 | sat |= tempsat; [all 2022-10-12 12:31:26] | ~~~~^~~~~~ [all 2022-10-12 12:31:26] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:26] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:26] | ^~~ [all 2022-10-12 12:31:27] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC5': [all 2022-10-12 12:31:27] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:27] 1191 | sat |= tempsat; [all 2022-10-12 12:31:27] | ~~~~^~~~~~ [all 2022-10-12 12:31:27] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:27] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:27] | ^~~ [all 2022-10-12 12:31:27] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC5': [all 2022-10-12 12:31:27] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:27] 1208 | sat |= tempsat; [all 2022-10-12 12:31:27] | ~~~~^~~~~~ [all 2022-10-12 12:31:27] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:27] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:27] | ^~~ [all 2022-10-12 12:31:29] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC6': [all 2022-10-12 12:31:29] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:29] 1191 | sat |= tempsat; [all 2022-10-12 12:31:29] | ~~~~^~~~~~ [all 2022-10-12 12:31:29] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:29] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:29] | ^~~ [all 2022-10-12 12:31:29] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC6': [all 2022-10-12 12:31:29] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:29] 1208 | sat |= tempsat; [all 2022-10-12 12:31:29] | ~~~~^~~~~~ [all 2022-10-12 12:31:29] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:29] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:29] | ^~~ [all 2022-10-12 12:31:30] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC7': [all 2022-10-12 12:31:30] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:30] 1191 | sat |= tempsat; [all 2022-10-12 12:31:30] | ~~~~^~~~~~ [all 2022-10-12 12:31:30] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:30] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:30] | ^~~ [all 2022-10-12 12:31:30] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC7': [all 2022-10-12 12:31:30] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:30] 1208 | sat |= tempsat; [all 2022-10-12 12:31:30] | ~~~~^~~~~~ [all 2022-10-12 12:31:30] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:30] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:30] | ^~~ [all 2022-10-12 12:31:31] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC8': [all 2022-10-12 12:31:31] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:31] 1191 | sat |= tempsat; [all 2022-10-12 12:31:31] | ~~~~^~~~~~ [all 2022-10-12 12:31:31] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:31] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:31] | ^~~ [all 2022-10-12 12:31:31] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC8': [all 2022-10-12 12:31:31] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:31] 1208 | sat |= tempsat; [all 2022-10-12 12:31:31] | ~~~~^~~~~~ [all 2022-10-12 12:31:31] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:31] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:31] | ^~~ [all 2022-10-12 12:31:32] altivec.igen: In function 'icache_Vector_Add_Unsigned_Half_Word_Saturate': [all 2022-10-12 12:31:32] altivec.igen:662:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:32] 662 | sat |= tempsat; [all 2022-10-12 12:31:32] | ~~~~^~~~~~ [all 2022-10-12 12:31:32] altivec.igen:657:21: note: 'sat' was declared here [all 2022-10-12 12:31:32] 657 | int i, sat, tempsat; [all 2022-10-12 12:31:32] | ^~~ [all 2022-10-12 12:31:33] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC9': [all 2022-10-12 12:31:33] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:33] 1191 | sat |= tempsat; [all 2022-10-12 12:31:33] | ~~~~^~~~~~ [all 2022-10-12 12:31:33] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:33] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:33] | ^~~ [all 2022-10-12 12:31:33] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC9': [all 2022-10-12 12:31:33] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:33] 1208 | sat |= tempsat; [all 2022-10-12 12:31:33] | ~~~~^~~~~~ [all 2022-10-12 12:31:33] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:33] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:33] | ^~~ [all 2022-10-12 12:31:33] altivec.igen: In function 'icache_Vector_Add_Unsigned_Word_Saturate': [all 2022-10-12 12:31:33] altivec.igen:679:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:33] 679 | sat |= tempsat; [all 2022-10-12 12:31:33] | ~~~~^~~~~~ [all 2022-10-12 12:31:33] altivec.igen:674:21: note: 'sat' was declared here [all 2022-10-12 12:31:33] 674 | int i, sat, tempsat; [all 2022-10-12 12:31:33] | ^~~ [all 2022-10-12 12:31:34] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC10': [all 2022-10-12 12:31:34] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:34] 1191 | sat |= tempsat; [all 2022-10-12 12:31:34] | ~~~~^~~~~~ [all 2022-10-12 12:31:34] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:34] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:34] | ^~~ [all 2022-10-12 12:31:34] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC10': [all 2022-10-12 12:31:34] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:34] 1208 | sat |= tempsat; [all 2022-10-12 12:31:34] | ~~~~^~~~~~ [all 2022-10-12 12:31:34] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:34] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:34] | ^~~ [all 2022-10-12 12:31:35] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC11': [all 2022-10-12 12:31:35] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:35] 1191 | sat |= tempsat; [all 2022-10-12 12:31:35] | ~~~~^~~~~~ [all 2022-10-12 12:31:35] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:35] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:35] | ^~~ [all 2022-10-12 12:31:35] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC11': [all 2022-10-12 12:31:35] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:35] 1208 | sat |= tempsat; [all 2022-10-12 12:31:35] | ~~~~^~~~~~ [all 2022-10-12 12:31:35] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:35] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:35] | ^~~ [all 2022-10-12 12:31:36] altivec.igen: In function 'icache_Vector_Add_Signed_Byte_Saturate': [all 2022-10-12 12:31:36] altivec.igen:603:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:36] 603 | sat |= tempsat; [all 2022-10-12 12:31:36] | ~~~~^~~~~~ [all 2022-10-12 12:31:36] altivec.igen:598:21: note: 'sat' was declared here [all 2022-10-12 12:31:36] 598 | int i, sat, tempsat; [all 2022-10-12 12:31:36] | ^~~ [all 2022-10-12 12:31:36] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC12': [all 2022-10-12 12:31:36] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:36] 1191 | sat |= tempsat; [all 2022-10-12 12:31:36] | ~~~~^~~~~~ [all 2022-10-12 12:31:36] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:36] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:36] | ^~~ [all 2022-10-12 12:31:36] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC12': [all 2022-10-12 12:31:36] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:36] 1208 | sat |= tempsat; [all 2022-10-12 12:31:36] | ~~~~^~~~~~ [all 2022-10-12 12:31:36] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:36] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:36] | ^~~ [all 2022-10-12 12:31:37] altivec.igen: In function 'icache_Vector_Add_Signed_Half_Word_Saturate': [all 2022-10-12 12:31:37] altivec.igen:616:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:37] 616 | sat |= tempsat; [all 2022-10-12 12:31:37] | ~~~~^~~~~~ [all 2022-10-12 12:31:37] altivec.igen:609:21: note: 'sat' was declared here [all 2022-10-12 12:31:37] 609 | int i, sat, tempsat; [all 2022-10-12 12:31:37] | ^~~ [all 2022-10-12 12:31:38] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC13': [all 2022-10-12 12:31:38] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:38] 1191 | sat |= tempsat; [all 2022-10-12 12:31:38] | ~~~~^~~~~~ [all 2022-10-12 12:31:38] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:38] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:38] | ^~~ [all 2022-10-12 12:31:38] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC13': [all 2022-10-12 12:31:38] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:38] 1208 | sat |= tempsat; [all 2022-10-12 12:31:38] | ~~~~^~~~~~ [all 2022-10-12 12:31:38] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:38] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:38] | ^~~ [all 2022-10-12 12:31:39] altivec.igen: In function 'icache_Vector_Add_Signed_Word_Saturate': [all 2022-10-12 12:31:39] altivec.igen:627:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:39] 627 | sat |= tempsat; [all 2022-10-12 12:31:39] | ~~~~^~~~~~ [all 2022-10-12 12:31:39] altivec.igen:622:21: note: 'sat' was declared here [all 2022-10-12 12:31:39] 622 | int i, sat, tempsat; [all 2022-10-12 12:31:39] | ^~~ [all 2022-10-12 12:31:39] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC14': [all 2022-10-12 12:31:39] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:39] 1191 | sat |= tempsat; [all 2022-10-12 12:31:39] | ~~~~^~~~~~ [all 2022-10-12 12:31:39] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:39] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:39] | ^~~ [all 2022-10-12 12:31:39] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC14': [all 2022-10-12 12:31:39] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:39] 1208 | sat |= tempsat; [all 2022-10-12 12:31:39] | ~~~~^~~~~~ [all 2022-10-12 12:31:39] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:39] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:39] | ^~~ [all 2022-10-12 12:31:40] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC15': [all 2022-10-12 12:31:40] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:40] 1191 | sat |= tempsat; [all 2022-10-12 12:31:40] | ~~~~^~~~~~ [all 2022-10-12 12:31:40] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:40] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:40] | ^~~ [all 2022-10-12 12:31:40] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC15': [all 2022-10-12 12:31:40] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:40] 1208 | sat |= tempsat; [all 2022-10-12 12:31:40] | ~~~~^~~~~~ [all 2022-10-12 12:31:40] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:40] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:40] | ^~~ [all 2022-10-12 12:31:42] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC16': [all 2022-10-12 12:31:42] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:42] 1191 | sat |= tempsat; [all 2022-10-12 12:31:42] | ~~~~^~~~~~ [all 2022-10-12 12:31:42] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:42] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:42] | ^~~ [all 2022-10-12 12:31:42] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC16': [all 2022-10-12 12:31:42] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:42] 1208 | sat |= tempsat; [all 2022-10-12 12:31:42] | ~~~~^~~~~~ [all 2022-10-12 12:31:42] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:42] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:42] | ^~~ [all 2022-10-12 12:31:43] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC17': [all 2022-10-12 12:31:43] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:43] 1191 | sat |= tempsat; [all 2022-10-12 12:31:43] | ~~~~^~~~~~ [all 2022-10-12 12:31:43] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:43] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:43] | ^~~ [all 2022-10-12 12:31:43] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC17': [all 2022-10-12 12:31:43] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:43] 1208 | sat |= tempsat; [all 2022-10-12 12:31:43] | ~~~~^~~~~~ [all 2022-10-12 12:31:43] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:43] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:43] | ^~~ [all 2022-10-12 12:31:44] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC18': [all 2022-10-12 12:31:44] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:44] 1191 | sat |= tempsat; [all 2022-10-12 12:31:44] | ~~~~^~~~~~ [all 2022-10-12 12:31:44] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:44] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:44] | ^~~ [all 2022-10-12 12:31:44] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC18': [all 2022-10-12 12:31:44] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:44] 1208 | sat |= tempsat; [all 2022-10-12 12:31:44] | ~~~~^~~~~~ [all 2022-10-12 12:31:44] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:44] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:44] | ^~~ [all 2022-10-12 12:31:45] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC19': [all 2022-10-12 12:31:45] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:45] 1191 | sat |= tempsat; [all 2022-10-12 12:31:45] | ~~~~^~~~~~ [all 2022-10-12 12:31:45] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:45] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:45] | ^~~ [all 2022-10-12 12:31:45] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC19': [all 2022-10-12 12:31:45] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:45] 1208 | sat |= tempsat; [all 2022-10-12 12:31:45] | ~~~~^~~~~~ [all 2022-10-12 12:31:45] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:45] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:45] | ^~~ [all 2022-10-12 12:31:46] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC20': [all 2022-10-12 12:31:46] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:46] 1191 | sat |= tempsat; [all 2022-10-12 12:31:46] | ~~~~^~~~~~ [all 2022-10-12 12:31:46] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:46] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:46] | ^~~ [all 2022-10-12 12:31:46] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC20': [all 2022-10-12 12:31:46] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:46] 1208 | sat |= tempsat; [all 2022-10-12 12:31:46] | ~~~~^~~~~~ [all 2022-10-12 12:31:46] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:46] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:46] | ^~~ [all 2022-10-12 12:31:47] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC21': [all 2022-10-12 12:31:47] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:47] 1191 | sat |= tempsat; [all 2022-10-12 12:31:47] | ~~~~^~~~~~ [all 2022-10-12 12:31:47] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:47] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:47] | ^~~ [all 2022-10-12 12:31:47] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC21': [all 2022-10-12 12:31:47] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:47] 1208 | sat |= tempsat; [all 2022-10-12 12:31:47] | ~~~~^~~~~~ [all 2022-10-12 12:31:47] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:47] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:47] | ^~~ [all 2022-10-12 12:31:48] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC22': [all 2022-10-12 12:31:48] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:48] 1191 | sat |= tempsat; [all 2022-10-12 12:31:48] | ~~~~^~~~~~ [all 2022-10-12 12:31:48] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:48] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:48] | ^~~ [all 2022-10-12 12:31:48] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC22': [all 2022-10-12 12:31:48] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:48] 1208 | sat |= tempsat; [all 2022-10-12 12:31:48] | ~~~~^~~~~~ [all 2022-10-12 12:31:48] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:48] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:48] | ^~~ [all 2022-10-12 12:31:49] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC23': [all 2022-10-12 12:31:49] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:49] 1191 | sat |= tempsat; [all 2022-10-12 12:31:49] | ~~~~^~~~~~ [all 2022-10-12 12:31:49] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:49] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:49] | ^~~ [all 2022-10-12 12:31:49] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC23': [all 2022-10-12 12:31:49] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:49] 1208 | sat |= tempsat; [all 2022-10-12 12:31:49] | ~~~~^~~~~~ [all 2022-10-12 12:31:49] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:49] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:49] | ^~~ [all 2022-10-12 12:31:50] altivec.igen: In function 'icache_Vector_Sum_Across_Partial_14_Unsigned_Byte_Saturate': [all 2022-10-12 12:31:50] altivec.igen:2303:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:50] 2303 | sat |= tempsat; [all 2022-10-12 12:31:50] | ~~~~^~~~~~ [all 2022-10-12 12:31:50] altivec.igen:2294:24: note: 'sat' was declared here [all 2022-10-12 12:31:50] 2294 | int i, j, sat, tempsat; [all 2022-10-12 12:31:50] | ^~~ [all 2022-10-12 12:31:50] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC24': [all 2022-10-12 12:31:50] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:50] 1191 | sat |= tempsat; [all 2022-10-12 12:31:50] | ~~~~^~~~~~ [all 2022-10-12 12:31:50] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:50] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:50] | ^~~ [all 2022-10-12 12:31:50] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC24': [all 2022-10-12 12:31:50] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:50] 1208 | sat |= tempsat; [all 2022-10-12 12:31:50] | ~~~~^~~~~~ [all 2022-10-12 12:31:50] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:50] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:50] | ^~~ [all 2022-10-12 12:31:51] altivec.igen: In function 'icache_Vector_Subtract_Unsigned_Half_Word_Saturate': [all 2022-10-12 12:31:51] altivec.igen:2216:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:51] 2216 | sat |= tempsat; [all 2022-10-12 12:31:51] | ~~~~^~~~~~ [all 2022-10-12 12:31:51] altivec.igen:2211:21: note: 'sat' was declared here [all 2022-10-12 12:31:51] 2211 | int i, sat, tempsat; [all 2022-10-12 12:31:51] | ^~~ [all 2022-10-12 12:31:51] altivec.igen: In function 'icache_Vector_Sum_Across_Partial_14_Signed_Half_Word_Saturate': [all 2022-10-12 12:31:51] altivec.igen:2288:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:51] 2288 | sat |= tempsat; [all 2022-10-12 12:31:51] | ~~~~^~~~~~ [all 2022-10-12 12:31:51] altivec.igen:2281:24: note: 'sat' was declared here [all 2022-10-12 12:31:51] 2281 | int i, j, sat, tempsat; [all 2022-10-12 12:31:51] | ^~~ [all 2022-10-12 12:31:52] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC25': [all 2022-10-12 12:31:52] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:52] 1191 | sat |= tempsat; [all 2022-10-12 12:31:52] | ~~~~^~~~~~ [all 2022-10-12 12:31:52] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:52] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:52] | ^~~ [all 2022-10-12 12:31:52] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC25': [all 2022-10-12 12:31:52] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:52] 1208 | sat |= tempsat; [all 2022-10-12 12:31:52] | ~~~~^~~~~~ [all 2022-10-12 12:31:52] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:52] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:52] | ^~~ [all 2022-10-12 12:31:53] altivec.igen: In function 'icache_Vector_Subtract_Unsigned_Word_Saturate': [all 2022-10-12 12:31:53] altivec.igen:2233:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:53] 2233 | sat |= tempsat; [all 2022-10-12 12:31:53] | ~~~~^~~~~~ [all 2022-10-12 12:31:53] altivec.igen:2228:21: note: 'sat' was declared here [all 2022-10-12 12:31:53] 2228 | int i, sat, tempsat; [all 2022-10-12 12:31:53] | ^~~ [all 2022-10-12 12:31:53] altivec.igen: In function 'icache_Vector_Sum_Across_Partial_12_Signed_Word_Saturate': [all 2022-10-12 12:31:53] altivec.igen:2261:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:53] 2261 | sat |= tempsat; [all 2022-10-12 12:31:53] | ~~~~^~~~~~ [all 2022-10-12 12:31:53] altivec.igen:2255:24: note: 'sat' was declared here [all 2022-10-12 12:31:53] 2255 | int i, j, sat, tempsat; [all 2022-10-12 12:31:53] | ^~~ [all 2022-10-12 12:31:53] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC26': [all 2022-10-12 12:31:53] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:53] 1191 | sat |= tempsat; [all 2022-10-12 12:31:53] | ~~~~^~~~~~ [all 2022-10-12 12:31:53] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:53] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:53] | ^~~ [all 2022-10-12 12:31:53] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC26': [all 2022-10-12 12:31:53] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:53] 1208 | sat |= tempsat; [all 2022-10-12 12:31:53] | ~~~~^~~~~~ [all 2022-10-12 12:31:53] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:53] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:53] | ^~~ [all 2022-10-12 12:31:54] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC27': [all 2022-10-12 12:31:54] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:54] 1191 | sat |= tempsat; [all 2022-10-12 12:31:54] | ~~~~^~~~~~ [all 2022-10-12 12:31:54] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:54] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:54] | ^~~ [all 2022-10-12 12:31:54] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC27': [all 2022-10-12 12:31:54] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:54] 1208 | sat |= tempsat; [all 2022-10-12 12:31:54] | ~~~~^~~~~~ [all 2022-10-12 12:31:54] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:54] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:54] | ^~~ [all 2022-10-12 12:31:55] altivec.igen: In function 'icache_Vector_Sum_Across_Partial_14_Signed_Byte_Saturate': [all 2022-10-12 12:31:55] altivec.igen:2275:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:55] 2275 | sat |= tempsat; [all 2022-10-12 12:31:55] | ~~~~^~~~~~ [all 2022-10-12 12:31:55] altivec.igen:2268:24: note: 'sat' was declared here [all 2022-10-12 12:31:55] 2268 | int i, j, sat, tempsat; [all 2022-10-12 12:31:55] | ^~~ [all 2022-10-12 12:31:55] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC28': [all 2022-10-12 12:31:55] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:55] 1191 | sat |= tempsat; [all 2022-10-12 12:31:55] | ~~~~^~~~~~ [all 2022-10-12 12:31:55] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:55] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:55] | ^~~ [all 2022-10-12 12:31:55] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC28': [all 2022-10-12 12:31:55] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:55] 1208 | sat |= tempsat; [all 2022-10-12 12:31:55] | ~~~~^~~~~~ [all 2022-10-12 12:31:55] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:55] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:55] | ^~~ [all 2022-10-12 12:31:56] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC29': [all 2022-10-12 12:31:56] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:56] 1191 | sat |= tempsat; [all 2022-10-12 12:31:56] | ~~~~^~~~~~ [all 2022-10-12 12:31:56] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:56] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:56] | ^~~ [all 2022-10-12 12:31:56] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC29': [all 2022-10-12 12:31:56] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:56] 1208 | sat |= tempsat; [all 2022-10-12 12:31:56] | ~~~~^~~~~~ [all 2022-10-12 12:31:56] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:56] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:56] | ^~~ [all 2022-10-12 12:31:57] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC30': [all 2022-10-12 12:31:57] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:57] 1191 | sat |= tempsat; [all 2022-10-12 12:31:57] | ~~~~^~~~~~ [all 2022-10-12 12:31:57] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:57] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:57] | ^~~ [all 2022-10-12 12:31:57] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC30': [all 2022-10-12 12:31:57] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:57] 1208 | sat |= tempsat; [all 2022-10-12 12:31:57] | ~~~~^~~~~~ [all 2022-10-12 12:31:57] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:57] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:57] | ^~~ [all 2022-10-12 12:31:58] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC31': [all 2022-10-12 12:31:58] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:58] 1191 | sat |= tempsat; [all 2022-10-12 12:31:58] | ~~~~^~~~~~ [all 2022-10-12 12:31:58] altivec.igen:1181:21: note: 'sat' was declared here [all 2022-10-12 12:31:58] 1181 | int i, sat, tempsat; [all 2022-10-12 12:31:58] | ^~~ [all 2022-10-12 12:31:58] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC31': [all 2022-10-12 12:31:58] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] [all 2022-10-12 12:31:58] 1208 | sat |= tempsat; [all 2022-10-12 12:31:58] | ~~~~^~~~~~ [all 2022-10-12 12:31:58] altivec.igen:1197:21: note: 'sat' was declared here [all 2022-10-12 12:31:58] 1197 | int i, sat, tempsat; [all 2022-10-12 12:31:58] | ^~~ [all 2022-10-12 12:32:57] cc1: all warnings being treated as errors [all 2022-10-12 12:32:57] make[3]: *** [Makefile:144: icache.o] Error 1 [all 2022-10-12 12:32:57] make[3]: Leaving directory '/var/lib/laminar/run/gdb-powerpc-eabialtivec/7/binutils-gdb/sim/ppc' [all 2022-10-12 12:32:57] make[2]: *** [Makefile:1933: all-recursive] Error 1 [all 2022-10-12 12:32:57] make[2]: Leaving directory '/var/lib/laminar/run/gdb-powerpc-eabialtivec/7/binutils-gdb/sim' [all 2022-10-12 12:32:57] make[1]: *** [Makefile:1185: all] Error 2 [all 2022-10-12 12:32:57] make[1]: Leaving directory '/var/lib/laminar/run/gdb-powerpc-eabialtivec/7/binutils-gdb/sim' [all 2022-10-12 12:32:57] make: *** [Makefile:11309: all-sim] Error 2 Something for a ticket? MfG, JBG --
I'm trying to compile Binutils + GDB with Clang with some configurations (e.g. --enable-targets=all and --target=riscv64-unknown-elf) and my goal for now is to build default all-arch Binutils ("--enable-targets=all") with Clang 15.0.0 without "--disable-werror". PowerPC is out of my scope (though there are some upcoming sim/ppc patches) and I hope someone familiar with PPC will fix it. Thanks, Tsukasa On 2022/10/12 21:50, Jan-Benedict Glaw wrote: > On Wed, 2022-10-12 12:36:49 +0200, Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote: >> On Wed, 2022-10-12 10:39:25 +0100, Andrew Burgess <aburgess@redhat.com> wrote: >>> Jan-Benedict Glaw <jbglaw@lug-owl.de> writes: >>>> Building with a recent GCC, I get this: >>>> >>>> $ .../configure --prefix=/tmp/gdb-ppc-elf --target=ppc-elf >>>> $ make V=1 all-gdb >>>> [...] > > ...while we're at ppc: Should powerpc64-linux_altivec, > powerpc-eabisimaltivec and powerpc-eabialtivec be supported? I think > so, but these all fail with: > > + log_execute cfg ./configure --prefix=/tmp/gdb-powerpc-eabialtivec --target=powerpc-eabialtivec > + log_execute all make V=1 all-gdb > [...] > [all 2022-10-12 12:30:53] /usr/lib/gcc-snapshot/bin/gcc -c -g -O2 -Werror -DDEFAULT_INLINE=0 -DWITH_SMP=5 -DWITH_ALTIVEC -DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO -Wall -Wdeclaration-after-statement -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wno-error=maybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wmissing-parameter-type -Wpointer-sign -Wold-style-declaration -I. -I. -I./../../include -I../../bfd -I./../../bfd -I../../gdb -I./../../gdb -I./../../gdb/config -I../.. -I./../../gnulib/import -I../../gnulib/import -DHAVE_COMMON_FPU -I../common -I./../common icache.c > [all 2022-10-12 12:30:54] altivec.igen: In function 'icache_Vector_Convert_to_Unsigned_FixedPoint_Word_Saturate': > [all 2022-10-12 12:30:54] altivec.igen:1016:31: error: pointer targets in passing argument 1 of 'sim_fpu_to64u' differ in signedness [-Werror=pointer-sign] > [all 2022-10-12 12:30:54] 1016 | sim_fpu_to64u (&temp, &a, sim_fpu_round_default); > [all 2022-10-12 12:30:54] | ^~~~~ > [all 2022-10-12 12:30:54] | | > [all 2022-10-12 12:30:54] | int64_t * {aka long int *} > [all 2022-10-12 12:30:54] In file included from icache.c:33: > [all 2022-10-12 12:30:54] ../common/sim-fpu.h:308:47: note: expected 'uint64_t *' {aka 'long unsigned int *'} but argument is of type 'int64_t *' {aka 'long int *'} > [all 2022-10-12 12:30:54] 308 | INLINE_SIM_FPU (int) sim_fpu_to64u (uint64_t *u, const sim_fpu *f, > [all 2022-10-12 12:30:54] | ~~~~~~~~~~^ > [all 2022-10-12 12:31:21] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC0': > [all 2022-10-12 12:31:21] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:21] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:21] | ~~~~^~~~~~ > [all 2022-10-12 12:31:21] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:21] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:21] | ^~~ > [all 2022-10-12 12:31:21] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC0': > [all 2022-10-12 12:31:21] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:21] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:21] | ~~~~^~~~~~ > [all 2022-10-12 12:31:21] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:21] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:21] | ^~~ > [all 2022-10-12 12:31:22] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC1': > [all 2022-10-12 12:31:22] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:22] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:22] | ~~~~^~~~~~ > [all 2022-10-12 12:31:22] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:22] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:22] | ^~~ > [all 2022-10-12 12:31:22] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC1': > [all 2022-10-12 12:31:22] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:22] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:22] | ~~~~^~~~~~ > [all 2022-10-12 12:31:22] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:22] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:22] | ^~~ > [all 2022-10-12 12:31:23] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC2': > [all 2022-10-12 12:31:23] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:23] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:23] | ~~~~^~~~~~ > [all 2022-10-12 12:31:23] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:23] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:23] | ^~~ > [all 2022-10-12 12:31:23] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC2': > [all 2022-10-12 12:31:23] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:23] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:23] | ~~~~^~~~~~ > [all 2022-10-12 12:31:23] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:23] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:23] | ^~~ > [all 2022-10-12 12:31:24] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC3': > [all 2022-10-12 12:31:24] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:24] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:24] | ~~~~^~~~~~ > [all 2022-10-12 12:31:24] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:24] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:24] | ^~~ > [all 2022-10-12 12:31:25] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC3': > [all 2022-10-12 12:31:25] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:25] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:25] | ~~~~^~~~~~ > [all 2022-10-12 12:31:25] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:25] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:25] | ^~~ > [all 2022-10-12 12:31:26] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC4': > [all 2022-10-12 12:31:26] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:26] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:26] | ~~~~^~~~~~ > [all 2022-10-12 12:31:26] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:26] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:26] | ^~~ > [all 2022-10-12 12:31:26] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC4': > [all 2022-10-12 12:31:26] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:26] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:26] | ~~~~^~~~~~ > [all 2022-10-12 12:31:26] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:26] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:26] | ^~~ > [all 2022-10-12 12:31:27] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC5': > [all 2022-10-12 12:31:27] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:27] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:27] | ~~~~^~~~~~ > [all 2022-10-12 12:31:27] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:27] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:27] | ^~~ > [all 2022-10-12 12:31:27] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC5': > [all 2022-10-12 12:31:27] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:27] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:27] | ~~~~^~~~~~ > [all 2022-10-12 12:31:27] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:27] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:27] | ^~~ > [all 2022-10-12 12:31:29] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC6': > [all 2022-10-12 12:31:29] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:29] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:29] | ~~~~^~~~~~ > [all 2022-10-12 12:31:29] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:29] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:29] | ^~~ > [all 2022-10-12 12:31:29] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC6': > [all 2022-10-12 12:31:29] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:29] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:29] | ~~~~^~~~~~ > [all 2022-10-12 12:31:29] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:29] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:29] | ^~~ > [all 2022-10-12 12:31:30] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC7': > [all 2022-10-12 12:31:30] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:30] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:30] | ~~~~^~~~~~ > [all 2022-10-12 12:31:30] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:30] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:30] | ^~~ > [all 2022-10-12 12:31:30] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC7': > [all 2022-10-12 12:31:30] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:30] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:30] | ~~~~^~~~~~ > [all 2022-10-12 12:31:30] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:30] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:30] | ^~~ > [all 2022-10-12 12:31:31] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC8': > [all 2022-10-12 12:31:31] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:31] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:31] | ~~~~^~~~~~ > [all 2022-10-12 12:31:31] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:31] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:31] | ^~~ > [all 2022-10-12 12:31:31] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC8': > [all 2022-10-12 12:31:31] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:31] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:31] | ~~~~^~~~~~ > [all 2022-10-12 12:31:31] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:31] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:31] | ^~~ > [all 2022-10-12 12:31:32] altivec.igen: In function 'icache_Vector_Add_Unsigned_Half_Word_Saturate': > [all 2022-10-12 12:31:32] altivec.igen:662:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:32] 662 | sat |= tempsat; > [all 2022-10-12 12:31:32] | ~~~~^~~~~~ > [all 2022-10-12 12:31:32] altivec.igen:657:21: note: 'sat' was declared here > [all 2022-10-12 12:31:32] 657 | int i, sat, tempsat; > [all 2022-10-12 12:31:32] | ^~~ > [all 2022-10-12 12:31:33] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC9': > [all 2022-10-12 12:31:33] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:33] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:33] | ~~~~^~~~~~ > [all 2022-10-12 12:31:33] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:33] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:33] | ^~~ > [all 2022-10-12 12:31:33] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC9': > [all 2022-10-12 12:31:33] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:33] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:33] | ~~~~^~~~~~ > [all 2022-10-12 12:31:33] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:33] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:33] | ^~~ > [all 2022-10-12 12:31:33] altivec.igen: In function 'icache_Vector_Add_Unsigned_Word_Saturate': > [all 2022-10-12 12:31:33] altivec.igen:679:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:33] 679 | sat |= tempsat; > [all 2022-10-12 12:31:33] | ~~~~^~~~~~ > [all 2022-10-12 12:31:33] altivec.igen:674:21: note: 'sat' was declared here > [all 2022-10-12 12:31:33] 674 | int i, sat, tempsat; > [all 2022-10-12 12:31:33] | ^~~ > [all 2022-10-12 12:31:34] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC10': > [all 2022-10-12 12:31:34] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:34] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:34] | ~~~~^~~~~~ > [all 2022-10-12 12:31:34] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:34] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:34] | ^~~ > [all 2022-10-12 12:31:34] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC10': > [all 2022-10-12 12:31:34] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:34] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:34] | ~~~~^~~~~~ > [all 2022-10-12 12:31:34] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:34] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:34] | ^~~ > [all 2022-10-12 12:31:35] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC11': > [all 2022-10-12 12:31:35] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:35] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:35] | ~~~~^~~~~~ > [all 2022-10-12 12:31:35] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:35] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:35] | ^~~ > [all 2022-10-12 12:31:35] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC11': > [all 2022-10-12 12:31:35] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:35] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:35] | ~~~~^~~~~~ > [all 2022-10-12 12:31:35] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:35] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:35] | ^~~ > [all 2022-10-12 12:31:36] altivec.igen: In function 'icache_Vector_Add_Signed_Byte_Saturate': > [all 2022-10-12 12:31:36] altivec.igen:603:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:36] 603 | sat |= tempsat; > [all 2022-10-12 12:31:36] | ~~~~^~~~~~ > [all 2022-10-12 12:31:36] altivec.igen:598:21: note: 'sat' was declared here > [all 2022-10-12 12:31:36] 598 | int i, sat, tempsat; > [all 2022-10-12 12:31:36] | ^~~ > [all 2022-10-12 12:31:36] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC12': > [all 2022-10-12 12:31:36] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:36] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:36] | ~~~~^~~~~~ > [all 2022-10-12 12:31:36] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:36] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:36] | ^~~ > [all 2022-10-12 12:31:36] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC12': > [all 2022-10-12 12:31:36] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:36] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:36] | ~~~~^~~~~~ > [all 2022-10-12 12:31:36] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:36] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:36] | ^~~ > [all 2022-10-12 12:31:37] altivec.igen: In function 'icache_Vector_Add_Signed_Half_Word_Saturate': > [all 2022-10-12 12:31:37] altivec.igen:616:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:37] 616 | sat |= tempsat; > [all 2022-10-12 12:31:37] | ~~~~^~~~~~ > [all 2022-10-12 12:31:37] altivec.igen:609:21: note: 'sat' was declared here > [all 2022-10-12 12:31:37] 609 | int i, sat, tempsat; > [all 2022-10-12 12:31:37] | ^~~ > [all 2022-10-12 12:31:38] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC13': > [all 2022-10-12 12:31:38] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:38] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:38] | ~~~~^~~~~~ > [all 2022-10-12 12:31:38] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:38] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:38] | ^~~ > [all 2022-10-12 12:31:38] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC13': > [all 2022-10-12 12:31:38] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:38] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:38] | ~~~~^~~~~~ > [all 2022-10-12 12:31:38] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:38] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:38] | ^~~ > [all 2022-10-12 12:31:39] altivec.igen: In function 'icache_Vector_Add_Signed_Word_Saturate': > [all 2022-10-12 12:31:39] altivec.igen:627:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:39] 627 | sat |= tempsat; > [all 2022-10-12 12:31:39] | ~~~~^~~~~~ > [all 2022-10-12 12:31:39] altivec.igen:622:21: note: 'sat' was declared here > [all 2022-10-12 12:31:39] 622 | int i, sat, tempsat; > [all 2022-10-12 12:31:39] | ^~~ > [all 2022-10-12 12:31:39] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC14': > [all 2022-10-12 12:31:39] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:39] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:39] | ~~~~^~~~~~ > [all 2022-10-12 12:31:39] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:39] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:39] | ^~~ > [all 2022-10-12 12:31:39] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC14': > [all 2022-10-12 12:31:39] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:39] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:39] | ~~~~^~~~~~ > [all 2022-10-12 12:31:39] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:39] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:39] | ^~~ > [all 2022-10-12 12:31:40] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC15': > [all 2022-10-12 12:31:40] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:40] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:40] | ~~~~^~~~~~ > [all 2022-10-12 12:31:40] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:40] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:40] | ^~~ > [all 2022-10-12 12:31:40] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC15': > [all 2022-10-12 12:31:40] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:40] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:40] | ~~~~^~~~~~ > [all 2022-10-12 12:31:40] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:40] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:40] | ^~~ > [all 2022-10-12 12:31:42] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC16': > [all 2022-10-12 12:31:42] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:42] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:42] | ~~~~^~~~~~ > [all 2022-10-12 12:31:42] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:42] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:42] | ^~~ > [all 2022-10-12 12:31:42] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC16': > [all 2022-10-12 12:31:42] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:42] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:42] | ~~~~^~~~~~ > [all 2022-10-12 12:31:42] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:42] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:42] | ^~~ > [all 2022-10-12 12:31:43] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC17': > [all 2022-10-12 12:31:43] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:43] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:43] | ~~~~^~~~~~ > [all 2022-10-12 12:31:43] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:43] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:43] | ^~~ > [all 2022-10-12 12:31:43] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC17': > [all 2022-10-12 12:31:43] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:43] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:43] | ~~~~^~~~~~ > [all 2022-10-12 12:31:43] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:43] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:43] | ^~~ > [all 2022-10-12 12:31:44] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC18': > [all 2022-10-12 12:31:44] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:44] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:44] | ~~~~^~~~~~ > [all 2022-10-12 12:31:44] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:44] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:44] | ^~~ > [all 2022-10-12 12:31:44] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC18': > [all 2022-10-12 12:31:44] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:44] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:44] | ~~~~^~~~~~ > [all 2022-10-12 12:31:44] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:44] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:44] | ^~~ > [all 2022-10-12 12:31:45] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC19': > [all 2022-10-12 12:31:45] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:45] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:45] | ~~~~^~~~~~ > [all 2022-10-12 12:31:45] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:45] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:45] | ^~~ > [all 2022-10-12 12:31:45] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC19': > [all 2022-10-12 12:31:45] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:45] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:45] | ~~~~^~~~~~ > [all 2022-10-12 12:31:45] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:45] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:45] | ^~~ > [all 2022-10-12 12:31:46] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC20': > [all 2022-10-12 12:31:46] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:46] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:46] | ~~~~^~~~~~ > [all 2022-10-12 12:31:46] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:46] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:46] | ^~~ > [all 2022-10-12 12:31:46] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC20': > [all 2022-10-12 12:31:46] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:46] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:46] | ~~~~^~~~~~ > [all 2022-10-12 12:31:46] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:46] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:46] | ^~~ > [all 2022-10-12 12:31:47] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC21': > [all 2022-10-12 12:31:47] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:47] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:47] | ~~~~^~~~~~ > [all 2022-10-12 12:31:47] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:47] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:47] | ^~~ > [all 2022-10-12 12:31:47] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC21': > [all 2022-10-12 12:31:47] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:47] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:47] | ~~~~^~~~~~ > [all 2022-10-12 12:31:47] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:47] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:47] | ^~~ > [all 2022-10-12 12:31:48] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC22': > [all 2022-10-12 12:31:48] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:48] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:48] | ~~~~^~~~~~ > [all 2022-10-12 12:31:48] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:48] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:48] | ^~~ > [all 2022-10-12 12:31:48] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC22': > [all 2022-10-12 12:31:48] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:48] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:48] | ~~~~^~~~~~ > [all 2022-10-12 12:31:48] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:48] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:48] | ^~~ > [all 2022-10-12 12:31:49] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC23': > [all 2022-10-12 12:31:49] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:49] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:49] | ~~~~^~~~~~ > [all 2022-10-12 12:31:49] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:49] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:49] | ^~~ > [all 2022-10-12 12:31:49] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC23': > [all 2022-10-12 12:31:49] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:49] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:49] | ~~~~^~~~~~ > [all 2022-10-12 12:31:49] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:49] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:49] | ^~~ > [all 2022-10-12 12:31:50] altivec.igen: In function 'icache_Vector_Sum_Across_Partial_14_Unsigned_Byte_Saturate': > [all 2022-10-12 12:31:50] altivec.igen:2303:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:50] 2303 | sat |= tempsat; > [all 2022-10-12 12:31:50] | ~~~~^~~~~~ > [all 2022-10-12 12:31:50] altivec.igen:2294:24: note: 'sat' was declared here > [all 2022-10-12 12:31:50] 2294 | int i, j, sat, tempsat; > [all 2022-10-12 12:31:50] | ^~~ > [all 2022-10-12 12:31:50] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC24': > [all 2022-10-12 12:31:50] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:50] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:50] | ~~~~^~~~~~ > [all 2022-10-12 12:31:50] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:50] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:50] | ^~~ > [all 2022-10-12 12:31:50] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC24': > [all 2022-10-12 12:31:50] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:50] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:50] | ~~~~^~~~~~ > [all 2022-10-12 12:31:50] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:50] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:50] | ^~~ > [all 2022-10-12 12:31:51] altivec.igen: In function 'icache_Vector_Subtract_Unsigned_Half_Word_Saturate': > [all 2022-10-12 12:31:51] altivec.igen:2216:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:51] 2216 | sat |= tempsat; > [all 2022-10-12 12:31:51] | ~~~~^~~~~~ > [all 2022-10-12 12:31:51] altivec.igen:2211:21: note: 'sat' was declared here > [all 2022-10-12 12:31:51] 2211 | int i, sat, tempsat; > [all 2022-10-12 12:31:51] | ^~~ > [all 2022-10-12 12:31:51] altivec.igen: In function 'icache_Vector_Sum_Across_Partial_14_Signed_Half_Word_Saturate': > [all 2022-10-12 12:31:51] altivec.igen:2288:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:51] 2288 | sat |= tempsat; > [all 2022-10-12 12:31:51] | ~~~~^~~~~~ > [all 2022-10-12 12:31:51] altivec.igen:2281:24: note: 'sat' was declared here > [all 2022-10-12 12:31:51] 2281 | int i, j, sat, tempsat; > [all 2022-10-12 12:31:51] | ^~~ > [all 2022-10-12 12:31:52] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC25': > [all 2022-10-12 12:31:52] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:52] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:52] | ~~~~^~~~~~ > [all 2022-10-12 12:31:52] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:52] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:52] | ^~~ > [all 2022-10-12 12:31:52] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC25': > [all 2022-10-12 12:31:52] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:52] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:52] | ~~~~^~~~~~ > [all 2022-10-12 12:31:52] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:52] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:52] | ^~~ > [all 2022-10-12 12:31:53] altivec.igen: In function 'icache_Vector_Subtract_Unsigned_Word_Saturate': > [all 2022-10-12 12:31:53] altivec.igen:2233:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:53] 2233 | sat |= tempsat; > [all 2022-10-12 12:31:53] | ~~~~^~~~~~ > [all 2022-10-12 12:31:53] altivec.igen:2228:21: note: 'sat' was declared here > [all 2022-10-12 12:31:53] 2228 | int i, sat, tempsat; > [all 2022-10-12 12:31:53] | ^~~ > [all 2022-10-12 12:31:53] altivec.igen: In function 'icache_Vector_Sum_Across_Partial_12_Signed_Word_Saturate': > [all 2022-10-12 12:31:53] altivec.igen:2261:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:53] 2261 | sat |= tempsat; > [all 2022-10-12 12:31:53] | ~~~~^~~~~~ > [all 2022-10-12 12:31:53] altivec.igen:2255:24: note: 'sat' was declared here > [all 2022-10-12 12:31:53] 2255 | int i, j, sat, tempsat; > [all 2022-10-12 12:31:53] | ^~~ > [all 2022-10-12 12:31:53] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC26': > [all 2022-10-12 12:31:53] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:53] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:53] | ~~~~^~~~~~ > [all 2022-10-12 12:31:53] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:53] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:53] | ^~~ > [all 2022-10-12 12:31:53] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC26': > [all 2022-10-12 12:31:53] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:53] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:53] | ~~~~^~~~~~ > [all 2022-10-12 12:31:53] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:53] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:53] | ^~~ > [all 2022-10-12 12:31:54] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC27': > [all 2022-10-12 12:31:54] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:54] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:54] | ~~~~^~~~~~ > [all 2022-10-12 12:31:54] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:54] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:54] | ^~~ > [all 2022-10-12 12:31:54] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC27': > [all 2022-10-12 12:31:54] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:54] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:54] | ~~~~^~~~~~ > [all 2022-10-12 12:31:54] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:54] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:54] | ^~~ > [all 2022-10-12 12:31:55] altivec.igen: In function 'icache_Vector_Sum_Across_Partial_14_Signed_Byte_Saturate': > [all 2022-10-12 12:31:55] altivec.igen:2275:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:55] 2275 | sat |= tempsat; > [all 2022-10-12 12:31:55] | ~~~~^~~~~~ > [all 2022-10-12 12:31:55] altivec.igen:2268:24: note: 'sat' was declared here > [all 2022-10-12 12:31:55] 2268 | int i, j, sat, tempsat; > [all 2022-10-12 12:31:55] | ^~~ > [all 2022-10-12 12:31:55] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC28': > [all 2022-10-12 12:31:55] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:55] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:55] | ~~~~^~~~~~ > [all 2022-10-12 12:31:55] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:55] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:55] | ^~~ > [all 2022-10-12 12:31:55] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC28': > [all 2022-10-12 12:31:55] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:55] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:55] | ~~~~^~~~~~ > [all 2022-10-12 12:31:55] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:55] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:55] | ^~~ > [all 2022-10-12 12:31:56] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC29': > [all 2022-10-12 12:31:56] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:56] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:56] | ~~~~^~~~~~ > [all 2022-10-12 12:31:56] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:56] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:56] | ^~~ > [all 2022-10-12 12:31:56] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC29': > [all 2022-10-12 12:31:56] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:56] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:56] | ~~~~^~~~~~ > [all 2022-10-12 12:31:56] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:56] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:56] | ^~~ > [all 2022-10-12 12:31:57] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC30': > [all 2022-10-12 12:31:57] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:57] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:57] | ~~~~^~~~~~ > [all 2022-10-12 12:31:57] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:57] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:57] | ^~~ > [all 2022-10-12 12:31:57] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC30': > [all 2022-10-12 12:31:57] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:57] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:57] | ~~~~^~~~~~ > [all 2022-10-12 12:31:57] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:57] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:57] | ^~~ > [all 2022-10-12 12:31:58] altivec.igen: In function 'icache_Vector_Multiple_High_and_Add_Signed_Half_Word_Saturate_VC31': > [all 2022-10-12 12:31:58] altivec.igen:1191:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:58] 1191 | sat |= tempsat; > [all 2022-10-12 12:31:58] | ~~~~^~~~~~ > [all 2022-10-12 12:31:58] altivec.igen:1181:21: note: 'sat' was declared here > [all 2022-10-12 12:31:58] 1181 | int i, sat, tempsat; > [all 2022-10-12 12:31:58] | ^~~ > [all 2022-10-12 12:31:58] altivec.igen: In function 'icache_Vector_Multiple_High_Round_and_Add_Signed_Half_Word_Saturate_VC31': > [all 2022-10-12 12:31:58] altivec.igen:1208:20: warning: 'sat' may be used uninitialized [-Wmaybe-uninitialized] > [all 2022-10-12 12:31:58] 1208 | sat |= tempsat; > [all 2022-10-12 12:31:58] | ~~~~^~~~~~ > [all 2022-10-12 12:31:58] altivec.igen:1197:21: note: 'sat' was declared here > [all 2022-10-12 12:31:58] 1197 | int i, sat, tempsat; > [all 2022-10-12 12:31:58] | ^~~ > [all 2022-10-12 12:32:57] cc1: all warnings being treated as errors > [all 2022-10-12 12:32:57] make[3]: *** [Makefile:144: icache.o] Error 1 > [all 2022-10-12 12:32:57] make[3]: Leaving directory '/var/lib/laminar/run/gdb-powerpc-eabialtivec/7/binutils-gdb/sim/ppc' > [all 2022-10-12 12:32:57] make[2]: *** [Makefile:1933: all-recursive] Error 1 > [all 2022-10-12 12:32:57] make[2]: Leaving directory '/var/lib/laminar/run/gdb-powerpc-eabialtivec/7/binutils-gdb/sim' > [all 2022-10-12 12:32:57] make[1]: *** [Makefile:1185: all] Error 2 > [all 2022-10-12 12:32:57] make[1]: Leaving directory '/var/lib/laminar/run/gdb-powerpc-eabialtivec/7/binutils-gdb/sim' > [all 2022-10-12 12:32:57] make: *** [Makefile:11309: all-sim] Error 2 > > > Something for a ticket? > > MfG, JBG >
diff --git a/sim/ppc/main.c b/sim/ppc/main.c index 83b629ec14a..04b2953762e 100644 --- a/sim/ppc/main.c +++ b/sim/ppc/main.c @@ -68,7 +68,7 @@ sim_io_printf_filtered(const char *msg, ...) va_end(ap); } -void +void ATTRIBUTE_PRINTF (1, 2) error (const char *msg, ...) { va_list ap; diff --git a/sim/ppc/misc.c b/sim/ppc/misc.c index 8f2581e3ef3..b8b11bcfe2f 100644 --- a/sim/ppc/misc.c +++ b/sim/ppc/misc.c @@ -28,7 +28,7 @@ #include <stdlib.h> #include <string.h> -void +void ATTRIBUTE_PRINTF (1, 2) error (const char *msg, ...) { va_list ap; @@ -48,7 +48,7 @@ zalloc(long size) return memory; } -void +void ATTRIBUTE_PRINTF (2, 3) dumpf (int indent, const char *msg, ...) { va_list ap; diff --git a/sim/ppc/sim_calls.c b/sim/ppc/sim_calls.c index fbc327c94e0..24aeec3f298 100644 --- a/sim/ppc/sim_calls.c +++ b/sim/ppc/sim_calls.c @@ -388,7 +388,7 @@ sim_io_error (SIM_DESC sd, const char *fmt, ...) /****/ -void ATTRIBUTE_NORETURN +void ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (1, 2) error (const char *msg, ...) { va_list ap;