aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2018-11-17 11:05:45 -0500
committerSandra Loosemore <sandra@gcc.gnu.org>2018-11-17 11:05:45 -0500
commit3337f9bf48a1b6893d0f58a2b4ddad4d3f2c2833 (patch)
tree9d5994895abab334a6196afbf650ae958b3610a7 /gcc
parent5d11bfefc590475edb9d6d5c895d13d5e7c82eb1 (diff)
downloadgcc-3337f9bf48a1b6893d0f58a2b4ddad4d3f2c2833.zip
gcc-3337f9bf48a1b6893d0f58a2b4ddad4d3f2c2833.tar.gz
gcc-3337f9bf48a1b6893d0f58a2b4ddad4d3f2c2833.tar.bz2
re PR c++/4025 (Document use/non-use of -fno-implicit-templates in bootflags)
2018-11-17 Sandra Loosemore <sandra@codesourcery.com> PR c++/4025 gcc/ * doc/invoke.texi (C++ Dialect Options): Clarify usage of -fno-implicit-templates. From-SVN: r266239
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/invoke.texi3
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3392f8f..7362f26 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2018-11-17 Sandra Loosemore <sandra@codesourcery.com>
+
+ PR c++/4025
+ * doc/invoke.texi (C++ Dialect Options): Clarify usage of
+ -fno-implicit-templates.
+
2018-11-17 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/87546
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index e93a736..db3fa3b 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -2574,6 +2574,9 @@ This option is implied by the strict ISO C++ dialects: @option{-ansi},
@opindex fimplicit-templates
Never emit code for non-inline templates that are instantiated
implicitly (i.e.@: by use); only emit code for explicit instantiations.
+If you use this option, you must take care to structure your code to
+include all the necessary explicit instantiations to avoid getting
+undefined symbols at link time.
@xref{Template Instantiation}, for more information.
@item -fno-implicit-inline-templates