[Bug c++/85027] New: ICE on invalid C++ code: in instantiate_type, at cp/class.c:8062

2018-03-21 Thread su at cs dot ucdavis.edu
20180321 (experimental) [trunk revision 258722] (GCC) $ $ g++tk tmp.cpp tmp.cpp:3:18: internal compiler error: in instantiate_type, at cp/class.c:8062 int t = A::A ? : 0; ^ 0x6f4360 instantiate_type(tree_node*, tree_node*, int) ../../gcc-source-trunk/gcc/cp/class.c:8062 0x6cffea

[Bug fortran/70870] Segmentation violation in gfc_assign_data_value

2018-03-21 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70870 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug fortran/77941] ICE in expand_expr_addr_expr_1, at expr.c:7805

2018-03-21 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77941 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug c++/84942] [6/7/8 Regression] internal compiler error: in fold_convert_const_int_from_real, at fold-const.c:2011

2018-03-21 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84942 Alexandre Oliva changed: What|Removed |Added Status|NEW |UNCONFIRMED CC|

[Bug target/85026] New: [7 Regression] Error: branch out of range on arm-linux-gnueabihf

2018-03-21 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85026 Bug ID: 85026 Summary: [7 Regression] Error: branch out of range on arm-linux-gnueabihf Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal

[Bug c++/84943] [8 Regression] internal compiler error: in build_call_a, at cp/call.c:374

2018-03-21 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84943 Alexandre Oliva changed: What|Removed |Added Status|NEW |ASSIGNED CC|

Re: [og7] vector_length extension part 2: Generalize state propagation and synchronization

2018-03-21 Thread Cesar Philippidis
On 03/21/2018 10:10 AM, Tom de Vries wrote: > On 03/02/2018 05:55 PM, Cesar Philippidis wrote: >> In addition, nvptx_cta_sync and the corresponding nvptx_barsync insn, >> have been extended to take a barrier ID and a thread count. The idea >> here is to assign one barrier for each logical vector.

[Bug c++/81311] [7/8 Regression] An std::ref argument calls copy constructor instead of template constructor in C++17 mode

2018-03-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81311 --- Comment #2 from Jason Merrill --- Author: jason Date: Thu Mar 22 03:53:19 2018 New Revision: 258755 URL: https://gcc.gnu.org/viewcvs?rev=258755=gcc=rev Log: PR c++/81311 - wrong C++17 overload resolution. * call.c

Re: [PR c++/84789] do not resolve typename into template-independent

2018-03-21 Thread Jason Merrill
OK, thanks. On Wed, Mar 21, 2018 at 11:48 AM, Jason Merrill wrote: > On Tue, Mar 20, 2018 at 11:27 PM, Alexandre Oliva wrote: >> On Mar 20, 2018, Jason Merrill wrote: >> >>> On Tue, Mar 20, 2018 at 6:07 PM, Alexandre Oliva

[Bug c/82967] "did you mean" suggestions are way too suggestive

2018-03-21 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82967 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

C++ PATCH for c++/81311, wrong C++17 overload resolution

2018-03-21 Thread Jason Merrill
Here, the code in build_special_member_function to avoid involving the copy constructor in initialization from a prvalue was causing wrongly different overload resolution. To fix it, instead of trying to produce a prvalue there, we now go through normal overload resolution and then specifically

[Bug target/85025] New: libgcc/config/i386/shadow-stack-unwind.h is wrong

2018-03-21 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85025 Bug ID: 85025 Summary: libgcc/config/i386/shadow-stack-unwind.h is wrong Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3

Re: [PATCH,rs6000] GCC -7, no swap optimization for vpermxor instruction

2018-03-21 Thread Peter Bergner
On 3/21/18 5:16 PM, Carl Love wrote: > The following patch is a back port from mainlin of a fix for [snip] > > 2018-03-21 Carl Love > > * config/rs6000/r6000.c (rtx_is_swappable_p): Add case UNSPEC_VPERMXOR. > > gcc/testsuite/ChangeLog: > > 2018-03-21 Carl Love

Re: [PATCH, rs6000] Fix PR83789: __builtin_altivec_lvx fails for powerpc for altivec-4.c

