[Bug rtl-optimization/92591] ICE in optimize_sc, at modulo-sched.c:1063

2019-11-27 Thread zhroma at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92591 Roman Zhuykov changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug rtl-optimization/92591] ICE in optimize_sc, at modulo-sched.c:1063

2019-11-27 Thread zhroma at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92591 --- Comment #2 from Roman Zhuykov --- Created attachment 47379 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47379&action=edit Proposed patch

[Bug rtl-optimization/92591] ICE in optimize_sc, at modulo-sched.c:1063

2019-11-27 Thread zhroma at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92591 --- Comment #3 from Roman Zhuykov --- Created attachment 47380 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47380&action=edit Parameters patch

[Bug ipa/92697] New: IPA-SRA modifies ifunc_resolvers

2019-11-27 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92697 Bug ID: 92697 Summary: IPA-SRA modifies ifunc_resolvers Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Ass

[Bug tree-optimization/90264] [9/10 Regression] -Wnull-dereference QoI issue

2019-11-27 Thread zhroma at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90264 --- Comment #6 from Roman Zhuykov --- Ok, this seems quite clear from compiler developer point of view. But I still want to add, that for compiler user, who knows how asprintf function works, "Line A" version is correct and warning seems unneces

[Bug tree-optimization/90264] [9/10 Regression] -Wnull-dereference QoI issue

2019-11-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90264 --- Comment #7 from Jakub Jelinek --- Either the function guarantees that *seq will be always non-NULL (at least if the call doesn't return negative), but then there is no point in using out && *out, you can as well just use *out, because out wil

[Bug rtl-optimization/92510] [10 Regression] ICE in native_encode_rtx, at simplify-rtx.c:6272

2019-11-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92510 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Wed Nov 27 16:32:54 2019 New Revision: 278777 URL: https://gcc.gnu.org/viewcvs?rev=278777&root=gcc&view=rev Log: PR rtl-optimization/92510 * combine.c (gen_lowpart_for_com

[Bug rtl-optimization/92510] [10 Regression] ICE in native_encode_rtx, at simplify-rtx.c:6272

2019-11-27 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92510 --- Comment #7 from rsandifo at gcc dot gnu.org --- (In reply to Segher Boessenkool from comment #5) > (In reply to Jakub Jelinek from comment #4) > > I don't mind if simplify_subreg doesn't call native_encode_rtx in the cases > > where it ICEs

[Bug rtl-optimization/92510] [10 Regression] ICE in native_encode_rtx, at simplify-rtx.c:6272

2019-11-27 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92510 --- Comment #8 from rsandifo at gcc dot gnu.org --- (In reply to rsand...@gcc.gnu.org from comment #7) > As Jakub mentioned in comment 1, the native_encode_rtx ICE is coming > from the call: > > simplify_subreg (DImode, const1_rtx, V1DImode,

[Bug c++/92695] P1064R0 - virtual constexpr fails if object taken from array

2019-11-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92695 Jakub Jelinek changed: What|Removed |Added Assignee|mpolacek at gcc dot gnu.org|jakub at gcc dot gnu.org --- Comm

[Bug preprocessor/92696] #pragma GCC diagnostic ... interferes with if/else

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92696 --- Comment #2 from Andrew Pinski --- Also #pragma are considered statements. There is another issue like this but instead using _Pragma .

[Bug target/92693] Inconsistency between __UINTPTR_TYPE__ and __UINT32_TYPE__ on ARM

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92693 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/92283] [10 Regression] 454.calculix miscomparison since r276645 with -O2 -march=znver2

2019-11-27 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92283 --- Comment #25 from rguenther at suse dot de --- On November 27, 2019 2:36:38 PM GMT+01:00, "vmakarov at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92283 > >--- Comment #24 from Vladimir Makarov --- >(In reply to Ric

[Bug c++/92695] P1064R0 - virtual constexpr fails if object taken from array

