aboutsummaryrefslogtreecommitdiff
path: root/gcc/range-op-float.cc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2023-04-12 16:22:28 +0200
committerJakub Jelinek <jakub@redhat.com>2023-04-12 16:22:28 +0200
commit56529056cb42baa382c40de7d239d02dbf72c94f (patch)
treea72043e954c209f76bde8e534d79b82412c8a392 /gcc/range-op-float.cc
parent14f0ea22413fe3e64306c57fbfd2ae7b5769c1a1 (diff)
downloadgcc-56529056cb42baa382c40de7d239d02dbf72c94f.zip
gcc-56529056cb42baa382c40de7d239d02dbf72c94f.tar.gz
gcc-56529056cb42baa382c40de7d239d02dbf72c94f.tar.bz2
c++: Fix Solaris bootstraps across midnight
When working on the PR109040 fix, I wanted to test it on some WORD_REGISTER_OPERATIONS target and tried sparc-solaris on GCC Farm. My bootstrap failed in comparison failure on cp/module.o, because Solaris date doesn't support the -r option and one stage's cp/module.o was built before midnight and next stage's cp/module.o after midnight, so they had different -DMODULE_VERSION= value. Now, I think the advice (don't bootstrap at midnight) is something we shouldn't have, so the following patch stores the module version (still generated through the same way, date -r cp/module.cc if it works, otherwise just date) into a temporary file, makes sure that temporary file is updated when cp/module.cc source is updated and when date -r doesn't work copies file from previous stage if it is newer than cp/module.cc. 2023-04-12 Jakub Jelinek <jakub@redhat.com> * Make-lang.in (s-cp-module-version): New target. (cp/module.o): Depend on it. (MODULE_VERSION): Remove variable. (CFLAGS-cp/module.o): For -DMODULE_VERSION= argument just cat s-cp-module-version.
Diffstat (limited to 'gcc/range-op-float.cc')
0 files changed, 0 insertions, 0 deletions