瀏覽代碼

gcc: Fix typo.

* gcc-plugin/src/starpu.c (handle_pragma_acquire): Pass "acquire" as the
  first argument to `read_pragma_pointer_variable'.
Ludovic Courtès 14 年之前
父節點
當前提交
94884750fc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gcc-plugin/src/starpu.c

+ 1 - 1
gcc-plugin/src/starpu.c

@@ -520,7 +520,7 @@ handle_pragma_acquire (struct cpp_reader *reader)
 
   loc = cpp_peek_token (reader, 0)->src_loc;
 
-  var = read_pragma_pointer_variable ("register", loc);
+  var = read_pragma_pointer_variable ("acquire", loc);
   if (var == NULL_TREE)
     return;