]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/61044 (Computed goto on AVR fails to use word-addressing)
authorGeorg-Johann Lay <avr@gjlay.de>
Wed, 28 May 2014 08:50:18 +0000 (08:50 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Wed, 28 May 2014 08:50:18 +0000 (08:50 +0000)
PR target/61044
* doc/extend.texi (Local Labels): Note that label differences are
not supported for AVR.

From-SVN: r211002

gcc/ChangeLog
gcc/doc/extend.texi

index db07f4673198d77f65de6ad7fb8ebbd53ba5e838..4acd9e7536e3ba76012affd5ab2d7250c9602842 100644 (file)
@@ -1,3 +1,9 @@
+2014-05-28  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR target/61044
+       * doc/extend.texi (Local Labels): Note that label differences are
+       not supported for AVR.
+
 2014-05-23  Richard Biener  <rguenther@suse.de>
 
        Backport from mainline
index 0887946a193ce691982efaa67c5065270bff10f5..724d48627532ae48f814a748488bc94c9ee7d488 100644 (file)
@@ -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