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

2020-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94647 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0 --- Comment #2 from Richard Biener

[Bug target/94649] 16-byte aligned atomic_compare_exchange doesn not generate cmpxcg16b on x86_64

2020-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94649 Richard Biener changed: What|Removed |Added Target||x86_64-*-* --- Comment #1 from Richard

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

2020-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94650 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug lto/94659] Missing symbol with LTO and target_clones

2020-04-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94659 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at

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

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

[Bug middle-end/94658] Incorrect transformation with -fstrict-aliasing

2020-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94658 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/57359] store motion causes wrong code for union access at -O3

2020-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 Richard Biener changed: What|Removed |Added CC||pascal_cuoq at hotmail dot com --- Comm

[Bug ipa/94656] target_clones on alias leads to segfault in the compiler

2020-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94656 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/94666] New: 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 Bug ID: 94666 Summary: S/390: ICE on vectorized popcount Product: gcc Version: 9.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug lto/94659] [8/9/10 Regression] Missing symbol with LTO and target_clones since r8-1461-g871cc215f7507cbe

2020-04-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94659 Martin Liška changed: What|Removed |Added Keywords|wrong-code | Summary|Missing symbol with L

[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 Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug ipa/94656] target_clones on alias leads to segfault in the compiler

2020-04-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94656 Martin Liška changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug lto/90500] ICE error in copy_forbiden

2020-04-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90500 Martin Liška changed: What|Removed |Added CC||yyc1992 at gmail dot com --- Comment #22

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

2020-04-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94655 Martin Liška changed: What|Removed |Added Known to work||9.3.0 Last reconfirmed|

[Bug rtl-optimization/94665] missed minmax optimization opportunity for if/else structure.

2020-04-20 Thread z.zhanghaijian at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94665 --- Comment #4 from z.zhanghaijian at huawei dot com --- (In reply to Segher Boessenkool from comment #2) > If vara is a NaN, this is not the same; it needs -ffinite-math-only. > And in fact adding that option does the trick (on powerpc that is,

[Bug c++/94645] [10 Regression][concepts] incorrect concept evaluation with decltype, plus internal error

2020-04-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94645 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Ever confir

[Bug c/94641] -Wpadded -fsanitize=undefined together cause warning on main()

2020-04-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94641 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[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 #8 from Martin Liška --- (In reply to Nicholas Krause from comment #7) > After adding this it seems to work for me, Patrick: >case TYPE_ARGUMENT_PACK: > if (value_dependent_expression_p(TREE_TYPE(*tp))) > return *

[Bug c/94641] -Wpadded -fsanitize=undefined together cause warning on main()

2020-04-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94641 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug rtl-optimization/94665] missed minmax optimization opportunity for if/else structure.

2020-04-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94665 --- Comment #5 from Segher Boessenkool --- Can you show the -fdump-rtl-combine-all dump where that insn is created? It is fine to generate min or max insns here; but you need to handle the case where vara is NaN: you should return that NaN th

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

2020-04-20 Thread dcb314 at hotmail dot com
cc/results.20200420.d \ --disable-bootstrap \ --disable-multilib \ --disable-werror \ --enable-checking=df,extra,fold,rtl,yes \ --enable-languages=d and here is the run: $ ./results.20200420.d/bin/gdc -c trunk.git/gcc/testsuite/gdc.test/compilable/interpret3.d d21

[Bug c/94641] -Wpadded -fsanitize=undefined together cause warning on main()

2020-04-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94641 --- Comment #2 from Jakub Jelinek --- Created attachment 48310 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48310&action=edit gcc10-pr94641.patch Untested fix.

[Bug c/94667] New: GCC duplicates prerequisites when generating 'make' rules if headers are not in current directory

2020-04-20 Thread iskustvo at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94667 Bug ID: 94667 Summary: GCC duplicates prerequisites when generating 'make' rules if headers are not in current directory Product: gcc Version: 9.3.0 Status: UNCONFIRMED

