[Bug lto/54980] [4.8 regression] gimple check: expected gimple_cond(error_mark), have gimple_call() in gimple_cond_set_lhs, at gimple.h:2578

2012-10-27 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54980 Dmitry G. Dyachenko changed: What|Removed |Added Status|NEW |RESOLVED Resolutio

[Bug rtl-optimization/55055] [4.8 regression] RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1123

2012-10-27 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55055 Dmitry G. Dyachenko changed: What|Removed |Added Status|NEW |RESOLVED Resolutio

[Bug tree-optimization/45649] -Wunsafe-loop-optimizations fail to recognize finite loop

2011-02-14 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45649 Dmitry G. Dyachenko changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug tree-optimization/57330] New: ICE: verify_gimple failed -O3 [tree-cfg.c:4792]

2013-05-19 Thread dimhen at gmail dot com
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com r199075 FAIL $ cat x.i void foo ( int a) {} void *a; void bar () { void **( *b ) ( ) = foo; a = b ( 0 ); } $ gcc -fpreprocessed -O3 -c x.i x.i: In function 'bar': x.i:7:2

[Bug tree-optimization/57331] New: ICE: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have pointer_type in int_fits_type_p, at tree.c:8437

2013-05-19 Thread dimhen at gmail dot com
int_fits_type_p, at tree.c:8437 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com r199075 FAIL

[Bug tree-optimization/57331] ICE: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have pointer_type in int_fits_type_p, at tree.c:8437

2013-05-19 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57331 --- Comment #1 from Dmitry G. Dyachenko --- r198354 PASS $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local/gcc_current_198354/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper Target: x86_64-unknown-linux-g

[Bug tree-optimization/57330] ICE: verify_gimple failed -O3 [tree-cfg.c:4792]

2013-05-19 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57330 --- Comment #1 from Dmitry G. Dyachenko --- PASS versions from Fedora 18/19 gcc version 4.7.2 20121109 (Red Hat 4.7.2-8) (GCC) gcc version 4.8.0 20130412 (Red Hat 4.8.0-2) (GCC) both configured with --enable-checking=release FAIL gcc-4.8: 19652

[Bug lto/57334] New: ICE: in input_gimple_stmt, at gimple-streamer-in.c:287

2013-05-19 Thread dimhen at gmail dot com
Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com r199075 FAIL $ cat main.ii extern "C" void soap_call_lcdpanel__AskLCDPanelYesNo (); main () { soap_call_lcdpanel__AskLCDPanelYesNo (); } $ cat a.i soap_seria

[Bug lto/57267] [4.9 regression] -flto-partition=none : symbol is already defined

2013-05-20 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57267 --- Comment #3 from Dmitry G. Dyachenko --- testcase fixed in 198917 is this PR duplicate of lto/57038 ? and how it's related to lto/47375 ? Sounds like PR number mismatch...

[Bug lto/57267] [4.9 regression] -flto-partition=none : symbol is already defined

2013-05-20 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57267 Dmitry G. Dyachenko changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/57038] Latest libreoffice compilation fails with enabled LTO

2013-05-20 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57038 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com

[Bug lto/57334] ICE: in input_gimple_stmt, at gimple-streamer-in.c:287

2013-05-25 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57334 --- Comment #2 from Dmitry G. Dyachenko --- gcc-4.8: PASS: 196672 (pre-4.8.0) 199240 gcc (GCC) 4.8.1 20130523 (prerelease) gcc-4.9: PASS 198354 FAIL 199000, 199239 simlified testcase $ cat a.i void foo () { } void bar () { return; // trigge

[Bug lto/57334] ICE: in input_gimple_stmt, at gimple-streamer-in.c:287

2013-05-25 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57334 --- Comment #3 from Dmitry G. Dyachenko --- (In reply to Richard Biener from comment #1) > I've seen this ICE before I think. > > else if (code == GIMPLE_LABEL) > gcc_assert (emit_label_in_global_context_p (gimple_label_label (stmt)) >

[Bug lto/57334] [4.9 regression] ICE: in input_gimple_stmt, at gimple-streamer-in.c:287

