~ubuntu-branches/debian/sid/gcc-4.8/sid

« back to all changes in this revision

Viewing changes to .svn/pristine/f0/f0b75b6cb535b4c2f0576fafea0c3e000c677b71.svn-base

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-12-19 19:48:34 UTC
  • Revision ID: package-import@ubuntu.com-20141219194834-4dz1q7rrn5pad823
Tags: 4.8.4-1
* GCC 4.8.4 release.
  - Fix PR target/61407 (darwin), PR middle-end/58624 (ice),
    PR sanitizer/64265 (wrong code).
* Require recent binutils to pass go test failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# DP: never emit .ev4 directive.
 
2
 
 
3
---
 
4
 gcc/config/alpha/alpha.c |    7 +++----
 
5
 1 files changed, 3 insertions(+), 4 deletions(-)
 
6
 
 
7
Index: b/src/gcc/config/alpha/alpha.c
 
8
===================================================================
 
9
--- a/src/gcc/config/alpha/alpha.c
 
10
+++ b/src/gcc/config/alpha/alpha.c
 
11
@@ -9365,7 +9365,7 @@
 
12
     fputs ("\t.set nomacro\n", asm_out_file);
 
13
   if (TARGET_SUPPORT_ARCH | TARGET_BWX | TARGET_MAX | TARGET_FIX | TARGET_CIX)
 
14
     {
 
15
-      const char *arch;
 
16
+      const char *arch = NULL;
 
17
 
 
18
       if (alpha_cpu == PROCESSOR_EV6 || TARGET_FIX || TARGET_CIX)
 
19
        arch = "ev6";
 
20
@@ -9375,10 +9375,9 @@
 
21
        arch = "ev56";
 
22
       else if (alpha_cpu == PROCESSOR_EV5)
 
23
        arch = "ev5";
 
24
-      else
 
25
-       arch = "ev4";
 
26
 
 
27
-      fprintf (asm_out_file, "\t.arch %s\n", arch);
 
28
+      if (arch)
 
29
+        fprintf (asm_out_file, "\t.arch %s\n", arch);
 
30
     }
 
31
 }
 
32