On Thu, 3 Jan 2019, Jakub Jelinek wrote:
> Hi!
>
> The prev_offset we push into the vector is supposed to be the end of
> the red zone for the variable, it needs to be ASAN_MIN_RED_ZONE_SIZE
> aligned, but by aligning it more we can end up with red zone with negative
> size. E.g. on the testcase
On Sat, 5 Jan 2019, Jakub Jelinek wrote:
> On Sat, Jan 05, 2019 at 09:51:31AM +0100, Richard Biener wrote:
> > >+ if (TYPE_PRECISION (TREE_TYPE (lhs)) == TYPE_PRECISION (TREE_TYPE
> > >(arg0)))
> > >+{
> > >+ if (TREE_CODE (TREE_TYPE (arg0)) == BOOLEAN_TYPE
> > >+|| !TYPE_OVERFLOW_WR
On Sun, 6 Jan 2019, Tom de Vries wrote:
> Hi,
>
> Comments welcome.
I find it harder to understand the gcc_assert_implies variant...
maybe because I'm not used to seeing it.
Richard.
> Thanks,
> - Tom
>
--
Richard Biener
SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton
On Thu, 3 Jan 2019, Jakub Jelinek wrote:
> On Thu, Jan 03, 2019 at 06:32:44PM +0100, Marc Glisse wrote:
> > > That said, not sure if e.g. using an opaque builtin for the conversion
> > > that
> > > supportable_convert_operation sometimes uses is better over this ifn.
> > > What exact optimization
[ was: Re: Fwd: [openacc, committed] Add oacc_get_default_dim ]
On 19-12-18 16:27, Tom de Vries wrote:
> [ Adding gcc-patches ]
>
> Forwarded Message
> Subject: [openacc, committed] Add oacc_get_default_dim
> Date: Wed, 19 Dec 2018 16:24:25 +0100
> From: Tom de Vries
> To: Thom
[was: Re: [nvptx] vector length patch series]
On 03-01-19 17:29, Tom de Vries wrote:
> +/* { dg-set-target-env-var "GOMP_OPENACC_DIM" "-:-:128" } */
Committed as obvious.
Thanks,
- Tom
[nvptx] Fix libgomp.oacc-c-c++-common/vector-length-128-3.c
The vector-length-128-3.c test-case uses GOMP_OPEN
Hi,
this patch removes PTX_VECTOR_LENGTH and replaces uses of it with
PTX_DEFAULT_VECTOR_LENGTH, PTX_MAX_VECTOR_LENGTH and PTX_WARP_SIZE.
Committed to trunk.
Thanks,
- Tom
[nvptx] Eliminate PTX_VECTOR_LENGTH
2019-01-07 Tom de Vries
* config/nvptx/nvptx.c (PTX_VECTOR_LENGTH): Remove
Hi,
this patch adds a few asserts to nvptx_goacc_validate_dims.
Committed to trunk.
Thanks,
- Tom
[nvptx] Add asserts in nvptx_goacc_validate_dims
2019-01-07 Tom de Vries
* config/nvptx/nvptx.c (nvptx_goacc_validate_dims): Add asserts.
---
gcc/config/nvptx/nvptx.c | 4
1 fil
Hi,
this patch moves warnings in nvptx_goacc_validate_dims_1 to as late as
possible. This allows us more flexibility in setting the dimensions.
Committed to trunk.
Thanks,
- Tom
[nvptx] Postpone warnings in nvptx_goacc_validate_dims_1
2019-01-07 Tom de Vries
* config/nvptx/nvptx.c
Hi,
Allow PTX_MAX_VECTOR_LENGTH to be defined as larger than PTX_WARP_SIZE in
nvptx_goacc_validate_dims_1.
Committed to trunk.
Thanks,
- Tom
[nvptx] Allow larger PTX_MAX_VECTOR_LENGTH in nvptx_goacc_validate_dims_1
2019-01-07 Tom de Vries
* config/nvptx/nvptx.c (nvptx_welformed_vec
[ was: Re: [nvptx] vector length patch series ]
On 14-12-18 20:58, Tom de Vries wrote:
> 0015-nvptx-Generalize-state-propagation-and-synchronizati.patch
Committed.
Thanks,
- Tom
[nvptx] Add support for a per-worker broadcast buffer and barrier
Add support for a per-worker broadcast buffer and b
[ was: Re: [nvptx] vector length patch series ]
On 14-12-18 20:58, Tom de Vries wrote:
> 0022-nvptx-openacc-Don-t-emit-barriers-for-empty-loops.patch
Committed without test-case.
Thanks,
- Tom
[nvptx] Don't emit barriers for empty loops -- fix
When compiling an empty loop:
...
long long v1;
[ was: Re: [nvptx] vector length patch series ]
On 14-12-18 20:58, Tom de Vries wrote:
> 0024-nvptx-Handle-large-vector-reductions.patch
Committed.
Thanks,
- Tom
[nvptx] Handle large vector reductions
Add support for vector reductions with openacc vector_length larger than
warp-size.
2018-12-1
On Sun, Dec 16, 2018 at 06:13:57PM +0200, Dimitar Dimitrov wrote:
> - /* Clobbering the STACK POINTER register is an error. */
> + /* Clobbered STACK POINTER register is not saved/restored by GCC,
> + which is often unexpected by users. See PR52813. */
>if (overlaps_hard_reg_set_p (reg
Hi Jonathan
On Sun, 6 Jan 2019 at 23:37, Jonathan Wakely wrote:
>
> Move std::filesystem directory iterators and operations from
> libstdc++fs.a to main libstdc++ library. These components have many
> dependencies on OS support, which is not available on all targets. Some
> additional autoconf ch
> On 6 Jan 2019, at 23:34, Martin Sebor wrote:
>
> Attached is an updated patch with the wording change to the manual
> discussed below and rebased on the top of today's trunk.
Works for me as well.
thanks for the patch.
Iain
>
> Martin
>
> PS Thanks for the additional info, Iain.
>
> On
* doc/install.texi: Replace references to x86_64-unknown-linux-gnu
with x86_64-pc-linux-gnu.
OK for trunk?
commit 7586c65abcb0f0967a11639baf1d9332dbc0339c
Author: Jonathan Wakely
Date: Mon Jan 7 09:38:51 2019 +
Replace outdated references to x86_64-unknown-linux-gnu
On Sun, Jan 6, 2019 at 11:33 AM Jakub Jelinek wrote:
>
> Hi!
>
> Looking at the output of builtin-convertvector-1.c (f4), this patch changes
> the generated code:
> vcvttpd2dqy (%rdi), %xmm0
> - vmovdqa %xmm0, %xmm0
> vmovaps %xmm0, (%rsi)
> - vzeroupper
> r
Hi!
Apparently my recent patch turned on many non-delegitimized UNSPEC notes
(it is checking only note, goes away in release builds, but anyway).
The problem is that formerly UNSPECs were diagnosed that way only when
inside of CONST, but now also outside of them. The patch keeps ignoring
them if
On 07/01/19 10:24 +0100, Christophe Lyon wrote:
Hi Jonathan
On Sun, 6 Jan 2019 at 23:37, Jonathan Wakely wrote:
Move std::filesystem directory iterators and operations from
libstdc++fs.a to main libstdc++ library. These components have many
dependencies on OS support, which is not available o
On Mon, 7 Jan 2019, Jakub Jelinek wrote:
> Hi!
>
> Apparently my recent patch turned on many non-delegitimized UNSPEC notes
> (it is checking only note, goes away in release builds, but anyway).
>
> The problem is that formerly UNSPECs were diagnosed that way only when
> inside of CONST, but now
On Mon, Jan 07, 2019 at 09:40:30AM +, Jonathan Wakely wrote:
> * doc/install.texi: Replace references to x86_64-unknown-linux-gnu
> with x86_64-pc-linux-gnu.
>
> OK for trunk?
Yes, thanks.
> commit 7586c65abcb0f0967a11639baf1d9332dbc0339c
> Author: Jonathan Wakely
> Date: Mon
New year ping!
The last remaining middle-end patch was already applied, so it's only
the backend, config, and testsuite patches remaining to be committed.
And, it's mostly only the back end still requiring review.
Hopefully I should still be able to get them reviewed and committed in
time fo
On Fri, Jan 4, 2019 at 12:49 PM Richard Sandiford
wrote:
>
> This patch folds certain reductions of X & CST to X[I] & CST[I] if I is
> the only nonzero element of CST. This includes the motivating case in
> which CST[I] is -1.
>
> We could do the same for REDUC_MAX on unsigned types, but I wasn't
On Fri, Jan 4, 2019 at 1:44 PM Richard Sandiford
wrote:
>
> Jakub Jelinek writes:
> > On Fri, Jan 04, 2019 at 12:13:13PM +, Richard Sandiford wrote:
> >> > Can we avoid the gratuitous use of template here? We were told that C++
> >> > would
> >> > be used only when it makes things more stra
On Mon, Jan 7, 2019 at 11:48 AM Andrew Stubbs wrote:
>
> New year ping!
>
> The last remaining middle-end patch was already applied, so it's only
> the backend, config, and testsuite patches remaining to be committed.
> And, it's mostly only the back end still requiring review.
>
> Hopefully I sho
Alan Modra writes:
> On Fri, Jan 04, 2019 at 12:18:03PM +, Richard Sandiford wrote:
>> Alan Modra writes:
>> > On Thu, Jan 03, 2019 at 07:03:59PM +, Richard Sandiford wrote:
>> >> Richard Sandiford writes:
>> >> > This still seems risky and isn't what the name and function comment
>> >
>
Status
==
Stage 3 is done now.
Changes of GCC trunk should now be restricted to regression and documentation
fixes. That is, it is in the same mode as the open release branches we have.
As soon as the count of P1 bugs drops to zero (and un-categorized, aka P3
bugs have been categorized) yo
On 07/01/19 09:48 +, Jonathan Wakely wrote:
On 07/01/19 10:24 +0100, Christophe Lyon wrote:
Hi Jonathan
On Sun, 6 Jan 2019 at 23:37, Jonathan Wakely wrote:
Move std::filesystem directory iterators and operations from
libstdc++fs.a to main libstdc++ library. These components have many
dep
This updates the manual to reflect the std::filesystem definitions
moving to the main library.
Committed to trunk.
commit ca7e342f4f8be3d32a58357b9d85b26fc2635fab
Author: Jonathan Wakely
Date: Mon Jan 7 12:45:04 2019 +
Update documentation for C++17 filesystem library
The IFN_GOMP_SIMD_LANE handling in vectorizable_store tries to use MEM_REF
offsets to maintain pointer disambiguation info. This patch makes sure
that we don't try to do the same optimisation for IFN_MASK_STOREs, which
have no similar offset argument.
The patch fixes libgomp.c-c++-common/pr66199-
The use of "j" in:
init = permute_results[number_of_vectors - j - 1];
was out-of-sync with the new flat loop structure. Now that all that
reversing is gone, we can just use the result of duplicate_and_interleave
directly.
The other cases shouldn't be affected by postponing the ins
Hi,
These three tests fail on targets without alias support,
OK to apply?
Iain
gcc/testsuite/
* gcc.dg/Wmissing-attributes.c: Require alias support.
* gcc.dg/attr-copy-2.c: Likewise.
* gcc.dg/attr-copy-5.c: Likewise.
---
gcc/testsuite/gcc.dg/Wmissing-attributes.c | 1
On Sun, Dec 30, 2018 at 8:40 AM H.J. Lu wrote:
>
> On Wed, Nov 28, 2018 at 12:17 PM Jeff Law wrote:
> >
> > On 11/28/18 12:48 PM, H.J. Lu wrote:
> > > On Mon, Nov 5, 2018 at 7:29 AM Jan Hubicka wrote:
> > >>
> > >>> On 11/5/18 7:21 AM, Jan Hubicka wrote:
> > >
> > > Did you mean "the nea
Jan Hubicka wrote:
> uinlined-* should be useful for architecutures with greater function
> call overhead than modern x86 chips (which is good portion of them,
> especially s390 as I learnt on Cauldron). It would be nice to benchmark
> effect of those and tune default in config/* files. I think th
On Mon, 7 Jan 2019 at 13:39, Jonathan Wakely wrote:
>
> On 07/01/19 09:48 +, Jonathan Wakely wrote:
> >On 07/01/19 10:24 +0100, Christophe Lyon wrote:
> >>Hi Jonathan
> >>
> >>On Sun, 6 Jan 2019 at 23:37, Jonathan Wakely wrote:
> >>>
> >>>Move std::filesystem directory iterators and operation
Hi Chung-Lin!
On Wed, 2 Jan 2019 20:46:12 +0800, Chung-Lin Tang
wrote:
> Hi Thomas, Happy New Year,
Thanks! If I remember right, you still have a few weeks until "your" New
Year/Spring Festival, right?
> On 2018/12/19 5:03 AM, Thomas Schwinge wrote:
> >> +
> >> + if (!dev->openacc.async.asy
Hi Chung-Lin!
On Sat, 5 Jan 2019 17:47:10 +0800, Chung-Lin Tang
wrote:
> this is the current version of the oacc-* parts of the Async Re-work patch.
>
> I have reverted away from the earlier mentioned attempt of using lockless
> techniques to manage the asyncqueues; it is really hard to do in a
Hi Marc
The 01/04/2019 17:50, Marc Glisse wrote:
> > +(convert:newtype (op (convert:newtype @1) (convert:newtype @2)))
>
> The outer 'convert' is unnecessary, op already has the same type.
>
Does it? The only comparison that has been done between the type of op and
"type" is that
they
On Thu, 3 Jan 2019, Richard Biener wrote:
> On Thu, 3 Jan 2019, Richard Sandiford wrote:
>
> > Richard Biener writes:
> > > The following rectifies a change during hash-map intruction which
> > > changed the uncprop operand_equal_p based hash to a pointer-based
> > > hash_map. That assumes poin
On Mon, Jan 7, 2019 at 2:25 PM Richard Sandiford
wrote:
>
> The IFN_GOMP_SIMD_LANE handling in vectorizable_store tries to use MEM_REF
> offsets to maintain pointer disambiguation info. This patch makes sure
> that we don't try to do the same optimisation for IFN_MASK_STOREs, which
> have no simi
On Mon, Jan 7, 2019 at 2:27 PM Richard Sandiford
wrote:
>
> The use of "j" in:
>
> init = permute_results[number_of_vectors - j - 1];
>
> was out-of-sync with the new flat loop structure. Now that all that
> reversing is gone, we can just use the result of duplicate_and_interleave
>
Hi,
This patch fixes the way 'uses_hard_regs_p' handles paradoxical subregs.
The function is supposed to detect whether a register access of 'x'
overlaps with 'set'. For SUBREGs it should check whether any of the
full multi-register overlaps with 'set'. The former behavior used to
grab the
Investigating PR target/86891 revealed a number of issues with the way
the AArch64 backend was handing overflow detection patterns. Firstly,
expansion for signed and unsigned types is not the same as in one form
the overflow is detected via the C flag and in the other it is done via
the V flag in
On Mon, 7 Jan 2019, Tamar Christina wrote:
The 01/04/2019 17:50, Marc Glisse wrote:
+(convert:newtype (op (convert:newtype @1) (convert:newtype @2)))
The outer 'convert' is unnecessary, op already has the same type.
Does it? The only comparison that has been done between the ty
The C++ char_traits and ctype APIs do not disallow null pointer
arguments, so we need explicit checks to ensure we don't forward null
pointers to memcpy or memmove.
PR libstdc++/87787
* include/bits/char_traits.h (char_traits::move): Do not pass null
pointers to memmove.
> Jan Hubicka wrote:
>
> > uinlined-* should be useful for architecutures with greater function
> > call overhead than modern x86 chips (which is good portion of them,
> > especially s390 as I learnt on Cauldron). It would be nice to benchmark
> > effect of those and tune default in config/* files
Hi,
This small patch adds a short description of --with-multilib-list for aarch64.
OK?
Thanks,
Christophe
2019-01-07 Christophe Lyon
PR target/85596
* doc/install.texi (with-multilib-list): Document for aarch64.
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index
On Fri, 4 Jan 2019, Rainer Orth wrote:
> Hi Richard,
>
> >> On Thu, 3 Jan 2019, Rainer Orth wrote:
> >>
> >>> gcc.dg/debug/dwarf2/inline5.c currently FAILs with Solaris as (both
> >>> sparc and x86):
> >>>
> >>> FAIL: gcc.dg/debug/dwarf2/inline5.c scan-assembler-not (DIE
> >>> (0x([0-9a-
On 1/7/19 1:08 AM, Martin Sebor wrote:
> On 1/5/19 9:04 AM, Bernd Edlinger wrote:
>> On 1/4/19 10:22 PM, Jason Merrill wrote:
>>> Hmm, I'm uncomfortable with starting to pass in the decl just for the sake
>>> of deciding whether this diagnostic should be a pedwarn or error. In
>>> general, becaus
On 12/19/18 3:27 PM, Marek Polacek wrote:
Prompted by Jon's observation in 52869, I noticed that we don't treat
a noexcept-specifier as a complete-class context of a class ([class.mem]/6).
As with member function bodies, default arguments, and NSDMIs, names used in
a noexcept-specifier of a membe
On 20/12/18 17:23 -0500, Nicholas Krause wrote:
This fixes the bug id, 71176 to use the proper known
code print formatter type, %lu for size_t rather than
%d which is considered best pratice for print statements.
Well the proper specifier for size_t is %zu, but since you cast to
unsigned long t
On Mon, Jan 7, 2019 at 10:57 AM Jonathan Wakely wrote:
>
> On 20/12/18 17:23 -0500, Nicholas Krause wrote:
> >This fixes the bug id, 71176 to use the proper known
> >code print formatter type, %lu for size_t rather than
> >%d which is considered best pratice for print statements.
>
> Well the prop
On 07/01/19 11:01 -0500, NightStrike wrote:
On Mon, Jan 7, 2019 at 10:57 AM Jonathan Wakely wrote:
On 20/12/18 17:23 -0500, Nicholas Krause wrote:
>This fixes the bug id, 71176 to use the proper known
>code print formatter type, %lu for size_t rather than
>%d which is considered best pratice f
On 1/6/19 9:47 AM, Jan Hubicka wrote:
Index: doc/invoke.texi
===
--- doc/invoke.texi (revision 267603)
+++ doc/invoke.texi (working copy)
@@ -9499,6 +9499,8 @@ DO I = 1, N
D(I) = E(I) * F
ENDDO
@end smallexample
+Th
Hi Martin,
A)
Some of the builtin-has-attribute tests fail because a sub-set of them need
symbol alias support.
Darwin has only support for weak aliases and therefore we need to skip these.
However, the sub-set is small, and I am reluctant to throw out the entire set
for the sake of a small num
On 1/7/19 10:38 AM, Bernd Edlinger wrote:
On 1/7/19 1:08 AM, Martin Sebor wrote:
On 1/5/19 9:04 AM, Bernd Edlinger wrote:
On 1/4/19 10:22 PM, Jason Merrill wrote:
Hmm, I'm uncomfortable with starting to pass in the decl just for the sake of
deciding whether this diagnostic should be a pedwarn
On Sun, 6 Jan 2019 at 22:45, Jonathan Wakely wrote:
>
> On 05/01/19 20:03 +, Jonathan Wakely wrote:
> >In C++17 the clock used for filesystem::file_time_type is unspecified,
> >allowing it to be chrono::system_clock. The C++2a draft requires it to
> >be a distinct type, with additional member
Hi,
should be straightforward material. Tested x86_64-linux, as usual.
Thanks, Paolo.
/
/cp
2019-01-07 Paolo Carlini
* decl.c (start_decl): Improve two error_at locations.
(expand_static_init): Likewise.
/testsuite
2019-01-07 Paolo Carlini
*
OK for trunk?
Thanks.
H.J.
---
Update soft-fp from glibc with:
commit 69da3c9e87e0a692e79db0615a53782e4198dbf0
Author: H.J. Lu
Date: Mon Jan 7 09:04:29 2019 -0800
quad.h have
#if _FP_W_TYPE_SIZE < 64
union _FP_UNION_Q
{
Use 4 _FP_W_TYPEs
}
#else
union _FP_UNION_Q
{
Use 2 _FP_W_TYP
> On Jan 6, 2019, at 5:52 PM, Jan Hubicka wrote:
>
> Hi,
> this patch removes overall growth from badness metrics. This code was
> added at a time inliner was purely function size based to give a hint
> that inlining more different functions into all callers is better than
> inlining one calle
Steve Ellcey writes:
> On Thu, 2018-12-06 at 12:25 +, Richard Sandiford wrote:
>>
>> Since we're looking at the call insns anyway, we could have a hook that
>> "jousts" two calls and picks the one that preserves *fewer* registers.
>> This would mean that loop produces a single instruction tha
There is no need to generate vzeroupper if caller uses upper bits of
AVX/AVX512 registers, We track caller's avx_u128_state and avoid
vzeroupper when caller's avx_u128_state is AVX_U128_DIRTY.
Tested on i686 and x86-64 with and without --with-arch=native.
OK for trunk?
Thanks.
H.J.
---
gcc/
On 1/5/19 11:58 AM, Jan Hubicka wrote:
> @@ -791,7 +791,7 @@ want_inline_small_function_p (struct cgr
>ipa_hints hints = estimate_edge_hints (e);
>int big_speedup = -1; /* compute this lazily */
>
> - if (growth <= 0)
> + if (growth <= PARAM_VALUE (PARAM_VALUE (PARAM_MAX
On Thu, Dec 20, 2018 at 10:38:42AM -0600, Sam Tebbs wrote:
> On 11/22/18 4:54 PM, Sam Tebbs wrote:
>
> Hi all,
>
> Attached is an updated patch with branch_protec_type renamed to
> branch_protect_type, some unneeded ATTRIBUTE_USED removed and an added
> use of ARRAY_SIZE.
>
> Below is the u
On Fri, Dec 21, 2018 at 09:00:10AM -0600, Sam Tebbs wrote:
> On 11/9/18 11:04 AM, Sam Tebbs wrote:
> Attached is an improved patch with "hint" removed from the test scans,
> pauth_hint_num_a and pauth_hint_num_b merged into pauth_hint_num and the
> "gcc_assert (cfun->machine->frame.laid_out)"
On 07-01-19 09:56, Tom de Vries wrote:
> + /* Check that the vector_length is not too large. */
> + if (dims[GOMP_DIM_VECTOR] > PTX_MAX_VECTOR_LENGTH)
> +dims[GOMP_DIM_VECTOR] = PTX_MAX_VECTOR_LENGTH;
And just to note this:
I've chosen a different solution here than og8, which falls back t
This fixes c++/88741, a bogus error with using [] in a template.
Starting with the "more location wrapper nodes" patch, cp_complete_array_type
can now receive a V_C_E in a CONSTRUCTOR, instead of just {"test"}, so we need
to strip any location wrappers as elsewhere for this code to work.
Bootstrap
[ was: Re: [nvptx] vector length patch series ]
On 14-12-18 20:58, Tom de Vries wrote:
> 0023-nvptx-Force-vl32-if-calling-vector-partitionable-rou.patch
> @@ -73,6 +73,7 @@
> #include "cfgloop.h"
> #include "fold-const.h"
> #include "intl.h"
> +#include "tree-hash-traits.h"
> #include "omp-of
OK.
Jason
On 1/7/19 2:09 PM, Marek Polacek wrote:
This fixes c++/88741, a bogus error with using [] in a template.
Starting with the "more location wrapper nodes" patch, cp_complete_array_type
can now receive a V_C_E in a CONSTRUCTOR, instead of just {"test"}, so we need
to strip any location wrappers as e
> On 3 Jan 2019, at 23:10, Ian Lance Taylor wrote:
>
> On Thu, Jan 3, 2019 at 3:49 AM Iain Sandoe wrote:
>>
>>> On 2 Jan 2019, at 13:26, Iain Sandoe wrote:
>>>
>>>
On 2 Jan 2019, at 13:20, Rainer Orth wrote:
Gerald Pfeifer writes:
>
>>
>
> I believe t
On 1/7/19 6:39 AM, Iain Sandoe wrote:
> Hi,
>
> These three tests fail on targets without alias support,
>
> OK to apply?
>
> Iain
>
>
> gcc/testsuite/
>
> * gcc.dg/Wmissing-attributes.c: Require alias support.
> * gcc.dg/attr-copy-2.c: Likewise.
> * gcc.dg/attr-copy-5.c: Li
On 12/12/18 1:58 PM, Peter Bergner wrote:
> Ping.
Ping * 2.
https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00212.html
Peter
> On 1/5/19 11:58 AM, Jan Hubicka wrote:
> > @@ -791,7 +791,7 @@ want_inline_small_function_p (struct cgr
> >ipa_hints hints = estimate_edge_hints (e);
> >int big_speedup = -1; /* compute this lazily */
> >
> > - if (growth <= 0)
> > + if (growth <= PARAM_VALUE (PARAM_VA
This libgo patch by Cherry Zhang moves setting p->m from gtraceback to
getTraceback. Currently, when collecting a traceback for another
goroutine, getTraceback calls gogo(gp) switching to gp, which will
resume in mcall, which will call gtraceback, which will set up gp->m.
There is a gap between se
On Sat, 2019-01-05 at 23:10 +0100, Marc Nieper-Wißkirchen wrote:
> This patch adds thread-local globals to the libgccjit frontend. The
> library user can mark a global as being thread-local by calling
> `gcc_jit_lvalue_set_bool_thread_local'. It is implemented by calling
> `set_decl_tls_model (inne
This patch fixes bogus -Wredundant-move warnings reported in 88692 and 87882.
To quickly recap, this warning is supposed to warn for cases like
struct T { };
T fn(T t)
{
return std::move (t);
}
where NRVO isn't applicable for T because it's a parameter, but it's
a local variable and we're ret
This patch to the Go frontend moves slice construction to callers of
makeslice. This is the gccgo version of https://golang.org/cl/141822,
which was described as:
Only return a pointer p to the new slices backing array from makeslice.
Makeslice callers then construct sliceheader{p, len, c
On 1/7/19 10:23 AM, Jakub Jelinek wrote:
> On Sun, Dec 16, 2018 at 06:13:57PM +0200, Dimitar Dimitrov wrote:
>> - /* Clobbering the STACK POINTER register is an error. */
>> + /* Clobbered STACK POINTER register is not saved/restored by GCC,
>> + which is often unexpected by users. See PR52
On 1/7/19 4:29 PM, Marek Polacek wrote:
This patch fixes bogus -Wredundant-move warnings reported in 88692 and 87882.
To quickly recap, this warning is supposed to warn for cases like
struct T { };
T fn(T t)
{
return std::move (t);
}
where NRVO isn't applicable for T because it's a paramet
On Mon, Jan 7, 2019 at 12:12 PM Ian Lance Taylor wrote:
>
> This libgo patch by Cherry Zhang moves setting p->m from gtraceback to
> getTraceback. Currently, when collecting a traceback for another
> goroutine, getTraceback calls gogo(gp) switching to gp, which will
> resume in mcall, which will
On 1/7/19 9:55 AM, Iain Sandoe wrote:
> Hi Martin,
>
> A)
> Some of the builtin-has-attribute tests fail because a sub-set of them need
> symbol alias support.
> Darwin has only support for weak aliases and therefore we need to skip these.
>
> However, the sub-set is small, and I am reluctant to
On Mon, Jan 07, 2019 at 12:10:38PM +, Richard Sandiford wrote:
> Alan Modra writes:
> > +/* Given an attribute value expression, return the maximum value that
> > + might be evaluated assuming all conditionals are independent.
> > + Return INT_MAX if the value can't be calculated by this f
Bugs 88720 and 88726 report issues where a function is declared inline
in an inner scope, resulting in spurious diagnostics about it being
declared but never defined when that scope is left (possibly in some
cases also wrongly referring to the function as a nested function).
These are regressions t
Hi!
On Thu, May 31, 2018 at 01:34:19PM -0400, Jason Merrill wrote:
> Returning error_mark_node from omp_copy_decl and then continuing seems
> like the problem, then. Would it really be that hard to return an
> uninitialized variable instead?
The following patch does that, but not from omp_copy_d
Hi!
As reported recently, my commit to push block scope using pushdecl into
their corresponding scope broke compound literals appearing in parameter
scope. For those, we can keep the previous behavior, where they stayed at
the function scope if they make it all the way there at all, the fix
was o
Except for the libgcc/config/rs6000/ibm-ldouble.c changes, the appropriate
way to get these changes into libgcc would be a bulk update of all the
files copied from glibc, rather than selectively merging particular
changes - which would be done at another development stage rather than
when in re
On 1/7/19 7:42 AM, Andre Vieira (lists) wrote:
> Hi,
>
> This patch fixes the way 'uses_hard_regs_p' handles paradoxical subregs.
> The function is supposed to detect whether a register access of 'x'
> overlaps with 'set'. For SUBREGs it should check whether any of the
> full multi-register over
Hi!
As mentioned in that PR, we have a SI->DImode zero extension and RA happens
to choose to zero extend from a SImode memory slot which is the low part of
the DImode memory slot into which the zero extension is to be stored.
Unfortunately, the RTL DSE part really doesn't have infrastructure to
r
On Mon, 7 Jan 2019, Jakub Jelinek wrote:
> Hi!
>
> As reported recently, my commit to push block scope using pushdecl into
> their corresponding scope broke compound literals appearing in parameter
> scope. For those, we can keep the previous behavior, where they stayed at
> the function scope i
On Mon, Jan 7, 2019 at 2:49 PM Joseph Myers wrote:
>
> Except for the libgcc/config/rs6000/ibm-ldouble.c changes, the appropriate
> way to get these changes into libgcc would be a bulk update of all the
> files copied from glibc, rather than selectively merging particular
> changes - which would b
At the risk of seeming overly eager, I thought it would be reasonable to
go with the following: enabling braced-init-list as a template-argument.
As the discussion on the reflector clearly indicates, this was the intent
from the get-go.
I know, it's not a regression. But I restricted the change t
On 1/7/19 9:55 AM, Iain Sandoe wrote:
Hi Martin,
A)
Some of the builtin-has-attribute tests fail because a sub-set of them need
symbol alias support.
Darwin has only support for weak aliases and therefore we need to skip these.
However, the sub-set is small, and I am reluctant to throw out the
Ping: https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00337.html
On 1/3/19 3:22 PM, Martin Sebor wrote:
Ping: https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00337.html
On 12/20/18 7:51 PM, Martin Sebor wrote:
Jeff, did this and the rest of the discussion answer your question
and if so, is the pat
Hi Martin,
> On 8 Jan 2019, at 00:25, Martin Sebor wrote:
>
> On 1/7/19 9:55 AM, Iain Sandoe wrote:
>> Hi Martin,
>> A)
>> Some of the builtin-has-attribute tests fail because a sub-set of them need
>> symbol alias support.
>> Darwin has only support for weak aliases and therefore we need to sk
Amongst other changes, r266077 updated value_range_base::dump so
that it additionally prints the type. This broke an assertion within
the jit testsuite, in jit.dg/test-sum-of-squares.c, which was checking
for:
": [-INF, n_"
but was now getting:
": signed int [-INF, n_"
The test is merely inte
On 1/6/19 4:47 AM, Paolo Carlini wrote:
Hi,
this was supposed to be very straightforward but required a little more.
A first draft of the patch exploited DECL_SOURCE_LOCATION but that
failed when I tested the case of a function already defined in class: at
that point the location of the decl
On 1/7/19 6:56 PM, Marek Polacek wrote:
At the risk of seeming overly eager, I thought it would be reasonable to
go with the following: enabling braced-init-list as a template-argument.
As the discussion on the reflector clearly indicates, this was the intent
from the get-go.
I know, it's not a
On 1/4/19 5:57 PM, Jakub Jelinek wrote:
Hi!
As found by Jonathan, we shouldn't be trying to emit return *this; fixit
hint in non-methods where this is not available (and ICEing because
current_class_ref is NULL there).
I've just added a testcase for Jon's patch from the PR and merged two nested
1 - 100 of 103 matches
Mail list logo