2013-06-08 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57334 Dmitry G. Dyachenko changed: What|Removed |Added Summary|ICE: in input_gimple_stmt, |[4.9 regression] ICE: in

[Bug lto/57613] New: [LTO] error "multiple definition symbol" for local symbol

2013-06-14 Thread dimhen at gmail dot com
ty: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com $ cat foo.i void foo() { } $ gcc -fpreprocessed -flto -c foo.i $ ld -m elf_x86_64 -r -o hidden.o --whole-archive foo.o --no-whole-archive $ objcopy -G bar hid

[Bug lto/57613] [LTO] error "multiple definition symbol" for local symbol

2013-06-18 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57613 --- Comment #2 from Dmitry G. Dyachenko --- (In reply to Richard Biener from comment #1) > I don't think it works that way, hidden visibility makes it non-exported from > the dynamic object but it's still visible inside the object. You probably >

[Bug lto/57613] [LTO] error "multiple definition symbol" for local symbol

2013-06-18 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57613 Dmitry G. Dyachenko changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug preprocessor/57760] New: preprocessor directive supress g++ warning

2013-06-30 Thread dimhen at gmail dot com
: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com gcc version 4.9.0 20130629 (experimental) [trunk revision 200565] (GCC) gcc version 4.8.1 20130603 (Red Hat 4.8.1-1) (GCC) if I uncomment first line in x.ii : // #2064 "" 3 then there

[Bug bootstrap/58350] New: libvtv/testsuite: Makefile:369: *** missing separator. Stop.

2013-09-07 Thread dimhen at gmail dot com
Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com rev. 202352 Fedora 19/x86_64 configured as ~/src/gcc_current/configure --prefix=/usr/local/gcc_current --with-multilib-list=m64 --enable-checking=release

[Bug bootstrap/58386] New: [4.9 regression] libstdc++.so.6: undefined symbol: htab_hash_pointer

2013-09-10 Thread dimhen at gmail dot com
Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com rev.202478 FAIL rev.202421 OK Fedora 19/x86_64 configured as ~/src/gcc_current/configure --prefix=/usr/local/gcc_current --with-multilib-list=m64 --enable

[Bug bootstrap/58386] [4.9 regression] libstdc++.so.6: undefined symbol: htab_hash_pointer

2013-09-10 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58386 --- Comment #1 from Dmitry G. Dyachenko --- Forget to mention: FAIL from c#1 was with make -j5 / 4 CPU with -enable-checking=release and 'make' FAIL differ checking for x86_64-unknown-linux-gnu-gcc... /home/dimhen/build/gcc_current/./gcc/xgcc -B

[Bug tree-optimization/58447] New: ICE: verify_gimple failed tree-cfg.c:4819

2013-09-17 Thread dimhen at gmail dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Created attachment 30838 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30838&action=edit testcase gcc-4.9 rev.202642 Fedora 19/x86_64 ICE with -O3 PASS with -O2 $ gcc -v Using b

[Bug c++/58448] New: ICE on invalid: tree_class_check_failed

2013-09-17 Thread dimhen at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local/gcc_current/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /home/dimhen

[Bug bootstrap/58350] libvtv/testsuite: Makefile:369: *** missing separator. Stop.

2013-09-17 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58350 Dmitry G. Dyachenko changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/50604] New: verify_gimple failed: type mismatch in binary expression

2011-10-03 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50604 Bug #: 50604 Summary: verify_gimple failed: type mismatch in binary expression Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/53848] [4.8 regression] ICE in decl_linkage at ../../gcc-trunk/gcc/cp/tree.c:3215

2012-07-04 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53848 --- Comment #2 from Dmitry G. Dyachenko 2012-07-04 10:18:03 UTC --- extern "C" { struct s { enum { e = 0 } f; }; }

[Bug c++/53848] [4.8 regression] ICE in decl_linkage at ../../gcc-trunk/gcc/cp/tree.c:3215

2012-07-04 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53848 --- Comment #3 from Dmitry G. Dyachenko 2012-07-04 10:19:37 UTC --- r189094 OK

[Bug lto/52687] New: [LTO] undefined vtable in dynamic library

