Re: [PATCH] __debug::list use C++11 direct initialization

2018-10-15 Thread François Dumont
On 10/15/2018 12:07 PM, Jonathan Wakely wrote: On 09/10/18 07:11 +0200, François Dumont wrote: Here is the communication for my yesterday's patch which I thought svn had failed to commit (I had to interrupt it). Similarly to what I've done for associative containers here is a cleanup of the

[Bug libstdc++/87619] New: sizeof(std::variant) can be reduced if its variant_size is UCHAR_MAX

2018-10-15 Thread kariya_mitsuru at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87619 Bug ID: 87619 Summary: sizeof(std::variant) can be reduced if its variant_size is UCHAR_MAX Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[PATCH v3 5/6] [MIPS] Add Loongson 3A2000/3A3000 processor support

2018-10-15 Thread Paul Hua
From 55047aa22e40de2637fbab4b5e246dfc4ca191f8 Mon Sep 17 00:00:00 2001 From: Chenghua Xu Date: Mon, 3 Sep 2018 19:45:15 +0800 Subject: [PATCH 5/6] Add support for Loongson 3A2000/3A3000 proccessor. gcc/ * config/mips/gs464e.md: New. * config/mips/mips-cpus.def: Define gs464e. *

[PATCH v3 6/6] [MIPS] Add Loongson 2K1000 processor support

2018-10-15 Thread Paul Hua
From 0df9c46bea628086ca2c4b5db24c28cec912d319 Mon Sep 17 00:00:00 2001 From: Chenghua Xu Date: Mon, 3 Sep 2018 20:01:54 +0800 Subject: [PATCH 6/6] Add support for Loongson 2K1000 proccessor. gcc/ * config/mips/gs264e.md: New. * config/mips/mips-cpus.def: Define gs264e. *

[PATCH v3 3/6] [MIPS] Add Loongson EXTensions R2 (EXT2) instructions support

2018-10-15 Thread Paul Hua
From 14eabf990f187631cacd47e02342941ddb1b04a0 Mon Sep 17 00:00:00 2001 From: Chenghua Xu Date: Fri, 31 Aug 2018 11:55:48 +0800 Subject: [PATCH 3/6] Add support for Loongson EXT2 istructions. gcc/ * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_loongson_ext2,

[PATCH v3 4/6] [MIPS] Add Loongson 3A1000 processor support

2018-10-15 Thread Paul Hua
From ce950df0f918eb02d15c4287d21e3aecb43bf351 Mon Sep 17 00:00:00 2001 From: Chenghua Xu Date: Fri, 31 Aug 2018 14:08:01 +0800 Subject: [PATCH 4/6] Add support for Loongson 3A1000 proccessor. gcc/ * config/mips/loongson3a.md: Rename to ... * config/mips/gs464.md: ... here. *

[PATCH v3 1/6] [MIPS] Split Loongson (MMI) from loongson3a

2018-10-15 Thread Paul Hua
From e9d36eb4d4a841486ac82037497a2671481f8a27 Mon Sep 17 00:00:00 2001 From: Chenghua Xu Date: Sun, 14 Oct 2018 11:11:00 +0800 Subject: [PATCH 1/6] Add support for loongson mmi instructions. gcc/ * config.gcc (extra_headers): Add loongson-mmiintrin.h. * config/mips/loongson.md:

[PATCH v3 2/6] [MIPS] Split Loongson EXTensions (EXT) instructions from loongson3a

2018-10-15 Thread Paul Hua
From 2e053c832497892c6b8b1b685aaf871d8fc4da76 Mon Sep 17 00:00:00 2001 From: Chenghua Xu Date: Fri, 31 Aug 2018 11:52:33 +0800 Subject: [PATCH 2/6] Add support for Loongson EXT istructions. gcc/ * config/mips/mips.c (mips_option_override): Default enable Loongson EXT on Loongson 3a target. *

[PATCH v3 0/6] [MIPS] Reorganize the loongson march and extensions instructions set

2018-10-15 Thread Paul Hua
Hi: The original version of patches were here: https://gcc.gnu.org/ml/gcc-patches/2018-09/msg00099.html This is a update version. please review, thanks. This series patches reorganize the Loongson -march=xxx and Loongson extensions instructions set. For long time, the Loongson extensions

Re: [PATCH 2/2 v3][IRA,LRA] Fix PR86939, IRA incorrectly creates an interference between a pseudo register and a hard register

2018-10-15 Thread Peter Bergner
On 10/11/18 10:40 PM, Jeff Law wrote: > On 10/11/18 1:23 PM, Peter Bergner wrote: >> * ira-lives (non_conflicting_reg_copy_p): Disable for non LRA targets. > So this helped the alpha & hppa and sh4. > > I'm still seeing failures on the aarch64, s390x. No surprise on these > since they use

