Re: [PATCH, rs6000] PR target/89112 put branch probabilities on branches generated by inline expansion

2019-02-05 Thread Segher Boessenkool
Hi Aaron, On Mon, Feb 04, 2019 at 01:06:57PM -0600, Aaron Sawdey wrote: > This is the second part of the fix for 89112, fixing the conditions that > caused it to happen. > This patch adds REG_BR_PROB notes to the branches generated by inline > expansion of memcmp > and strncmp. This prevents any

[PATCH] Fix prepare_cmp_insn BLKmode handling (PR target/89186)

2019-02-05 Thread Jakub Jelinek
Hi! Like the other emit_*_via_libcall functions, emit_block_comp_via_libcall expects to be called with the MEM rtxes, not their addresses. E.g. emit_block_op_via_libcall does: dst_addr = copy_addr_to_reg (XEXP (dst, 0)); dst_addr = convert_memory_address (ptr_mode, dst_addr); dst_tree = make

[C++ PATCH] Clear TREE_ADDRESSABLE on non-aggregate thunk arguments (PR c++/89187)

2019-02-05 Thread Jakub Jelinek
Hi! As the following testcase shows, for thunks the expansion code sometimes requires that arguments with gimple reg type aren't addressable, thunk needs to be simple passing of arguments directly to another call, not having extra statements in between that. In particular, for pass_by_reference a

Re: [PATCH] Fix prepare_cmp_insn BLKmode handling (PR target/89186)

2019-02-05 Thread Richard Biener
On Tue, 5 Feb 2019, Jakub Jelinek wrote: > Hi! > > Like the other emit_*_via_libcall functions, emit_block_comp_via_libcall > expects to be called with the MEM rtxes, not their addresses. > E.g. emit_block_op_via_libcall does: > dst_addr = copy_addr_to_reg (XEXP (dst, 0)); > dst_addr = conver

Re: [C++ Patch] PR 88986 ("[7/8/9 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in member_vec_binary_search, at cp/name-lookup.c:1136")

2019-02-05 Thread Paolo Carlini
Hi, On 04/02/19 17:48, Jason Merrill wrote: On Mon, Feb 4, 2019 at 11:00 AM Paolo Carlini wrote: On 04/02/19 15:47, Jason Merrill wrote: On 2/1/19 3:52 PM, Paolo Carlini wrote: Hi, I think that this ICE on invalid (and valid, for c++17+) can be in fact avoided by accepting in make_typename_

[PATCH][GCC][Arm] Fix NEON REG to REG reload failures. (PR/target 88850)

2019-02-05 Thread Tamar Christina
Hi All, We currently return cost 2 for NEON REG to REG moves, which would be incorrect for 64 bit moves. We currently don't have a pattern for this in the neon_move alternatives because this is a bit of a special case. We would almost never want it to use this r -> r pattern unless it really has

Re: [PATCH, rs6000] Fix instruction counts on powerpc64 test cases.

2019-02-05 Thread Segher Boessenkool
Hi Bill, On Mon, Feb 04, 2019 at 03:01:24PM -0600, Bill Seurer wrote: > [PATCH, rs6000] Fix instruction counts on powerpc64 test cases. > > This patch fixes the assembler instruction counts for some test cases > that started failing due to changes in code generation. The targets > were adjusted

Re: Fortran vector math header

