This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Deprecating Itanium1 for GCC 4.4


On Sun, Mar 15, 2009 at 9:39 PM, Gerald Pfeifer <gerald@pfeifer.com> wrote:
>> I can't find any test results in gcc-testresults reported with
>> -mtune=itanium1 [1].
>
> ...especially if theye do not even contribute test results or
> feedback when things are broken (as in this case). ?Deprecating
> Itanium 1 with GCC 4.4 sounds very reasonable.

Very well. Like so?
I'll propose something for gcc-4.4/changes.html too, after this is
approved in some form.

Ciao!
Steven



	* config/ia64/ia64.c (ia64_handle_option): Inform user that Itanium1
	support is deprecated if the -mtune value is set to an Itanium1
	variant.

Index: config/ia64/ia64.c
===================================================================
--- config/ia64/ia64.c	(revision 144970)
+++ config/ia64/ia64.c	(working copy)
@@ -5212,6 +5212,8 @@ fix_range (const char *const_str)
 static bool
 ia64_handle_option (size_t code, const char *arg, int value)
 {
+  static bool warned_merced_deprecated = false;
+
   switch (code)
     {
     case OPT_mfixed_range_:
@@ -5245,6 +5247,13 @@ ia64_handle_option (size_t code, const char *arg,
 	  if (!strcmp (arg, processor_alias_table[i].name))
 	    {
 	      ia64_tune = processor_alias_table[i].processor;
+	      if (ia64_tune == PROCESSOR_ITANIUM
+		  && ! warned_merced_deprecated)
+		{
+		  inform ("value %<%s%> for -mtune= switch is deprecated", arg);
+		  inform ("GCC 4.4 is the last release with Itanium1 support");
+		  warned_merced_deprecated = true;
+		}
 	      break;
 	    }
 	if (i == pta_size)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]