OSDN Git Service

* rtl.h (RTL_LOCATION): Fix typo.
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Oct 2009 06:29:47 +0000 (06:29 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Oct 2009 06:29:47 +0000 (06:29 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152929 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/rtl.h

index 156030e..80667d3 100644 (file)
@@ -1,5 +1,9 @@
 2009-10-17  Alexandre Oliva  <aoliva@redhat.com>
 
+       * rtl.h (RTL_LOCATION): Fix typo.
+
+2009-10-17  Alexandre Oliva  <aoliva@redhat.com>
+
        * print-rtl.c (print_rtx): Print locators in asm_operands
        and asm_input.
 
index 68cd466..2ed6a52 100644 (file)
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -762,7 +762,7 @@ extern void rtl_check_failed_flag (const char *, const_rtx, const char *,
 #define INSN_LOCATOR(INSN) XINT (INSN, 4)
 /* LOCATION of an RTX if relevant.  */
 #define RTL_LOCATION(X) (INSN_P (X) ? \
-                        locator_location (INSN_LOCATOR (x)) \
+                        locator_location (INSN_LOCATOR (X)) \
                         : UNKNOWN_LOCATION)
 /* LOCATION of current INSN.  */
 #define CURR_INSN_LOCATION (locator_location (curr_insn_locator ()))