2018-03-21 Thread Peter Bergner
On 3/21/18 7:37 PM, Segher Boessenkool wrote: > On Wed, Mar 21, 2018 at 12:47:41PM -0500, Peter Bergner wrote: >> I'll note that GCC 7 does not need any of the changes to rs6000-p8swap.c, >> since that file doesn't exist and doesn't need to exist in GCC 7, so I've >> left those changes out. > >

Re: [Aarch64] Fix conditional branches with target far away.

2018-03-21 Thread Sameera Deshpande
Hi Sudakshina, As per the ARMv8 ARM, for the offset range (-1048576 ,1048572), the far branch instruction offset is inclusive of both the offsets. Hence, I am using <=||=> and not <||>= as it was in previous implementation. On 16 March 2018 at 00:51, Sudakshina Das wrote: > On

Re: [PR c++/84789] do not resolve typename into template-independent

2018-03-21 Thread Alexandre Oliva
On Mar 21, 2018, Jason Merrill wrote: > On Tue, Mar 20, 2018 at 11:27 PM, Alexandre Oliva wrote: >> I understood you were saying it was ok to peek in this case. Would you >> please state, for clarity, what your stance is on peeking in this case, >>

[Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures

2018-03-21 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84922 --- Comment #13 from Steve Kargl --- On Thu, Mar 22, 2018 at 12:44:25AM +, w.clodius at icloud dot com wrote: > --- Comment #12 from William Clodius --- > FWIW I was told on comp.lang.fortran that the code is erroneous because of > > "The

[Bug go/85024] applyRelocations not implemented for alpha-linux-gnu

2018-03-21 Thread amu at alum dot mit.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85024 --- Comment #2 from Aaron M. Ucko --- Great, thanks! FTR, I'm fine without a backport here.

[Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures

2018-03-21 Thread w.clodius at icloud dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84922 --- Comment #12 from William Clodius --- FWIW I was told on comp.lang.fortran that the code is erroneous because of "The error message doesn't make much sense to me, but I think Note 12.2 in section 12.4.3.1 contains a clue to what's going on.

[C++ PATCH] Implement P0962

2018-03-21 Thread Ville Voutilainen
Tested on Linux-PPC64. 2018-03-22 Ville Voutilainen gcc/cp/ Implement P0962 * parser.c (cp_parser_perform_range_for_lookup): Change the condition for deciding whether to use members. testsuite/ Implement P0962 *

Re: [PATCH, rs6000] Fix PR83789: __builtin_altivec_lvx fails for powerpc for altivec-4.c

2018-03-21 Thread Segher Boessenkool
On Wed, Mar 21, 2018 at 12:47:41PM -0500, Peter Bergner wrote: > On 3/20/18 12:27 PM, Peter Bergner wrote: > > On 3/20/18 11:42 AM, Segher Boessenkool wrote: > >> On Mon, Mar 19, 2018 at 09:12:08PM -0500, Peter Bergner wrote: > >>> Looking at mu build dirs insn-modes.h, I don't see HAVE_V8HFmode

[Bug go/85024] applyRelocations not implemented for alpha-linux-gnu

2018-03-21 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85024 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/84269] More suggestions for missing #include

2018-03-21 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84269 --- Comment #7 from David Malcolm --- Another one, from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82967#c1 #include void test (float pf, float inff) { assert (pf == inff); } : In function 'test': :5:3: warning: implicit declaration of

[Bug c/82967] "did you mean" suggestions are way too suggestive

2018-03-21 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82967 David Malcolm changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org

[Bug fortran/65428] ICE on nest array constructor

2018-03-21 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65428 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

gcc-6-20180321 is now available

2018-03-21 Thread gccadmin
Snapshot gcc-6-20180321 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/6-20180321/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-6

[Bug go/85024] New: applyRelocations not implemented for alpha-linux-gnu

2018-03-21 Thread ucko at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85024 Bug ID: 85024 Summary: applyRelocations not implemented for alpha-linux-gnu Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

Adjust __builtin_tgmath handling of integer arguments to _FloatN narrowing macros

2018-03-21 Thread Joseph Myers
When adding __builtin_tgmath to support a better tgmath.h implementation, I noted that further changes might be needed regarding the TS 18661 functions that round their results to a narrower type, because of unresolved issues with how the corresponding type-generic macros are defined in TS 18661.

[Bug tree-optimization/84956] ICE in replace_block_by, at tree-ssa-tail-merge.c:1546

2018-03-21 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84956 --- Comment #3 from Tom de Vries --- (In reply to Tom de Vries from comment #2) > Created attachment 43722 [details] > Tentative patch Bootstrapped and reg-tested on x86_64, no issues found.

[Bug c++/71965] [6/7/8 regression] [concepts] Substitution error *after* failure to satisfy an earlier constraint

2018-03-21 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71965 Alexandre Oliva changed: What|Removed |Added Keywords||deferred Assignee|aoliva at

[Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures

2018-03-21 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84922 --- Comment #11 from kargl at gcc dot gnu.org --- Patch submitted.

[PATCH] PR fortran/84922 -- Check MODULE prefix is used

2018-03-21 Thread Steve Kargl
If an interface body includes a MODULE prefix on a subroutine or function, then the prefix must appear on the contained subprogram. This patch does that check, and issues an error message. 2018-03-21 Steven G. Kargl PR fortran/84922 * decl.c

[PATCH,rs6000] GCC -7, no swap optimization for vpermxor instruction

2018-03-21 Thread Carl Love
GCC Maintainers: The following patch is a back port from mainlin of a fix for define_insn crypto_vpermxor_ in gcc/config/rs6000/crypto.md. The issue is the vpermxor instruction does not work correctly when the swap optimization is applied.   The issue was found as part of commit 258530 to

[Bug c/84999] [7 Regression] ICE in make_vector_type, at tree.c:9561

2018-03-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84999 Jakub Jelinek changed: What|Removed |Added Summary|[7/8 Regression] ICE in |[7 Regression] ICE in

[Bug libstdc++/77691] [7/8 regression] experimental/memory_resource/resource_adaptor.cc FAILs

2018-03-21 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691 --- Comment #12 from joseph at codesourcery dot com --- On Wed, 21 Mar 2018, ro at CeBiTec dot Uni-Bielefeld.DE wrote: > Joseph, any suggestions? You mentioned that older versions of glibc > didn't provide 16-byte alignment in i386 malloc;

[Bug c++/84642] [6/7/8 Regression] ICE: segfault reading through NULL current_template_parms in synthesize_implicit_template_parm

2018-03-21 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84642 --- Comment #5 from Alexandre Oliva --- Author: aoliva Date: Wed Mar 21 22:08:19 2018 New Revision: 258748 URL: https://gcc.gnu.org/viewcvs?rev=258748=gcc=rev Log: [PR c++/84610,84642] recover from implicit template parms gracefully If we get

[Bug c++/71965] [6/7/8 regression] [concepts] Substitution error *after* failure to satisfy an earlier constraint

2018-03-21 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71965 --- Comment #9 from Alexandre Oliva --- Author: aoliva Date: Wed Mar 21 22:08:34 2018 New Revision: 258749 URL: https://gcc.gnu.org/viewcvs?rev=258749=gcc=rev Log: [PR c++/71965] silence multi-dim array init sorry without tf_error We shouldn't

[Bug c++/84610] [6/7/8 Regression] ICE in synthesize_implicit_template_parm, at cp/parser.c:38843

2018-03-21 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84610 --- Comment #4 from Alexandre Oliva --- Author: aoliva Date: Wed Mar 21 22:08:19 2018 New Revision: 258748 URL: https://gcc.gnu.org/viewcvs?rev=258748=gcc=rev Log: [PR c++/84610,84642] recover from implicit template parms gracefully If we get

[Bug middle-end/84997] Optimize integer operations on floating point constants without -ffast-math

2018-03-21 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84997 --- Comment #5 from joseph at codesourcery dot com --- On Wed, 21 Mar 2018, antoshkka at gmail dot com wrote: > unsigned test02(unsigned lhs) { > return lhs + 2.0; // No signed overflow > } If lhs is UINT_MAX or UINT_MAX - 1, the

[Bug middle-end/84997] Optimize integer operations on floating point constants without -ffast-math

2018-03-21 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84997 --- Comment #4 from joseph at codesourcery dot com --- On Wed, 21 Mar 2018, rguenth at gcc dot gnu.org wrote: > > That would need -fno-trapping-math, because if the addition results in a > > double value larger than INT_MAX, under Annex F the

Re: [PATCH] [PR c++/71965] silence multi-dim array init sorry without tf_error

2018-03-21 Thread Alexandre Oliva
On Mar 20, 2018, Jason Merrill wrote: >> + if ((complain & tf_error)) >> + error ("cannot initialize multi-dimensional" >> + " array with initializer"); > Let's also use the other diagnostic message: "array must be > initialized

Re: [PR c++/84729] convert new init to array elt type

2018-03-21 Thread Alexandre Oliva
On Mar 20, 2018, Jason Merrill wrote: >> -permerror (input_location, >> - "parenthesized initializer in array new"); >> +error_at (input_location, >> + "parenthesized initializer in array new"); >

[Bug c/84999] [7/8 Regression] ICE in make_vector_type, at tree.c:9561

2018-03-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84999 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Mar 21 21:48:47 2018 New Revision: 258747 URL: https://gcc.gnu.org/viewcvs?rev=258747=gcc=rev Log: PR c/84999 * c-typeck.c (build_binary_op): If

Re: [PATCH] [PR c++/84610,84642] recover from implicit template parms gracefully

2018-03-21 Thread Alexandre Oliva
On Mar 20, 2018, Jason Merrill wrote: > On Tue, Mar 20, 2018 at 5:57 PM, Alexandre Oliva wrote: >> On Mar 20, 2018, Jason Merrill wrote: > Let's put this in cp-tree.h, with warning_sentinel. >> + (void)cleanup; > There are lots of RAII

[PATCH] Fix ICE from path isolation (PR tree-optimization/84960)

2018-03-21 Thread Jakub Jelinek
Hi! On the following testcase, path isolation decides to duplicate a bb and redirect edge from ENTRY bb to its successor to this duplicate bb and tree cleanup then removes all other basic blocks as unreachable. When blocks are removed, forced labels are moved to their bb->prev_bb block, but

Re: [PATCH] Fix C FE ICE with vector comparison (PR c/84999)

2018-03-21 Thread Joseph Myers
On Wed, 21 Mar 2018, Jakub Jelinek wrote: > Hi! > > On ia32, we don't support __int128, nor mode (TI) integers, but we do > support 128-bit __float128 and (generic) vectors containing it. The result > of a comparison of such vectors is supposed to be integral vector with the > same element

Re: Deprecate not defining NO_IMPLICIT_EXTERN_C

2018-03-21 Thread Joseph Myers
On Wed, 21 Mar 2018, Nathan Sidwell wrote: > Unfortunately it's a negative-sense define, that now at least most ports > define. Do all ports define it? It's hard to determine that, because many > ports get it set via config/gnu-user.h or similar common file. Bare-metal ports often fail to

[Bug target/83789] __builtin_altivec_lvx fails for powerpc for altivec-4.c

2018-03-21 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83789 --- Comment #24 from Peter Bergner --- (In reply to Peter Bergner from comment #23) > This regtested fine on BE for me with no regressions. My LE > bootstrap/regtest is still running. My LE bootstrap and regtesting were clean too. Just

[Bug c++/84972] [6/7 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in extended_tree, at tree.h:5545

2018-03-21 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84972 Paolo Carlini changed: What|Removed |Added Summary|[6/7/8 Regression] ICE: |[6/7 Regression] ICE: tree

[Bug c++/84972] [6/7/8 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in extended_tree, at tree.h:5545

2018-03-21 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84972 --- Comment #9 from paolo at gcc dot gnu.org --- Author: paolo Date: Wed Mar 21 21:19:03 2018 New Revision: 258746 URL: https://gcc.gnu.org/viewcvs?rev=258746=gcc=rev Log: /cp 2018-03-21 Paolo Carlini PR

[Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures

2018-03-21 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84922 --- Comment #10 from Steve Kargl --- On Wed, Mar 21, 2018 at 01:23:32PM -0700, Steve Kargl wrote: > On Wed, Mar 21, 2018 at 08:11:29PM +, w.clodius at icloud dot com wrote: > > --- Comment #6 from William Clodius --- > > My version of

[Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures

2018-03-21 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84922 --- Comment #9 from Steve Kargl --- On Wed, Mar 21, 2018 at 08:15:57PM +, dominiq at lps dot ens.fr wrote: > >subroutine copy_byte_data(data, copy) > >1 > > Error: Shape mismatch in argument 'data'

[Bug fortran/84957] [8 Regression] ICE in gfc_sym_type, at fortran/trans-types.c:2255

2018-03-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84957 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug fortran/84957] [8 Regression] ICE in gfc_sym_type, at fortran/trans-types.c:2255

2018-03-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84957 --- Comment #4 from Thomas Koenig --- Author: tkoenig Date: Wed Mar 21 21:12:41 2018 New Revision: 258745 URL: https://gcc.gnu.org/viewcvs?rev=258745=gcc=rev Log: 2018-03-21 Thomas Koenig Harald Anlauf

Re: [PATCH, fortran] PR84957 - [8 Regression] ICE in gfc_sym_type, at fortran/trans-types.c:2255

2018-03-21 Thread Thomas Koenig
Hi Harald, The attached obvious patch fixes a NULL pointer dereference. Testcase derived from report. Changelogs below. Regtested on i686-pc-linux-gnu. Whoever reviews this, please feel free to commit. Reviewed and committed as r258745. Thanks for the patch! Regards Thomas

[Bug c++/84961] [7 Regression] ICE error: SSA_NAME_DEF_STMT is wrong

2018-03-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84961 Jakub Jelinek changed: What|Removed |Added Summary|[7/8 Regression] ICE error: |[7 Regression] ICE error:

[Bug tree-optimization/84982] [8 Regression] logically inverting bools into local array results in bitwise negation

2018-03-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84982 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/84960] [8 Regression] ICE in GIMPLE pass: isolate-paths

2018-03-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84960 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/84811] [8 Regression] ICE on valid code at -O3 in 64-bit mode on x86_64-linux-gnu: in smallest_mode_for_size, at stor-layout.c:355

2018-03-21 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84811 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/84960] [8 Regression] ICE in GIMPLE pass: isolate-paths

2018-03-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84960 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed Mar 21 20:53:16 2018 New Revision: 258744 URL: https://gcc.gnu.org/viewcvs?rev=258744=gcc=rev Log: PR tree-optimization/84960 * tree-cfg.c (remove_bb): Don't move

[Bug tree-optimization/84811] [8 Regression] ICE on valid code at -O3 in 64-bit mode on x86_64-linux-gnu: in smallest_mode_for_size, at stor-layout.c:355

2018-03-21 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84811 --- Comment #26 from rsandifo at gcc dot gnu.org --- Author: rsandifo Date: Wed Mar 21 20:52:15 2018 New Revision: 258743 URL: https://gcc.gnu.org/viewcvs?rev=258743=gcc=rev Log: poly_span_traits fixes (PR 84811) This patch fixes incorrect

[Bug fortran/84957] [8 Regression] ICE in gfc_sym_type, at fortran/trans-types.c:2255

2018-03-21 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84957 --- Comment #3 from Harald Anlauf --- Patch posted at https://gcc.gnu.org/ml/fortran/2018-03/msg00117.html

Re: [PATCH] Fix ICE from path isolation (PR tree-optimization/84960)

2018-03-21 Thread Richard Biener
On March 21, 2018 9:24:06 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >On the following testcase, path isolation decides to duplicate a bb and >redirect edge from ENTRY bb to its successor to this duplicate bb and >tree cleanup then removes all other basic blocks as unreachable. >

[PATCH, fortran] PR84957 - [8 Regression] ICE in gfc_sym_type, at fortran/trans-types.c:2255

2018-03-21 Thread Harald Anlauf
The attached obvious patch fixes a NULL pointer dereference. Testcase derived from report. Changelogs below. Regtested on i686-pc-linux-gnu. Whoever reviews this, please feel free to commit. Thanks, Harald 2018-03-21 Harald Anlauf PR fortran/84957 *

[C++ PATCH] Fix ICE with inline asm and MODIFY_EXPR/preinc/predec in output operand (PR c++/84961, take 2)

2018-03-21 Thread Jakub Jelinek
On Wed, Mar 21, 2018 at 01:01:38PM -0400, Jason Merrill wrote: > >> Hmm, it would be nice to share this with the similar patterns in > >> unary_complex_lvalue and cp_build_modify_expr. > > > You mean just outline the > > if (TREE_SIDE_EFFECTS (TREE_OPERAND (lhs, 0))) > > lhs =

[Bug libstdc++/77691] [7/8 regression] experimental/memory_resource/resource_adaptor.cc FAILs

2018-03-21 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691 --- Comment #11 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #10 from Jonathan Wakely --- > (In reply to Jonathan Wakely from comment #9) >> So GCC's definition of max_align_t is not consistent with malloc in Solaris > > Oh, I'm

[PATCH] Fix C FE ICE with vector comparison (PR c/84999)

2018-03-21 Thread Jakub Jelinek
Hi! On ia32, we don't support __int128, nor mode (TI) integers, but we do support 128-bit __float128 and (generic) vectors containing it. The result of a comparison of such vectors is supposed to be integral vector with the same element size, but we really don't want to allow one in this case,

Re: [og7] vector_length extension part 4: target hooks and automatic parallelism

2018-03-21 Thread Cesar Philippidis
On 03/21/2018 08:49 AM, Tom de Vries wrote: > On 03/02/2018 08:18 PM, Cesar Philippidis wrote: > >> og7-vl-part4-hooks.diff > >> diff --git a/gcc/config/nvptx/nvptx.c b/gcc/config/nvptx/nvptx.c >> index 5642941c6a3..507c8671704 100644 >> --- a/gcc/config/nvptx/nvptx.c >> +++

[Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures

2018-03-21 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84922 --- Comment #8 from Steve Kargl --- On Wed, Mar 21, 2018 at 08:11:29PM +, w.clodius at icloud dot com wrote: > --- Comment #6 from William Clodius --- > My version of gfortran, 7.1, doesn’t give the first message, which is correct. > The

[Bug tree-optimization/84982] [8 Regression] logically inverting bools into local array results in bitwise negation

2018-03-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84982 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Wed Mar 21 20:20:40 2018 New Revision: 258742 URL: https://gcc.gnu.org/viewcvs?rev=258742=gcc=rev Log: PR tree-optimization/84982 * gimple-ssa-store-merging.c

[Bug c++/84961] [7/8 Regression] ICE error: SSA_NAME_DEF_STMT is wrong

2018-03-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84961 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Wed Mar 21 20:19:33 2018 New Revision: 258741 URL: https://gcc.gnu.org/viewcvs?rev=258741=gcc=rev Log: PR c++/84961 * cp-tree.h (genericize_compound_lvalue): Declare.

[Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures

2018-03-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84922 --- Comment #7 from Dominique d'Humieres --- > My version of gfortran gives > > gfcx -c a.f90 > a.f90:4:38: > >module subroutine copy_byte_data(data, copy) > 1 > a.f90:12:31: > >subroutine

Re: C++ PATCH to fix an ICE on invalid with OVERLOADs (PR c++/84854)

2018-03-21 Thread Marek Polacek
On Wed, Mar 21, 2018 at 02:55:36PM -0400, Jason Merrill wrote: > On Wed, Mar 21, 2018 at 2:37 PM, Marek Polacek wrote: > > On Thu, Mar 15, 2018 at 08:55:59AM -0400, Jason Merrill wrote: > >> On Thu, Mar 15, 2018 at 7:49 AM, Marek Polacek wrote: > >> > On

[Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures

2018-03-21 Thread w.clodius at icloud dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84922 --- Comment #6 from William Clodius --- My version of gfortran, 7.1, doesn’t give the first message, which is correct. The second message is incorrect. Either the clashing procedures should not be compared further, or the comparison of the

[Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures

2018-03-21 Thread w.clodius at icloud dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84922 --- Comment #5 from William Clodius --- The code is definitely invalid, but the misleading error message did result in significant time lost by assuming the message was correct as to the problem. Note several other attempts to fix the problem

Re: Desire to allocate bit in DT_PARM bitmask for DEC FORMAT compatibility purposes

2018-03-21 Thread Jeff Law
On 03/21/2018 12:38 PM, Janne Blomqvist wrote: > On Wed, Mar 21, 2018 at 7:29 PM, Jeff Law wrote: >> On 03/21/2018 11:25 AM, Jakub Jelinek wrote: >>> On Tue, Mar 20, 2018 at 12:41:25PM -0600, Jeff Law wrote: This is documented in the old manuals from DEC and I've found

[Bug c++/85008] [8 Regression] internal compiler error: lang_* check: failed in decl_cloned_function_p, at cp/class.c:4577

2018-03-21 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85008 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Wed Mar 21 19:22:10 2018 New Revision: 258738 URL: https://gcc.gnu.org/viewcvs?rev=258738=gcc=rev Log: [PR c++/85008] ICE looking for clone

[Bug target/84912] __builtin_divde* produce Internal Compiler Error when compiled -m32

2018-03-21 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84912 Peter Bergner changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/85008] [8 Regression] internal compiler error: lang_* check: failed in decl_cloned_function_p, at cp/class.c:4577

2018-03-21 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85008 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/84912] __builtin_divde* produce Internal Compiler Error when compiled -m32

2018-03-21 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84912 --- Comment #4 from Peter Bergner --- (In reply to Peter Bergner from comment #3) > + bool nonvoid = TREE_TYPE (TREE_TYPE (fndecl)) != void_type_node; Cut and pasted too much, please ignore the unneeded line above.

[PR c++/85008] ICE looking for clone

2018-03-21 Thread Nathan Sidwell
This ICE turned out to be a latent bug exposed by moving the member fns onto the FIELDS list. We should be using DECL_CLONED_FUNCTION_P not DECL_CLONED_FUNCTION. Grepping showed another place (doing a similar linkage check) affected too. nathan -- Nathan Sidwell 2018-03-21 Nathan Sidwell

[Bug target/84912] __builtin_divde* produce Internal Compiler Error when compiled -m32

2018-03-21 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84912 --- Comment #3 from Peter Bergner --- The following patch changes the ICE to an error: [bergner@makalu-lp1 PR84912]$ cat divde.i long div_de (long a, long b) { return __builtin_divde (a, b); } [bergner@makalu-lp1 PR84912]$

[Bug c++/61754] [C++1y] [[deprecated]] attribute warns annoyingly compared to __attribute__((deprecated))

2018-03-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61754 --- Comment #7 from Martin Sebor --- I suspect __attribute__((deprecated)) doesn't work quite the way you would like in C++ either. It only happens to do what you expect (i.e., not trigger a warning) in the case in comment #0 but not in others,

Re: GSOC Question about the parallelization project

2018-03-21 Thread Sebastiaan Peters
>On Wed, Mar 21, 2018 at 9:50 AM, Sebastiaan Peters > wrote: >>>On Tue, Mar 20, 2018 at 3:49 PM, David Malcolm wrote: On Tue, 2018-03-20 at 14:02 +0100, Richard Biener wrote: > On Mon, Mar 19, 2018 at 9:55 PM, Richard Biener >

[Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures

2018-03-21 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84922 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug target/83789] __builtin_altivec_lvx fails for powerpc for altivec-4.c

2018-03-21 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83789 --- Comment #23 from Peter Bergner --- Created attachment 43728 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43728=edit Backport of trunk patch to GCC 7 Kaushik, can you verify the attached backported patch fixes the ICE on GCC 7? This

Re: C++ PATCH to fix an ICE on invalid with OVERLOADs (PR c++/84854)

2018-03-21 Thread Jason Merrill
On Wed, Mar 21, 2018 at 2:37 PM, Marek Polacek wrote: > On Thu, Mar 15, 2018 at 08:55:59AM -0400, Jason Merrill wrote: >> On Thu, Mar 15, 2018 at 7:49 AM, Marek Polacek wrote: >> > On Wed, Mar 14, 2018 at 02:06:36PM -0400, Jason Merrill wrote: >> >> On

[Bug fortran/32770] [Meta-bug] -fdefault-integer-8 issues

2018-03-21 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32770 Bug 32770 depends on bug 84615, which changed state. Bug 84615 Summary: [8 Regression] Executable Segfault for some tests compiled with -m32 after r256284 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84615 What|Removed

[Bug fortran/84615] [8 Regression] Executable Segfault for some tests compiled with -m32 after r256284

2018-03-21 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84615 Janne Blomqvist changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug lto/84995] Documentation gcc-ar and gcc-ranlib vs {libdir}/bfd-plugins

2018-03-21 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84995 --- Comment #2 from Дилян Палаузов --- gcc-ar always uses the latest plugin: $ cat t.c #include int main() { printf("Z\n"); } $ x86_64-pc-linux-gnu-gcc-6.4.1 -flto t.c -C -o t.o $ strace gcc-ar rc t.a t.o prints:

[Bug fortran/84615] [8 Regression] Executable Segfault for some tests compiled with -m32 after r256284

2018-03-21 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84615 --- Comment #20 from Janne Blomqvist --- Author: jb Date: Wed Mar 21 18:46:44 2018 New Revision: 258736 URL: https://gcc.gnu.org/viewcvs?rev=258736=gcc=rev Log: PR 84615 Regressions due to type mismatch with character functions Since the kind

GSOC proposal

2018-03-21 Thread Ismael El Houas Ghouddana
Dear Mr./Mrs, First of all, I really appreciate your time and attention. I am Ismael El Houas an aerospace engineer student with knowledge of Google Cloud Platform and I want to express my interest in working on your project. Secondly, I want to ask if I am still at a time to apply to this

Re: Desire to allocate bit in DT_PARM bitmask for DEC FORMAT compatibility purposes

2018-03-21 Thread Janne Blomqvist
On Wed, Mar 21, 2018 at 7:29 PM, Jeff Law wrote: > On 03/21/2018 11:25 AM, Jakub Jelinek wrote: >> On Tue, Mar 20, 2018 at 12:41:25PM -0600, Jeff Law wrote: >>> This is documented in the old manuals from DEC and I've found >>> essentially the same documentation in Oracle/Sun's

[Bug debug/54551] DF resets some DEBUG_INSNs unnecessarily

2018-03-21 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54551 Eric Gallager changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

Re: C++ PATCH to fix an ICE on invalid with OVERLOADs (PR c++/84854)

2018-03-21 Thread Marek Polacek
On Thu, Mar 15, 2018 at 08:55:59AM -0400, Jason Merrill wrote: > On Thu, Mar 15, 2018 at 7:49 AM, Marek Polacek wrote: > > On Wed, Mar 14, 2018 at 02:06:36PM -0400, Jason Merrill wrote: > >> On Wed, Mar 14, 2018 at 11:59 AM, Marek Polacek wrote: > >> >

[Bug rtl-optimization/47389] ICE: in calc_dfs_tree, at dominance.c:395 with -fno-combine-stack-adjustments -fno-dse -fno-tree-forwprop

2018-03-21 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47389 Eric Gallager changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/84994] Missing accessor hint for private field at -O1 and above when -g is enabled

2018-03-21 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84994 David Malcolm changed: What|Removed |Added Target Milestone|9.0 |8.0

[Bug c++/84994] Missing accessor hint for private field at -O1 and above when -g is enabled

2018-03-21 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84994 David Malcolm changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/84994] Missing accessor hint for private field at -O1 and above when -g is enabled

2018-03-21 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84994 --- Comment #4 from David Malcolm --- Author: dmalcolm Date: Wed Mar 21 18:21:39 2018 New Revision: 258731 URL: https://gcc.gnu.org/viewcvs?rev=258731=gcc=rev Log: C++: show private field accessor hints with -g and optimization (PR c++/84994)

[Bug target/84926] error: inlining failed in call to always_inline ‘_mm_crc32_u64’: target specific option mismatch _mm_crc32_u64

2018-03-21 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84926 Дилян Палаузов changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

  1   2   3   4   >