2019-02-05 Thread Martin Liška
On 2/4/19 11:10 AM, Jakub Jelinek wrote: > On Thu, Jan 24, 2019 at 04:25:13PM +0100, Martin Liška wrote: >> @@ -11361,6 +11365,13 @@ gfc_match_gcc_builtin (void) >>else if (gfc_match (" ( inbranch ) ") == MATCH_YES) >> clause = SIMD_INBRANCH; >> >> + if (gfc_match (" if ( '%n' ) ", targ

Re: Fortran vector math header

2019-02-05 Thread Martin Liška
On 2/5/19 2:31 AM, Joseph Myers wrote: > My main comment here is that if you go with the approach of a single > header shared by multilibs, you should also update the driver code so it > no longer uses any sort of multilib suffix when searching for this header > (it *should* still use the sysroo

[PATCH][C] Reset TYPE_TRANSPARENT_AGGR on all type variants when not supported

2019-02-05 Thread Richard Biener
The following fixes an ICE in the type verifier for transparent_union marked unions that we refuse to handle such. (gcc.dg/transparent-union-6.c) Bootstrap & regtest running on x86_64-unknown-linux-gnu, OK? Thanks, Richard. 2019-02-05 Richard Biener PR c/88606 * c-decl.c

Re: [PATCH][C] Reset TYPE_TRANSPARENT_AGGR on all type variants when not supported

2019-02-05 Thread Jakub Jelinek
On Tue, Feb 05, 2019 at 02:15:30PM +0100, Richard Biener wrote: > > The following fixes an ICE in the type verifier for transparent_union > marked unions that we refuse to handle such. > (gcc.dg/transparent-union-6.c) > > Bootstrap & regtest running on x86_64-unknown-linux-gnu, OK? > > Thanks,

Re: Make clear, when contributions will be ignored

2019-02-05 Thread Дилян Палаузов
Hello, the current way to come forward is to send biweekly manual reminders. Will it help, if bugzilla is tweaked to send reminders every two weeks for ready-patches? This also has the advantage, that people will not have to once update a patch in BZ and then send it over gcc-patches. Regards

[Patch] [arm] Fix 88714, Arm LDRD/STRD peepholes

2019-02-05 Thread Matthew Malcomson
These peepholes match a pair of SImode loads or stores that can be implemented with a single LDRD or STRD instruction. When compiling for TARGET_ARM, these peepholes originally created a set pattern in DI mode to be caught by movdi patterns. This approach failed to take into account the possibilit

[PATCH] libstdc++/89130 and libstdc++/89090 fixes for vector relocation

2019-02-05 Thread Jonathan Wakely
This fixes two PRs, one trivial (don't use C++17 features in C++11 mode) and one more serious (don't require MoveInsertable when we should only need CopyInsertable). It would be nice to rely on if-constexpr in C++11 mode, but it causes clang warnings, complicates testcase bisection/reduction, and

Re: [PATCH] libstdc++/89130 and libstdc++/89090 fixes for vector relocation

2019-02-05 Thread Jonathan Wakely
On 05/02/19 14:45 +, Jonathan Wakely wrote: This fixes two PRs, one trivial (don't use C++17 features in C++11 mode) and one more serious (don't require MoveInsertable when we should only need CopyInsertable). It would be nice to rely on if-constexpr in C++11 mode, but it causes clang warnin

Re: [PATCH, rs6000] Fix instruction counts on powerpc64 test cases.

2019-02-05 Thread Bill Seurer
On 02/05/19 05:31, Segher Boessenkool wrote: Do we not want to test this on LE anymore? Oh, P7, heh. Okay. Not enough coffee yet :-) It will work if I specify -mbig-endian -mabi=elfv1 but yeah, we don't really care about P7 generating LE code. +/* { dg-final { scan-assembler-times "xvcmp

[PATCH] Fix not 8-byte aligned ldrd/strd on ARMv5

2019-02-05 Thread Bernd Edlinger
Hi, due to the AAPCS parameter passing of 8-byte aligned structures, which happen to be 8-byte aligned or only 4-byte aligned in the test case, ldrd instructions are generated that may access 4-byte aligned stack slots, which will trap on ARMv5 and ARMv6 according to the following document: htt

[PATCH] Fix RTL DCE (PR target/89188)

2019-02-05 Thread Jakub Jelinek
Hi! RTL DCE is called in different modes, sometimes it is allowed to alter cfg, in other cases it is not. The following testcase ICEs because when it is not allowed to alter cfg (combiner's df_analyze) we remove a noop move that was considered to potentially throw and that made a bb unreachable (

[committed] Fix combiner make_extraction (PR rtl-optimization/89195)

2019-02-05 Thread Jakub Jelinek
Hi! The following patch ensures we don't access bytes beyond the original MEM, those might not be mapped etc., or for big endian the offset computation computes the offset incorrectly. Bootstrapped/regtested on powerpc64{,-le}-linux, Wilco has tested it on aarch64_be-*, preapproved by Segher in t

[PATCH] PR libstdc++/89194 untangle is_convertible and is_nothrow_convertible

2019-02-05 Thread Jonathan Wakely
The additional logic added to __is_convertible_helper in order to support is_nothrow_convertible makes some uses of is_convertible ill-formed. This appears to be due to PR c++/87603, but can be avoided just by defining a separate helper for is_nothrow_convertible. The same problems are likely to s

Re: C++ PATCH for c++/88325 - ICE with invalid out-of-line template member definition

2019-02-05 Thread Jason Merrill
On Mon, Feb 4, 2019 at 4:52 PM Marek Polacek wrote: > On Mon, Feb 04, 2019 at 09:44:01AM -0500, Jason Merrill wrote: > > On 2/1/19 2:55 PM, Marek Polacek wrote: > > > On Fri, Feb 01, 2019 at 12:02:44PM -0500, Jason Merrill wrote: > > > > On 2/1/19 11:26 AM, Marek Polacek wrote: > > > > > On Wed, J

Re: [PATCH, rs6000] Fix instruction counts on powerpc64 test cases.

2019-02-05 Thread Segher Boessenkool
On Tue, Feb 05, 2019 at 08:58:44AM -0600, Bill Seurer wrote: > On 02/05/19 05:31, Segher Boessenkool wrote: > >Do we not want to test this on LE anymore? Oh, P7, heh. Okay. Not > >enough coffee yet :-) > > It will work if I specify -mbig-endian -mabi=elfv1 but yeah, we don't > really care abou

[PATCH, rs6000] Further vec-extract test fixes

2019-02-05 Thread Jakub Jelinek
On Sat, Feb 02, 2019 at 05:09:37PM -0600, Segher Boessenkool wrote: > > 2019-02-01 Kelvin Nilsen > > > > * gcc.target/powerpc/vec-extract-slong-1.c: Require p8 execution > > hardware. > > * gcc.target/powerpc/vec-extract-schar-1.c: Likewise. > > * gcc.target/powerpc/vec-extract-

Re: [C++PATCH] [PR86379] do not use TREE_TYPE for USING_DECL_SCOPE

2019-02-05 Thread Jason Merrill
On Tue, Feb 5, 2019 at 1:37 AM Alexandre Oliva wrote: > On Jan 31, 2019, Jason Merrill wrote: > > > Let's use strip_using_decl instead > > Aah, nice! Thanks, I'll make the changes, test them, and post a new patch. > > > >> @@ -13288,7 +13295,8 @@ grok_special_member_properties (tree decl) > >> {

Re: [C++ PATCH] Clear TREE_ADDRESSABLE on non-aggregate thunk arguments (PR c++/89187)

2019-02-05 Thread Jason Merrill
On 2/5/19 4:01 AM, Jakub Jelinek wrote: Hi! As the following testcase shows, for thunks the expansion code sometimes requires that arguments with gimple reg type aren't addressable, thunk needs to be simple passing of arguments directly to another call, not having extra statements in between tha

Re: [PATCH] Fix RTL DCE (PR target/89188)

2019-02-05 Thread Richard Biener
On February 5, 2019 4:32:29 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >RTL DCE is called in different modes, sometimes it is allowed to alter >cfg, >in other cases it is not. The following testcase ICEs because when it >is >not allowed to alter cfg (combiner's df_analyze) we remove a noop move >

Re: [PATCH, rs6000] Further vec-extract test fixes

2019-02-05 Thread Segher Boessenkool
On Tue, Feb 05, 2019 at 05:04:03PM +0100, Jakub Jelinek wrote: > On Sat, Feb 02, 2019 at 05:09:37PM -0600, Segher Boessenkool wrote: > > > 2019-02-01 Kelvin Nilsen > > > > > > * gcc.target/powerpc/vec-extract-slong-1.c: Require p8 execution > > > hardware. > > > * gcc.target/powerpc/vec-e

Re: C++ PATCH for c++/89158 - by-value capture of constexpr variable broken

2019-02-05 Thread Jason Merrill
On 2/4/19 3:48 PM, Marek Polacek wrote: In this test we have a user-defined conversion converting const int & to T, and we're binding a const int to const int & -- the parameter of the converting ctor. We call Func with "VIEW_CONVERT_EXPR(Val)" as an argument. I like to use a diagram for the co

Re: C++ PATCH for c++/89158 - by-value capture of constexpr variable broken

2019-02-05 Thread Jakub Jelinek
On Tue, Feb 05, 2019 at 11:24:14AM -0500, Jason Merrill wrote: > Yes, thanks, mark_rvalue_use is definitely wrong here. But mark_lvalue_use > might be wrong as well; we don't know here how the expression is used by the > inner conversions for the user-defined conversion. Can we remove the call >

Re: [C++ PATCH] Clear TREE_ADDRESSABLE on non-aggregate thunk arguments (PR c++/89187)

2019-02-05 Thread Jakub Jelinek
On Tue, Feb 05, 2019 at 11:16:04AM -0500, Jason Merrill wrote: > > --- gcc/cp/optimize.c.jj2019-01-21 23:32:43.0 +0100 > > +++ gcc/cp/optimize.c 2019-02-04 16:40:21.354179933 +0100 > > @@ -417,6 +417,12 @@ maybe_thunk_body (tree fn, bool force) > > gcc_assert (clone_

Re: Move -Wmaybe-uninitialized to -Wextra

2019-02-05 Thread Jeff Law
On 2/4/19 11:24 PM, Marc Glisse wrote: > On Mon, 4 Feb 2019, Martin Jambor wrote: > >>> Looking for "optional" and "-Wmaybe-uninitialized" shows >>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78044 >>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 >>> >>> Google also gives >>> https://www.b

[PATCH][AArch64] Use neon_dot_q type for 128-bit [US]DOT instructions where appropriate

2019-02-05 Thread Kyrill Tkachov
Hi all, For the Dot Product instructions we have the scheduling types neon_dot and neon_dot_q for the 128-bit versions. It seems that we're only using the former though, not assigning the neon_dot_q type anywhere. This patch fixes that by adding the mode attribute suffix to the type, similar

[PATCH] Fix pr84711.c testcase

2019-02-05 Thread Segher Boessenkool
On powerpc64-linux, this testcase complains the ABI for vector args has changed, making the testcase fail (excess output). This patch shuts up that warning. Committing as obvious. Segher 2019-02-05 Segher Boessenkool * gcc.dg/vect/pr84711.c: Use -Wno-psabi. --- gcc/testsuite/gcc

New German PO file for 'cpplib' (version 9.1-b20190203)

2019-02-05 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'cpplib' has been submitted by the German team of translators. The file is available at: https://translationproject.org/latest/cpplib/de.po (This file, 'cpplib-9.1-b20190203

Contents of PO file 'cpplib-9.1-b20190203.de.po'

2019-02-05 Thread Translation Project Robot
cpplib-9.1-b20190203.de.po.gz Description: Binary data The Translation Project robot, in the name of your translation coordinator.

New template for 'cpplib' made available

2019-02-05 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. (If you have any questions, send them to .) A new POT file for textual domain 'cpplib' has been made available to the language teams for translation. It is archived as: https://translationproject.org/POT-files/

New Ukrainian PO file for 'cpplib' (version 9.1-b20190203)

2019-02-05 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'cpplib' has been submitted by the Ukrainian team of translators. The file is available at: https://translationproject.org/latest/cpplib/uk.po (This file, 'cpplib-9.1-b20190

Contents of PO file 'cpplib-9.1-b20190203.uk.po'

2019-02-05 Thread Translation Project Robot
cpplib-9.1-b20190203.uk.po.gz Description: Binary data The Translation Project robot, in the name of your translation coordinator.

Re: [C++ PATCH] Clear TREE_ADDRESSABLE on non-aggregate thunk arguments (PR c++/89187)

2019-02-05 Thread Jason Merrill
On 2/5/19 11:40 AM, Jakub Jelinek wrote: On Tue, Feb 05, 2019 at 11:16:04AM -0500, Jason Merrill wrote: --- gcc/cp/optimize.c.jj2019-01-21 23:32:43.0 +0100 +++ gcc/cp/optimize.c 2019-02-04 16:40:21.354179933 +0100 @@ -417,6 +417,12 @@ maybe_thunk_body (tree fn, bool force)

[Committed] S/390: Remove load and test fp splitter

2019-02-05 Thread Andreas Krebbel
Splitters are not allowed to use data flow routines depending on REG_DEAD notes since these are not recomputed by the split pass and might therefore be outdated. The splitter we have for load and test FP turns a potentially stale REG_DEAD note into a clobber of that register. This then leads to w

Go patch committed: Check duplicate implicit indexes in slices/arrays

2019-02-05 Thread Ian Lance Taylor
This patch by Ben Shi fixes the Go frontend to check duplicate implicit indexes in slices/array composite literals. This fixes https://golang.org/issue/28186. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline. Ian Index: gcc/go/gofrontend/MERGE

Re: C++ PATCH for c++/89158 - by-value capture of constexpr variable broken

2019-02-05 Thread Jason Merrill
On 2/5/19 11:31 AM, Jakub Jelinek wrote: On Tue, Feb 05, 2019 at 11:24:14AM -0500, Jason Merrill wrote: Yes, thanks, mark_rvalue_use is definitely wrong here. But mark_lvalue_use might be wrong as well; we don't know here how the expression is used by the inner conversions for the user-defined

New template for 'gcc' made available

2019-02-05 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. (If you have any questions, send them to .) A new POT file for textual domain 'gcc' has been made available to the language teams for translation. It is archived as: https://translationproject.org/POT-files/gcc

Re: Late-breaking jit features (was Re: [PATCH][gcc] libgccjit: introduce gcc_jit_context_add_driver_option)

2019-02-05 Thread David Malcolm
On Sat, 2019-02-02 at 16:34 +0100, Jakub Jelinek wrote: > On Sat, Feb 02, 2019 at 10:18:43AM -0500, David Malcolm wrote: > > > > Alternatively, should these patches go into a branch of queued > > > > jit > > > > changes for gcc 10? > > > > > > Is there anything like an ABI involved? If so we shoul

Re: [PATCH] print correct array sizes in errors (PR 87996)

2019-02-05 Thread Martin Sebor
On 2/1/19 7:41 AM, Jason Merrill wrote: On 1/31/19 5:49 PM, Martin Sebor wrote: On 1/30/19 3:15 PM, Jason Merrill wrote: On 1/29/19 7:15 PM, Martin Sebor wrote: +  /* Try to convert the original SIZE to a ssizetype.  */ +  if (orig_size != error_mark_node +  && !TYPE_UNSIGNED (

New Finnish PO file for 'cpplib' (version 9.1-b20190203)

2019-02-05 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'cpplib' has been submitted by the Finnish team of translators. The file is available at: https://translationproject.org/latest/cpplib/fi.po (This file, 'cpplib-9.1-b2019020

Contents of PO file 'cpplib-9.1-b20190203.fi.po'

2019-02-05 Thread Translation Project Robot
cpplib-9.1-b20190203.fi.po.gz Description: Binary data The Translation Project robot, in the name of your translation coordinator.

Re: [PATCH] Fix an ICE when compiling Go with LTO (PR go/89019)

2019-02-05 Thread Nikhil Benesch
Ian—is there anything preventing this from getting merged? (I don't have write access.) On Thu, Jan 24, 2019 at 11:31 AM Nikhil Benesch wrote: > On Thu, Jan 24, 2019 at 10:15 AM Richard Biener > wrote: > > > > Ah, I missed that pt is probably a pointer type as well, then the code > > simply ali

Re: [PR86218] handle ck_aggr in compare_ics in both and either conversion

2019-02-05 Thread Jason Merrill
On 1/30/19 10:56 AM, Alexandre Oliva wrote: Because of rank compares, and checks for ck_list, we know that if we see user_conv_p or ck_list in ics1, we'll also see it in ics2. This reasoning does not extend to ck_aggr, however, so we might have ck_aggr conversions starting both ics1 and ics2, wh

Re: [PATCH] print correct array sizes in errors (PR 87996)

2019-02-05 Thread Jason Merrill
On 2/5/19 1:46 PM, Martin Sebor wrote: On 2/1/19 7:41 AM, Jason Merrill wrote: On 1/31/19 5:49 PM, Martin Sebor wrote: On 1/30/19 3:15 PM, Jason Merrill wrote: On 1/29/19 7:15 PM, Martin Sebor wrote: +  /* Try to convert the original SIZE to a ssizetype.  */ +  if (orig_size != error_

Contents of PO file 'cpplib-9.1-b20190203.fr.po'

2019-02-05 Thread Translation Project Robot
cpplib-9.1-b20190203.fr.po.gz Description: Binary data The Translation Project robot, in the name of your translation coordinator.

New French PO file for 'cpplib' (version 9.1-b20190203)

2019-02-05 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'cpplib' has been submitted by the French team of translators. The file is available at: https://translationproject.org/latest/cpplib/fr.po (This file, 'cpplib-9.1-b20190203

New Finnish PO file for 'gcc' (version 9.1-b20190203)

2019-02-05 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'gcc' has been submitted by the Finnish team of translators. The file is available at: https://translationproject.org/latest/gcc/fi.po (This file, 'gcc-9.1-b20190203.fi.po',

[PATCH, rs6000] Fix instruction counts on powerpc64 test cases. (take 2)

2019-02-05 Thread Bill Seurer
[PATCH, rs6000] Fix instruction counts on powerpc64 test cases. This patch fixes the assembler instruction counts for some test cases that started failing due to changes in code generation. The targets were adjusted a bit as well to avoid generating BE/LE endian code on unsupported platforms. Bo

Re: [PATCH] Fix PR89150, GC of tree-form bitmaps

2019-02-05 Thread Jeff Law
On 2/4/19 9:07 AM, Jeff Law wrote: > On 2/4/19 6:15 AM, Richard Biener wrote: >> >> When I introduced tree-form bitmaps I forgot to think about GC. >> The following drops the chain_prev annotation to make the marker >> work for trees. I've also maked the obstack member GTY skip >> (and prevent bit

Re: C++ PATCH for c++/89158 - by-value capture of constexpr variable broken

2019-02-05 Thread Marek Polacek
On Tue, Feb 05, 2019 at 01:24:15PM -0500, Jason Merrill wrote: > On 2/5/19 11:31 AM, Jakub Jelinek wrote: > > On Tue, Feb 05, 2019 at 11:24:14AM -0500, Jason Merrill wrote: > > > Yes, thanks, mark_rvalue_use is definitely wrong here. But > > > mark_lvalue_use > > > might be wrong as well; we don'

Re: [Patch] PR rtl-optimization/87763 - generate more bfi instructions on aarch64

2019-02-05 Thread Wilco Dijkstra
Hi Steve, Thanks for looking at this. A few comments on the patch: +bool +aarch64_masks_and_shift_for_bfi_p (scalar_int_mode mode, + unsigned HOST_WIDE_INT mask1, + unsigned HOST_WIDE_INT shft_amnt, +

Re: C++ PATCH for c++/89158 - by-value capture of constexpr variable broken

2019-02-05 Thread Jason Merrill
On 2/5/19 3:43 PM, Marek Polacek wrote: On Tue, Feb 05, 2019 at 01:24:15PM -0500, Jason Merrill wrote: On 2/5/19 11:31 AM, Jakub Jelinek wrote: On Tue, Feb 05, 2019 at 11:24:14AM -0500, Jason Merrill wrote: Yes, thanks, mark_rvalue_use is definitely wrong here. But mark_lvalue_use might be wr

Re: C++ PATCH for c++/89158 - by-value capture of constexpr variable broken

2019-02-05 Thread Marek Polacek
On Tue, Feb 05, 2019 at 04:17:48PM -0500, Jason Merrill wrote: > On 2/5/19 3:43 PM, Marek Polacek wrote: > > On Tue, Feb 05, 2019 at 01:24:15PM -0500, Jason Merrill wrote: > > > On 2/5/19 11:31 AM, Jakub Jelinek wrote: > > > > On Tue, Feb 05, 2019 at 11:24:14AM -0500, Jason Merrill wrote: > > > > >

New Ukrainian PO file for 'gcc' (version 9.1-b20190203)

2019-02-05 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'gcc' has been submitted by the Ukrainian team of translators. The file is available at: https://translationproject.org/latest/gcc/uk.po (This file, 'gcc-9.1-b20190203.uk.po

Re: Late-breaking jit features (was Re: [PATCH][gcc] libgccjit: introduce gcc_jit_context_add_driver_option)

2019-02-05 Thread Andrea Corallo
David Malcolm writes: > On Sat, 2019-02-02 at 16:34 +0100, Jakub Jelinek wrote: >> On Sat, Feb 02, 2019 at 10:18:43AM -0500, David Malcolm wrote: >> > > > Alternatively, should these patches go into a branch of queued >> > > > jit >> > > > changes for gcc 10? >> > > >> > > Is there anything like

Re: [PATCH] Fix up gcc.target/i386/call-1.c testcase (PR rtl-optimization/11304)

2019-02-05 Thread Mike Stump
On Feb 2, 2019, at 2:32 AM, Jakub Jelinek wrote: > > Regardless of the PR87485 decision, I think we should fix this testcase. > ok for trunk? Ok. > 2019-02-02 Jakub Jelinek > > PR rtl-optimization/11304 > * gcc.target/i386/call-1.c (set_eax): Add "eax" clobber. > * gcc.ta

Re: [PATCH] print correct array sizes in errors (PR 87996)

2019-02-05 Thread Martin Sebor
On 2/5/19 12:14 PM, Jason Merrill wrote: On 2/5/19 1:46 PM, Martin Sebor wrote: On 2/1/19 7:41 AM, Jason Merrill wrote: On 1/31/19 5:49 PM, Martin Sebor wrote: On 1/30/19 3:15 PM, Jason Merrill wrote: On 1/29/19 7:15 PM, Martin Sebor wrote: +  /* Try to convert the original SIZE to a ssi

[v3 PATCH, RFC] Rewrite variant. Also PR libstdc++/85517

2019-02-05 Thread Ville Voutilainen
Okay then. This patch takes the hopefully biggest steps towards a std::variant rewrite. The problem we have with the current approach is that we'd really like to write fairly straightforward code for variant's special member functions, but can't, because the specification suggests fairly straightfo

Re: Late-breaking jit features (was Re: [PATCH][gcc] libgccjit: introduce gcc_jit_context_add_driver_option)

2019-02-05 Thread David Malcolm
On Tue, 2019-02-05 at 21:40 +, Andrea Corallo wrote: > David Malcolm writes: > > > On Sat, 2019-02-02 at 16:34 +0100, Jakub Jelinek wrote: > > > On Sat, Feb 02, 2019 at 10:18:43AM -0500, David Malcolm wrote: > > > > > > Alternatively, should these patches go into a branch of > > > > > > queued

[PATCH] Fix fold_const_vec_convert (PR middle-end/89210)

2019-02-05 Thread Jakub Jelinek
Hi! Apparently VECTOR_CSTs shouldn't be stepped if they contain floating elements and also widening conversions can be problematic if there is wrapping in the narrower type. On the following testcase, we create a stepped VECTOR_CST with REAL_CST elts and ICE whenever we try to print it or when we

[C PATCH] Fix C ICE with K&R definitions (PR c/89211)

2019-02-05 Thread Jakub Jelinek
Hi! The r253411 change to improve diagnostics added code to set DECL_ARGUMENTS to the declarator->u.arg_info->parms. My understanding is that this was meant for function prototypes, so that we can emit better diagnostics for those. Unfortunately, start_decl doesn't always return a new decl, but

Contents of PO file 'cpplib-9.1-b20190203.pt_BR.po'

2019-02-05 Thread Translation Project Robot
cpplib-9.1-b20190203.pt_BR.po.gz Description: Binary data The Translation Project robot, in the name of your translation coordinator.

New Brazilian Portuguese PO file for 'cpplib' (version 9.1-b20190203)

2019-02-05 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'cpplib' has been submitted by the Brazilian Portuguese team of translators. The file is available at: https://translationproject.org/latest/cpplib/pt_BR.po (This file, 'cpp

[PATCH] PR libstdc++/89128 add deduction guides for container adaptors

2019-02-05 Thread Jonathan Wakely
PR libstdc++/89128 * include/bits/stl_queue.h (queue, priority_queue): Add deduction guides. * include/bits/stl_stack.h (stack): Likewise. * testsuite/23_containers/priority_queue/deduction.cc: New test. * testsuite/23_containers/queue/deduction.cc:

Re: Make clear, when contributions will be ignored

2019-02-05 Thread Joseph Myers
On Tue, 5 Feb 2019, Дилян Палаузов wrote: > Will it help, if bugzilla is tweaked to send reminders every two weeks > for ready-patches? This also has the advantage, that people will not > have to once update a patch in BZ and then send it over gcc-patches. For any proposed changes to patch sub

Re: [C PATCH] Fix C ICE with K&R definitions (PR c/89211)

2019-02-05 Thread Joseph Myers
On Tue, 5 Feb 2019, Jakub Jelinek wrote: > Hi! > > The r253411 change to improve diagnostics added code to set DECL_ARGUMENTS > to the declarator->u.arg_info->parms. My understanding is that this was > meant for function prototypes, so that we can emit better diagnostics for > those. Unfortunat

Fix type of extern array declared in inner scope with outer initialization shadowed (PR c/88584)

2019-02-05 Thread Joseph Myers
As reported in bug 88584, if you have a file-scope array with external linkage, initialized at file scope, and that array is shadowed at block scope, and is declared again with external linkage and an incomplete type in an inner scope, it is wrongly given a complete type in that inner scope when th

Re: [C++PATCH] [PR86379] do not use TREE_TYPE for USING_DECL_SCOPE

2019-02-05 Thread Alexandre Oliva
On Feb 5, 2019, Jason Merrill wrote: > On Tue, Feb 5, 2019 at 1:37 AM Alexandre Oliva wrote: >> On Jan 31, 2019, Jason Merrill wrote: >> >> > Let's use strip_using_decl instead >> >> Aah, nice! Thanks, I'll make the changes, test them, and post a new patch. >> >> >> >> @@ -13288,7 +13295,

Re: [PATCH] Fix an ICE when compiling Go with LTO (PR go/89019)

2019-02-05 Thread Ian Lance Taylor
On Tue, Feb 5, 2019 at 10:46 AM Nikhil Benesch wrote: > > Ian—is there anything preventing this from getting merged? (I don't have > write access.) Thanks, committed now. Ian > On Thu, Jan 24, 2019 at 11:31 AM Nikhil Benesch > wrote: > > > On Thu, Jan 24, 2019 at 10:15 AM Richard Biener > > w

[RS6000] Set uses_pic_offset_table on sysv secure-plt calls and tls.

2019-02-05 Thread Alan Modra
Segher, you'll recognize these as your patches from pr88343. All I've done here is give you a testcase for the legitimize_tls_address change (which you said you had no idea what the patch was for!) Fixes lack of r30 save/restore on powerpc-linux. // -m32 -fpic -ftls-model=initial-exec __thre