diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 3 |
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 |