[Bug sanitizer/86899] [10/11/12/13 regression] TSAN incorrect warning: control reaches end of non-void function

2022-06-25 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86899 --- Comment #11 from Dmitry G. Dyachenko --- r13-1213 PASS for me r13-1164 FAIL for me

[Bug sanitizer/104934] -fsanitize=undefined codegen err

2022-03-15 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104934 --- Comment #2 from Dmitry G. Dyachenko --- (In reply to Jakub Jelinek from comment #1) > And the bug is? > The S class doesn't have the key method defined, so some other TU needs to > define it and thus provide the vtable and rtti for it. > Wit

[Bug sanitizer/104934] New: -fsanitize=undefined codegen err

2022-03-15 Thread dimhen at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- r12-7608 FAIL

[Bug analyzer/104863] New: [12 regression] ICE in operator[], at vec.h:889

2022-03-10 Thread dimhen at gmail dot com via Gcc-bugs
: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r12-6649 PASS r12-6793 FAIL r12-7557 FAIL $ $ cat y.i extern void g(); struct a { } b(int c, int d) { struct a *e = 0; int f; if (c & 1 || !(c & 2)) r

[Bug sanitizer/90347] [UBSAN] __attribute__((weak))__ results in "declared weak after being used" error

2021-12-03 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90347 --- Comment #7 from Dmitry G. Dyachenko --- r12-5761 PASS for me r12-5648 FAIL r12-5761 PASS

[Bug middle-end/77721] -Wformat-truncation not uses arg range for converted vars

2021-11-27 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77721 --- Comment #7 from Dmitry G. Dyachenko --- Sounds like gcc-8.0.1 PASS for me r257061 FAIL r258034 PASS r12-5546 PASS $ ~/arch-gcc/SVN/gcc_258034/bin/gcc --version gcc (GCC) 8.0.1 20180227 (experimental) [trunk revision 258034] $ ~/arch-gcc/SV

[Bug tree-optimization/102814] New: [12 regression] quadratique/exponential time complexity for max-jump-thread-duplication-stmts

2021-10-18 Thread dimhen at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r12-4256 FAST r12- SLOW g++ -fpreprocessed -std=c++98 -O2 --param max-jump-thread

[Bug c/102797] ice in useless_type_conversion_p, at gimple-expr.c:87

2021-10-16 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102797 --- Comment #2 from Dmitry G. Dyachenko --- r12-4256 PASS r12- FAIL $ cat x.ii struct b { b(int); }; void d() { int c = 1; do try { b a = 1; while (1) { c++; a = 1; } } catch (...) { } w

[Bug middle-end/102386] New: [12 regression] bogus -Wrestrict for unreachable memcpy()

2021-09-17 Thread dimhen at gmail dot com via Gcc-bugs
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r12-3456 PASS r12-3545 FAIL $ cat x.i static int GetHashParam_HP_OPAQUEBLOB_pdwDataLen = 0; void *memcpy(void *, const void *, unsigned

[Bug analyzer/96894] Analyzer assumes pointer is NULL, even if pointer was tested to be non-null before

2021-02-14 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96894 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com

[Bug analyzer/95000] -fanalyzer confused by switch on non-int type

2021-02-11 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95000 --- Comment #5 from Dmitry G. Dyachenko --- gcc version 11.0.0 20210210 (experimental) [master revision bd0e37f68a3:deed5164277:72932511053596091ad291539022b51d9f2ba418] PASS for me

[Bug analyzer/94713] Analyzer is buggy on uninitialized pointer

2021-02-11 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94713 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com

[Bug analyzer/93695] Allocation and freeing memory for array members in loops is not handled properly by the analyzer

2021-02-11 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93695 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com

[Bug analyzer/99064] New: [11 regression] ICE analyzer::print_mem_ref

2021-02-10 Thread dimhen at gmail dot com via Gcc-bugs
: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- gcc version 11.0.0 20210104 (experimental) [master revision 7f2b7317566:9da1da01aec:39bd65faee3bafe2dc067e5fedb5079896551a8a] (GCC) r11-6442 PASS gcc version 11.0.0 20210108

[Bug tree-optimization/98568] [11 regression] ICE in verify_gimple() during GIMPLE pass: store-merging

2021-01-06 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98568 --- Comment #1 from Dmitry G. Dyachenko --- $ ~/arch-gcc/r11-6475/bin/gcc -v Using built-in specs. COLLECT_GCC=/home/dimhen/arch-gcc/r11-6475/bin/gcc COLLECT_LTO_WRAPPER=/home/dimhen/arch-gcc/r11-6475/bin/../libexec/gcc/x86_64-pc-linux-gnu/11.0.0

[Bug tree-optimization/98568] New: [11 regression] ICE in verify_gimple() during GIMPLE pass: store-merging

2021-01-06 Thread dimhen at gmail dot com via Gcc-bugs
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r11-6442 PASS r11-6475 FAIL $ cat x.i char a[2]; void c() { int b; a[1] = b >> 8; a[0] = b; } // creduce

[Bug middle-end/94195] missing warning reading a smaller object via an lvalue of a larger type

2020-09-26 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94195 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com

[Bug bootstrap/97105] New: [11 regression] dumpfile.c:169:33: error: storage size of 'optgroup_options' isn't known

2020-09-18 Thread dimhen at gmail dot com
us: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r11-3264 PASS r11-3279 FAIL $ configure --enable-checking=release --enable-languages=c,c+

[Bug c/97087] [11 regression] 70x slow -O3

2020-09-17 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97087 --- Comment #1 from Dmitry G. Dyachenko --- Created attachment 49235 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49235&action=edit unreduced file preprocessed openssl-1.1.0 crypto/blake2/blake2s.c compilition aborted after ~1h

[Bug c/97087] New: [11 regression] 70x slow -O3

2020-09-17 Thread dimhen at gmail dot com
: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- Created attachment 49234 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49234&action=edit -O3 slowdown 70x gcc -O3 -c y.i r11-3192 0.06s r11-3210 3.45s r11-3234 3.61s gcc -O2 -c y.i r

[Bug tree-optimization/95761] [11 regression] ICE during GIMPLE pass: slp verify_ssa failed

2020-06-23 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95761 --- Comment #8 from Dmitry G. Dyachenko --- (In reply to Martin Liška from comment #7) > I see the test-cases fixed. > Can you still reproduce that? r11-1553 PASS x_1.i for me and FAIL unreduced one. r11-1582 PASS x_1.i, x_2.i for me and PASS un

[Bug tree-optimization/95761] [11 regression] ICE during GIMPLE pass: slp verify_ssa failed

2020-06-22 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95761 --- Comment #6 from Dmitry G. Dyachenko --- r11-1582 PASS for me x_2.i and original (non-reduced) compilation

[Bug tree-optimization/95761] [11 regression] ICE during GIMPLE pass: slp verify_ssa failed

2020-06-19 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95761 --- Comment #5 from Dmitry G. Dyachenko --- r11-1553 PASS original testcase for me. And FAIL similar test with the same stack. $ cat x_2.i typedef int a[10]; typedef struct { a b; a c; a d; } e; e j; void k() { int *h = j.c, *f = j.d, *g

[Bug tree-optimization/95761] New: [11 regression] ICE during GIMPLE pass: slp verify_ssa failed

2020-06-19 Thread dimhen at gmail dot com
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r11-1451 PASS r11-1512 FAIL `gcc -O2' PASS $ gcc -O3 -c x_1.i x_1.i: In function 'k': x_1.i:10:6: error: defini

[Bug c++/95223] [11 regression] hash table checking failed: equal operator returns true for a pair of values with a different hash value

2020-05-20 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95223 --- Comment #9 from Dmitry G. Dyachenko --- (In reply to Patrick Palka from comment #8) > Thanks for the reports. This should now hopefully be fixed with r11-522. r11-526 PASS for me. Thanks

[Bug libstdc++/95223] New: [11 regression] hash table checking failed: equal operator returns true for a pair of values with a different hash value

2020-05-19 Thread dimhen at gmail dot com
Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r11-459 PASS r11-495 FAIL $ cat x.cpp struct s { } a

[Bug bootstrap/94961] [11 Regression] ICE in df_refs_verify, at df-scan.c:4002 since r11-87-gd44f14ccef831d90feb57fab56bc3389d543ffdd

2020-05-08 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94961 --- Comment #7 from Dmitry G. Dyachenko --- r11-196 PASS for me. Thanks.

[Bug bootstrap/94961] New: [11 regression] internal compiler error: in df_refs_verify, at df-scan.c:4002

2020-05-05 Thread dimhen at gmail dot com
: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r11-46 PASS r11-117 FAIL configure --enable-checking=yes,df --enable-languages=c,c++,lto --disable-multilib make

[Bug tree-optimization/15348] [tree-ssa] Convert (x < 0) || (y < 0) into (x | y) < 0.

2020-03-11 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15348 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com

[Bug c/93894] -Wimplicit-fallthrough false warning with operator %

2020-02-23 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93894 --- Comment #2 from Dmitry G. Dyachenko --- `unsigned' changes nothing $ cat xxu.i int f1(int j, unsigned k) { switch (j) { case 0: switch (k % 2) { case 0: return 0; case 1: return 1;

[Bug c/93894] New: -Wimplicit-fallthrough false warning with operator %

2020-02-23 Thread dimhen at gmail dot com
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- SVN:r257061 8.0.1 20180125 FAIL r10-6795 FAIL $ cat xx.i int f(int j, int k) { switch (j) { case 0: switch (k % 2) { case 0: return 0

[Bug tree-optimization/93845] [10 regression] ICE in verify_sra_access_forest, at tree-sra.c:2358

2020-02-20 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93845 --- Comment #1 from Dmitry G. Dyachenko --- '-Wall -Wextra -O3' free variant $ cat x.ii struct g; struct h { g *operator->(); }; class i { void *a; int b; public: template f j() { return *static_cast(this); } }; struct k : i {}; struct

[Bug tree-optimization/93845] New: [10 regression] ICE in verify_sra_access_forest, at tree-sra.c:2358

2020-02-20 Thread dimhen at gmail dot com
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- probably differs from PR93776 and PR93516 r10-6309 PASS r10-6342 FAIL r10-6723 FAIL [r10-6723] g++ -fpreprocessed

[Bug c++/93785] New: g++ crash/hang on invalid template

2020-02-17 Thread dimhen at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r257061 FAIL -- SVN/gcc version 8.0.1 20180125 r10-6659 FAIL $ cat x.ii template struct b { struct c; b d } using e = b; e f; $ ~/arch-gcc/gcc_current/bin/g++ -fpreprocessed -fchecking

[Bug tree-optimization/93516] New: [10 regression] ICE in verify_sra_access_forest, at tree-sra.c:2342

2020-01-30 Thread dimhen at gmail dot com
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r10-6309 PASS r10-6342 FAIL $ cat x.ii struct b; struct c { b *operator->(); }; class e { void *f; int d; pub

[Bug c++/93477] [10 Regression] __atribute__((weak)) variables sharing the same name in two named namespaces cause a multiple definition error

2020-01-29 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93477 --- Comment #6 from Dmitry G. Dyachenko --- r10-6310 PASS for me both reduced and unreduced cases. Thanks

[Bug c++/93477] New: [10 Regression] __atribute__((weak)) variables sharing the same name in two named namespaces cause a multiple definition error

2020-01-28 Thread dimhen at gmail dot com
Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r10-6101 PASS r10-6221 FAIL PASS with anonymous namespace

[Bug c++/92169] crash on referring to a local class member by unqualified name from outside the enclosing function

2020-01-27 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92169 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com

[Bug ipa/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883

2020-01-14 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240 --- Comment #9 from Dmitry G. Dyachenko --- Created attachment 47654 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47654&action=edit pre-processed isl_fold.c gcc_r277495 ./contrib/download_prerequisites ~/src/gcc_r277485/configure --enabl

[Bug ipa/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883

2020-01-14 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240 --- Comment #10 from Dmitry G. Dyachenko --- (In reply to Martin Liška from comment #6) > @Dmitry: Can you please attach a pre-processed source file (-E option)? done

[Bug ipa/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883

2020-01-14 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240 --- Comment #7 from Dmitry G. Dyachenko --- (In reply to Martin Liška from comment #6) > @Dmitry: Can you please attach a pre-processed source file (-E option)? @Martin: FAIL start for me during gcc bootstrap somewhere between r277460 and r27748

[Bug bootstrap/93074] [10 regression] build FAIL with --enable-offload-targets=nvptx-none

2019-12-26 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93074 --- Comment #2 from Dmitry G. Dyachenko --- (In reply to Andrew Pinski from comment #1) > According to > https://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__DEVICE.html > > cuDeviceGetName exists. > Maybe F31 has an older version of Cuda i

[Bug bootstrap/93074] New: [10 regression] build FAIL with --enable-offload-targets=nvptx-none

2019-12-25 Thread dimhen at gmail dot com
Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r279700 PASS r279735 FAIL Fedora 31 x86_64 configure --disable-multilib --enable-offload-targets=nvptx-none make [...] libtool

[Bug c++/39751] ICE in cp_lexer_new_from_tokens, at cp/parser.c:342

2019-12-04 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39751 --- Comment #11 from Dmitry G. Dyachenko --- Original test case from c#0 crash in trunk gcc version 10.0.0 20191204 (experimental) [trunk revision 278972] (GCC) $ g++ -fpreprocessed -fsyntax-only a.ii a.ii:5:1: error: types may not be defined i

[Bug ipa/92809] New: [10 regression] error: calls_comdat_local is set outside of a comdat group

2019-12-04 Thread dimhen at gmail dot com
: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- r278936 PASS r278958 FAIL Maybe dup PR86905? $ $ cat x.ii struct a { int operator

[Bug middle-end/91195] [10 regression] incorrect may be used uninitialized smw (272711, 273474]

2019-11-20 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91195 --- Comment #11 from Dmitry G. Dyachenko --- r278496 fix my original problem. Thank you

[Bug bootstrap/92314] [10 regression] missing omp-device-properties', needed by 's-omp-device-properties-h'

2019-11-01 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92314 --- Comment #4 from Dmitry G. Dyachenko --- Thank for clarification. Sorry for noise

[Bug bootstrap/92314] [10 regression] missing omp-device-properties', needed by 's-omp-device-properties-h'

2019-11-01 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92314 --- Comment #2 from Dmitry G. Dyachenko --- I use system compiler for bootstrap: gcc9/Fedora31 Did I understood you correctly: I need offloading compiler installed after r277662 if I say '--enable-offload-targets=nvptx-none' ? so invalid PR?

[Bug bootstrap/92314] New: [10 regression] missing omp-device-properties', needed by 's-omp-device-properties-h'

2019-11-01 Thread dimhen at gmail dot com
us: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r277655 PASS r277686 FAIL sounds like stage 1 issue? configure --prefix=/usr/local/gcc_current --

[Bug ipa/92254] [10 regression] ICE LTO in inline_small_functions, at ipa-inline.c:2000

2019-10-30 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92254 --- Comment #6 from Dmitry G. Dyachenko --- r277655 PASS for me: testcase and original case. Thank You

[Bug ipa/92254] [10 regression] ICE LTO in inline_small_functions, at ipa-inline.c:2000

2019-10-30 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92254 --- Comment #5 from Dmitry G. Dyachenko --- very strange r277625 FAIL for me for testcase from c#1 and for original problem

[Bug ipa/92278] [10 regression] LTO ICE ipa_get_ith_polymorhic_call_context ipa-prop.h:616

2019-10-30 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92278 --- Comment #8 from Dmitry G. Dyachenko --- r277625 PASS for me for testcase from c#0 and for original problem. Thank you

[Bug ipa/92278] New: [10 regression] LTO ICE ipa_get_ith_polymorhic_call_context ipa-prop.h:616

2019-10-30 Thread dimhen at gmail dot com
: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- r277460 PASS r277486 FAIL as PR92242 r277504 FAIL r277576 FAIL $ cat a.i typedef

[Bug ipa/92254] [10 regression] ICE LTO in inline_small_functions, at ipa-inline.c:2000

2019-10-28 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92254 --- Comment #1 from Dmitry G. Dyachenko --- $ cat a.i typedef unsigned (*c)(void *, void *); typedef struct { c d; } e; unsigned bar(void *, void *); unsigned baz(void *, void *); static const e f[] = {{bar}, {baz}}; const e *foo() { retu

[Bug ipa/92254] New: [10 regression] ICE LTO in inline_small_functions, at ipa-inline.c:2000

2019-10-28 Thread dimhen at gmail dot com
Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- r277460 PASS r277504 FAIL Fedora 31 x86_64 gcc -shared -fPIC -DPIC -flto [40+ files

[Bug ipa/92242] [10 regression] LTO ICE in ipa_get_cs_argument_count ipa-prop.h:598

2019-10-28 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92242 --- Comment #4 from Dmitry G. Dyachenko --- r277504 PASS for me. Thank you

[Bug ipa/92251] [10 regression] SEGV in ipa_get_cs_argument_count

2019-10-28 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92251 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com

[Bug ipa/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883

2019-10-28 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240 --- Comment #4 from Dmitry G. Dyachenko --- (In reply to Richard Biener from comment #3) > Happends during in-tree build of ISL. Did you do the setup with > ./contrib/download_prerequesites? Yes, I setup with ./contrib/download_prerequesites I

[Bug ipa/92242] [10 regression] LTO ICE in ipa_get_cs_argument_count ipa-prop.h:598

2019-10-27 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92242 --- Comment #2 from Dmitry G. Dyachenko --- correctly reduced testcase $ cat x.i unsigned foo(int a) { if (a) return 0; return 1; } $ cat y.i unsigned foo(int); int bar() { foo(0); return 0; } $ cat libso.ver { global: bar; local:

[Bug ipa/92242] [10 regression] LTO ICE in ipa_get_cs_argument_count ipa-prop.h:598

2019-10-27 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92242 --- Comment #1 from Dmitry G. Dyachenko --- over reduced but still ICE $ cat x.i unsigned foo(int a) { if (a) return 0; } $ cat y.i unsigned foo(); void bar() { foo(); } $ cat libso.ver { global: bar; local: *; }; $ gcc -O2 -flto -c x

[Bug ipa/92242] New: [10 regression] LTO ICE in ipa_get_cs_argument_count ipa-prop.h:598

2019-10-27 Thread dimhen at gmail dot com
Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- r277460 PASS r277486 FAIL I'll try creduce it / proprietary codebase, 50+ files LTO l

[Bug c/92241] ice in vect_mark_pattern_st mts, at tree-vect-patterns.c:5175

2019-10-27 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92241 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com

[Bug bootstrap/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883

2019-10-27 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240 Dmitry G. Dyachenko changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Com

[Bug bootstrap/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883

2019-10-27 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240 --- Comment #1 from Dmitry G. Dyachenko --- simplified configure' call configure --enable-checking=yes --enable-languages=c,c++ --disable-multilib --with-isl make /home/dimhen/build/gcc_current/./prev-gcc/xgcc -B/home/dimhen/build/gcc_current/

[Bug bootstrap/92240] New: [10 regression] ICE in duplicate, at ipa-prop.c:3883

2019-10-27 Thread dimhen at gmail dot com
Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r277460 PASS r277485 FAIL gcc_current/configure --prefix=/usr/local/gcc_current --enable-checking=yes,df,fold,rtl,extra --enable-languages=c,c++,lto --disable

[Bug c/92205] ice in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1688

2019-10-24 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92205 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com

[Bug debug/91929] missing inline subroutine information in build using sin/cos

2019-10-21 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91929 --- Comment #14 from Dmitry G. Dyachenko --- (In reply to rguent...@suse.de from comment #13) > On Fri, 18 Oct 2019, dimhen at gmail dot com wrote: > I guess > previously the uninit pass didn't emit warnings for the load >

[Bug debug/91929] missing inline subroutine information in build using sin/cos

2019-10-18 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91929 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com

[Bug c++/92070] [10 regression] -fchecking=2 error: taking address of rvalue

2019-10-12 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92070 --- Comment #6 from Dmitry G. Dyachenko --- (In reply to Marek Polacek from comment #5) > Fixed. r267903 FAIL and r267907 PASS for me with original problem -- LLVM-current build Thanks

[Bug c++/92070] [10 regression] -fchecking=2 error: taking address of rvalue

2019-10-11 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92070 --- Comment #2 from Dmitry G. Dyachenko --- (In reply to Marek Polacek from comment #1) > Will be fixed by my patch > https://gcc.gnu.org/ml/gcc-patches/2019-10/msg00782.html > but the testcase is useful. dup PR92049?

[Bug c++/92070] New: [10 regression] -fchecking=2 error: taking address of rvalue

2019-10-11 Thread dimhen at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r276763 PASS r276764 FAIL clang-8 PASS $ cat x.ii struct a; struct b { static a c(); }; struct a : b {}; template struct d { void e() { 0

[Bug c++/92068] New: [8 regression] ICE on invalid in process_partial_specialization

2019-10-11 Thread dimhen at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r258989 PASS r259099 FAIL r276845 FAIL $ cat x.ii template struct a; template struct a: $ g++ -fpreprocessed -c x.ii x.ii:2:57: error

[Bug rtl-optimization/91976] [10 regression] RTL check: expected code 'const_int', have 'reg' in emit_block_move_hints, at expr.c:1627

2019-10-03 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91976 --- Comment #5 from Dmitry G. Dyachenko --- r276503 PASS for me Thank you, Jakub

[Bug rtl-optimization/91976] [10 regression] RTL check: expected code 'const_int', have 'reg' in emit_block_move_hints, at expr.c:1627

2019-10-02 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91976 --- Comment #1 from Dmitry G. Dyachenko --- FAIL: configure --enable-checking=yes,rtl --enable-languages=c,c++,lto --disable-multilib PASS: configure --enable-checking=yes --enable-languages=c,c++,lto --disable-multilib

[Bug rtl-optimization/91976] New: [10 regression] RTL check: expected code 'const_int', have 'reg' in emit_block_move_hints, at expr.c:1627

2019-10-02 Thread dimhen at gmail dot com
0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- gcc bootstrap r276439 PASS r276476 FAIL Fedora 30 x86_64 /home/di

[Bug target/91498] [10 Regression] STV change in r274481 causes 300.twolf regression on Haswell

2019-08-21 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91498 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com

[Bug tree-optimization/37242] missed FRE opportunity because of signedness of addition

2019-08-18 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37242 --- Comment #24 from Dmitry G. Dyachenko --- r257061 optimize too gcc version 8.0.1 20180125 (experimental) [trunk revision 257061] (GCC)

[Bug tree-optimization/37242] missed FRE opportunity because of signedness of addition

2019-08-18 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37242 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com

[Bug c/90872] [8/9/10 regression] ICE on invalid in contains_struct_check()

2019-07-23 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90872 --- Comment #1 from Dmitry G. Dyachenko --- probably start at r267665

[Bug rtl-optimization/91223] [10 regression] ICE: in curr_insn_transform, at lra-constraints.c:4459

2019-07-22 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91223 --- Comment #1 from Dmitry G. Dyachenko --- slightly reduced $ cat y.i int a, g; int *b, *f, *h; void *memcpy(void *, const void *, unsigned long); typedef struct { int b; } * c; int d(void); c e; int d() { char c[16]; bd: for (a = 0; a <=

[Bug rtl-optimization/91223] New: [10 regression] ICE: in curr_insn_transform, at lra-constraints.c:4459

2019-07-22 Thread dimhen at gmail dot com
Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r273563 PASS r273642 FAIL $ /usr/local/gcc_current/bin/gcc -v Using built-in specs. COLLECT_GCC=/usr/local/gcc_current

[Bug middle-end/91195] New: [10 regression] incorrect may be used uninitialized smw (272711, 273474]

2019-07-18 Thread dimhen at gmail dot com
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r272711 PASS r273474 FAIL r273563 FAIL $ ~/arch-gcc/gcc_272711/bin/gcc -Werror=maybe-uninitialized -O2 -c x.c -DFOUR $ ~/arch

[Bug c/91193] [8/9/10 regression] ICE on invalid: tree check: expected class ‘type’, have ‘declaration’ (function_decl) in grokdeclarator, at c/c-decl.c:5956

2019-07-18 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91193 --- Comment #3 from Dmitry G. Dyachenko --- (In reply to Jakub Jelinek from comment #1) > Why do you think this is a regression? > /usr/src/gcc-test/obj/gcc/cc1.9 pr91193.c > a > > pr91193.c:2: error: ‘a’ redeclared as different kind of sym

[Bug c/91193] New: [8 regression] ICE on invalid: tree check: expected class ‘type’, have ‘declaration’ (function_decl) in grokdeclarator, at c/c-decl.c:5956

2019-07-17 Thread dimhen at gmail dot com
: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r257061 FAIL r273505 FAIL $ cat x.i typedef a

[Bug preprocessor/91192] New: [9 regression] non-deterministic ICE on invalid

2019-07-17 Thread dimhen at gmail dot com
: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- gcc -fpreprocessed -c x.i can -- report error -- ICE in linemap_macro_map_lookup, at libcpp/line-map.c:1003 -- crash_signal in get_location_from_adhoc_loc libcpp/line

[Bug ipa/90891] lto-bootstrap with ada enabled broken on x86_64

2019-06-15 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90891 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com

[Bug tree-optimization/90872] New: [8 regression] ICE on invalid in contains_struct_check()

2019-06-13 Thread dimhen at gmail dot com
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r267346 PASS r267961 FAIL r272203 FAIL $ cat x.i a() { void b() = ; b == 0 $ /usr/local/gcc_current/bin/gcc -fpreprocessed -c x.i

[Bug tree-optimization/90866] [10 Regression] ICE in fold_binary_loc, at fold-const.c:9827 since r272197

2019-06-13 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90866 --- Comment #6 from Dmitry G. Dyachenko --- (In reply to Dmitry G. Dyachenko from comment #5) > $ cat x.i > typedef enum { a } b; > typedef struct { > int c[0]; > } d; > typedef struct { > int *data; > } e; > typedef struct { > e buffer; >

[Bug tree-optimization/90866] [10 Regression] ICE in fold_binary_loc, at fold-const.c:9827 since r272197

2019-06-13 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90866 --- Comment #5 from Dmitry G. Dyachenko --- $ cat x.i typedef enum { a } b; typedef struct { int c[0]; } d; typedef struct { int *data; } e; typedef struct { e buffer; } f; int g, h; int i(); int i(f *j, d *k, b l, int m) { if (l) if

[Bug sanitizer/90347] New: [UBSAN] __attribute__((weak))__ results in "declared weak after being used" error

2019-05-04 Thread dimhen at gmail dot com
NCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc d

[Bug c/90036] [8/9/10 Regression] false positive: directive argument is null [-Werror=format-overflow=]

2019-04-27 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90036 --- Comment #3 from Dmitry G. Dyachenko --- I see smth may be similar starts at r265648 / PR87041 265647 NO warnings 265648 warnings 270581 warnings $ cat x.cpp #include #include extern void extf(char*); extern unsigned U1; extern unsigned

[Bug middle-end/90191] [9/10 regression] incorrect -Wformat-overflow with --param max-jump-thread-duplication-stmts=17

2019-04-26 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90191 --- Comment #5 from Dmitry G. Dyachenko --- (In reply to Jeffrey A. Law from comment #4) > Actually I think the warning is valid. Ramping up the aggressiveness of the > threader is what ultimately exposes it. [...] > > But AFAICT the warning is

[Bug middle-end/90191] [9 regression] -Wformat-overflow depends on --param max-jump-thread-duplication-stmts=17

2019-04-23 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90191 --- Comment #2 from Dmitry G. Dyachenko --- (In reply to Richard Biener from comment #1) > So is the warning good or bad? That it now depends on the param suggests a > change in default optimization behavior. Sorry not to be clear Warning with

[Bug middle-end/90191] New: [9 regression] -Wformat-overflow depends on --param max-jump-thread-duplication-stmts=17

2019-04-19 Thread dimhen at gmail dot com
Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r265568 PASS r265754 FAIL r270458 FAIL Warn if compiled with "-O2 --param max-jump-thread-duplication-stm

[Bug c++/90138] New: ICE on invalid in contains_struct_check()

2019-04-18 Thread dimhen at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r270434 --enable-checking=release not ICE r270435 --enable-checking=yes,df,fold,rtl,extra ICE $ cat x_2.ii template <, typename a, typename typename, typename a, $ g++ -fpreproces

[Bug bootstrap/89560] [9 regression] ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)'

2019-03-02 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89560 --- Comment #6 from Dmitry G. Dyachenko --- PASS /home/dimhen/src/gcc_current/configure --enable-checking=yes --enable-languages=c,c++,lto --disable-multilib --with-tune=native FAIL /home/dimhen/src/gcc_current/configure --enable-checking=yes,df

[Bug bootstrap/89560] [9 regression] ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)'

2019-03-02 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89560 --- Comment #5 from Dmitry G. Dyachenko --- (In reply to Jakub Jelinek from comment #4) > E.g. > gcc -v -mtune=native -xc /dev/null -S -o /dev/null 2>&1 | grep cc1 SkyLake cc -v -mtune=native -xc /dev/null -S -o /dev/null 2>&1 | grep cc1 /usr/

[Bug bootstrap/89560] [9 regression] ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)'

2019-03-02 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89560 --- Comment #3 from Dmitry G. Dyachenko --- (In reply to Jakub Jelinek from comment #2) > What does your -mtune=native expand to? How I can see it? > Can you reproduce also without say --enable-offload-targets=nvptx-none? Yes, I'll rebuild witho

[Bug bootstrap/89560] [9 regression] ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)'

2019-03-02 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89560 --- Comment #1 from Dmitry G. Dyachenko --- r269158 PASS

[Bug bootstrap/89560] New: [9 regression] ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)'

2019-03-02 Thread dimhen at gmail dot com
Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r268977 bootstrap PASS r269340 FAIL Fedora 29 / x86_64 $ cat /proc/cpuinfo processor : 0

  1   2   3   4   >