[Bug fortran/94672] [10 Regression] gfortran/OpenMP chokes on PRESENT(array) despite of SHARED(array): Error: ‘array’ not specified in enclosing ‘parallel’

2020-04-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94672 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |10.0 Status|UNCONFIRMED

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-20 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #4 from Thomas Koenig --- Taking the slightly modified test case program array_temps implicit none type :: tt integer :: u = 1 integer :: v = 2 end type tt type(tt), dimension(:), pointer :: r integer :: n int

[Bug target/94668] [10 Regression] ICE generating float vec_inits since r10-808

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94668 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:5da301cbd81c41b2e9629f55dd1b1889f7dae75e commit r10-7819-g5da301cbd81c41b2e9629f55dd1b1889f7dae75e Author: Richard Sandiford Da

[Bug target/94668] [10 Regression] ICE generating float vec_inits since r10-808

2020-04-20 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94668 rsandifo at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|A

[Bug fortran/94672] [10 Regression] gfortran/OpenMP chokes on PRESENT(array) despite of SHARED(array): Error: ‘array’ not specified in enclosing ‘parallel’

2020-04-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94672 --- Comment #2 from Jakub Jelinek --- >From quick look, seems the Fortran FE for the dummy optional argument uses array.0, i.e. a local automatic array descriptor that is assigned if if (array != 0B && (real(kind=4)[0:] * restrict) array->data !=

[Bug fortran/94672] [10 Regression] gfortran/OpenMP chokes on PRESENT(array) despite of SHARED(array): Error: ‘array’ not specified in enclosing ‘parallel’

2020-04-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94672 --- Comment #3 from Jakub Jelinek --- Note, just making (some or all) optional PARM_DECLs predetermined shared (or firstprivate) by the langhook isn't correct, because subroutine foo (array) real, optional :: array(:) !$omp parallel default(n

[Bug tree-optimization/94655] [10 Regression] Implicit assignment operator triggers stringop-overflow warning since r10-5451-gef29b12cfbb4979a

2020-04-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94655 --- Comment #3 from Martin Sebor --- Using the base object in the MEM_REF instead of the member when accessing another member should certainly fix it. Another option might be to somehow mark up these synthesized stores (e.g., by setting some cur

[Bug tree-optimization/94655] [10 Regression] Implicit assignment operator triggers stringop-overflow warning since r10-5451-gef29b12cfbb4979a

2020-04-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94655 --- Comment #4 from Jakub Jelinek --- I don't see how it makes a difference between whether it is a store created by the vectorizer or some original user store. What matters is what ADDR_EXPR picks up SCCVN for the base, and it will pick up the f

[Bug c++/94549] [10 Regression] Inherited and constrained constructors are "ambiguous" even if they aren't

2020-04-20 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94549 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug d/94623] ice for ./gdc.test/compilable/interpret3.d

2020-04-20 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94623 --- Comment #12 from Iain Buclaw --- (In reply to David Binderman from comment #11) > (In reply to David Binderman from comment #10) > > (In reply to David Binderman from comment #6) > > > I'll reduce the checking flags down to "no" and see what

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-20 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #5 from Thomas Koenig --- So, the problem seems to be that sym->attr.subref_array_pointer is not set on the original test case. It should be set by p => get(r(:)) (or by an equivalent call get2(r)) because we don't know what the part

[Bug target/94650] Missed x86-64 peephole optimization: x >= large power of two

2020-04-20 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94650 Uroš Bizjak changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail dot com

[Bug c++/94560] ICE on recursive templated alias

2020-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94560 --- Comment #2 from Marek Polacek --- This ICE is the same as the second test in bug 93085.

[Bug c++/94575] Bogus warning: Used variable is “not” used

2020-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94575 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug d/94623] ice for ./gdc.test/compilable/interpret3.d

2020-04-20 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94623 --- Comment #13 from David Binderman --- (In reply to Iain Buclaw from comment #12) > (In reply to David Binderman from comment #11) > > Checking flag "extra" is the one. > > Without knowing too much about what that checking flag does. That wou