2019-11-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92695 --- Comment #6 from Jakub Jelinek --- Created attachment 47383 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47383&action=edit gcc10-pr92695.patch And here is a fix for the bogus warning. inline or constexpr on pure virtual functions loo

[Bug target/92694] Can't build powerpc-eabi cross compiler: : fatal error: internal error: builtin function ‘__builtin_ddedpd’ had an unexpected return type ‘DD’

2019-11-27 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92694 Joseph S. Myers changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/92661] [10 Regression] Bootstrap failure with builtin-types.def change

2019-11-27 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92661 Joseph S. Myers changed: What|Removed |Added CC||green at redhat dot com --- Comment #7

[Bug lto/91273] [8/9/10 Regression] ICE in warn_types_mismatch at ipa-devirt.c:995

2019-11-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91273 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/91222] [10 Regression] 507.cactuBSSN_r build fails in warn_types_mismatch at ipa-devirt.c:1006 since r273571

2019-11-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91222 --- Comment #30 from Martin Liška --- *** Bug 91273 has been marked as a duplicate of this bug. ***

[Bug ipa/92697] IPA-SRA modifies ifunc_resolvers

2019-11-27 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92697 --- Comment #1 from Martin Jambor --- And for the record, I'm testing a patch.

[Bug tree-optimization/92596] [10 Regression] ICE in exact_div, at poly-int.h:2162 since r278406

2019-11-27 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92596 --- Comment #10 from rsandifo at gcc dot gnu.org --- Since it's been a while since the last update: I've been trying various non-invasive ways of fixing it, but even if they seem to be strict improvements, they still leave open obvious traps of

[Bug target/92692] [9/10 Regression] Saving off the callee saved register between ldxr/stxr (caused by shrink wrapping improvements)

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92692 --- Comment #1 from Andrew Pinski --- >it turns out the issue is a gcc issue and a glibc issue. NOTE I had missed out a word here: This should have read: it turns out the issue is a gcc issue and NOT a glibc issue.

[Bug preprocessor/92696] #pragma GCC diagnostic ... interferes with if/else

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92696 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Also #pragma are considered statements. There is another issue like this > but instead using _Pragma . I should say some Pragmas are considered statements. See

[Bug fortran/92698] New: Unnecessary copy in overlapping array assignment

2019-11-27 Thread mjr19 at cam dot ac.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92698 Bug ID: 92698 Summary: Unnecessary copy in overlapping array assignment Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/92692] [9/10 Regression] Saving off the callee saved register between ldxr/stxr (caused by shrink wrapping improvements)

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92692 Andrew Pinski changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org --- Comment

[Bug c++/92695] P1064R0 - virtual constexpr fails if object taken from array

2019-11-27 Thread lutztonineubert at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92695 --- Comment #7 from Toni Neubert --- First of all thank you very much for your extremly fast help! I testet the patch and it did work for my second example. But this one still fails, if we do not use the addressof function: struct A { v

[Bug target/92190] [10 Regression] ICE in sp_valid_at, at config/i386/i386.c:6162 since r276648

2019-11-27 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92190 --- Comment #8 from Uroš Bizjak --- (In reply to Liu Hao from comment #7) > MSDN says 'the upper portions of YMM0-15 and ZMM0-15 are considered volatile > and must be considered destroyed on function calls' explicitly [1]. > > I am not clear abo

[Bug bootstrap/92661] [10 Regression] Bootstrap failure with builtin-types.def change

2019-11-27 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92661 Segher Boessenkool changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot gnu.org

[Bug c/92699] New: Slash should be removed from C/C++ plugin install destination

2019-11-27 Thread brechtsanders at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92699 Bug ID: 92699 Summary: Slash should be removed from C/C++ plugin install destination Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/92190] [10 Regression] ICE in sp_valid_at, at config/i386/i386.c:6162 since r276648