[Bug libstdc++/87618] New: Missing symbol for std::__cxx11::basic_stringbuf, std::allocator >::basic_stringbuf()

2018-10-15 Thread daniel at constexpr dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87618 Bug ID: 87618 Summary: Missing symbol for std::__cxx11::basic_stringbuf, std::allocator >::basic_stringbuf() Product: gcc Version: 9.0 Status: UNCONFIRMED

[Bug c/51628] __attribute__((packed)) is unsafe in some cases (i.e. add -Waddress-of-packed-member, etc.)

2018-10-15 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51628 Eric Gallager changed: What|Removed |Added Keywords||diagnostic URL|

[Bug target/85593] [6/7/8/9 Regression] GCC on ARM allocates R3 for local variable when calling naked function with O2 optimizations enabled

2018-10-15 Thread austinpmorton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85593 --- Comment #9 from Austin Morton --- Apologies for letting this sit so long. I spent an afternoon digging through some of the mentioned functions trying to familiarize myself with everything but I didn't make it further than that. That was a

[Bug tree-optimization/84648] Missed optimization : loop not removed.

2018-10-15 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84648 --- Comment #3 from bin cheng --- (In reply to Richard Biener from comment #2) > So we run into > > /* Ignore loops of while (i-- < 10) type. */ > if (code != NE_EXPR) > { > if (iv0->step && tree_int_cst_sign_bit (iv0->step)) >

[committed] Work around ft32 port issue

2018-10-15 Thread Jeff Law
I sent mail to James about a month ago, but never heard back So... This patch works around a problem in the ft32 port that shows up when building newlib. The assembler was complaining about a line like this: ldi.b $r1,_ctype_-0x80+1($r0) That's certainly an odd looking

[committed] diagnostics: add minimum width to left margin for line numbers

2018-10-15 Thread David Malcolm
This patch adds a minimum width to the left margin used for printing line numbers. I set the default to 6. Hence rather than: some-filename:9:1: some message 9 | some source text | ^~~~ some-filename:10:1: another message 10 | more source text | ^~~~ we now print:

[committed] Remove stray reference to error_at_rich_loc

2018-10-15 Thread David Malcolm
"error_at_rich_loc" went away in r254280 (in favor of overloading "error_at"), but there was a stray reference in a comment. Remove it. Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu. Committed to trunk as r265177. gcc/ChangeLog: * gcc-rich-location.h

[Bug testsuite/87617] New test case gfortran.dg/inline_matmul_24.f90 from r265126 doesn't work quite right

2018-10-15 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87617 seurer at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

Re: RFC: allowing compound assignment operators with designated initializers

2018-10-15 Thread Gabriel Paubert
On Mon, Oct 15, 2018 at 08:13:19PM +0100, Jonathan Wakely wrote: > On Mon, 15 Oct 2018 at 20:08, Gabriel Paubert wrote: > > > > On Mon, Oct 15, 2018 at 08:11:42PM +0200, Florian Weimer wrote: > > > * Jonathan Wakely: > > > > > > > On Sun, 14 Oct 2018 at 20:46, Florian Weimer wrote: > > > >> > >

[Bug libstdc++/87614] User related warnings are hidden in system headers

2018-10-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87614 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org ---

[Bug testsuite/87617] New test case gfortran.dg/inline_matmul_24.f90 from r265126 doesn't work quite right

2018-10-15 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87617 --- Comment #1 from seurer at gcc dot gnu.org --- Maybe fixed by r265175?

Re: Extend usage of C++11 direct init in __debug::vector

2018-10-15 Thread François Dumont
On 10/15/2018 12:10 PM, Jonathan Wakely wrote: On 15/10/18 07:23 +0200, François Dumont wrote: This patch extend usage of C++11 direct initialization in __debug::vector and makes some calls to operator - more consistent. Note that I also rewrote following expression in erase method: -     

Hashtable Small size optimization

2018-10-15 Thread François Dumont
I started considering PR libstdc++/68303. First thing was to write a dedicated performance test case, it is the unordered_small_size.cc I'd like to add with this patch. The first runs show a major difference between tr1 and std implementations, tr1 being much better:

[Bug c/87615] Possible excessive compile time with -O2

2018-10-15 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87615 --- Comment #4 from David Binderman --- (In reply to Alexander Monakov from comment #3) > Looks like gcc-9 regressed here. Not sure. Adding flag -fno-inline to the compile line: $ time ~/gcc/results.265139.release/bin/gcc -w -I

Re: Make std::vector iterator operators friend inline

2018-10-15 Thread François Dumont
On 10/15/2018 11:36 AM, Jonathan Wakely wrote: On 12/10/18 18:25 +0200, François Dumont wrote: Here is the patch for _Bit_iterator and _Bit_const_iterator operators. I noticed that _Bit_reference == and < operators could be made inline friend too. Do you want me to include this change in the

