tm.texi.in: Spell out that a lack of register class unions can lead to ICEs.
authorJoern Rennecke <amylaar@spamcop.net>
Wed, 19 Jan 2011 15:23:06 +0000 (15:23 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Wed, 19 Jan 2011 15:23:06 +0000 (15:23 +0000)
* doc/tm.texi.in: Spell out that a lack of register class unions
can lead to ICEs.
* doc/tm.texi: Regenerate.

From-SVN: r168998

gcc/ChangeLog
gcc/doc/tm.texi
gcc/doc/tm.texi.in

index b799162f70bfe112a1e11aa786a4ed7e03251e94..9af2456e621aa220af1d8eac2b55d0cc3ae26971 100644 (file)
@@ -1,3 +1,9 @@
+2011-01-19  Joern Rennecke  <amylaar@spamcop.net>
+
+       * doc/tm.texi.in: Spell out that a lack of register class unions
+       can lead to ICEs.
+       * doc/tm.texi: Regenerate.
+
 2011-01-19  Jakub Jelinek  <jakub@redhat.com>
 
        PR rtl-optimization/47337
index 010e77bdb82de81bc638c2275bb778ce3a7742c4..e3325b05896cf8d72456ddef520030d0f6d744c1 100644 (file)
@@ -2341,7 +2341,9 @@ You should define a class for the union of two classes whenever some
 instruction allows both classes.  For example, if an instruction allows
 either a floating point (coprocessor) register or a general register for a
 certain operand, you should define a class @code{FLOAT_OR_GENERAL_REGS}
-which includes both of them.  Otherwise you will get suboptimal code.
+which includes both of them.  Otherwise you will get suboptimal code,
+or even internal compiler errors when reload cannot find a register in the
+the class computed via @code{reg_class_subunion}.
 
 You must also specify certain redundant information about the register
 classes: for each class, which classes contain it and which ones are
index 3298c3d6493ebb771f4e774067f1425fc037f2db..1a5f0403fa299e315a9593ea603721b4ddbc155e 100644 (file)
@@ -2331,7 +2331,9 @@ You should define a class for the union of two classes whenever some
 instruction allows both classes.  For example, if an instruction allows
 either a floating point (coprocessor) register or a general register for a
 certain operand, you should define a class @code{FLOAT_OR_GENERAL_REGS}
-which includes both of them.  Otherwise you will get suboptimal code.
+which includes both of them.  Otherwise you will get suboptimal code,
+or even internal compiler errors when reload cannot find a register in the
+the class computed via @code{reg_class_subunion}.
 
 You must also specify certain redundant information about the register
 classes: for each class, which classes contain it and which ones are