OSDN Git Service

* g++.dg/eh/simd-1.C: XFAIL on SPARC.
[pf3gnuchains/gcc-fork.git] / gcc / gensupport.c
index a255a72..0d4a857 100644 (file)
@@ -140,7 +140,7 @@ static void
 queue_pattern (rtx pattern, struct queue_elem ***list_tail,
               const char *filename, int lineno)
 {
-  struct queue_elem *e = (struct queue_elem *) xmalloc (sizeof (*e));
+  struct queue_elem *e = xmalloc (sizeof (*e));
   e->data = pattern;
   e->filename = filename;
   e->lineno = lineno;
@@ -259,7 +259,7 @@ process_include (rtx desc, int lineno)
   fclose (input_file);
 }
 
-/* Process a top level rtx in some way, queueing as appropriate.  */
+/* Process a top level rtx in some way, queuing as appropriate.  */
 
 static void
 process_rtx (rtx desc, int lineno)
@@ -583,7 +583,7 @@ alter_predicate_for_insn (rtx pattern, int alt, int max_op, int lineno)
          {
            size_t c_len = strlen (c);
            size_t len = alt * (c_len + 1);
-           char *new_c = (char *) xmalloc (len);
+           char *new_c = xmalloc (len);
 
            memcpy (new_c, c, c_len);
            for (i = 1; i < alt; ++i)
@@ -876,8 +876,7 @@ init_md_reader_args (int argc, char **argv)
              {
                struct file_name_list *dirtmp;
 
-               dirtmp = (struct file_name_list *)
-                 xmalloc (sizeof (struct file_name_list));
+               dirtmp = xmalloc (sizeof (struct file_name_list));
                dirtmp->next = 0;       /* New one goes on the end */
                if (first_dir_md_include == 0)
                  first_dir_md_include = dirtmp;
@@ -1078,7 +1077,7 @@ maybe_eval_c_test (const char *expr)
     return -1;
 
   dummy.expr = expr;
-  test = (const struct c_test *) htab_find (condition_table, &dummy);
+  test = htab_find (condition_table, &dummy);
   if (!test)
     abort ();