diff options
author | dgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-11 13:50:13 +0000 |
---|---|---|
committer | dgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-11 13:50:13 +0000 |
commit | a1406b2e90b8201daadd1194205b41e43ee900b2 (patch) | |
tree | 1f482a01f0df0a7fe6691efc8bb9d3348de39c45 /gcc/doc/invoke.texi | |
parent | 14d408d9b92b7887bc337c801913401b8faa21dd (diff) | |
download | gcc-a1406b2e90b8201daadd1194205b41e43ee900b2.tar.gz |
2007-07-11 Douglas Gregor <doug.gregor@gmail.com>
* params.def (PARAM_VERIFY_CANONICAL_TYPES): Remove.
(PARAM_USE_CANONICAL_TYPES): New; decides whether to use canonical
types or not.
* params.h (VERIFY_CANONICAL_TYPES): Remove.
(USE_CANONICAL_TYPES): New.
* doc/invoke.texi (verify-canonical-types): Remove.
(use-canonical-types): Add.
2007-07-11 Douglas Gregor <doug.gregor@gmail.com>
* typeck.c (comptypes): When USE_CANONICAL_TYPES, use the
canonical types; otherwise, fall back to structural type
comparisons. If ENABLE_CHECKING and USE_CANONICAL_TYPES, give an
internal compiler error if the canonical types are wrong.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126550 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/invoke.texi')
-rw-r--r-- | gcc/doc/invoke.texi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 6a4bc299c2a..c954b9fe9d5 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -6960,12 +6960,12 @@ The size of cache line in L1 cache, in bytes. @item l1-cache-size The number of cache lines in L1 cache. -@item verify-canonical-types -Whether the compiler should verify the ``canonical'' types used for -type equality comparisons within the C++ and Objective-C++ front -ends. Set to 1 (the default when GCC is configured with ---enable-checking) to enable verification, 0 to disable verification -(the default when GCC is configured with --disable-checking). +@item use-canonical-types +Whether the compiler should use the ``canonical'' type system. By +default, this should always be 1, which uses a more efficient internal +mechanism for comparing types in C++ and Objective-C++. However, if +bugs in the canonical type system are causing compilation failures, +set this value to 0 to disable canonical types. @end table @end table |