2019-11-27 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92190 --- Comment #9 from Uroš Bizjak --- (In reply to Liu Hao from comment #7) > MSDN says 'the upper portions of YMM0-15 and ZMM0-15 are considered volatile > and must be considered destroyed on function calls' explicitly [1]. BTW: MSDN is clear tha

[Bug bootstrap/92661] [10 Regression] Bootstrap failure with builtin-types.def change

2019-11-27 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92661 --- Comment #9 from Peter Bergner --- Author: bergner Date: Wed Nov 27 20:55:56 2019 New Revision: 278783 URL: https://gcc.gnu.org/viewcvs?rev=278783&root=gcc&view=rev Log: Do not define DFP builtin functions, if DFP has been disabled.

[Bug target/92190] [10 Regression] ICE in sp_valid_at, at config/i386/i386.c:6162 since r276648

2019-11-27 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92190 --- Comment #10 from rsandifo at gcc dot gnu.org --- (In reply to Uroš Bizjak from comment #8) > (In reply to Liu Hao from comment #7) > > MSDN says 'the upper portions of YMM0-15 and ZMM0-15 are considered volatile > > and must be considered de

[Bug c++/92700] New: wrong "unintialized" warning with std::optional

2019-11-27 Thread f.heckenb...@fh-soft.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92700 Bug ID: 92700 Summary: wrong "unintialized" warning with std::optional Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/92695] P1064R0 - virtual constexpr fails if object taken from array

2019-11-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92695 --- Comment #8 from Jakub Jelinek --- Created attachment 47384 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47384&action=edit gcc10-pr92695-3.patch That is another bug.

[Bug c++/92695] P1064R0 - virtual constexpr fails if object taken from array

2019-11-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92695 Jakub Jelinek changed: What|Removed |Added Attachment #47383|0 |1 is obsolete|

[Bug c++/92411] conformance issue with reinterpret_cast in constant expressions

2019-11-27 Thread Darrell.Wright at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92411 --- Comment #1 from Darrell Wright --- sorry, posted incorrect CE link, but code below demonstrates it

[Bug bootstrap/92661] [10 Regression] Bootstrap failure with builtin-types.def change

2019-11-27 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92661 Peter Bergner changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #10 from Peter Berg

[Bug target/92692] [9/10 Regression] Saving off the callee saved register between ldxr/stxr (caused by shrink wrapping improvements)

2019-11-27 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92692 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #3 from Wil

[Bug target/92692] [9/10 Regression] Saving off the callee saved register between ldxr/stxr (caused by shrink wrapping improvements)

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92692 --- Comment #4 from Andrew Pinski --- (In reply to Wilco from comment #3) > (In reply to Andrew Pinski from comment #2) > > I think this has been a latent bug since revision 243200: > > [AArch64] Separate shrink wrapping hooks implementation

[Bug c++/92206] [10 Regression] ICE in strip_typedefs, at cp/tree.c:1682 since r277281

2019-11-27 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92206 --- Comment #12 from Jason Merrill --- Author: jason Date: Wed Nov 27 22:05:41 2019 New Revision: 278784 URL: https://gcc.gnu.org/viewcvs?rev=278784&root=gcc&view=rev Log: PR c++/92206 - ICE with typedef to dependent alias. rsandifo's p

[Bug fortran/92701] New: ICE assigning to assumed rank derived type component

2019-11-27 Thread abensonca at gmail dot com
compression algorithms: zlib gcc version 10.0.0 20191127 (experimental) (GCC) $ gfortran -c bug.F90 -o bug.o f951: internal compiler error: Segmentation fault 0xdd4adf crash_signal ../../gcc-trunk/gcc/toplev.c:328 0x7fa79dd101ef ??? /data001/abenson/Galacticus/Tools/glibc-2.12.1

[Bug rtl-optimization/90007] [9/10 Regression] ICE in extract_constrain_insn_cached, at recog.c:2223

2019-11-27 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90007 --- Comment #14 from Vladimir Makarov --- (In reply to Segher Boessenkool from comment #13) > Does that work? You cannot put all hard registers in memory I think? > Or do we require that and it is just not documented? It depends on insns. For

