This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: AW: Fix for type confusion bug on microblaze
- From: Jeff Law <law at redhat dot com>
- To: Jonas Pfeil <jonas dot pfeil at uni-ulm dot de>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 20 Sep 2019 16:33:29 -0600
- Subject: Re: AW: Fix for type confusion bug on microblaze
- References: <00a801d56893$f98bd630$eca38290$@uni-ulm.de> <6a184d1e-5cb6-ba98-57ab-e75f1cfc7bb6@redhat.com> <00be01d5693e$817cdb70$84769250$@uni-ulm.de>
On 9/12/19 1:48 AM, Jonas Pfeil wrote:
> Yes, you are correct. Tested it and it works as intended.
>
> Thanks,
>
> Jonas
>
> --- a/gcc/config/microblaze/microblaze.h
> +++ b/gcc/config/microblaze/microblaze.h
> @@ -695,7 +695,7 @@ do { \
> fprintf (STREAM, "\t.align\t%d\n", (LOG))
>
> #define ASM_OUTPUT_SKIP(STREAM,SIZE) \
> - fprintf (STREAM, "\t.space\t%lu\n", (SIZE))
> + fprintf (STREAM, "\t.space\t" HOST_WIDE_INT_PRINT_UNSIGNED "\n", (SIZE))
>
> #define ASCII_DATA_ASM_OP "\t.ascii\t"
> #define STRING_ASM_OP "\t.asciz\t"
THanks. I'll be installing this momentarily on the trunk.
jeff