aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Benedict Glaw <jbglaw@lug-owl.de>2014-10-30 12:44:23 +0000
committerJan-Benedict Glaw <jbglaw@gcc.gnu.org>2014-10-30 12:44:23 +0000
commit6327f612fd6631094742bdb4e4999a48bd376382 (patch)
tree3cd23c7b44933550fe98c576d1165bf97b105c81
parentcc9b1e1ca0e9c28d8a8704abb9faa1ea3b76d676 (diff)
downloadgcc-6327f612fd6631094742bdb4e4999a48bd376382.zip
gcc-6327f612fd6631094742bdb4e4999a48bd376382.tar.gz
gcc-6327f612fd6631094742bdb4e4999a48bd376382.tar.bz2
driver-avr.c (avr_set_current_device): Remove.
2014-10-30 Jan-Benedict Glaw <jbglaw@lug-owl.de> * config/avr/driver-avr.c (avr_set_current_device): Remove. From-SVN: r216932
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/avr/driver-avr.c19
2 files changed, 5 insertions, 20 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d587890..58e6cd0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-30 Jan-Benedict Glaw <jbglaw@lug-owl.de>
+
+ * config/avr/driver-avr.c (avr_set_current_device): Remove.
+
2014-10-30 Martin Liska <mliska@suse.cz>
PR ipa/63574
@@ -7,7 +11,7 @@
* ipa-icf-gimple.h: Missing comment added.
2014-10-30 Jeff Law <law@redhat.com>
-
+
* config/pa/pa-protos.h (pa_output_arg_descriptor): Strengthen
argument from rtx to rtx_insn *.
(compute_movmem_length, compute_clrmem_length): Likewise.
diff --git a/gcc/config/avr/driver-avr.c b/gcc/config/avr/driver-avr.c
index 24a26d4..50de944 100644
--- a/gcc/config/avr/driver-avr.c
+++ b/gcc/config/avr/driver-avr.c
@@ -28,22 +28,3 @@ const avr_arch_t *avr_current_arch = NULL;
/* Current device. */
const avr_mcu_t *avr_current_device = NULL;
-
-/* Initialize avr_current_arch and avr_current_device variables. */
-
-static void
-avr_set_current_device (const char *name)
-{
-
- if (NULL != avr_current_arch)
- return;
-
- for (avr_current_device = avr_mcu_types; avr_current_device->name;
- avr_current_device++)
- {
- if (strcmp (avr_current_device->name, name) == 0)
- break;
- }
-
- avr_current_arch = &avr_arch_types[avr_current_device->arch];
-}