on 2022/6/14 20:53, Segher Boessenkool wrote:
> On Tue, Jun 14, 2022 at 03:57:08PM +0800, Kewen.Lin wrote:
>> PR target/105818
>
> Change this to something else? It is not a target bug. "middle-end"
> perhaps?
>
Good catch, will fix this. Thanks Segher!
BR,
Kewen
Hi Honza,
Thanks for the comments! Some replies are inlined below.
on 2022/6/14 19:37, Jan Hubicka wrote:
>> Hi,
>>
>> Function optimize_function_for_size_p returns OPTIMIZE_SIZE_NO
>> if func->decl is not null but no cgraph node is available for it.
>> As PR105818 shows, this could give unexpec
On 6/7/22 2:43 PM, David Faust wrote:
Hello,
This patch series adds support for:
- Two new C-language-level attributes that allow to associate (to "annotate" or
to "tag") particular declarations and types with arbitrary strings. As
explained below, this is intended to be used to, for e
On Wed, Jun 15, 2022 at 12:49 AM liuhongt wrote:
>
> (In reply to Uroš Bizjak from comment #1)
> > Instruction does not accept memory operand for operand 3:
> >
> > (define_insn_and_split
> > "*_blendv_ltint"
> > [(set (match_operand: 0 "register_operand" "=Yr,*x,x")
> > (unspec:
> >
(In reply to Uroš Bizjak from comment #1)
> Instruction does not accept memory operand for operand 3:
>
> (define_insn_and_split
> "*_blendv_ltint"
> [(set (match_operand: 0 "register_operand" "=Yr,*x,x")
> (unspec:
> [(match_operand: 1 "register_operand" "0,0,x")
> (match_
Hi!
On Tue, Jun 14, 2022 at 09:23:55PM +0800, Jiufu Guo wrote:
> This patch reduces the threshold of instruction number for storing
> constant to pool and update cost for constant and mem accessing.
> And then if building the constant needs more than 2 instructions (or
> more than 1 instruction on
This Go formatter is starting to format documentation comments in some
cases. As a step toward that in libgo, this patch adds blank lines
after //sys comments in the syscall package where needed, and then
runs the new formatter on the syscall package files. This is the
libgo version of https://go
On Wed, 25 May 2022 at 06:10, François Dumont wrote:
>
> Here is the patch to fix just what is described in PR 105714.
>
> libstdc++: [_Hashtable] Insert range of types convertible to
> value_type PR 105714
>
> Fix insertion of range of types convertible to value_type.
>
> libstdc++
Hello-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103902
The attached patch resolves PR preprocessor/103902 as described in the patch
message inline below. bootstrap + regtest all languages was successful on
x86-64 Linux, with no new failures:
FAIL 103 103
PASS 542338 542371
UNSUPPORTED 15247
Tested powerpc64le-linux, pushed to trunk.
-- >8 --
As confirmed by LWG 2852, the calls to traits_type::compare do not need
to be obsvervable, so we can make operator== compare string lengths
first and return immediately for non-equal lengths. This avoids doing a
slow string comparison for "abc..
Tested powerpc64le-linux, pushed to trunk.
-- >8 --
Defining the compare member functions inline allows calls to
traits_type::length and std::min to be inlined, taking advantage of
constant expression arguments. When not inline, the compiler prefers to
use the explicit instantiation definitions i
Tested powerpc64le-linux, pushed to trunk.
-- >8 --
libstdc++-v3/ChangeLog:
* include/bits/new_allocator.h: Fix indentation.
* include/ext/malloc_allocator.h: Likewise.
---
libstdc++-v3/include/bits/new_allocator.h | 6 +++---
libstdc++-v3/include/ext/malloc_allocator.h | 6 ++
Tested powerpc64le-linux, pushed to trunk.
-- >8 --
libstdc++-v3/ChangeLog:
PR libstdc++/105957
* include/bits/allocator.h (allocator::allocate): Check for
overflow in constexpr allocation.
* testsuite/20_util/allocator/105975.cc: New test.
---
libstdc++-v3/inclu
, exit@PLT
.align 4
.global main
.type main, @function
main:
addisp, sp, -16
l32ra2, .LC5
s32i.n a0, sp, 12
callx0 a2
l32ra3, .LC6
movi.n a2, 0
callx0 a3
.size main, .-main
.ident "GCC: (GNU) 13.0.0 20220614 (experimental)"
--
Thanks.
-- Max
So, in investigating PR target/34422, I discovered that the gcc
subdirectory's configure script had an instance of AC_ARG_ENABLE with
3rd and 4th its arguments reversed: the one where it warns that the
--enable-fixed-point flag is being ignored is the one where that flag
hasn't even been passed in
Disallow siball when calling ifunc functions with PIC register so that
PIC register can be restored.
gcc/
PR target/105960
* config/i386/i386.cc (ix86_function_ok_for_sibcall): Return
false if PIC register is used when calling ifunc functions.
gcc/testsuite/
PR t
On 5/24/2022 2:45 AM, Martin Liška wrote:
PING^1
On 5/12/22 09:10, Martin Liška wrote:
On 5/11/22 20:49, David Malcolm wrote:
On Wed, 2022-05-11 at 16:49 +0200, Martin Liška wrote:
In case where we have 2 equally good candidates like
-ftrivial-auto-var-init=
-Wtrivial-auto-var-init
for -f
Hi Jakub!
On 2022-06-13T14:06:39+0200, Jakub Jelinek via Gcc-patches
wrote:
> OpenMP 5.2 changed once more what device numbers are allowed.
> libgomp/
> * testsuite/libgomp.c-c++-common/target-is-accessible-1.c (main): Add
> test with omp_initial_device. Use -5 instead of -1 for n
This implements NOP module initializer elision. Each CMI gains a new
flag informing importers whether its initializer actually does something
(initializers its own globals, and/or calls initializers of its
imports). This allows an importer to determine whether to call it.
nathan
--
Nathan S
> Am 14.06.2022 um 17:58 schrieb Tamar Christina via Gcc-patches
> :
>
>
>
>> -Original Message-
>> From: Richard Sandiford
>> Sent: Tuesday, June 14, 2022 2:43 PM
>> To: Richard Biener
>> Cc: Tamar Christina ; gcc-patches@gcc.gnu.org;
>> nd
>> Subject: Re: [PATCH 1/2]middle-end
> -Original Message-
> From: Richard Sandiford
> Sent: Tuesday, June 14, 2022 2:43 PM
> To: Richard Biener
> Cc: Tamar Christina ; gcc-patches@gcc.gnu.org;
> nd
> Subject: Re: [PATCH 1/2]middle-end Support optimized division by pow2
> bitmask
>
> Richard Biener writes:
> > On Mon, 1
The addr_expr computation does not check for error_mark_node before
returning the size expression. This used to work in the constant case
because the conversion to uhwi would end up causing it to return
size_unknown, but that won't work for the dynamic case.
Modify the control flow to explicitly
The addr_expr computation does not check for error_mark_node before
returning the size expression. This used to work in the constant case
because the conversion to uhwi would end up causing it to return
size_unknown, but that won't work for the dynamic case.
Modify the control flow to explicitly
Richard Biener writes:
> On Mon, 13 Jun 2022, Tamar Christina wrote:
>
>> > -Original Message-
>> > From: Richard Biener
>> > Sent: Monday, June 13, 2022 12:48 PM
>> > To: Tamar Christina
>> > Cc: gcc-patches@gcc.gnu.org; nd ; Richard Sandiford
>> >
>> > Subject: RE: [PATCH 1/2]middle-e
On Sun, Jun 5, 2022 at 1:12 PM Roger Sayle wrote:
>
>
> Hi Richard,
> Many thanks for taking the time to explain how vectorization is supposed
> to work. I now see that vect_recog_rotate_pattern in tree-vect-patterns.cc
> is supposed to handle lowering of rotations to (vector) shifts, and
> compl
> -Original Message-
> From: Richard Biener
> Sent: Tuesday, June 14, 2022 2:19 PM
> To: Tamar Christina
> Cc: gcc-patches@gcc.gnu.org; nd ; Richard Sandiford
>
> Subject: RE: [PATCH 1/2]middle-end Support optimized division by pow2
> bitmask
>
> On Mon, 13 Jun 2022, Tamar Christina wro
On Tue, Jun 14, 2022 at 12:49 PM Eric Botcazou wrote:
>
> > Hmm, I think instead of special-casing UNKNOWN_LOCATION
> > what gimple_set_location should probably do is either not copy
> > warnings at all or union them. Btw, gimple_set_location also
> > removes a previously set BLOCK (but gimple_se
Hi,
This patch is same with nearly:
https://gcc.gnu.org/pipermail/gcc-patches/2022-May/595378.html
The concept of this patch is similar with the patches which is
attached in PR63281. e.g.
https://gcc.gnu.org/bugzilla/attachment.cgi?id=42186
I had a test for perlbench from SPEC2017. As expected,
On Mon, 13 Jun 2022, Tamar Christina wrote:
> > -Original Message-
> > From: Richard Biener
> > Sent: Monday, June 13, 2022 12:48 PM
> > To: Tamar Christina
> > Cc: gcc-patches@gcc.gnu.org; nd ; Richard Sandiford
> >
> > Subject: RE: [PATCH 1/2]middle-end Support optimized division by p
On Mon, Jun 13, 2022 at 4:27 PM Eric Gallager wrote:
>
> On Mon, Jun 13, 2022 at 7:02 AM Richard Biener
> wrote:
> >
> > On Thu, Jun 2, 2022 at 5:54 PM Eric Gallager via Gcc-patches
> > wrote:
> > >
> > > So, I'm working on fixing PR bootstrap/44425, and have this patch to
> > > have the top-lev
On Tue, Jun 14, 2022 at 03:57:08PM +0800, Kewen.Lin wrote:
> PR target/105818
Change this to something else? It is not a target bug. "middle-end"
perhaps?
Thanks for fixing this,
Segher
On Mon, Jun 13, 2022 at 03:53:13PM -0400, Jason Merrill via Gcc-patches wrote:
> When not optimizing, we can't do anything useful with unreachability in
> terms of code performance, so we might as well improve debugging by turning
> __builtin_unreachable into a trap. In the PR richi suggested intr
Thanks, applied to master!
For [3/3], I'll submit a new standalone patch with the requested changes.
On Tue, 7 Jun 2022 at 12:25, Kito Cheng wrote:
>
> LGTM, you can commit that without [3/3] if you like :)
>
> On Wed, May 25, 2022 at 5:47 AM Philipp Tomsich
> wrote:
> >
> > When encountering a
Thanks, applied to master!
On Tue, 7 Jun 2022 at 12:26, Kito Cheng wrote:
>
> LGTM
>
>
> On Wed, May 25, 2022 at 5:48 AM Philipp Tomsich
> wrote:
> >
> > Provide an easy way to constrain for constants that are a a single,
> > consecutive run of ones.
> >
> > gcc/ChangeLog:
> >
> > * con
> Hi,
>
> Function optimize_function_for_size_p returns OPTIMIZE_SIZE_NO
> if func->decl is not null but no cgraph node is available for it.
> As PR105818 shows, this could give unexpected result. For the
> case in PR105818, when parsing bar decl in function foo, the cfun
> is a function structur
Thanks, backport applied to releases/gcc-12!
On Tue, 7 Jun 2022 at 12:28, Kito Cheng wrote:
> > OK for backport?
>
> OK, it seems no issue after a week :)
>
>
> >
> > On Thu, 2 Jun 2022 at 21:23, Philipp Tomsich
> wrote:
> > >
> > > Thanks, applied to trunk!
> > >
> > > On Thu, 2 Jun 2022 at 1
When we got the simplification of bit-field-ref to view-convert
we lost the ability to detect FMAs since we cannot look through
_1 = {_10};
_11 = VIEW_CONVERT_EXPR(_1);
the following amends the (view_convert CONSTRUCTOR) pattern
to handle this case.
Bootstrapped and tested on x86_64-unknown-
> Hmm, I think instead of special-casing UNKNOWN_LOCATION
> what gimple_set_location should probably do is either not copy
> warnings at all or union them. Btw, gimple_set_location also
> removes a previously set BLOCK (but gimple_set_block preserves
> the location locus and diagnostic override).
uninit diagnostics uses passing via reference and access attributes
but that iterates over function type arguments which can in some
cases appearantly outrun the actual arguments leading to ICEs.
The following simply ignores not present arguments.
Bootstrapped and tested on x86_64-unknown-linux-gn
<>
Hi,
Function optimize_function_for_size_p returns OPTIMIZE_SIZE_NO
if func->decl is not null but no cgraph node is available for it.
As PR105818 shows, this could give unexpected result. For the
case in PR105818, when parsing bar decl in function foo, the cfun
is a function structure for foo, for
41 matches
Mail list logo