public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/50820] New: [avr] Use EIND consistently
@ 2011-10-21 12:29 gjl at gcc dot gnu.org
  2011-10-21 12:29 ` [Bug target/50820] " gjl at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-10-21 12:29 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50820

             Bug #: 50820
           Summary: [avr] Use EIND consistently
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: documentation, wrong-code
          Severity: enhancement
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gjl@gcc.gnu.org
                CC: eric.weddington@atmel.com
            Target: avr


EIND is not used consistently by the compiler: Some places use EICALL/EIJMP,
others to PUSH __zero_reg__ prior to indirect jump by means of RET.

Moreover, the usage of EIND and its assertions need documentation.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/50820] [avr] Use EIND consistently
  2011-10-21 12:29 [Bug target/50820] New: [avr] Use EIND consistently gjl at gcc dot gnu.org
@ 2011-10-21 12:29 ` gjl at gcc dot gnu.org
  2011-10-21 12:48 ` gjl at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-10-21 12:29 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50820

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-10-21
   Target Milestone|---                         |4.7.0
     Ever Confirmed|0                           |1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/50820] [avr] Use EIND consistently
  2011-10-21 12:29 [Bug target/50820] New: [avr] Use EIND consistently gjl at gcc dot gnu.org
  2011-10-21 12:29 ` [Bug target/50820] " gjl at gcc dot gnu.org
@ 2011-10-21 12:48 ` gjl at gcc dot gnu.org
  2011-10-21 14:26 ` gjl at gcc dot gnu.org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-10-21 12:48 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50820

--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-10-21 12:48:08 UTC ---
Author: gjl
Date: Fri Oct 21 12:48:04 2011
New Revision: 180299

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180299
Log:
    PR target/50820
    * config/avr/libgcc.S (__EIND__): New define to 0x3C.
    (__tablejump__): Consistently use EIND for indirect jump/call.
    (__tablejump_elpm__): Ditto.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/avr/libgcc.S


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/50820] [avr] Use EIND consistently
  2011-10-21 12:29 [Bug target/50820] New: [avr] Use EIND consistently gjl at gcc dot gnu.org
  2011-10-21 12:29 ` [Bug target/50820] " gjl at gcc dot gnu.org
  2011-10-21 12:48 ` gjl at gcc dot gnu.org
@ 2011-10-21 14:26 ` gjl at gcc dot gnu.org
  2011-10-21 14:28 ` gjl at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-10-21 14:26 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50820

--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-10-21 14:24:28 UTC ---
Author: gjl
Date: Fri Oct 21 14:24:21 2011
New Revision: 180303

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180303
Log:
    PR target/50820
    Backport from Mainline r180299.
    * config/avr/libgcc.S (__EIND__): New define to 0x3C.
    (__tablejump__): Consistently use EIND for indirect jump/call.
    (__tablejump_elpm__): Ditto.


Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/config/avr/libgcc.S   (contents, props changed)

Propchange: branches/gcc-4_6-branch/gcc/config/avr/libgcc.S
            ('svn:mergeinfo' added)


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/50820] [avr] Use EIND consistently
  2011-10-21 12:29 [Bug target/50820] New: [avr] Use EIND consistently gjl at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-10-21 14:26 ` gjl at gcc dot gnu.org
@ 2011-10-21 14:28 ` gjl at gcc dot gnu.org
  2011-10-24 12:23 ` gjl at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-10-21 14:28 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50820

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.7.0                       |4.6.2
      Known to fail|                            |4.6.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/50820] [avr] Use EIND consistently
  2011-10-21 12:29 [Bug target/50820] New: [avr] Use EIND consistently gjl at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2011-10-21 14:28 ` gjl at gcc dot gnu.org
@ 2011-10-24 12:23 ` gjl at gcc dot gnu.org
  2011-10-24 14:50 ` gjl at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-10-24 12:23 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50820

--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-10-24 12:22:25 UTC ---
Author: gjl
Date: Mon Oct 24 12:22:21 2011
New Revision: 180379

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180379
Log:
    PR target/50820
    * doc/invoke.texi (AVR Options): New subsubsection to explain EIND
    handling and indirect jump/calls on devices > 128k.


Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/doc/invoke.texi


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/50820] [avr] Use EIND consistently
  2011-10-21 12:29 [Bug target/50820] New: [avr] Use EIND consistently gjl at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2011-10-24 12:23 ` gjl at gcc dot gnu.org
@ 2011-10-24 14:50 ` gjl at gcc dot gnu.org
  2011-10-24 14:58 ` gjl at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-10-24 14:50 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50820

--- Comment #4 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-10-24 14:49:55 UTC ---
Author: gjl
Date: Mon Oct 24 14:49:47 2011
New Revision: 180388

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180388
Log:
    PR target/50820
    Port from 4.6 branch r180379
    * doc/invoke.texi (AVR Options): New subsubsection to explain EIND
    handling and indirect jump/calls on devices > 128k.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/invoke.texi


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/50820] [avr] Use EIND consistently
  2011-10-21 12:29 [Bug target/50820] New: [avr] Use EIND consistently gjl at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2011-10-24 14:50 ` gjl at gcc dot gnu.org
@ 2011-10-24 14:58 ` gjl at gcc dot gnu.org
  2012-05-02 17:38 ` gjl at gcc dot gnu.org
  2012-05-02 17:40 ` gjl at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-10-24 14:58 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50820

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-10-24 14:58:24 UTC ---
Closed in 4.6.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/50820] [avr] Use EIND consistently
  2011-10-21 12:29 [Bug target/50820] New: [avr] Use EIND consistently gjl at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2011-10-24 14:58 ` gjl at gcc dot gnu.org
@ 2012-05-02 17:38 ` gjl at gcc dot gnu.org
  2012-05-02 17:40 ` gjl at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-05-02 17:38 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50820

--- Comment #6 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-05-02 17:37:36 UTC ---
Author: gjl
Date: Wed May  2 17:37:31 2012
New Revision: 187059

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187059
Log:
    Backport from 2011-10-21 4.6-branch 180303.
    PR target/50820
    * config/avr/libgcc.S (__EIND__): New define to 0x3C.
    (__tablejump__): Consistently use EIND for indirect jump/call.
    (__tablejump_elpm__): Ditto.


Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/config/avr/libgcc.S


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/50820] [avr] Use EIND consistently
  2011-10-21 12:29 [Bug target/50820] New: [avr] Use EIND consistently gjl at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2012-05-02 17:38 ` gjl at gcc dot gnu.org
@ 2012-05-02 17:40 ` gjl at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-05-02 17:40 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50820

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.5.4
      Known to fail|                            |4.5.3
           Severity|enhancement                 |normal

--- Comment #7 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-05-02 17:40:08 UTC ---
Backport to 4.5.4


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-05-02 17:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-21 12:29 [Bug target/50820] New: [avr] Use EIND consistently gjl at gcc dot gnu.org
2011-10-21 12:29 ` [Bug target/50820] " gjl at gcc dot gnu.org
2011-10-21 12:48 ` gjl at gcc dot gnu.org
2011-10-21 14:26 ` gjl at gcc dot gnu.org
2011-10-21 14:28 ` gjl at gcc dot gnu.org
2011-10-24 12:23 ` gjl at gcc dot gnu.org
2011-10-24 14:50 ` gjl at gcc dot gnu.org
2011-10-24 14:58 ` gjl at gcc dot gnu.org
2012-05-02 17:38 ` gjl at gcc dot gnu.org
2012-05-02 17:40 ` gjl at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).