summaryrefslogtreecommitdiff
path: root/gcc/config/avr/avr.c
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2012-10-17 12:53:22 +0000
committerGeorg-Johann Lay <gjl@gcc.gnu.org>2012-10-17 12:53:22 +0000
commiteb5af262af2fa9034ec4fb08b0434ce01458bffb (patch)
tree96feccbe6f5ab295f4b01881b276cb8bef445d7b /gcc/config/avr/avr.c
parent3855380a5f5375c21664983af433a5f1b67e738d (diff)
downloadgcc-eb5af262af2fa9034ec4fb08b0434ce01458bffb.tar.gz
avr-arch.h (avr_extra_arch_macro): Remove prototype.
* config/avr/avr-arch.h (avr_extra_arch_macro): Remove prototype. * config/avr/avr.c (avr_extra_arch_macro): Remove variable. (avr_option_override): Remove setting of avr_extra_arch_macro. * config/avr/avr-c.c (avr_extra_arch_macro): Replace with avr_current_device->macro. From-SVN: r192532
Diffstat (limited to 'gcc/config/avr/avr.c')
-rw-r--r--gcc/config/avr/avr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c
index 1c5bab2baf0..9ae52663668 100644
--- a/gcc/config/avr/avr.c
+++ b/gcc/config/avr/avr.c
@@ -195,9 +195,6 @@ rtx rampz_rtx;
static GTY(()) rtx xstring_empty;
static GTY(()) rtx xstring_e;
-/* Preprocessor macros to define depending on MCU type. */
-const char *avr_extra_arch_macro;
-
/* Current architecture. */
const struct base_arch_s *avr_current_arch;
@@ -310,7 +307,6 @@ avr_option_override (void)
avr_current_device = &avr_mcu_types[avr_mcu_index];
avr_current_arch = &avr_arch_types[avr_current_device->arch];
- avr_extra_arch_macro = avr_current_device->macro;
/* RAM addresses of some SFRs common to all Devices in respective Arch. */