After
2010-10-07 Andi Kleen <a...@linux.intel.com> * Makefile.in (MOSTLYCLEANFILES): Remove cc1*dummy, add checksum-options. (checksum-options): Add. (cc1-dummy): Remove. (cc1-checksum): Change to run checksum over object files and options only. * dummy-checksum.c: Remove. * genchecksum.c: Update copyright. (usage): Allow multiple arguments. (BLOCKSIZE): Add. (dosum): Change for incremental checksum. Remove C output. (main): Iterate over all argument files. Add C output. there are no longer binaries with dummy-checksum.c we guard against using. Bootstrap running on x86_64-unknown-linux-gnu. Richard. 2019-02-22 Richard Biener <rguent...@suse.de> c-family/ * c-pch.c (no_checksum): Remove. (pch_init): Remove assertion that executable_checksum is not all zero. (c_common_valid_pch): Likewise. Index: gcc/c-family/c-pch.c =================================================================== --- gcc/c-family/c-pch.c (revision 269098) +++ gcc/c-family/c-pch.c (working copy) @@ -45,10 +45,6 @@ enum { MATCH_SIZE = ARRAY_SIZE (pch_matching) }; -/* The value of the checksum in the dummy compiler that is actually - checksummed. That compiler should never be run. */ -static const char no_checksum[16] = { 0 }; - /* Information about flags and suchlike that affect PCH validity. Before this structure is read, both an initial 8-character identification @@ -111,8 +107,6 @@ pch_init (void) pch_file); pch_outfile = f; - gcc_assert (memcmp (executable_checksum, no_checksum, 16) != 0); - memset (&v, '\0', sizeof (v)); v.debug_info_type = write_symbols; { @@ -212,8 +206,6 @@ c_common_valid_pch (cpp_reader *pfile, c /* Perform a quick test of whether this is a valid precompiled header for the current language. */ - gcc_assert (memcmp (executable_checksum, no_checksum, 16) != 0); - sizeread = read (fd, ident, IDENT_LENGTH + 16); if (sizeread == -1) fatal_error (input_location, "can%'t read %s: %m", name);