[Bug tree-optimization/94655] [10 Regression] Implicit assignment operator triggers stringop-overflow warning since r10-5451-gef29b12cfbb4979a

2020-04-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94655 --- Comment #5 from Martin Sebor --- We want stores by user code to be diagnosed based on strict language rules (e.g., accessing a member via a reference to another member). To do that we either have to teach the middle end to avoid taking short

[Bug c++/94575] Bogus warning: Used variable is “not” used

2020-04-20 Thread bisqwit at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94575 --- Comment #2 from Joel Yliluoma --- Sorry, the error Marek Polacek mentions is due to a copypaste mistake on my part. The correct code that demonstrates the problem is here. The difference is the && instead of &. #include template static void

[Bug c++/94575] Bogus warning: Used variable is “not” used

2020-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94575 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/94673] New: [concepts] What is the return type of local parameters of requires expressions?

2020-04-20 Thread gcc-bugs at marehr dot dialup.fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94673 Bug ID: 94673 Summary: [concepts] What is the return type of local parameters of requires expressions? Product: gcc Version: 10.0 Status: UNCONFIRMED Severity:

[Bug d/94623] ice for ./gdc.test/compilable/interpret3.d

2020-04-20 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94623 --- Comment #14 from Iain Buclaw --- (In reply to David Binderman from comment #13) > (In reply to Iain Buclaw from comment #12) > > (In reply to David Binderman from comment #11) > > > Checking flag "extra" is the one. > > > > Without knowing t

[Bug middle-end/94647] [10 Regression] bogus -Warray-bounds on strncpy into a larger member array from a smaller array

2020-04-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94647 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug target/94613] S/390, powerpc: Wrong code generated for vec_sel builtin

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94613 --- Comment #8 from CVS Commits --- The master branch has been updated by Andreas Krebbel : https://gcc.gnu.org/g:2930bb321794c241d8df5591a5bf447bf89c6e82 commit r10-7827-g2930bb321794c241d8df5591a5bf447bf89c6e82 Author: Andreas Krebbel Date:

[Bug d/94623] ice for ./gdc.test/compilable/interpret3.d

2020-04-20 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94623 --- Comment #15 from Iain Buclaw --- Created attachment 48316 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48316&action=edit adjust hardcoded index of Error.bypassException Can you apply this and see if it goes away? If this fixes it, t

[Bug libstdc++/92156] Cannot in-place construct std::any with std::any

2020-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92156 Jonathan Wakely changed: What|Removed |Added Keywords||patch --- Comment #3 from Jonathan Wak

[Bug c++/94673] [concepts] What is the return type of local parameters of requires expressions?

2020-04-20 Thread gcc-bugs at marehr dot dialup.fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94673 --- Comment #1 from gcc-bugs at marehr dot dialup.fu-berlin.de --- After playing with this a bit more, I found out that clang actually behaves differently: ```c++ #include #include template concept same_as = std::is_same_v; template concept

[Bug c++/94674] New: std::ranges::basic_istream_view::iterator is missing std::iterator_traits entries

2020-04-20 Thread gcc-bugs at marehr dot dialup.fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94674 Bug ID: 94674 Summary: std::ranges::basic_istream_view::iterator is missing std::iterator_traits entries Product: gcc Version: 10.0 Status: UNCONFIRMED Severity

[Bug target/94622] testsuite/gcc.dg/atomic/c11-atomic-exec-1.c fails on powerpc64le with -mpcrel

2020-04-20 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94622 --- Comment #2 from acsawdey at gcc dot gnu.org --- Solution is going to be to always use plq if prefixed, which makes sense anyway for little endian because it avoids the ugly doubleword swap.

[Bug c++/85046] [8/9/10 Regression] cp/name-lookup.c:6175:53: runtime error: member access within null pointer of type 'struct cp_binding_level'

2020-04-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85046 --- Comment #8 from Nathan Sidwell --- the reduced testcases no longer crash the compiler. The first emits a correct error, the second succeeds. The original testcase still crashes the compiler, after emitting a slew of errors about ill-formed

[Bug target/94666] S/390: ICE on vectorized popcount

