# HG changeset patch # User William Astle # Date 1458868105 21600 # Node ID 40de99bde5e015405c5cd746911807d1e70ef505 # Parent 5dc9f9d4706472f6cd434920f2c86b30a65afbbb Add note about known code generate error in gcc6809 patches diff -r 5dc9f9d47064 -r 40de99bde5e0 extra/README --- a/extra/README Mon Mar 21 09:13:45 2016 -0600 +++ b/extra/README Thu Mar 24 19:08:25 2016 -0600 @@ -93,6 +93,19 @@ The above is WOMM certified. YMMV. +NOTES ABOUT GCC6809 +=================== + +There is one known code generation bug with current versions of gcc6809. If +you are getting bad behaviour for some reason and are using optimization +(-O1 or higher, -Os), you may be hitting this bug. Adding "-fno-tree-ter" +after the "-O" options is known to correct this behaviour in some cases. If +someone who understands the gcc code is willing to look at it, patches for +the patch would be welcome (especially if that patch moves the base gcc +version upward). It is not clear whether this is a bug in the m6809 specific +code or the gcc core though it seems like it's in the gcc core. + + NOTES ABOUT SPECIFIC PATCHES ============================