[Bug testsuite/87617] New: New test case gfortran.dg/inline_matmul_24.f90 from r265126 doesn't work quite right

2018-10-15 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87617 Bug ID: 87617 Summary: New test case gfortran.dg/inline_matmul_24.f90 from r265126 doesn't work quite right Product: gcc Version: 9.0 Status: UNCONFIRMED

Re: Can support TRUNC_DIV_EXPR, TRUNC_MOD_EXPR in GCC vectorization/scalar evolution -- and/or linearization?

2018-10-15 Thread Sebastian Pop
On Fri, Oct 12, 2018 at 2:14 PM Marc Glisse wrote: > On Fri, 12 Oct 2018, Thomas Schwinge wrote: > > > Hmm, and without any OpenACC/OpenMP etc., actually the same problem is > > also present when running the following code through the vectorizer: > > > >for (int tmp = 0; tmp < N_J * N_I;

Re: [PATCH] asm non-code template parts (alternative to asm inline)

2018-10-15 Thread Segher Boessenkool
On Mon, Oct 15, 2018 at 10:45:08PM +0300, Alexander Monakov wrote: > On Mon, 15 Oct 2018, Segher Boessenkool wrote: > > On Sun, Oct 14, 2018 at 11:07:20PM +0300, Alexander Monakov wrote: > > > For Basic asms, no similar mechanism is necessary since they are > > > antithetical > > > to efficiency

[Bug c/87615] Possible excessive compile time with -O2

2018-10-15 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87615 --- Comment #3 from Alexander Monakov --- On gcc-8 -fno-ipa-cp does not affect time, I brought it up prematurely: -O2 -time # cc1 207.15 0.22 -O2 -time -fno-ipa-cp # cc1 207.57 0.18 -O2 -time -fno-inline # cc1 21.13 0.10 Looks like gcc-9

Re: Use C++11 direct init in __debug::forward_list

2018-10-15 Thread François Dumont
On 10/15/2018 11:58 AM, Jonathan Wakely wrote: On 11/10/18 22:46 +0200, François Dumont wrote: This patch makes extensive use of C++11 direct init in __debug::forward_list. Doing so I also try to detect useless creation of safe iterators in debug implementation. In __debug::forward_list

[Bug fortran/77385] "Unclassifiable statement" from gfortran

2018-10-15 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77385 --- Comment #3 from Paul Thomas --- (In reply to Dominique d'Humieres from comment #1) > Confirmed from 4.7 up to trunk (7.0), Polymorphic arrays are not yet > supported on 4.6. > > Note that the following variant > > MODULE a >IMPLICIT

Re: [PATCH] asm non-code template parts (alternative to asm inline)

2018-10-15 Thread Alexander Monakov
On Mon, 15 Oct 2018, Segher Boessenkool wrote: > On Sun, Oct 14, 2018 at 11:07:20PM +0300, Alexander Monakov wrote: > > For Basic asms, no similar mechanism is necessary since they are > > antithetical > > to efficiency in the first place. > > I missed this part. > > asm("bla"); > > means

[Patch, Fortran] PR87556 – for FORM TEAM also use argse.pre/post

2018-10-15 Thread Tobias Burnus
as the subject states, FORM TEAM was only using the resulting tree expression, ignoring code which was generated before (or afterward). I am not sure how to best convert it to a test-suite test case. For form team (team(this_image()), my_team2) the old dump was:     integer(kind=4)

[Bug fortran/87495] Warning: ‘fastcall’ attribute ignored [-Wattributes] for !GCC$ ATTRIBUTES

2018-10-15 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87495 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment

[Bug c++/87607] Cannot use fold expression in static_assert

2018-10-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87607 Jonathan Wakely changed: What|Removed |Added Resolution|FIXED |INVALID

Re: RFC: allowing compound assignment operators with designated initializers

2018-10-15 Thread Jonathan Wakely
On Mon, 15 Oct 2018 at 20:08, Gabriel Paubert wrote: > > On Mon, Oct 15, 2018 at 08:11:42PM +0200, Florian Weimer wrote: > > * Jonathan Wakely: > > > > > On Sun, 14 Oct 2018 at 20:46, Florian Weimer wrote: > > >> > > >> * Rasmus Villemoes: > > >> > > >> > This is something I've sometimes found

Re: RFC: allowing compound assignment operators with designated initializers

2018-10-15 Thread Gabriel Paubert
On Mon, Oct 15, 2018 at 08:11:42PM +0200, Florian Weimer wrote: > * Jonathan Wakely: > > > On Sun, 14 Oct 2018 at 20:46, Florian Weimer wrote: > >> > >> * Rasmus Villemoes: > >> > >> > This is something I've sometimes found myself wishing was supported. The > >> > idea being that one can say >

[Bug fortran/87556] FORM TEAM statement team-number argument interpreted incorrectly when function

2018-10-15 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87556 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/84849] Ambiguous resolution of braze initializer list to a class with explicit constructors

