From: Georg-Johann Lay Date: Wed, 28 May 2014 08:48:03 +0000 (+0000) Subject: re PR target/61044 (Computed goto on AVR fails to use word-addressing) X-Git-Tag: releases/gcc-4.8.4~446 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20a50ad8f637e8a8710531d50724a10f1adc2cfc;p=thirdparty%2Fgcc.git re PR target/61044 (Computed goto on AVR fails to use word-addressing) PR target/61044 * doc/extend.texi (Local Labels): Note that label differences are not supported for AVR. From-SVN: r211001 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0481d58ccb1c..e38b55364786 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-05-28 Georg-Johann Lay + + PR target/61044 + * doc/extend.texi (Local Labels): Note that label differences are + not supported for AVR. + 2014-05-26 Michael Tautschnig PR target/61249 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index c9452c6fb8c8..29d66a1ab6a3 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -375,6 +375,8 @@ goto *(&&foo + array[i]); This is more friendly to code living in shared libraries, as it reduces the number of dynamic relocations that are needed, and by consequence, allows the data to be read-only. +This alternative with label differences is not supported for the AVR target, +please use the first approach for AVR programs. The @code{&&foo} expressions for the same label might have different values if the containing function is inlined or cloned. If a program