diff mbox

gcc/tree-complex.c: Fix minor typo in comment

Message ID 20130705092835.GA15500@adacore.com
State New
Headers show

Commit Message

Thomas Quinot July 5, 2013, 9:28 a.m. UTC
2013-07-06  Thomas Quinot  <quinot@adacore.com>

gcc/
        * tree-complex.c: Fix minor typo in comment

OK to commit?

Comments

Florian Weimer July 5, 2013, 9:29 a.m. UTC | #1
On 07/05/2013 11:28 AM, Thomas Quinot wrote:
> 2013-07-06  Thomas Quinot  <quinot@adacore.com>
>
> gcc/
>          * tree-complex.c: Fix minor typo in comment
>
> OK to commit?

I think this falls under the "obvious" rule.  (But your date in the 
changelog is off.)
Paolo Carlini July 5, 2013, 9:31 a.m. UTC | #2
On 07/05/2013 11:28 AM, Thomas Quinot wrote:
> 2013-07-06  Thomas Quinot  <quinot@adacore.com>
>
> gcc/
>          * tree-complex.c: Fix minor typo in comment
>
> OK to commit?
In my opinion this qualifies as obvious.

Paolo.
diff mbox

Patch

diff --git a/gcc/tree-complex.c b/gcc/tree-complex.c
index c45ba19..acd0169 100644
--- a/gcc/tree-complex.c
+++ b/gcc/tree-complex.c
@@ -1476,7 +1476,7 @@  expand_complex_operations_1 (gimple_stmt_iterator *gsi)
     case EQ_EXPR:
     case NE_EXPR:
       /* Note, both GIMPLE_ASSIGN and GIMPLE_COND may have an EQ_EXPR
-	 subocde, so we need to access the operands using gimple_op.  */
+	 subcode, so we need to access the operands using gimple_op.  */
       inner_type = TREE_TYPE (gimple_op (stmt, 1));
       if (TREE_CODE (inner_type) != COMPLEX_TYPE)
 	return;