2018-10-15 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84849 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

Re: [Patch, Fortran] PR87597 - fix off-by-one issue with inline matmul

2018-10-15 Thread Tobias Burnus
Right commit revision, wrong attached file (original patch, not the follow-up one). Now hopefully the correct one. Tobias Am 15.10.18 um 21:02 schrieb Tobias Burnus: Fixed with commit Rev. 265175 as attached. Cheers Tobias Dominique d'Humières wrote: Le 14 oct. 2018 à 00:43, Tobias

Re: [Patch, Fortran] PR87597 - fix off-by-one issue with inline matmul

2018-10-15 Thread Tobias Burnus
Fixed with commit Rev. 265175 as attached. Cheers Tobias Dominique d'Humières wrote: Le 14 oct. 2018 à 00:43, Tobias Burnus a écrit : Dominique d'Humières wrote: UNRESOLVED: gfortran.dg/inline_matmul_24.f90 -O0 scan-tree-dump-times optimized "gamma5[__var_1_do * 4 +

[Bug fortran/87597] [6/7/8/9 Regression] wrong result with matmul inlining

2018-10-15 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87597 --- Comment #7 from Tobias Burnus --- Author: burnus Date: Mon Oct 15 18:58:17 2018 New Revision: 265175 URL: https://gcc.gnu.org/viewcvs?rev=265175=gcc=rev Log: 2018-10-15 Tobias Burnus PR fortran/87597 *

Re: [PATCH] Adjust test to pass with latest glibc

2018-10-15 Thread Jonathan Wakely
On 15/10/18 14:55 +0100, Jonathan Wakely wrote: Glibc changed the it_IT locales to use thousands separators, invalidating this test. Use nl_NL instead, as Dutch only uses grouping for money not numbers. * testsuite/22_locale/numpunct/members/char/3.cc: Adjust test to account for

Re: [PATCH/RFC] Add "User Experience Guidelines" to gccint.texi

2018-10-15 Thread David Malcolm
On Sun, 2018-10-14 at 11:01 -0600, Martin Sebor wrote: > On 10/12/2018 09:43 AM, David Malcolm wrote: > > Here's a proposed "User Experience Guidelines" section for our > > internals manual > > > > It's a mixture of proposed policy, together with notes on how to > > implement the recommendations.

Re: [00/10][RFC] Splitting the C and C++ concept of "complete type"

2018-10-15 Thread Uecker, Martin
Hi Richard, as Joseph pointed out, there are some related discussions on the WG14 reflector. How a about moving the discussion there? I find your approach very interesting and that it already comes with an implementation is of course very useful But I don't really understand the reasons why

Re: [PATCH] asm non-code template parts (alternative to asm inline)

2018-10-15 Thread Segher Boessenkool
On Sun, Oct 14, 2018 at 11:07:20PM +0300, Alexander Monakov wrote: > For Basic asms, no similar mechanism is necessary since they are antithetical > to efficiency in the first place. I missed this part. asm("bla"); means almost the same as asm("bla" : ); and there is nothing in there that

Re: RFC: allowing compound assignment operators with designated initializers

2018-10-15 Thread Florian Weimer
* Jonathan Wakely: > On Sun, 14 Oct 2018 at 20:46, Florian Weimer wrote: >> >> * Rasmus Villemoes: >> >> > This is something I've sometimes found myself wishing was supported. The >> > idea being that one can say >> > >> > unsigned a[] = { [0] = 1, [1] = 3, [0] |= 4, ...} >> > >> > which would

[Bug c/87615] Possible excessive compile time with -O2

2018-10-15 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87615 --- Comment #2 from David Binderman --- (In reply to Alexander Monakov from comment #1) > How much does -fno-ipa-cp help (on gcc-8 I see incredibly deep recursion in > walk_aliased_vdefs_1 under IPA-CP analysis)? New execution time is about 8

[Bug c++/87607] Cannot use fold expression in static_assert

2018-10-15 Thread havhoi92 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87607 Håkon Høines changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #2 from Håkon Høines

[Bug c++/87616] Compiler segfaults on dependent templated friend

2018-10-15 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87616 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/87616] Compiler segfaults on dependent templated friend

2018-10-15 Thread mickg at mickg dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87616 --- Comment #2 from Michael Gorbovitski --- Slightly simplified test case (no need for double-argument template): struct foo{}; template struct friender { using cls=foo; }; class bar { template friend class friender::cls; int

Re: [PATCH] asm non-code template parts (alternative to asm inline)

