[PATCH, testsuite] Fix PR37033, gcc.dg/pch/valid-1b.c failures

Jakub Jelinek jakub@redhat.com
Fri Dec 5 08:33:00 GMT 2008


On Fri, Dec 05, 2008 at 04:53:47AM -0200, Alexandre Oliva wrote:
> @@ -156,7 +159,7 @@ dwarf2out_do_cfi_asm (void)
>    if ((enc & 0x70) != 0 && (enc & 0x70) != DW_EH_PE_pcrel)
>      return false;
>  
> -  return true;
> +  return saved_do_cfi_asm = true;
>  }

This should be written as
  saved_do_cfi_asm = true;
  return true;
Otherwise people will wonder whether return saved_do_cfi_asm == true;
hasn't been meant (or has it?).

	Jakub



More information about the Gcc-patches mailing list