2020-04-20 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94666 Andreas Krebbel changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/94383] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on aarch64

2020-04-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94383 --- Comment #11 from Jakub Jelinek --- Created attachment 48317 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48317&action=edit gcc10-pr94383.patch Testsuite coverage. This passes make -j32 -k check-c++-all RUNTESTFLAGS=struct-layout-1.e

[Bug c/94669] libcc1: 4 * minor performance problem

2020-04-20 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94669 Jan Kratochvil changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment #

[Bug d/94623] ice for ./gdc.test/compilable/interpret3.d

2020-04-20 Thread dcb314 at hotmail dot com
/home/dcb/gcc/results.20200420.d5/libexec/gcc/x86_64-pc-linux-gnu/10.0.1/d21 version v2.076.1 predefs GNU D_Version2 LittleEndian GNU_DWARF2_Exceptions GNU_StackGrowsDown GNU_InlineAsm D_LP64 assert D_ModuleInfo D_Exceptions D_TypeInfo all X86_64 D_HardFloat Posix linux CRuntime_Gl

[Bug c/94669] libcc1: 4 * minor performance problem

2020-04-20 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94669 --- Comment #3 from David Binderman --- (In reply to Jan Kratochvil from comment #2) > These fixes are very simple, maybe you can check it in as obvious? Sorry no, I have no checkin permission. > BTW the file was written by Alexandre Oliva, I w

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-20 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/94628] [8/9/10 Regression] ICE in invalid_nonstatic_memfn_p at cp/typeck.c:1979 since r9-640-g1268ecc26fc1289b

2020-04-20 Thread xerofoify at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94628 --- Comment #9 from Nicholas Krause --- Created attachment 48318 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48318&action=edit Possible Fix

[Bug c++/94628] [8/9/10 Regression] ICE in invalid_nonstatic_memfn_p at cp/typeck.c:1979 since r9-640-g1268ecc26fc1289b

2020-04-20 Thread xerofoify at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94628 --- Comment #10 from Nicholas Krause --- (In reply to Martin Liška from comment #8) > (In reply to Nicholas Krause from comment #7) > > After adding this it seems to work for me, Patrick: > >case TYPE_ARGUMENT_PACK: > > if (value_depe

[Bug c++/94628] [8/9/10 Regression] ICE in invalid_nonstatic_memfn_p at cp/typeck.c:1979 since r9-640-g1268ecc26fc1289b

2020-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94628 --- Comment #11 from Marek Polacek --- (In reply to Nicholas Krause from comment #9) > Created attachment 48318 [details] > Possible Fix No, it's not a fix, it just replaces an ICE with another ICE, as Martin already pointed out: 94628-3.C:5:40

[Bug c++/94255] template specialization in different namespace causes crash

2020-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94255 --- Comment #6 from Marek Polacek --- Patch approved for GCC 11: https://gcc.gnu.org/pipermail/gcc-patches/2020-April/544081.html

[Bug c++/94628] [8/9/10 Regression] ICE in invalid_nonstatic_memfn_p at cp/typeck.c:1979 since r9-640-g1268ecc26fc1289b

2020-04-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94628 --- Comment #12 from Martin Liška --- > How many times do you have to be told to test your patches? Besides, > Patrick is already working on this PR. As Marek said, it's really unpleasant to send untested patches and so come up with noise in bu

[Bug other/94629] 10 issues located by the PVS-studio static analyzer

2020-04-20 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94629 Thomas Schwinge changed: What|Removed |Added CC||frederik at gcc dot gnu.org,

[Bug d/94623] ice for ./gdc.test/compilable/interpret3.d

2020-04-20 Thread ibuclaw at gcc dot gnu.org
--- Comment #17 from ibuclaw at gcc dot gnu.org --- (In reply to David Binderman from comment #16) > > I am struggling to understand what this output means: > > binary > /home/dcb/gcc/results.20200420.d5/libexec/gcc/x86_64-pc-linux-gnu/10.0.1/d21 > version v2.076.1 > pre

[Bug libstdc++/94674] std::ranges::basic_istream_view::iterator is missing std::iterator_traits entries

