slyfox      18/05/11 21:29:12

  Modified:             README.history
  Added:                93_all_copy-constructible-fix.patch
  Log:
  Queue is_copy_constructible fix for 1.3 patchset
  
  The hope is it will help upcoming webkit release
  to build with gcc-7.3.0.
  
  Bug: https://bugs.webkit.org/show_bug.cgi?id=185194

Revision  Changes    Path
1.5                  src/patchsets/gcc/7.3.0/gentoo/README.history

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/7.3.0/gentoo/README.history?rev=1.5&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/7.3.0/gentoo/README.history?rev=1.5&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/7.3.0/gentoo/README.history?r1=1.4&r2=1.5

Index: README.history
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/7.3.0/gentoo/README.history,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- README.history      3 May 2018 10:47:18 -0000       1.4
+++ README.history      11 May 2018 21:29:12 -0000      1.5
@@ -1,6 +1,7 @@
-1.3            03 Maj 2018
+1.3            TODO
        U 13_all_default-ssp-fix.patch
        U 55_all_extra-options.patch
+       + 93_all_copy-constructible-fix.patch
 1.2            14 Apr 2018
        + 92_all_sh-drop-sysroot-suffix.patch
 1.1            11 Feb 2018



1.1                  
src/patchsets/gcc/7.3.0/gentoo/93_all_copy-constructible-fix.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/7.3.0/gentoo/93_all_copy-constructible-fix.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/7.3.0/gentoo/93_all_copy-constructible-fix.patch?rev=1.1&content-type=text/plain

Index: 93_all_copy-constructible-fix.patch
===================================================================
https://bugs.webkit.org/show_bug.cgi?id=185194

Should fix webkit compilation (dispatch on enable_if)

>From 57b9683f0ce55a410c567fcb2dc365a2cc848d6a Mon Sep 17 00:00:00 2001
From: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon, 26 Feb 2018 06:09:07 +0000
Subject: [PATCH]        PR c++/81589 - error with is_trivially_constructible.

        * method.c (constructible_expr): Set cp_unevaluated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@257981 
138bc75d-0d04-0410-961f-82ee72b054a4
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index 59ad43f73fe..a2d4c071efa 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -1165,6 +1165,7 @@ constructible_expr (tree to, tree from)
     {
       tree ctype = to;
       vec<tree, va_gc> *args = NULL;
+      cp_unevaluated cp_uneval_guard;
       if (TREE_CODE (to) != REFERENCE_TYPE)
        to = cp_build_reference_type (to, /*rval*/false);
       tree ob = build_stub_object (to);




Reply via email to