2018-10-15 Thread Segher Boessenkool
On Sun, Oct 14, 2018 at 11:07:20PM +0300, Alexander Monakov wrote: > impacts inlining decisions badly, since GCC assumes cost of the asm to be > high, even though it emits just one instruction to the text section. I'd > like to point out that branch range optimization is also negatively affected.

[Bug c++/87616] Compiler segfaults on dependent templated friend

2018-10-15 Thread mickg at mickg dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87616 --- Comment #1 from Michael Gorbovitski --- > g++ prog.cc -Wall -Wextra prog.cc:8:36: internal compiler error: Segmentation fault 8 | friend class friender::cls; |^ 0xb3 crash_signal

[Bug c++/87616] New: Compiler segfaults on dependent templated friend

2018-10-15 Thread mickg at mickg dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87616 Bug ID: 87616 Summary: Compiler segfaults on dependent templated friend Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/87615] Possible excessive compile time with -O2

2018-10-15 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87615 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug fortran/87566] ICE with class(*) and select

2018-10-15 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87566 --- Comment #8 from Paul Thomas --- Fixed on trunk. I am going back on my original intention to backport the recent patches to 8-branch. Or, rather, I will do them one at a time if at all. The trouble is that an omnibus patch doesn't work for

[Bug target/87563] [9 regression ] ICE with -march=armv8-a+sve

2018-10-15 Thread renlin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87563 --- Comment #4 from Renlin Li --- Author: renlin Date: Mon Oct 15 16:49:05 2018 New Revision: 265172 URL: https://gcc.gnu.org/viewcvs?rev=265172=gcc=rev Log: [PR87563][AARCH64-SVE]: Don't keep ifcvt loop when COND_ ifn could not be vectorized.

[C++ Patch] PR 84644 ("internal compiler error: in warn_misplaced_attr_for_class_type, at cp/decl.c:4718")

2018-10-15 Thread Paolo Carlini
Hi, here we ICE when, at the end of check_tag_decl we pass a DECLTYPE_TYPE to warn_misplaced_attr_for_class_type. I think the right fix is rejecting earlier a decltype with no declarator as a declaration that doesn't declare anything (note: all the compilers I have at hand agree). Tested

Re: [Patch, fortran] PR87566 - ICE with class(*) and select

2018-10-15 Thread Paul Richard Thomas
Committed as revision 265171. Thanks to you, Dominique and, of course, Tobias. Paul On Mon, 15 Oct 2018 at 10:15, Thomas Koenig wrote: > > Hi Paul, > > > Bootstrapped and regtested on FC28/x86_64 - OK for trunk? > > Looks good. Thanks! > > Regards > > Thomas -- "If you can't

[Bug fortran/87566] ICE with class(*) and select

2018-10-15 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87566 --- Comment #7 from Paul Thomas --- Author: pault Date: Mon Oct 15 16:31:15 2018 New Revision: 265171 URL: https://gcc.gnu.org/viewcvs?rev=265171=gcc=rev Log: 2018-10-15 Paul Thomas Tobias Burnus PR fortran/87566

[Bug c/87615] New: Possible excessive compile time with -O2

2018-10-15 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87615 Bug ID: 87615 Summary: Possible excessive compile time with -O2 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

Re: [PATCH 02/14] Add D frontend (GDC) implementation.

2018-10-15 Thread Iain Buclaw
On Mon, 15 Oct 2018 at 16:19, David Malcolm wrote: > > On Tue, 2018-09-18 at 02:33 +0200, Iain Buclaw wrote: > > This patch adds the D front-end implementation, the only part of the > > compiler that interacts with GCC directly, and being the parts that I > > maintain, is something that I can

[Bug target/87572] ICE in emit_move_insn, at expr.c:3722

2018-10-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87572 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Mon Oct 15 16:08:09 2018 New Revision: 265169 URL: https://gcc.gnu.org/viewcvs?rev=265169=gcc=rev Log: PR target/87572 * common/config/i386/i386-common.c

Re: [PATCH] Fix recent i386 regressions (was Re: [PATCH] i386: Also disable AVX512IFMA/AVX5124FMAPS/AVX5124VNNIW)

2018-10-15 Thread Jakub Jelinek
On Mon, Oct 15, 2018 at 05:57:18PM +0200, Uros Bizjak wrote: > On Mon, Oct 15, 2018 at 5:49 PM Uros Bizjak wrote: > > > > Plus, I wonder if we shouldn't make it harder to run into these issues, by > > > changing > > > Target Report Mask(ISA_AVX5124FMAPS) Var(ix86_isa_flags2) Save > > > etc. to >

[Bug tree-optimization/87562] [9 Regression] ICE in in linemap_position_for_line_and_column, at libcpp/line-map.c:848