2020-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94674 --- Comment #1 from Jonathan Wakely --- This is a known defect in the C++20 draft: https://cplusplus.github.io/LWG/issue3394

[Bug c++/94505] Logical operator inside fold-expression: strange warning

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94505 --- Comment #1 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:5bdd4c5d3fc9c143e8edea3b10828e4b75d7a385 commit r10-7830-g5bdd4c5d3fc9c143e8edea3b10828e4b75d7a385 Author: Marek Polacek Date: Su

[Bug fortran/92993] [8/9/10 Regression] ICE in maybe_canonicalize_comparison_1, at fold-const.c:8845

2020-04-20 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92993 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org ---

[Bug libstdc++/94674] std::ranges::basic_istream_view::iterator is missing std::iterator_traits entries

2020-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94674 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/92993] [8/9/10 Regression] ICE in maybe_canonicalize_comparison_1, at fold-const.c:8845

2020-04-20 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92993 --- Comment #5 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #4) > The testcase in comment#0 compiles for me with today's master. Read: does not ICE; just gives an appropriate error message: z1.f90:8:6: 8 | funct

[Bug c++/94590] Incorrectly accepts invalid C++11 braced initialisation of double from long double if sizeof(long double)==sizeof(double)

2020-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94590 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #5 from Marek Polacek

[Bug tree-optimization/94675] New: [9 regression] -Warray-bounds false positive with -O2

2020-04-20 Thread chantry.xavier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94675 Bug ID: 94675 Summary: [9 regression] -Warray-bounds false positive with -O2 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c++/94505] Logical operator inside fold-expression: strange warning

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94505 --- Comment #2 from CVS Commits --- The releases/gcc-9 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:83eeda5f004c3b9cbeccd3da1c3fe58b3015e55f commit r9-8518-g83eeda5f004c3b9cbeccd3da1c3fe58b3015e55f Author: Marek Polacek Dat

[Bug c++/94505] Logical operator inside fold-expression: strange warning

2020-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94505 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/90591] Avoid unnecessary data transfer out of OMP construct

2020-04-20 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90591 Thomas Schwinge changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Ever co

[Bug libstdc++/94674] std::ranges::basic_istream_view::iterator is missing std::iterator_traits entries

2020-04-20 Thread gcc-bugs at marehr dot dialup.fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94674 --- Comment #3 from gcc-bugs at marehr dot dialup.fu-berlin.de --- Thank you for pointing me to this. I find this highly unexpected. There was made a change to `std::type_traits` in C++20 that sets default values, but it does not apply to all ite

[Bug d/94623] ice for ./gdc.test/compilable/interpret3.d

2020-04-20 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94623 --- Comment #18 from Iain Buclaw --- (In reply to ibuclaw from comment #17) > It's picking up the modules from a system location. These most certainly > don't belong to the gdc compiler. Which bad package maintainer is > installing compiler-spe

[Bug fortran/92065] [8/9/10 Regression] internal compiler error: in expand_expr_real_1

2020-04-20 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92065 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org ---

[Bug d/94623] ice for ./gdc.test/compilable/interpret3.d

2020-04-20 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94623 --- Comment #19 from David Binderman --- (In reply to ibuclaw from comment #17) > (In reply to David Binderman from comment #16) > > > > I am struggling to understand what this output means: > > > It's picking up the modules from a system locat

[Bug d/94623] ice for ./gdc.test/compilable/interpret3.d

2020-04-20 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94623 --- Comment #20 from Iain Buclaw --- (In reply to David Binderman from comment #19) > (In reply to ibuclaw from comment #17) > > (In reply to David Binderman from comment #16) > > > > > > I am struggling to understand what this output means: > >

[Bug rtl-optimization/92430] [9 Regression] Compile-time hog w/ -Os -fno-if-conversion -fno-tree-dce -fno-tree-loop-optimize -fno-tree-vrp

2020-04-20 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92430 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #10 f

[Bug ipa/93385] [10 Regression] wrong code with u128 modulo at -O2 -fno-dce -fno-ipa-cp -fno-tree-dce