2012-03-23 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52687 Bug #: 52687 Summary: [LTO] undefined vtable in dynamic library Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority

[Bug lto/52687] [LTO] undefined vtable in dynamic library

2012-03-26 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52687 --- Comment #2 from Dmitry G. Dyachenko 2012-03-26 10:07:53 UTC --- May be issue is Fedora 16 specific? i update gcc-trunk and retest with gcc-4.8.0/r185790 and with F16 gcc For gcc-4.8.0 i try -O0/1/2/3/fast and w/o -O with no differences [di

[Bug lto/52687] [LTO] undefined vtable in dynamic library

2012-03-27 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52687 --- Comment #3 from Dmitry G. Dyachenko 2012-03-27 09:39:05 UTC --- Fedora 17 Alpha / x64 has no problems gcc-4.7.0 20120208 (Red Hat 4.7.0-0.12) binutils 2.22.52.0.1-4.fc17 20120131

[Bug lto/52687] [LTO] undefined vtable in dynamic library

2012-03-29 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52687 Dmitry G. Dyachenko changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug bootstrap/58935] New: cannot install `libcilkrts.la' to a directory not ending in /usr/local/gcc_current/lib/gcc/x86_64-unknown-linux-gnu/

2013-10-31 Thread dimhen at gmail dot com
: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com gcc-trunk rev.204248 configured as ~/src/gcc_current/conf

[Bug bootstrap/59260] New: fold-const.c:14871:5: error: 'hash_table' has not been declared

2013-11-23 Thread dimhen at gmail dot com
ty: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com trunk r205300 Fedora19/x86_64 configured as ~/src/gcc_current/configure --prefix=/usr/local/gcc_current --with-multilib-list=m64 --enable-che

[Bug bootstrap/59260] fold-const.c:14871:5: error: 'hash_table' has not been declared

2013-11-23 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59260 --- Comment #1 from Dmitry G. Dyachenko --- Created attachment 31277 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31277&action=edit proposed patch

[Bug bootstrap/59260] fold-const.c:14871:5: error: 'hash_table' has not been declared

2013-11-23 Thread dimhen at gmail dot com
, ||dimhen at gmail dot com --- Comment #2 from Dmitry G. Dyachenko --- caused by r205272

[Bug bootstrap/59260] [4.9 Regression] fold-const.c:14871:5: error: 'hash_table' has not been declared

2013-11-25 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59260 Dmitry G. Dyachenko changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/59347] New: ICE on invalid: tree check: expected class 'type', have 'exceptional' (error_mark) in tsubst_decl, at cp/pt.c:10798

2013-11-29 Thread dimhen at gmail dot com
c Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com $ uname -a Linux dim.cp.ru 3.11.9-200.fc19.x86_64 #1 SMP Wed Nov 20 21:2

[Bug c++/59349] New: ICE on invalid: Segmentation fault toplev.c:336

2013-11-29 Thread dimhen at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com $ uname -a Linux dim.cp.ru 3.11.9-200.fc19.x86_64 #1 SMP Wed Nov 20 21:22:24 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local

[Bug middle-end/59350] New: [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212

2013-11-29 Thread dimhen at gmail dot com
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Fedora 19 x86_64 r205459 PASS r205527 FAIL $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local/gcc_current/libexec/gcc

[Bug middle-end/59350] [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212

2013-12-05 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59350 --- Comment #2 from Dmitry G. Dyachenko --- enough --enable-checking=yes

[Bug middle-end/59350] [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212

2013-12-05 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59350 --- Comment #3 from Dmitry G. Dyachenko --- first FAIL r205461

[Bug middle-end/59350] [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212

2013-12-10 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59350 --- Comment #5 from Dmitry G. Dyachenko --- (In reply to Jakub Jelinek from comment #4) > Strange, can't reproduce. You are using --with-arch=native --with=native, > what exactly it expands to? [dimhen@dim PR59350]$ ~/bin/gcc_205461_yes/bin/g++

[Bug middle-end/59350] [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212

2013-12-10 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59350 --- Comment #8 from Dmitry G. Dyachenko --- (In reply to Jakub Jelinek from comment #6) > Still can't reproduce. PASS /home/dimhen/bin/gcc_205461_yes/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/cc1plus -fpreprocessed x.ii -march=corei7 -mmm

[Bug middle-end/59350] [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212

2013-12-10 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59350 --- Comment #7 from Dmitry G. Dyachenko --- Created attachment 31409 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31409&action=edit valgrind' log

[Bug middle-end/59350] [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212

2013-12-10 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59350 --- Comment #10 from Dmitry G. Dyachenko --- (In reply to Dmitry G. Dyachenko from comment #8) valgrind' messages looks unrelated to ICE. I rebuild r205461 with memset(set, {0,0x42}, n_bytes) instead of VALGRIND_DISCARD (VALGRIND_MAKE_MEM_DEFINED

[Bug middle-end/59350] [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212

2013-12-10 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59350 --- Comment #11 from Dmitry G. Dyachenko --- (In reply to Ryan Mansfield from comment #9) > Created attachment 31410 [details] > arm-eabi testcase > > I haven't been able to reproduce with the inline testcase either. But I can > still consistentl

[Bug rtl-optimization/59350] [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212

2013-12-15 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59350 Dmitry G. Dyachenko changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug rtl-optimization/59350] [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212

2013-12-15 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59350 --- Comment #19 from Dmitry G. Dyachenko --- (In reply to Eric Botcazou from comment #18) > I cannot reproduce with --enable-checking=yes,rtl. Are you saying that the > ICE depends on whether 'rtl' is present in the checking options? Sorry for u

[Bug rtl-optimization/59350] [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212

2013-12-15 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59350 --- Comment #20 from Dmitry G. Dyachenko --- may be r205461 trigger latent bug? There are no ICE with -fno-split-wide-types or without arch/tune=corei7 I can run gdb if it'll usefull

[Bug rtl-optimization/59350] [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212

2013-12-15 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59350 --- Comment #22 from Dmitry G. Dyachenko --- (In reply to Eric Botcazou from comment #21) > What I don't get in that in comment 8 there is a command line with a PASS > and then FAIL has "prev.cmd -march=corei7 -mtune=corei7" but the two options >

[Bug rtl-optimization/59350] [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212

2013-12-15 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59350 --- Comment #23 from Dmitry G. Dyachenko --- (In reply to Eric Botcazou from comment #21) > What I don't get in that in comment 8 there is a command line with a PASS > and then FAIL has "prev.cmd -march=corei7 -mtune=corei7" but the two options >

[Bug rtl-optimization/59350] [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212

2013-12-15 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59350 --- Comment #25 from Dmitry G. Dyachenko --- After reading http://gcc.gnu.org/ml/gcc-patches/2013-12/msg01344.html about corei7 tuning ("Corei7 tuning doesn't set -maccumulate-outgoing-args option by default") I check -maccumulate-outgoing-args a

[Bug rtl-optimization/59350] [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212

2013-12-15 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59350 --- Comment #27 from Dmitry G. Dyachenko --- An other box with Fedora 18 / AMD Athlon I cant reproduce (r205515) How do you think, what is the right way to go? [I already tests RAM with memtest] run 2 GDBs and search differences in control-flow?

[Bug rtl-optimization/59350] [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212

2013-12-17 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59350 --- Comment #34 from Dmitry G. Dyachenko --- (In reply to Eric Botcazou from comment #33) > OK, thanks for the testcase, which boils down to: FAIL for me too r205459 PASS r205461, r206013 FAIL

[Bug c++/20681] [4.4/4.5/4.6/4.7 Regression] wrong "control reaches" warning with switches

2011-11-15 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20681 --- Comment #31 from Dmitry G. Dyachenko 2011-11-15 14:10:33 UTC --- gcc -Wreturn-type -c r.c r.c: In function 'bar': r.c:8:1: warning: control reaches end of non-void function [-Wreturn-type] enum foo { e_1 }; int bar(enum foo x) { switch(x

[Bug c++/20681] [4.4/4.5/4.6/4.7 Regression] wrong "control reaches" warning with switches

2011-11-16 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20681 --- Comment #33 from Dmitry G. Dyachenko 2011-11-16 09:04:40 UTC --- > Not a bug, enum foo can have other values except e_1. > > What happens if you call bar( (foo)1 ) ? sorry for noise :( You are right - no error in c#31

[Bug middle-end/51590] [4.7 Regression] ICE in gsi_for_stmt, at gimple-iterator.c:560

2011-12-18 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51590 --- Comment #2 from Dmitry G. Dyachenko 2011-12-18 13:13:36 UTC --- gcc version 4.7.0 20111218 (experimental) [trunk revision 182459] (GCC) Fedora 16/x64 $ cat c51590.c #include extern void baz(char *); static void bar( struct timeval *sv)

[Bug lto/87089] [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h

2018-12-24 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87089 Dmitry G. Dyachenko changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug lto/87089] [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h

2018-12-28 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87089 --- Comment #6 from Dmitry G. Dyachenko --- r267445 PASS

[Bug lto/87089] [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h

2018-12-28 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87089 --- Comment #7 from Dmitry G. Dyachenko --- (In reply to Dmitry G. Dyachenko from comment #6) > r267445 PASS sorry for noise 1. testcase from PR FAIL for me with r267445 2. real-world-code-compilation not FAIL

[Bug lto/88876] New: [9 regression] ICE in propagate_pure_const ipa-pure-const.c:1502

2019-01-16 Thread dimhen at gmail dot com
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- r261210 PASS r261341 FAIL r267961 FAIL $ cat a.i extern int c(); int a; int b() { if (a

[Bug lto/88876] [9 regression] ICE in propagate_pure_const ipa-pure-const.c:1502

2019-01-16 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88876 --- Comment #1 from Dmitry G. Dyachenko --- $ /usr/local/gcc_current/bin/gcc -v Using built-in specs. COLLECT_GCC=/usr/local/gcc_current/bin/gcc COLLECT_LTO_WRAPPER=/usr/local/gcc_current/libexec/gcc/x86_64-pc-linux-gnu/9.0.0/lto-wrapper OFFLOAD_

[Bug middle-end/86260] New: [8/9 Regression] incorrect -Wformat-truncation warning

2018-06-21 Thread dimhen at gmail dot com
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org CC: dimhen at gmail dot com, msebor at gcc dot gnu.org Target Milestone: --- CC: dimhen at gmail dot com #include

[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 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 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 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 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 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 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 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 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 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 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 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] [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 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 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++/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] [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 middle-end/78918] missing -Wrestrict on memcpy copying over self

2017-12-17 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78918 --- Comment #7 from Dmitry G. Dyachenko --- I'm a bit confused: -- warning about `static inline bar()' inlined into `foo()' -- and no warning about `baz()' What is the difference? May be no warnings will be more consistent? $ cat x.c #include

[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

[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] [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 #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 #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 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 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 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] [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 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 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 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 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/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 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 c++/86546] New: ICE on invalid: tree_class_check_failed()

2018-07-17 Thread dimhen at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r255090 FAIL r262747 FAIL $ cat x.ii class a b; c() { switch () case b $ /usr/local/gcc_current/bin/g++ -fpreprocessed -std=c++98 x.ii x.ii:1:9: error: aggregate ‘a b’ has

[Bug debug/86523] [9 Regression] ICE in gen_member_die, at dwarf2out.c:24933 starting from r262560

2018-07-17 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86523 --- Comment #5 from Dmitry G. Dyachenko --- r262559 PASS r262747 FAIL $ cat x.ii class a { int b; }; int const c = 0, d = 1, f = 2, g = 3; struct B { typedef a h; h i; }; template B j(); template struct k { static B const e; }; template

[Bug debug/86523] [9 Regression] ICE in gen_member_die, at dwarf2out.c:24933 starting from r262560

2018-07-18 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86523 --- Comment #11 from Dmitry G. Dyachenko --- r262850 works for me. Thanks!

[Bug sanitizer/86899] New: [7? regression] TSAN incorrect warning: control reaches end of non-void function

2018-08-09 Thread dimhen at gmail dot com
: 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 dot gnu.org

<    1   2   3   4   >