2018-10-15 Thread renlin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87562 Renlin Li changed: What|Removed |Added CC||renlin at gcc dot gnu.org --- Comment #2

Re: [PATCH] Fix recent i386 regressions (was Re: [PATCH] i386: Also disable AVX512IFMA/AVX5124FMAPS/AVX5124VNNIW)

2018-10-15 Thread Uros Bizjak
On Mon, Oct 15, 2018 at 5:49 PM Uros Bizjak wrote: > > Plus, I wonder if we shouldn't make it harder to run into these issues, by > > changing > > Target Report Mask(ISA_AVX5124FMAPS) Var(ix86_isa_flags2) Save > > etc. to > > Target Report Mask(ISA2_AVX5124FMAPS) Var(ix86_isa_flags2) Save > > so

Re: [PATCH] Fix recent i386 regressions (was Re: [PATCH] i386: Also disable AVX512IFMA/AVX5124FMAPS/AVX5124VNNIW)

2018-10-15 Thread Uros Bizjak
On Mon, Oct 15, 2018 at 4:50 PM Jakub Jelinek wrote: > > On Mon, Oct 15, 2018 at 04:22:04PM +0200, Richard Biener wrote: > > On Sun, Oct 14, 2018 at 9:29 PM Uros Bizjak wrote: > > > > > > On Sat, Oct 13, 2018 at 11:54 PM H.J. Lu wrote: > > > > > > > > Also disable AVX512IFMA, AVX5124FMAPS and

Re: [PATCH] Add option to control warnings added through attribure "warning"

2018-10-15 Thread Nikolai Merinov
Hi Martin, On 10/15/18 6:20 PM, Martin Sebor wrote: On 10/15/2018 01:55 AM, Nikolai Merinov wrote: Hi Martin, On 10/12/18 9:58 PM, Martin Sebor wrote: On 10/12/2018 04:14 AM, Nikolai Merinov wrote: Hello, In https://gcc.gnu.org/ml/gcc-patches/2018-09/msg01795.html mail I suggested patch to

Re: [PATCH v2] fixincludes: vxworks: regs.h: Fix includes in regs.h wrapper

2018-10-15 Thread Olivier Hainque
Hi Rasmus, > On 8 Oct 2018, at 15:03, Rasmus Villemoes wrote: > > fixincludes/ > > * inclhack.def (AAB_vxworks_regs_vxtypes): Add unconditional > include of vxCpu.h, guard include of vxTypesOld.h by > !_ASMLANGUAGE. > * fixincl.x: Regenerate. Good for me, thanks.

Re: [PATCH, GCC/ARM] Fix PR87374: ICE with -mslow-flash-data and -mword-relocations

2018-10-15 Thread Thomas Preudhomme
Ping? Best regards, Thomas On Fri, 5 Oct 2018 at 17:50, Thomas Preudhomme wrote: > > Hi Ramana and Kyrill, > > I've reworked the patch to add some documentation of the option > conflict and reworked the -mword-relocation logic slightly to set the > variable explicitely in PIC mode rather than

Re: [00/10][RFC] Splitting the C and C++ concept of "complete type"

2018-10-15 Thread Joseph Myers
On Mon, 15 Oct 2018, Richard Sandiford wrote: > The patches therefore add a new "__sizeless_struct" keyword to denote > structures that are sizeless rather than sized. Unlike normal > structures, these structures can have members of sizeless type in > addition to members of sized type. On the

[PATCH] Fix recent i386 regressions (was Re: [PATCH] i386: Also disable AVX512IFMA/AVX5124FMAPS/AVX5124VNNIW)

2018-10-15 Thread Jakub Jelinek
On Mon, Oct 15, 2018 at 04:22:04PM +0200, Richard Biener wrote: > On Sun, Oct 14, 2018 at 9:29 PM Uros Bizjak wrote: > > > > On Sat, Oct 13, 2018 at 11:54 PM H.J. Lu wrote: > > > > > > Also disable AVX512IFMA, AVX5124FMAPS and AVX5124VNNIW when disabling > > > AVX512F. > > > > > > gcc/ > > > > >

Re: Obsolete Solaris 10 support

2018-10-15 Thread Rainer Orth
C Bergström writes: > It could be the contribution process for gcc is an obstacle. I don't get > involved with In which case there's nothing to be done. > those communities enough to know how well they do or don't play with > upstream. In > no way would I want to create extra unnecessary

[09/10] C support for sizeless types

2018-10-15 Thread Richard Sandiford
This patch adds support for sizeless types to C, along the lines described in the covering RFC. The patch is actually a squash of 26 patches that I've attached as a tarball, with each patch building up the support piece-by-piece. The individual patches say which part of the standard they relate

[08/10] Add a TYPE_SIZELESS_P property to types