2020-04-20 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93385 --- Comment #30 from Martin Jambor --- Created attachment 48320 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48320&action=edit Todays WIP patch This is my todays (still very much) WIP patch. - It marks statements which should not be cop

[Bug middle-end/94635] [OpenMP][Offloading] mapping with alloc/delete followed by map(from/tofrom:) fails

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94635 --- Comment #4 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:3f5d94c192b81a3868f32f309dadd5571ef51cdf commit r10-7833-g3f5d94c192b81a3868f32f309dadd5571ef51cdf Author: Thomas Schwinge Date:

[Bug middle-end/94647] [10 Regression] bogus -Warray-bounds on strncpy into a larger member array from a smaller array

2020-04-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94647 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Sebor -

[Bug libstdc++/94674] std::ranges::basic_istream_view::iterator is missing std::iterator_traits entries

2020-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94674 --- Comment #4 from Jonathan Wakely --- That iterator doesn't have a pointer type, because in the new Ranges world that type is not useful. It is no longer required for iterators to have operator-> so what does the 'pointer' type even mean?

[Bug libstdc++/94674] std::ranges::basic_istream_view::iterator is missing std::iterator_traits entries

2020-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94674 --- Comment #5 from Jonathan Wakely --- Your mistake is thinking that the iterators of views are like the iterators you're used to. They're not. They have different properties (e.g. they might not be copyable, they might not have operator->, th

[Bug c++/91241] [8/9/10 Regression] internal compiler error: symtab_node::verify failed

2020-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241 --- Comment #8 from Marek Polacek --- Ping, can we get this fixed in GCC 10?

[Bug fortran/92993] [8/9 Regression] ICE in maybe_canonicalize_comparison_1, at fold-const.c:8845

2020-04-20 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92993 Thomas Koenig changed: What|Removed |Added Summary|[8/9/10 Regression] ICE in |[8/9 Regression] ICE in

[Bug target/91970] arm: 64bit int to double conversion does not respect rounding mode

2020-04-20 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91970 --- Comment #13 from joseph at codesourcery dot com --- bpabi-lib.h is the existing mechanism for renaming libgcc2.c functions and declaring them with __attribute__((pcs("aapcs"))). (But when causing more such functions to be used, or such fun

[Bug tree-optimization/94675] [9 regression] -Warray-bounds false positive with -O2

2020-04-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94675 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #1

[Bug c++/94628] [8/9/10 Regression] ICE in invalid_nonstatic_memfn_p at cp/typeck.c:1979 since r9-640-g1268ecc26fc1289b

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94628 --- Comment #13 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:a3a4f6be0c7ac1536c4d1def14217840b04dd488 commit r10-7835-ga3a4f6be0c7ac1536c4d1def14217840b04dd488 Author: Patrick Palka Date: M

[Bug c++/43382] [C++0x] ICE with auto return type and variadic templates

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43382 --- Comment #8 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:a3a4f6be0c7ac1536c4d1def14217840b04dd488 commit r10-7835-ga3a4f6be0c7ac1536c4d1def14217840b04dd488 Author: Patrick Palka Date: Mo

[Bug c++/94628] [8/9 Regression] ICE in invalid_nonstatic_memfn_p at cp/typeck.c:1979 since r9-640-g1268ecc26fc1289b

2020-04-20 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94628 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|NEW Summary|[8/9/10 Regressio

[Bug c/94382] conflicting function types should show more context

2020-04-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94382 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug c++/90254] [8/9/10 Regression] ice on aggregate initialization of unmovable base

2020-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90254 --- Comment #3 from Marek Polacek --- This reduced test actually regressed with r241187: struct A { A(A &); }; struct B : A { }; A foo (); int main () { B{foo()}; } $ ./cc1plus -quiet x.C -std=c++17 during RTL pass: expand x.C: In functio

[Bug libfortran/93871] COTAN is slow for complex types

2020-04-20 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93871 --- Comment #49 from Fritz Reese --- (In reply to ktkachov from comment #48) > (In reply to CVS Commits from comment #45) [...] > > I think this broke the build for bare-metal (newlib) targets like > aarch64-none-elf: > > libgfortran/intrinsics

