This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [040/nnn] poly_int: get_inner_reference & co.


Hi!

On Fri, 21 Dec 2018 12:17:17 +0100, Jakub Jelinek <jakub@redhat.com> wrote:
> On Fri, Dec 21, 2018 at 12:10:26PM +0100, Thomas Schwinge wrote:
> > [...]
> 
> Ok, thanks.

Committed to trunk in r267447:

commit a91917652db3a84fc69baf05468ba6f1aad655b7
Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Fri Dec 28 11:34:03 2018 +0000

    poly_int: get_inner_reference & co.: fix known_eq typo/bug
    
            gcc/
            * gimplify.c (gimplify_scan_omp_clauses): Fix known_eq typo/bug.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267447 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog  | 5 +++++
 gcc/gimplify.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git gcc/ChangeLog gcc/ChangeLog
index 310d4f03e0a0..feaa4251815a 100644
--- gcc/ChangeLog
+++ gcc/ChangeLog
@@ -1,3 +1,8 @@
+2018-12-28  Thomas Schwinge  <thomas@codesourcery.com>
+	    Julian Brown  <julian@codesourcery.com>
+
+	* gimplify.c (gimplify_scan_omp_clauses): Fix known_eq typo/bug.
+
 2018-12-27  Jan Hubicka  <hubicka@ucw.cz>
 
 	* ipa-devirt.c (polymorphic_call_target_d): Add n_odr_types.
diff --git gcc/gimplify.c gcc/gimplify.c
index 465d138abbed..40ed18e30271 100644
--- gcc/gimplify.c
+++ gcc/gimplify.c
@@ -8719,7 +8719,7 @@ gimplify_scan_omp_clauses (tree *list_p, gimple_seq *pre_p,
 			      o2 = 0;
 			    o2 += bits_to_bytes_round_down (bitpos2);
 			    if (maybe_lt (o1, o2)
-				|| (known_eq (o1, 2)
+				|| (known_eq (o1, o2)
 				    && maybe_lt (bitpos, bitpos2)))
 			      {
 				if (ptr)

Committed to gcc-8-branch in r267449:

commit 3637548fdd871a96522c32f03685794bfc0a3b76
Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Fri Dec 28 11:35:40 2018 +0000

    poly_int: get_inner_reference & co.: fix known_eq typo/bug
    
            gcc/
            * gimplify.c (gimplify_scan_omp_clauses): Fix known_eq typo/bug.
    
    trunk r267447
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@267449 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog  | 5 +++++
 gcc/gimplify.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git gcc/ChangeLog gcc/ChangeLog
index f79f520496d4..e6960445024c 100644
--- gcc/ChangeLog
+++ gcc/ChangeLog
@@ -1,3 +1,8 @@
+2018-12-28  Thomas Schwinge  <thomas@codesourcery.com>
+	    Julian Brown  <julian@codesourcery.com>
+
+	* gimplify.c (gimplify_scan_omp_clauses): Fix known_eq typo/bug.
+
 2018-12-27  Martin Liska  <mliska@suse.cz>
 
 	Backport from mainline
diff --git gcc/gimplify.c gcc/gimplify.c
index 43cb891ae3d9..8f1328691cf5 100644
--- gcc/gimplify.c
+++ gcc/gimplify.c
@@ -8171,7 +8171,7 @@ gimplify_scan_omp_clauses (tree *list_p, gimple_seq *pre_p,
 			      o2 = 0;
 			    o2 += bits_to_bytes_round_down (bitpos2);
 			    if (maybe_lt (o1, o2)
-				|| (known_eq (o1, 2)
+				|| (known_eq (o1, o2)
 				    && maybe_lt (bitpos, bitpos2)))
 			      {
 				if (ptr)


Grüße
 Thomas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]