2018-10-15 Thread Richard Sandiford
This patch adds a bit to tree_type_common (which still has plenty of bits spare) to indicate whether the type has a measurable size at the language level once fully-defined. 2018-10-15 Richard Sandiford gcc/ * tree-core.h (tree_type_common::sizeless): New bitfield.

[07/10] Use COMPLETE_TYPE_P instead of TYPE_SIZE

2018-10-15 Thread Richard Sandiford
This patch makes a couple of c-family macros use COMPLETE_TYPE_P instead of TYPE_SIZE, so that the definitions more clearly correspond to the names of the macros. 2018-10-15 Richard Sandiford gcc/c-family/ * c-common.h (C_TYPE_OBJECT_P, C_TYPE_INCOMPLETE_P): Test

[06/10] Move COMPLETE_TYPE_P to the C and C++ frontends

2018-10-15 Thread Richard Sandiford
After previous patches there are no more uses of COMPLETE_TYPE_P outside the frontends. This patch moves the definition to c-common.h. 2018-10-15 Richard Sandiford gcc/ * tree.h (COMPLETE_TYPE_P): Move to c-common.h. gcc/c-family/ * c-common.h (COMPLETE_TYPE_P): Moved from

[05/10] Move complete_or_array_type_p to the C and C++ frontends

2018-10-15 Thread Richard Sandiford
complete_or_array_type_p was defined in tree.h but unused outside the frontends. This patch moves it to c-common.h. 2018-10-15 Richard Sandiford gcc/ * tree.h (complete_or_array_type_p): Move to c-common.h. gcc/c-family/ * c-common.h (complete_or_array_type_p): Moved from

[04/10] Move COMPLETE_OR_UNBOUND_ARRAY_TYPE_P to the C and C++ frontends

2018-10-15 Thread Richard Sandiford
There was only one use of COMPLETE_OR_UNBOUND_ARRAY_TYPE_P outside the frontends, in expr.c. This patch expands the macro there and moves the macro's definition to c-common.h. It feels a bit odd that we still have decls with no layout at this late stage, but that's a separate issue...

[03/10] Move COMPLETE_OR_VOID_TYPE_P to the C and C++ frontends

2018-10-15 Thread Richard Sandiford
There was only one use of this macro outside the frontends, in dbxout.c. This patch expands that use and moves the macro's definition to c-common.h. There's no expectation that dbx will support sizeless types, so keeping the current definition should be fine. 2018-10-15 Richard Sandiford

[Bug libstdc++/87614] User related warnings are hidden in system headers

2018-10-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87614 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[02/10] Replace most uses of COMPLETE_TYPE_P outside the frontends

2018-10-15 Thread Richard Sandiford
This patch adds a DEFINITE_TYPE_P macro for testing whether a type has been fully-defined. The definition is the same as the current definition of COMPLETE_TYPE_P, but later patches redefine COMPLETE_TYPE_P and make it local to the C and C++ frontends. The name "definite type" comes from the SVE

Re: Obsolete Solaris 10 support

2018-10-15 Thread Rainer Orth
Hi Jeffrey, > On Mon, Oct 15, 2018 at 10:13 AM C Bergström wrote: >> >> Is there anyone in the *open* solaris or variant camp who may be impacted >> by this? SOL10 gets deprecated and I doubt anyone will really cry fowl, but >> can it negatively impact any of the similar open source projects

[01/10] Expand COMPLETE_TYPE_P in obvious checks for null

2018-10-15 Thread Richard Sandiford
Some tests for COMPLETE_TYPE_P are just protecting against a null TYPE_SIZE or TYPE_SIZE_UNIT. Rather than replace them with a new macro, it seemed clearer to write out the underlying test. 2018-10-15 Richard Sandiford gcc/ * calls.c (initialize_argument_information): Replace

[00/10][RFC] Splitting the C and C++ concept of "complete type"

2018-10-15 Thread Richard Sandiford
The C standard says: At various points within a translation unit an object type may be "incomplete" (lacking sufficient information to determine the size of objects of that type) or "complete" (having sufficient information). For AArch64 SVE, we'd like to split this into two

Re: Obsolete Solaris 10 support

2018-10-15 Thread C Bergström
It could be the contribution process for gcc is an obstacle. I don't get involved with those communities enough to know how well they do or don't play with upstream. In no way would I want to create extra unnecessary work for you, but if you really care maybe ping them to see if anyone could help

Re: Obsolete Solaris 10 support

2018-10-15 Thread Jeffrey Walton
On Mon, Oct 15, 2018 at 10:13 AM C Bergström wrote: > > Is there anyone in the *open* solaris or variant camp who may be impacted > by this? SOL10 gets deprecated and I doubt anyone will really cry fowl, but > can it negatively impact any of the similar open source projects that may > identify at

Re: [PATCH][GCC][AARCH64]Introduce aarch64 atomic_{load,store}ti patterns