[Bug target/92692] [9/10 Regression] Saving off the callee saved register between ldxr/stxr (caused by shrink wrapping improvements)

2019-11-27 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92692 --- Comment #5 from Wilco --- (In reply to Andrew Pinski from comment #4) > (In reply to Wilco from comment #3) > > (In reply to Andrew Pinski from comment #2) > > > I think this has been a latent bug since revision 243200: > > > [AArch64] Se

[Bug fortran/92701] ICE assigning to assumed rank derived type component

2019-11-27 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92701 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/92692] [9/10 Regression] Saving off the callee saved register between ldxr/stxr (caused by shrink wrapping improvements)

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92692 --- Comment #6 from Andrew Pinski --- (In reply to Wilco from comment #5) > Well I'm looking at the latest version > (https://static.docs.arm.com/ddi0487/ea/DDI0487E_a_armv8_arm.pdf) where in > figure B2-5 it explicitly states that a store that d

[Bug c++/92675] sign-conversion C++ unsigned int j = -1;

2019-11-27 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92675 --- Comment #5 from Jonny Grant --- I tried godbolt trunk again for C++ today with -Wsign-conversion and it does give a warning. I can only think I made a mistake while checking - unless a patch has just gone in?

[Bug tree-optimization/92689] Improve stmt_may_clobber_ref_p_1 on constant memory reference

2019-11-27 Thread fxue at os dot amperecomputing.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92689 --- Comment #6 from Feng Xue --- Good case. I did missed something, a const pointer does not imply it is restrict and for a real const data, we can even create a non-const pointer alias to it by using explicit type cast.

[Bug c/66773] sign-compare warning for == and != are pretty useless

2019-11-27 Thread daniel.marjamaki at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66773 --- Comment #20 from Daniel Marjamäki --- (In reply to Segher Boessenkool from comment #15) > (In reply to Daniel Marjamäki from comment #12) > > So, how would you fix the warning for `f`? Many programmers would "fix" it > > with a cast. > > > >

[Bug target/92566] rs6000_preferred_simd_mode isn't very good

2019-11-27 Thread linkw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92566 --- Comment #13 from Kewen Lin --- Author: linkw Date: Thu Nov 28 06:34:31 2019 New Revision: 278800 URL: https://gcc.gnu.org/viewcvs?rev=278800&root=gcc&view=rev Log: [rs6000] Fix PR92566 by checking VECTOR_UNIT_NONE_P As Segher pointed out in

[Bug target/92566] rs6000_preferred_simd_mode isn't very good

2019-11-27 Thread linkw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92566 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/92591] ICE in optimize_sc, at modulo-sched.c:1063

2019-11-27 Thread zhroma at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92591 Roman Zhuykov changed: What|Removed |Added Attachment #47379|0 |1 is obsolete|

[Bug c++/92700] wrong "unintialized" warning with std::optional

2019-11-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92700 Richard Biener changed: What|Removed |Added Keywords||diagnostic Blocks|

[Bug bootstrap/92699] Slash should be removed from C/C++ plugin install destination

2019-11-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92699 Richard Biener changed: What|Removed |Added Keywords||build Host|

[Bug preprocessor/92696] #pragma GCC diagnostic ... interferes with if/else

2019-11-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92696 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/92123] [F2018/array-descriptor] Scalar allocatable/pointer with array descriptor (via bind(C)): ICE with select rank or error scalar variable with POINTER or ALLOCATABLE in procedure wit

2019-11-27 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92123 --- Comment #21 from paul.richard.thomas at gmail dot com --- Hi All, I took one of the other fn_spec's as a template - it might well have been internal_pack. Thanks for looking at this. Cheers Paul On Mon, 25 Nov 2019 at 13:04, jakub at gcc

[Bug bootstrap/92699] Slash should be removed from C/C++ plugin install destination

2019-11-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92699 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

<    1   2