]> gcc.gnu.org Git - gcc.git/commitdiff
expr.c (expand_assignment): Correct typo exposed by -Wall.
authorRobert Lipe <robertl@dgii.com>
Thu, 12 Feb 1998 14:59:57 +0000 (14:59 +0000)
committerRobert Lipe <robertl@gcc.gnu.org>
Thu, 12 Feb 1998 14:59:57 +0000 (14:59 +0000)
        * expr.c (expand_assignment):  Correct typo exposed by -Wall.
        offset should have been a truth value, not an assignment.

From-SVN: r17876

gcc/ChangeLog
gcc/expr.c

index 8129ee645b2e4d8b8fff4d89aeab63adbe029cbe..adf815afde114ecb9bf14aab38ae4dca1c78cfd5 100644 (file)
@@ -1,3 +1,7 @@
+Thu Feb 12 16:45:17 1998  Robert Lipe  <robertl@dgii.com>
+       * expr.c (expand_assignment):  Correct typo exposed by -Wall. 
+       offset should have been a truth value, not an assignment.
+
 Thu Feb 12 15:26:50 1998  Jeffrey A Law  (law@cygnus.com)
 
        * cse.c (delete_dead_from_cse): If a libcall produces a constant
index bee0b95f925b89657a4618a3348ac7a0dfe606c7..6d3165d07d3cb93b6cd2509c8046f209b307f1c9 100644 (file)
@@ -2924,7 +2924,7 @@ expand_assignment (to, from, want_value, suggest_reg)
       if (TREE_CODE (to) == COMPONENT_REF
          && TREE_READONLY (TREE_OPERAND (to, 1)))
        {
-         if (offset = 0)
+         if (offset == 0)
            to_rtx = copy_rtx (to_rtx);
 
          RTX_UNCHANGING_P (to_rtx) = 1;
This page took 0.084533 seconds and 5 git commands to generate.