2018-10-15 Thread Matthew Malcomson
ping On 27/09/18 14:43, Matthew Malcomson wrote: [PATCH][GCC][AARCH64] Introduce aarch64 atomic_{load,store}ti patterns In Armv8.4-a these patterns use the LDP/STP instructions that are guaranteed to be single-copy atomic, ensure correct memory ordering semantics by using the DMB instruction.

Re: [ARM/FDPIC v3 07/21] [ARM] FDPIC: Avoid saving/restoring r9 on stack since it is RO

2018-10-15 Thread Christophe Lyon
On Fri, 12 Oct 2018 at 13:45, Richard Earnshaw (lists) wrote: > > On 11/10/18 14:34, Christophe Lyon wrote: > > 2018-XX-XX Christophe Lyon > > Mickaël Guêné > > > > gcc/ > > * config/arm/arm.c (arm_compute_save_reg0_reg12_mask): Handle > > FDPIC. > >

Re: [PATCH] i386: Also disable AVX512IFMA/AVX5124FMAPS/AVX5124VNNIW

2018-10-15 Thread Richard Biener
On Sun, Oct 14, 2018 at 9:29 PM Uros Bizjak wrote: > > On Sat, Oct 13, 2018 at 11:54 PM H.J. Lu wrote: > > > > Also disable AVX512IFMA, AVX5124FMAPS and AVX5124VNNIW when disabling > > AVX512F. > > > > gcc/ > > > > PR target/87572 > > * common/config/i386/i386-common.c

Re: [PATCH 02/14] Add D frontend (GDC) implementation.

2018-10-15 Thread David Malcolm
On Tue, 2018-09-18 at 02:33 +0200, Iain Buclaw wrote: > This patch adds the D front-end implementation, the only part of the > compiler that interacts with GCC directly, and being the parts that I > maintain, is something that I can talk about more directly. > > For the actual code generation

Re: Obsolete Solaris 10 support

2018-10-15 Thread Rainer Orth
C Bergström writes: > Is there anyone in the *open* solaris or variant camp who may be impacted by > this? > SOL10 gets deprecated and I doubt anyone will really cry fowl, but can it > negatively > impact any of the similar open source projects that may identify at SOL10, > but not > be

[Bug libstdc++/87614] New: User related warnings are hidden in system headers

2018-10-15 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87614 Bug ID: 87614 Summary: User related warnings are hidden in system headers Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

Re: [ARM/FDPIC v3 06/21] [ARM] FDPIC: Add support for c++ exceptions

2018-10-15 Thread Christophe Lyon
On Fri, 12 Oct 2018 at 13:37, Richard Earnshaw (lists) < richard.earns...@arm.com> wrote: > On 11/10/18 14:34, Christophe Lyon wrote: > > The main difference with existing support is that function addresses > > are function descriptor addresses instead. This means that all code > > dealing with

Re: Obsolete Solaris 10 support

2018-10-15 Thread C Bergström
Is there anyone in the *open* solaris or variant camp who may be impacted by this? SOL10 gets deprecated and I doubt anyone will really cry fowl, but can it negatively impact any of the similar open source projects that may identify at SOL10, but not be exactly the same... Thoughts? On Mon, Oct

[Bug c++/87613] New: Non-reachable default required in switch statement to get optimal code

2018-10-15 Thread chtz at informatik dot uni-bremen.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87613 Bug ID: 87613 Summary: Non-reachable default required in switch statement to get optimal code Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal

Re: [PATCH] Reset insn priority after inc/ref replacement in haifa sched

2018-10-15 Thread Alexander Monakov
On Mon, 15 Oct 2018, Robin Dapp wrote: > * haifa-sched.c (priority): Add force_recompute parameter. > (apply_replacement): > Call priority () with force_recompute = true. > (restore_pattern): Likewise. A C++ style nit/question: instead of adding a new overload priority

[Bug tree-optimization/84648] Missed optimization : loop not removed.

2018-10-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84648 Richard Biener changed: What|Removed |Added CC||amker at gcc dot gnu.org --- Comment

Re: [PATCH] asm non-code template parts (alternative to asm inline)

2018-10-15 Thread Alexander Monakov
> > I think only double quote, backslash, backtick remain unclaimed. And of > > course > > ASCII \0 through \040 and \177 ;) > > I see. Apart from using some of the traditional begin-end sequences we > could use %; or similar on each line to "comment" it? I guess in theory we could define

Obsolete Solaris 10 support

2018-10-15 Thread Rainer Orth
Solaris 10 is reaching the end of its support live, as can be seen in the following overview based on http://www.oracle.com/us/support/library/lsp-coverage-sun-software-309122.pdf, p.29: ReleaseGA Date Last Premier Extended GCC Update Support Support Obsoletion

  1   2   >