aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2020-02-05 09:55:09 +0100
committerMartin Liska <mliska@suse.cz>2020-02-05 09:55:09 +0100
commitf4239581925d6a9fba049f8f771e909a7a5e5ce7 (patch)
treeb0d3c0a38d3cd9dfc279db6f167ebb9c24dbc2d2 /gcc
parent7db12d155ddf4b5d7a5e783a97995f85e19e88dd (diff)
downloadgcc-f4239581925d6a9fba049f8f771e909a7a5e5ce7.zip
gcc-f4239581925d6a9fba049f8f771e909a7a5e5ce7.tar.gz
gcc-f4239581925d6a9fba049f8f771e909a7a5e5ce7.tar.bz2
Document ASLR for Precompiled Headers.
PR c++/92717 * doc/invoke.texi: Document that one should not combine ASLR and -fpch.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/invoke.texi4
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d6b5ded..85083e8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2020-02-05 Martin Liska <mliska@suse.cz>
+
+ PR c++/92717
+ * doc/invoke.texi: Document that one should
+ not combine ASLR and -fpch.
+
2020-02-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/93538
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 4dec0c8..35b341e 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -31106,6 +31106,10 @@ precompiled header. The following are known to be safe:
-fsched-verbose=@var{number} -fschedule-insns -fvisibility= @gol
-pedantic-errors}
+@item Address space layout randomization (ASLR) can lead to not binary identical
+PCH files. If you rely on stable PCH file contents disable ASLR when generating
+PCH files.
+
@end itemize
For all of these except the last, the compiler automatically