public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/53256] [avr] Attribute 'interrupt' shall override attribute 'signal'
Date: Wed, 09 May 2012 16:41:00 -0000	[thread overview]
Message-ID: <bug-53256-4-CoQtV2KVgZ@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-53256-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-05-09 16:39:39 UTC ---
Author: gjl
Date: Wed May  9 16:39:33 2012
New Revision: 187343

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187343
Log:
    Backport from 2012-05-12 mainline r187342.
    PR target/53256
    * config/avr/elf.h (ASM_DECLARE_FUNCTION_NAME): Remove.
    * config/avr/avr-protos.h (avr_asm_declare_function_name): Remove.
    * config/avr/avr.h (struct machine_function): Add attributes_checked_p.
    * config/avr/avr.c (avr_asm_declare_function_name): Remove.
    (expand_prologue): Move initialization of cfun->machine->is_naked,
    is_interrupt, is_signal, is_OS_task, is_OS_main from here to...
    (avr_set_current_function): ...this new static function.
    (TARGET_SET_CURRENT_FUNCTION): New define.
    (avr_function_ok_for_sibcall): Use cfun->machine->is_* instead of
    checking attributes of current_function_decl.
    (avr_regs_to_save): Ditto.
    (signal_function_p): Rename to avr_signal_function_p.
    (interrupt_function_p): Rename to avr_interrupt_function_p.
    * doc/extend.texi (Function Attributes): Better explanation of
    'interrupt' and 'signal' for AVR. Move 'ifunc' down to establish
    alphabetical order.


Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/config/avr/avr-protos.h
    branches/gcc-4_7-branch/gcc/config/avr/avr.c
    branches/gcc-4_7-branch/gcc/config/avr/avr.h
    branches/gcc-4_7-branch/gcc/config/avr/elf.h
    branches/gcc-4_7-branch/gcc/doc/extend.texi


  parent reply	other threads:[~2012-05-09 16:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-06 11:41 [Bug target/53256] New: " gjl at gcc dot gnu.org
2012-05-06 12:27 ` [Bug target/53256] " gjl at gcc dot gnu.org
2012-05-09 16:40 ` gjl at gcc dot gnu.org
2012-05-09 16:41 ` gjl at gcc dot gnu.org [this message]
2012-05-09 17:11 ` gjl at gcc dot gnu.org
2012-06-08 22:42 ` gjl at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-53256-4-CoQtV2KVgZ@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).