[Bug c++/94592] [10 Regression] ICE in non-type template parameter with constexpr constructor

2020-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94592 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/94592] [10 Regression] ICE in non-type template parameter with constexpr constructor

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94592 --- Comment #10 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:d419e176d74162af6513be0b3bc1031726543993 commit r10-7836-gd419e176d74162af6513be0b3bc1031726543993 Author: Marek Polacek Date: F

[Bug c++/91465] [9 Regression] unexpected expression of kind overload (ICE)

2020-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 Bug 91465 depends on bug 94592, which changed state. Bug 94592 Summary: [10 Regression] ICE in non-type template parameter with constexpr constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94592 What|Removed

[Bug c++/90254] [8/9/10 Regression] ice on aggregate initialization of unmovable base

2020-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90254 --- Comment #4 from Marek Polacek --- But this one is accepted by icc/clang++ yet we ICE: struct A { A(); A(const A &); }; struct B : A { }; A foo (); int main () { B b{foo()}; }

[Bug fortran/69101] [F03] IEEE_SELECTED_REAL_KIND is not generic

2020-04-20 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69101 Dominique d'Humieres changed: What|Removed |Added Status|ASSIGNED|NEW

[Bug c++/94671] Wrong behavior with operator new overloading when using O2 for optimization

2020-04-20 Thread b...@odd-e.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94671 --- Comment #9 from Bas Vodde --- Hi Jonathan, You are right, I was drawing much too many conclusions there. I should have waited with that comment until I slept :) Sorry for that. And it has been a while since I read the proposal, it has been

[Bug c++/94676] New: constexpr destructors run too late for temporaries created inside __builtin_constant_p

2020-04-20 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94676 Bug ID: 94676 Summary: constexpr destructors run too late for temporaries created inside __builtin_constant_p Product: gcc Version: unknown Status: UNCONFIRMED

[Bug rtl-optimization/92430] [9 Regression] Compile-time hog w/ -Os -fno-if-conversion -fno-tree-dce -fno-tree-loop-optimize -fno-tree-vrp

2020-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92430 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|9.4

[Bug c++/94677] New: [10 Regression] ICE: verify_cgraph_node failed (error: invalid calls_comdat_local flag) when compiling LLVM 10.0.0

2020-04-20 Thread marvin_schmidt at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94677 Bug ID: 94677 Summary: [10 Regression] ICE: verify_cgraph_node failed (error: invalid calls_comdat_local flag) when compiling LLVM 10.0.0 Product: gcc Version: 10

[Bug bootstrap/92008] Build failure on cygwin

2020-04-20 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92008 --- Comment #22 from Akim Demaille --- FWIW, the version in the glibc was updated to use "%parse-params" and "%define api.pure full" five years ago. https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=intl/plural.y;hb=6d248857845aee307440a770

[Bug tree-optimization/90591] Avoid unnecessary data transfer out of OMP construct

2020-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90591 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug rtl-optimization/31485] C complex numbers, amd64 SSE, missed optimization opportunity

2020-04-20 Thread bisqwit at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31485 --- Comment #11 from Joel Yliluoma --- Looks like this issue has taken a step or two *backwards* in the past years. Where as the second function used to be vectorized properly, today it seems neither of them are. Contrast this with Clang, which

[Bug tree-optimization/94675] [9 regression] -Warray-bounds false positive with -O2

2020-04-20 Thread chantry.xavier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94675 --- Comment #2 from Xavier --- Note that in our code, we are not even dereferencing the pointer, it's just ps->s += len. And since we always keep a pointer right after the array (p_end / s_end), won't that be a source of problems for Warray-boun

[Bug d/94623] ice for ./gdc.test/compilable/interpret3.d

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94623 --- Comment #21 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:46cf683bf16491a0bd1d77d8b0cce0e11cf1d46f commit r10-7839-g46cf683bf16491a0bd1d77d8b0cce0e11cf1d46f Author: Iain Buclaw Date: Tue A

<    1   2