[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 #7 from David Binderman --- >I wonder if creduce understands D ? Yes it does. Reduced D code is void a() { try try try throw new Exception(""); finally throw new Error(""); finally {} catch { } } int b()

[Bug rtl-optimization/94665] missed minmax optimization opportunity for if/else structure.

2020-04-20 Thread z.zhanghaijian at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94665 --- Comment #6 from z.zhanghaijian at huawei dot com --- (In reply to Segher Boessenkool from comment #5) > Can you show the -fdump-rtl-combine-all dump where that insn is > created? > > It is fine to generate min or max insns here; but you ne

[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 #8 from Iain Buclaw --- (In reply to David Binderman from comment #7) > >I wonder if creduce understands D ? > > Yes it does. Reduced D code is > > void a() { > try > try > try > throw new Exception(""); > fina

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

2020-04-20 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93385 --- Comment #28 from rguenther at suse dot de --- On Fri, 17 Apr 2020, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93385 > > --- Comment #26 from Jakub Jelinek --- > For debug stmts, it would be best if we co

[Bug target/94663] [missed optimization] _mm512_dpbusds_epi32 generates excess vmovdqa64

2020-04-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94663 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

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

2020-04-20 Thread ibuclaw at gdcproject dot org
Configure line is now: > > ../trunk.git/configure --prefix=/home/dcb/gcc/results.20200420.d \ > --disable-bootstrap \ > --disable-multilib \ > --disable-werror \ > --enable-checking=df,extra,fold,rtl,yes \ > --enable-languages=d > > and here i

[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 #10 from David Binderman --- (In reply to David Binderman from comment #6) > I'll reduce the checking flags down to "no" and see what happens. It works fine. So it looks like one of the checking flags (df,extra,fold,rtl,yes) breaks

[Bug lto/94659] [8/9/10 Regression] Missing symbol with LTO and target_clones since r8-1461-g871cc215f7507cbe

2020-04-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94659 --- Comment #3 from Martin Liška --- I've got a patch candidate, testing right now.

[Bug target/94668] New: [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 Bug ID: 94668 Summary: [10 Regression] ICE generating float vec_inits since r10-808 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[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 Status|UNCONFIRMED |ASSIGNED Ever confirme

[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 Target Milestone|--- |10.0

[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 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/57359] store motion causes wrong code for union access at -O3

2020-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 --- Comment #22 from Richard Biener --- Created attachment 48311 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48311&action=edit patch Note that apart from the possible bad impact on optimization when fixing this bug an actual fix is comp

[Bug c++/94645] [10 Regression][concepts] incorrect concept evaluation with decltype, plus internal error

2020-04-20 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94645 --- Comment #4 from Avi Kivity --- Yes (at least mine, don't know about Rafael's)

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

2020-04-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93385 --- Comment #29 from Jakub Jelinek --- (In reply to rguent...@suse.de from comment #28) > On Fri, 17 Apr 2020, jakub at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93385 > > > > --- Comment #26 from Jakub Jelinek

[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 #11 from David Binderman --- (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 happens. > > It works fine. So it looks like one

[Bug preprocessor/94667] GCC duplicates prerequisites when generating 'make' rules if headers are not in current directory

2020-04-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94667 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c++/94645] [10 Regression][concepts] incorrect concept evaluation with decltype, plus internal error since r10-7554-gf1ad7bac76b66257

2020-04-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94645 Martin Liška changed: What|Removed |Added CC||jason at gcc dot gnu.org Known to wo

[Bug c++/94645] [10 Regression][concepts] incorrect concept evaluation with decltype, plus internal error since r10-7554-gf1ad7bac76b66257

2020-04-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94645 Martin Liška changed: What|Removed |Added Status|WAITING |NEW

[Bug c++/33799] Return value's destructor not executed when a local variable's destructor throws

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

[Bug gcov-profile/94570] -fprofile-dir is broken on Cygwin

2020-04-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94570 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug gcov-profile/94570] -fprofile-dir is broken on Cygwin

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94570 --- Comment #14 from CVS Commits --- The releases/gcc-9 branch has been updated by Martin Liska : https://gcc.gnu.org/g:5c09a1b71bb96d1fd6488d040b65001807fd16c2 commit r9-8513-g5c09a1b71bb96d1fd6488d040b65001807fd16c2 Author: Martin Liska Date

[Bug tree-optimization/93674] [8/9 Regression] GCC eliminates conditions it should not, when strict-enums is on

2020-04-20 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93674 Richard Earnshaw changed: What|Removed |Added Resolution|FIXED |--- Summary|[8/9/10 Regres

[Bug sanitizer/94307] Provide a way to declare the *SAN exception handler -fsanitize-undefined-trap-on-error

2020-04-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94307 --- Comment #8 from Martin Liška --- @Kees: Any update on kernel side?

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

2020-04-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94629 --- Comment #18 from Martin Liška --- The code in ipa_polymorphic_call_context::set_by_invariant seems fishy. It's there since the beginning: r5-3634-g6f8091fc3ed9d3cfa7a6dee7e9f9a34eb4308b2a. @Honza: Can you please take a look?

[Bug preprocessor/94667] GCC duplicates prerequisites when generating 'make' rules if headers are not in current directory

2020-04-20 Thread iskustvo at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94667 --- Comment #2 from Ivan Balevic --- Yes, you are correct, this issue doesn't affect the execution of 'make'. Nevertheless, I don't see a reason for GCC to duplicate prerequisites. Furthermore, it should at least be consistent regardless of invol

[Bug middle-end/94120] [OpenACC] ICE in gimplify_adjust_omp_clauses_1 for 'declare' for variable outside scope

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94120 --- Comment #9 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:85d8c05a02bf7d1b256f806582a11e3fd8970a32 commit r10-7810-g85d8c05a02bf7d1b256f806582a11e3fd8970a32 Author: Tobias Burnus Date: Mo

[Bug target/94396] [8/9/10 Regression] fp16 feature bits not passed on to assembler from Armv8.4-a and up.

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94396 --- Comment #3 from CVS Commits --- The releases/gcc-9 branch has been updated by Tamar Christina : https://gcc.gnu.org/g:910c610dcc220ed04123e4da59296457254d85d4 commit r9-8514-g910c610dcc220ed04123e4da59296457254d85d4 Author: Tamar Christina

[Bug target/94396] [8/9/10 Regression] fp16 feature bits not passed on to assembler from Armv8.4-a and up.

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94396 --- Comment #4 from CVS Commits --- The releases/gcc-8 branch has been updated by Tamar Christina : https://gcc.gnu.org/g:b262ef0ed1628d88aa7a899fb3f93bcf3e51998e commit r8-10191-gb262ef0ed1628d88aa7a899fb3f93bcf3e51998e Author: Tamar Christina

[Bug tree-optimization/57359] store motion causes wrong code for union access at -O3

2020-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 --- Comment #23 from Richard Biener --- (In reply to Richard Biener from comment #22) > Created attachment 48311 [details] > patch > > Note that apart from the possible bad impact on optimization when fixing this > bug an actual fix is complicat

[Bug c++/94140] [OpenACC] declare directive in class currently rejected

2020-04-20 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94140 --- Comment #2 from Tobias Burnus --- PR 94120 also needs to be revisited once the semantic of same-scope has been clarified at OpenACC. See also: https://gcc.gnu.org/pipermail/gcc-patches/2020-April/543709.html It looks as if the current check

[Bug rtl-optimization/94665] missed minmax optimization opportunity for if/else structure.

2020-04-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94665 --- Comment #7 from Segher Boessenkool --- Can r94 or r93 be NaN there? (I should build an aarch64 compiler... takes almost a day though :-) )

[Bug tree-optimization/93674] [8/9 Regression] GCC eliminates conditions it should not, when strict-enums is on

2020-04-20 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93674 --- Comment #18 from bin cheng --- (In reply to Richard Earnshaw from comment #17) > Has not been backported yet. Will do it. Thanks

[Bug fortran/91800] ICE in gfc_code2string(): Bad code

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91800 --- Comment #4 from CVS Commits --- The master branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:38acc41d6d761b635123eefa93743b9139debbae commit r10-7811-g38acc41d6d761b635123eefa93743b9139debbae Author: Steve Kargl Date: M

[Bug fortran/91800] ICE in gfc_code2string(): Bad code

2020-04-20 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91800 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/94669] New: libcc1/libcc1.cc; 2 * minor performance problem

2020-04-20 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94669 Bug ID: 94669 Summary: libcc1/libcc1.cc; 2 * minor performance problem Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/94649] 16-byte aligned atomic_compare_exchange doesn not generate cmpxcg16b on x86_64

2020-04-20 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94649 --- Comment #2 from Avi Kivity --- Maybe we can have a new flag -mcx16all that assumes that all code using 16-byte CAS is compiled with the flag.

[Bug rtl-optimization/94665] missed minmax optimization opportunity for if/else structure.

2020-04-20 Thread z.zhanghaijian at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94665 --- Comment #8 from z.zhanghaijian at huawei dot com --- (In reply to Segher Boessenkool from comment #7) > Can r94 or r93 be NaN there? > > (I should build an aarch64 compiler... takes almost a day though :-) ) Yes, r94 and r93 are function a

[Bug tree-optimization/57359] store motion causes wrong code for union access at -O3

2020-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 --- Comment #24 from Richard Biener --- (In reply to Richard Biener from comment #22) > Created attachment 48311 [details] > patch > > Note that apart from the possible bad impact on optimization when fixing this > bug an actual fix is complicat

[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 David Binderman changed: What|Removed |Added CC||jan.kratochvil at redhat dot com ---

[Bug fortran/93364] [9/10 Regression] ICE in gfc_set_array_spec, at fortran/array.c:879

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93364 --- Comment #3 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:aeb430aadc3c91af50095be924365981d85f8b8a commit r10-7813-gaeb430aadc3c91af50095be924365981d85f8b8a Author: Harald Anlauf Date: Mo

[Bug target/94530] [9/10 Regression] ICE: SIGSEGV in rhs_regno (rtl.h:1924) with -Os -mcpu=falkor -mpc-relative-literal-loads -mcmodel=large

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94530 --- Comment #9 from CVS Commits --- The releases/gcc-9 branch has been updated by Andrea Corallo : https://gcc.gnu.org/g:5e022e3b3f7b2109f47fefffd6368fe3d378bdaa commit r9-8515-g5e022e3b3f7b2109f47fefffd6368fe3d378bdaa Author: Andrea Corallo D

[Bug tree-optimization/57359] store motion causes wrong code for union access at -O3

2020-04-20 Thread pascal_cuoq at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 --- Comment #25 from Pascal Cuoq --- Would it be reasonable to have three settings for -fstrict-aliasing, rather then the current two? - off - strict - assume-no-reuse (I would let you find a better name for the third one.) It seems to me that

[Bug tree-optimization/57359] store motion causes wrong code for union access at -O3

2020-04-20 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 --- Comment #26 from rguenther at suse dot de --- On Mon, 20 Apr 2020, pascal_cuoq at hotmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 > > --- Comment #25 from Pascal Cuoq --- > Would it be reasonable to have three s

[Bug fortran/93364] [9/10 Regression] ICE in gfc_set_array_spec, at fortran/array.c:879

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93364 --- Comment #4 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:f32d02e223d49a5d9db295969da9d2c04dc9d086 commit r9-8516-gf32d02e223d49a5d9db295969da9d2c04dc9d086 Author: Harald Anlauf Dat

[Bug fortran/93364] [9/10 Regression] ICE in gfc_set_array_spec, at fortran/array.c:879

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

[Bug rtl-optimization/94670] New: ICE in extract_insn, at recog.c:2310 on s390x-linux-gnu with -march=z13

2020-04-20 Thread doko at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94670 Bug ID: 94670 Summary: ICE in extract_insn, at recog.c:2310 on s390x-linux-gnu with -march=z13 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/94670] ICE in extract_insn, at recog.c:2310 on s390x-linux-gnu with -march=z13

2020-04-20 Thread doko at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94670 --- Comment #1 from Matthias Klose --- and works with -march=zEC12

[Bug c++/94671] New: 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 Bug ID: 94671 Summary: Wrong behavior with operator new overloading when using O2 for optimization Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: norm

[Bug rtl-optimization/94516] [10 Regression] gnutls test ./psk-file fails since r10-7515-g2c0fa3ecf70d199af18785702e9e0548fd3ab793

2020-04-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94516 --- Comment #14 from Jakub Jelinek --- Created attachment 48312 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48312&action=edit gcc10-pr94516.patch Untested patch for the missed-optimization part, with this we get the same assembly like g

[Bug target/94556] FAIL: nptl/tst-thread-exit-clobber

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94556 --- Comment #9 from CVS Commits --- The releases/gcc-9 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:47ea8616d4f5fee875e0849e393575e00def5894 commit r9-8517-g47ea8616d4f5fee875e0849e393575e00def5894 Author: H.J. Lu Date: Mon Apr

[Bug target/94556] FAIL: nptl/tst-thread-exit-clobber

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94556 --- Comment #10 from CVS Commits --- The releases/gcc-8 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:472c004fcd13e429dad7d1b829d21e26d24e39a4 commit r8-10192-g472c004fcd13e429dad7d1b829d21e26d24e39a4 Author: H.J. Lu Date: Mon A

[Bug rtl-optimization/94670] ICE in extract_insn, at recog.c:2310 on s390x-linux-gnu with -march=z13

2020-04-20 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94670 Andreas Krebbel changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/94556] FAIL: nptl/tst-thread-exit-clobber

2020-04-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94556 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[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 CC||doko at debian dot org --- Comment #2

[Bug rtl-optimization/94670] ICE in extract_insn, at recog.c:2310 on s390x-linux-gnu with -march=z13

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

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

2020-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94671 --- Comment #1 from Jonathan Wakely --- No, this conforms to the standard. See [expr.new] > An implementation is allowed to omit a call to a replaceable global allocation > function (17.6.2.1, 17.6.2.2). When it does so, the storage is instead >

[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 #2 from Bas Vodde --- Oh wow, does this mean that it is the choice of the compiler to actually call an overloaded operator new ? That is interesting. Thanks. I'd still consider it highly surprising behavior, at least it was for me.

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

2020-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94671 --- Comment #3 from Richard Biener --- The question is whether the standard allows eliding of the side-effect setting newCalled to true.

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

2020-04-20 Thread leo at yuriev dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94629 --- Comment #19 from Leo Yuriev --- (In reply to CVS Commits from comment #4) > The master branch has been updated by Richard Biener : > > https://gcc.gnu.org/g:a64468a3034dd8e2d0794a5be84b8da544ffe2c3 > > commit r10-7770-ga64468a3034dd8e2d0794

[Bug other/80051] gcc/dwarf2out.c: PVS-Studio: V501

2020-04-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80051 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug other/89863] [meta-bug] Issues in gcc that other static analyzers (cppcheck, clang-static-analyzer, PVS-studio) find that gcc misses

2020-04-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89863 Bug 89863 depends on bug 80051, which changed state. Bug 80051 Summary: gcc/dwarf2out.c: PVS-Studio: V501 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80051 What|Removed |Added --

[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 #4 from Bas Vodde --- The newCalled to true in the example was the simplest way to show the behavior. This bug came up in a open source project called CppuTest. This has the functionality to detect memory leaks and does so by overlo

[Bug ipa/94582] [10 Regression] ICE: verify_cgraph_node failed (error: invalid calls_comdat_local flag)

2020-04-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94582 --- Comment #2 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:48c82310947355665d628d4d1c8e736df9987574 commit r10-7814-g48c82310947355665d628d4d1c8e736df9987574 Author: Jan Hubicka Date: Mon Ap

[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 #5 from Bas Vodde --- In the case we found this, it mostly uses the overload for accounting and thus it doesn't cause a serious problem ('just' a test failure). If you use the overloaded new/delete for providing your own memory mana

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

2020-04-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94671 --- Comment #6 from Jakub Jelinek --- Well, the compiler shouldn't optimize away the allocation and not the deallocation or vice versa, it needs to either optimize away allocation and all corresponding deallocations, or none of that. There were s

[Bug c++/94546] [10 Regression] unimplemented: unexpected AST of kind nontype_argument_pack

2020-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94546 Richard Biener changed: What|Removed |Added Known to work||9.3.0 --- Comment #3 from Richard Biene

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

2020-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94549 Richard Biener changed: What|Removed |Added Known to work||9.3.0 --- Comment #2 from Richard Biene

[Bug ipa/94582] [10 Regression] ICE: verify_cgraph_node failed (error: invalid calls_comdat_local flag)

2020-04-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94582 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/94583] [10 Regression] ICE in get_defaulted_eh_spec, at cp/method.c:2421

2020-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94583 Richard Biener changed: What|Removed |Added Priority|P1 |P2 --- Comment #3 from Richard Biener

[Bug c++/94454] ICE 'canonical types differ for identical types'

2020-04-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94454 --- Comment #13 from Nathan Sidwell --- Created attachment 48313 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48313&action=edit testing shim

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

2020-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94671 --- Comment #7 from Jonathan Wakely --- (In reply to Richard Biener from comment #3) > The question is whether the standard allows eliding of the side-effect > setting newCalled to true. It does. That side effect happens inside a replaceable gl

[Bug c++/94454] ICE 'canonical types differ for identical types'

2020-04-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94454 Nathan Sidwell 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 rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94592 Richard Biener changed: What|Removed |Added Known to work||9.3.0 --- Comment #9 from Richard Biene

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

2020-04-20 Thread gcc at abeckmann dot de
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48314&action=edit failing testcase This is a regression in gfortran-10 (reproduced in GNU Fortran (GCC) 10.0.1 20200420 (experimental) built from git master): gfortran-master -Wall -fopenmp -c gf10bug.f90 gf10bug.f90:10:0: 10 |IF (

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

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

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

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

  1   2   >