diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d6b5ded32a46..85083e8bc34a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2020-02-05 Martin Liska + + PR c++/92717 + * doc/invoke.texi: Document that one should + not combine ASLR and -fpch. + 2020-02-04 Richard Biener PR tree-optimization/93538 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 4dec0c8326bc..35b341e759fe 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