[Bug lto/50147] LTO: Segmentation fault in infinite_empty_loop_p

2016-11-24 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50147 Dmitry Gorbachev changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/51726] LTO and attribute 'selectany'

2016-11-24 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51726 Dmitry Gorbachev changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/64415] New: [5 Regression] ICE: verify_ssa failed / segmentation fault with LTO

2014-12-26 Thread d.g.gorbachev at gmail dot com
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Created attachment 34339 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34339action=edit Testcases With testcase 1: foo.c: In function 'foo

[Bug libstdc++/64275] New: Warnings when linking GCC go1: (virtual table of) type 'struct X' violates one definition rule

2014-12-11 Thread d.g.gorbachev at gmail dot com
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com GCC 5.0.0 20141207 (experimental). To reproduce the warnings, GCC and libstdc++ must be compiled with LTO (as in PR59472

[Bug libstdc++/64275] Warnings when linking GCC go1: (virtual table of) type 'struct X' violates one definition rule

2014-12-11 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64275 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added Keywords||lto

[Bug lto/64238] New: ICE in get_partitioning_class, at symtab.c:1775

2014-12-09 Thread d.g.gorbachev at gmail dot com
: lto Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com GCC 5.0.0 20141207 (experimental). $ gccgo -S -flto -o bytes.s bytes.go bytes_decl.go go1: internal compiler error: in get_partitioning_class, at symtab.c:1775 0x84fac84 symtab_node

[Bug lto/64238] ICE in get_partitioning_class, at symtab.c:1775

2014-12-09 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64238 --- Comment #1 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Created attachment 34230 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34230action=edit Testcase (gzipped tar file) Unreduced (from libgo).

[Bug lto/64075] [5 Regression] ICE: in bp_pack_value, at data-streamer.h:106

2014-11-27 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64075 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added Status|NEW

[Bug lto/64075] [5 Regression] ICE: in bp_pack_value, at data-streamer.h:106

2014-11-26 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64075 --- Comment #6 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- The patch works, thanks! But the committed test is incorrect, because the original, unpatched compiler, does not fail on it. It failed on functions __mulsc3, __muldc3

[Bug tree-optimization/64091] New: [5 Regression] ICE in update_debug_stmt, at tree-ssa-tail-merge.c:1620

2014-11-26 Thread d.g.gorbachev at gmail dot com
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Created attachment 34129 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34129action=edit TC (compile with -O2 -fvar-tracking

[Bug lto/64075] New: [5 Regression] ICE: in bp_pack_value, at data-streamer.h:106

2014-11-25 Thread d.g.gorbachev at gmail dot com
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Created attachment 34119 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34119action=edit Testcase GCC 5.0.0 20141123 (experimental). bug.c:4:1: internal

[Bug lto/64075] [5 Regression] ICE: in bp_pack_value, at data-streamer.h:106

2014-11-25 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64075 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added Keywords||ice

[Bug lto/61557] [4.9/5 Regression] LTO ICE: verify_flow_info failed (error: control flow in the middle of basic block)

2014-11-25 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61557 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug lto/64076] New: ICE: in update_visibility_by_resolution_info, at ipa-visibility.c:427

2014-11-25 Thread d.g.gorbachev at gmail dot com
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Testcase in attachment 32108 (from bug 60150). GCC 5.0.0 20141123 (experimental). lto1: internal compiler error: in update_visibility_by_resolution_info

[Bug lto/60150] [4.9 Regression] ICE in function_and_variable_visibility, at ipa.c:1000

2014-11-25 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60150 --- Comment #6 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Filed bug 64076 for a new problem.

[Bug c/59332] Segmentation fault in inline_summary with LTO + attribute optimize

2014-11-25 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59332 --- Comment #7 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Recent GCC 5 accepts both lto and no-lto. However, they work on a per-file rather then on a per-function basis...

[Bug bootstrap/63280] New: Double free in GCC compiled with LTO and -O3.

2014-09-16 Thread d.g.gorbachev at gmail dot com
: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Host: i686-pc-linux-gnu Target: i686-pc-linux-gnu Build: i686-pc-linux-gnu GCC 5.0.0 20140914 (experimental) /r215254/. Crash at bootstrap. 0x8a6117d

[Bug lto/62239] New: [5 Regression] ICE: in execute_todo, at passes.c:1795 with LTO

2014-08-23 Thread d.g.gorbachev at gmail dot com
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com cat foo.c char *foo(unsigned n) { char *s = __builtin_calloc(1, n); return __builtin___strcat_chk(s, , __builtin_object_size(s, 0)); } ^D $ gcc -O -flto

[Bug lto/62239] [5 Regression] ICE: in execute_todo, at passes.c:1795 with LTO

2014-08-23 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62239 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added Keywords||ice

[Bug bootstrap/60160] Building with -flto in CFLAGS_FOR_TARGET / CXXFLAGS_FOR_TARGET

2014-08-23 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60160 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added Attachment #32115|0 |1

[Bug lto/62026] [4.9/5 Regression] Crash in lto_get_decl_name_mapping

2014-08-16 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62026 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added CC||jamborm

[Bug lto/51726] LTO and attribute 'selectany'

2014-08-07 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51726 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added CC||rguenth

[Bug c++/62043] New: [4.9/4.10 Regression] GCC hangs / aborts / double free or corruption (!prev) on invalid input

2014-08-06 Thread d.g.gorbachev at gmail dot com
Severity: trivial Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Created attachment 33265 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33265action=edit Testcase 2.i:1:0: sorry

[Bug c++/62043] [4.9/4.10 Regression] GCC hangs / aborts / double free or corruption (!prev) on invalid input

2014-08-06 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62043 --- Comment #1 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Created attachment 33266 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33266action=edit Backtrace

[Bug target/51843] ICE with LTO and attribute `dllimport'

2014-08-06 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51843 --- Comment #2 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- No ICE with GCC 4.9/4.10, the attribute is silently ignored.

[Bug lto/62026] New: [4.9/4.10 Regression] Crash in lto_get_decl_name_mapping

2014-08-05 Thread d.g.gorbachev at gmail dot com
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Created attachment 33250 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33250action=edit Testcase Compile this testcase with `-O3 -flto -shared -nostdlib'.

[Bug lto/62026] [4.9/4.10 Regression] Crash in lto_get_decl_name_mapping

2014-08-05 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62026 --- Comment #1 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Created attachment 33251 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33251action=edit Backtrace from 4.10.0 Appeared in rev. (208444, 209348].

[Bug ipa/61885] New: [4.10 Regression] ICE: in types_same_for_odr, at ipa-devirt.c:383 with LTO

2014-07-23 Thread d.g.gorbachev at gmail dot com
: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com CC: hubicka at gcc dot gnu.org Target: i686-pc-linux-gnu Created attachment 33175 -- https://gcc.gnu.org/bugzilla

[Bug middle-end/61879] New: [4.10 Regression] GCC gives note: non-delegitimized UNSPEC UNSPEC_GOTOFF (1) found in variable location

2014-07-22 Thread d.g.gorbachev at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Target: i686-pc-linux-gnu Created attachment 33172 -- https://gcc.gnu.org/bugzilla

[Bug lto/61557] New: [4.9 Regression] LTO ICE: verify_flow_info failed (error: control flow in the middle of basic block)

2014-06-18 Thread d.g.gorbachev at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Target: i686-pc-linux-gnu Created attachment 32970 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id

[Bug target/60481] `g++ -Q --help=c++' falsely reports -fms-extensions as [disabled] when in fact it is enabled

2014-06-18 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60481 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added Status|RESOLVED

[Bug target/48127] Program crashes reading a non-aligned variable

2014-06-18 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48127 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug rtl-optimization/48128] Excessive code generated for vectorized loop

2014-06-18 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48128 --- Comment #4 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- (In reply to comment #2) When marking baz as static an compiling with -mno-sse, the result is even more strange... Still true for GCC 4.9.1 and 4.10.0.

[Bug target/60481] New: [4.9 Regression] Missing diagnostic ISO C++ forbids declaration of 'foo' with no type

2014-03-10 Thread d.g.gorbachev at gmail dot com
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Target: *-*-mingw32 $ cat foo.C foo() { return 0; } ^D $ i686-w64-mingw32-g++-4.9.0 -S foo.C $ i686-pc-linux-gnu-g

[Bug target/60481] [4.9 Regression] Missing diagnostic ISO C++ forbids declaration of 'foo' with no type

2014-03-10 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60481 --- Comment #2 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Yes, it seems that it is on (there is an error with -fno-ms-extensions), but: $ i686-w64-mingw32-g++-4.9.0 -Q --help=c++ | grep ms-ext -fms-extensions

[Bug lto/60150] [4.9 Regression] ICE in function_and_variable_visibility, at ipa.c:1000

2014-03-04 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60150 --- Comment #5 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Ok, but there is no «#define XXX» before «#include pr60150.H» in pr60150_0.C, which does not seem to be correct.

[Bug bootstrap/60160] New: Building with -flto in CFLAGS_FOR_TARGET / CXXFLAGS_FOR_TARGET

2014-02-12 Thread d.g.gorbachev at gmail dot com
Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Created attachment 32115 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32115action=edit Tentative patch Someone might want to build everything

[Bug other/59893] Use LTO for libgcc.a, libstdc++.a, etc

2014-02-12 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59893 --- Comment #7 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- I used to build GCC 4.8/4.9 with -flto in C(XX)FLAGS_FOR_TARGET for quite some time (both native i686-pc-linux-gnu and a cross), and it seems to work. I saw two problems: PR

[Bug lto/60150] New: [4.9 Regression] ICE in function_and_variable_visibility, at ipa.c:1000

2014-02-11 Thread d.g.gorbachev at gmail dot com
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Created attachment 32108 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32108action=edit Testcase

[Bug lto/59468] [4.9 Regression] ICE on invalid C++ code with LTO in gimple_get_virt_method_for_binfo, at gimple-fold.c:3224

2014-02-11 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59468 --- Comment #10 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- I confirm that there is no ICE with the 1st testcase. The 2nd still causes ICE in function_and_variable_visibility, at ipa.c:1000. (Something strange happened with the 2nd

[Bug lto/47889] [4.7 Regression] Segmentation fault in useless_type_conversion_p, at tree-ssa.c:1228

2014-01-10 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47889 --- Comment #16 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Created attachment 31801 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31801action=edit Backtrace from non-checked 4.7.4 build

[Bug lto/47889] [4.7 Regression] Segmentation fault in useless_type_conversion_p, at tree-ssa.c:1228

2014-01-10 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47889 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added Attachment #23485|0 |1

[Bug lto/47889] [4.7/4.8/4.9 Regression] Segmentation fault in useless_type_conversion_p, at tree-ssa.c:1228

2014-01-09 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47889 --- Comment #11 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- GCC 4.7 still crashes on the testcase from attachment 25620: $ gcc -r -nostdlib -flto 1.c 2.c In file included from 1.c:5:0, from :0: 2.c:5:17: warning

[Bug lto/50008] [4.7/4.8/4.9 Regression] type mismatch in array reference, verify_gimple failed

2014-01-09 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50008 --- Comment #6 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Disappeared somewhere between r204654 and r205795. (When configured with checking, both GCC 4.7 and 4.8 still fail.)

[Bug lto/47889] [4.7 Regression] Segmentation fault in useless_type_conversion_p, at tree-ssa.c:1228

2014-01-09 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47889 --- Comment #13 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- It was 4.7.4 20131207 (prerelease).

[Bug other/56653] Warning when verifying checksums from MD5SUMS file in tarballs

2013-12-27 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56653 --- Comment #1 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Patch posted: http://gcc.gnu.org/ml/gcc-patches/2013-12/msg01926.html.

[Bug lto/59468] [4.9 Regression] ICE on invalid C++ code with LTO in gimple_get_virt_method_for_binfo, at gimple-fold.c:3224

2013-12-16 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59468 --- Comment #5 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- I also saw something similar with normal, non-invalid code. This TC is from Delta-reduced code.

[Bug lto/59468] [4.9 Regression] ICE on invalid C++ code with LTO in gimple_get_virt_method_for_binfo, at gimple-fold.c:3224

2013-12-16 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59468 --- Comment #6 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Created attachment 31453 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31453action=edit TC: ICE in function_and_variable_visibility, at ipa.c:997

[Bug lto/59468] [4.9 Regression] ICE on invalid C++ code with LTO in gimple_get_virt_method_for_binfo, at gimple-fold.c:3224

2013-12-16 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59468 --- Comment #7 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Are such strange testcases useful for you? Should I file another bug report for this new TC?

[Bug target/59516] New: [4.9 Regression] Multiple definition of `X' / of `non-virtual thunk to X' errors with LTO

2013-12-15 Thread d.g.gorbachev at gmail dot com
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Target: i686-w64-mingw32 Created attachment 31442 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31442action=edit

[Bug other/59518] New: C++ demangler does not handle some global constructor LTO names

2013-12-15 Thread d.g.gorbachev at gmail dot com
Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com These names are not currently demangled: `_GLOBAL__sub_I__Z3foov', `_GLOBAL__sub_I_bar', `_ZL1n.lto_priv.7', `_ZZ3foovE12__FUNCTION__.lto_priv.8

[Bug c++/25015] [gomp] Function names cannot be demangled due to .omp_fn suffix

2013-12-15 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25015 --- Comment #5 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Now, `_Z3foov._omp_fn.0' is demangled as `foo() [clone ._omp_fn.0]'. GCC could use that instead of just 'built-in'.

[Bug lto/59468] New: ICE on invalid C++ code with LTO in gimple_get_virt_method_for_binfo, at gimple-fold.c:3224

2013-12-11 Thread d.g.gorbachev at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Created attachment 31416 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31416action=edit Testcase (compile

[Bug lto/59468] [4.9 Regression] ICE on invalid C++ code with LTO in gimple_get_virt_method_for_binfo, at gimple-fold.c:3224

2013-12-11 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59468 --- Comment #3 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- works with 4.8. Perhaps it should be counted as a 4.8 regression - 4.7 warns about the non-matching vtables.

[Bug lto/59472] New: Many warnings type of 'X' does not match original declaration when linking with libstdc++ static library compiled with -flto

2013-12-11 Thread d.g.gorbachev at gmail dot com
Version: 4.9.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com $ cat hello.cc #include iostream int main() { std::cout Hello, world

[Bug sanitizer/59368] [4.9 Regression] libsanitizer spec file installed in the wrong place

2013-12-05 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59368 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug bootstrap/59368] [4.9 Regression] libsanitizer spec file installed in the wrong place

2013-12-03 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59368 --- Comment #4 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Yes, the patch works. Thanks.

[Bug bootstrap/59368] New: [4.9 Regression] libsanitizer spec file installed in the wrong place

2013-12-02 Thread d.g.gorbachev at gmail dot com
Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com When GCC is configured with --enable-version-specific-runtime-libs, spec files for libgomp, libitm, etc. are installed in the compiler-specific

[Bug bootstrap/59368] [4.9 Regression] libsanitizer spec file installed in the wrong place

2013-12-02 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59368 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added CC||jakub

[Bug c/59332] Segmentation fault in inline_summary with LTO + attribute optimize

2013-11-29 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59332 --- Comment #4 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Can you expand on those shortcomings/bugs? There are LTO-related issues in GCC and LD, such as PR43038, PR56536 and others. Not all problems will be fixed soon, and more

[Bug c/59332] Segmentation fault in inline_summary with LTO + attribute optimize

2013-11-29 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59332 --- Comment #6 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- It was discovered by accident. However, if it does work, why no-lto (which is so much more useful) should not work?

[Bug middle-end/59330] New: Crash in is_gimple_reg_type

2013-11-28 Thread d.g.gorbachev at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com === 8 === void free(void *p) { } void *foo(void) { return 0; } int main(void) { void *p = foo(); free(p); return 0; } === 8 === $ gcc -O 1.c 1.c: In function 'main': 1.c:15:1

[Bug lto/59332] New: Segmentation fault in inline_summary with LTO + attribute optimize

2013-11-28 Thread d.g.gorbachev at gmail dot com
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com $ echo '__attribute__((optimize(no-lto))) void foo(void) { }' 1.c $ gcc -S -flto 1.c 1.c:1:1: internal compiler error: Segmentation fault __attribute__

[Bug lto/59332] Segmentation fault in inline_summary with LTO + attribute optimize

2013-11-28 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59332 --- Comment #1 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- In view of LTO shortcomings / bugs, I think that switching LTO *off* on a per-function basis can be useful. Perhaps it should be marked as 'enhancement'...

[Bug debug/59323] New: [4.9 Regression] Int. comp. error: in add_AT_specification, at dwarf2out.c:4026

2013-11-27 Thread d.g.gorbachev at gmail dot com
: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Created attachment 31316 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31316action=edit Testcase (compile with -g -O2 -flto) GCC 4.9.0

[Bug rtl-optimization/59179] [4.9 Regression] Wrong code generated with -Og

2013-11-25 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59179 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug rtl-optimization/59179] New: [4.9 Regression] Wrong code generated with -Og

2013-11-18 Thread d.g.gorbachev at gmail dot com
: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Host: i686-pc-linux-gnu Target: i686-pc-linux-gnu Build: i686-pc-linux-gnu Created attachment 31240 -- http://gcc.gnu.org/bugzilla

[Bug bootstrap/59094] [4.9 Regression] Cilk runtime library headers are installed into the general include directory

2013-11-14 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59094 --- Comment #3 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- (In reply to Balaji V. Iyer from comment #2) Can you please confirm if the following patch works for you? Yes, the patch works.

[Bug tree-optimization/59124] [4.8/4.9 Regression] Wrong warnings array subscript is above array bounds

2013-11-14 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59124 --- Comment #2 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Another testcase: = 8 = extern char *bar[17]; int foo(int argc, char **argv) { int i; int n = 0; for (i = 0; i argc; i++) n++; for (i

[Bug tree-optimization/59124] New: [4.8 Regression] Wrong warnings array subscript is above array bounds

2013-11-13 Thread d.g.gorbachev at gmail dot com
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com $ gcc -S -Wall -O3 1.c 1.c: In function 'foo': 1.c:12:23: warning: array subscript is above array bounds [-Warray-bounds] bar[j - 1

[Bug bootstrap/59094] New: [4.9 Regression] Cilk runtime library headers are installed into the general include directory

2013-11-12 Thread d.g.gorbachev at gmail dot com
Severity: minor Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com When GCC is configured with --enable-version-specific-runtime-libs, header files for libstdc++, libgomp, libquadmath, etc

[Bug bootstrap/59094] [4.9 Regression] Cilk runtime library headers are installed into the general include directory

2013-11-12 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59094 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added CC||bviyer

[Bug ipa/59008] New: [4.9 Regression] ICEs in try_make_edge_direct_simple_call / propagate_controlled_uses

2013-11-05 Thread d.g.gorbachev at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com GCC 4.9.0 20131103 (experimental) /rev. 204338/ $ gcc -S -O2 bug.c bug.c:29:1: internal compiler error

[Bug ipa/59008] [4.9 Regression] ICEs in try_make_edge_direct_simple_call / propagate_controlled_uses

2013-11-05 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59008 --- Comment #1 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Created attachment 31168 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31168action=edit Testcases GCC 20130728 /rev. 201294/ - works. GCC 20130908 /rev. 202372/ - fails

[Bug target/58964] New: [4.9 Regression] Bogus message: error: -mpreferred-stack-boundary=0 is not between 2 and 12

2013-11-01 Thread d.g.gorbachev at gmail dot com
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Host: i686-pc-linux-gnu Target: i686-pc-linux-gnu Build: i686-pc-linux-gnu GCC 4.9.0

[Bug tree-optimization/58464] New: [4.9 Regression] Crashes with SIGSEGV (infinite recursion in phi_translate)

2013-09-18 Thread d.g.gorbachev at gmail dot com
: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Host: i686-pc-linux-gnu Target: i686-pc-linux-gnu Build: i686-pc-linux-gnu Created attachment

[Bug tree-optimization/58464] [4.9 Regression] Crashes with SIGSEGV (infinite recursion in phi_translate)

2013-09-18 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58464 --- Comment #1 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Created attachment 30857 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30857action=edit Testcase (somewhat minimized). Compile with -O3. GCC 20130331 (rev. 197291

[Bug tree-optimization/58464] [4.9 Regression] Crashes with SIGSEGV (infinite recursion in phi_translate)

2013-09-18 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58464 --- Comment #2 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- Created attachment 30858 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30858action=edit Original preprocessed file

[Bug other/58441] New: VTV headers are installed into the general include directory

2013-09-17 Thread d.g.gorbachev at gmail dot com
Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com When GCC is configured with --enable-version-specific-runtime-libs, header files for libstdc++, libgomp, libquadmath, etc. are installed in the compiler-specific

[Bug other/58441] VTV headers are installed into the general include directory

2013-09-17 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58441 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added CC||cmtice

[Bug bootstrap/58441] [4.9 Regression] VTV headers are installed into the general include directory

2013-09-17 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58441 --- Comment #4 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- vtv_fail.h, vtv_malloc.h, vtv_map.h, vtv_rts.h, vtv_set.h, vtv_utils.h are installed to /usr/local/include. GCC is configured with --enable-version-specific-runtime-libs

[Bug lto/57602] [4.9 Regression] Runfails for several C/C++ benchmarks from spec2000 for i686 with -flto after r199422

2013-07-22 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57602 --- Comment #8 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- And a testcase from PR57879 fails with -O2 / -O1 and -flto, it happens when building GCC itself.

[Bug lto/57879] GCC with -flto generates invalid code for genmddeps program

2013-07-22 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57879 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug lto/57602] [4.9 Regression] Runfails for several C/C++ benchmarks from spec2000 for i686 with -flto after r199422

2013-07-22 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57602 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added CC

[Bug lto/57879] New: GCC with -flto generates invalid code for genmddeps program

2013-07-10 Thread d.g.gorbachev at gmail dot com
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com Host: i686-pc-linux-gnu Target: i686-pc-linux-gnu Build: i686-pc-linux-gnu Created attachment 30495 -- http://gcc.gnu.org

[Bug lto/57879] GCC with -flto generates invalid code for genmddeps program

2013-07-10 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57879 --- Comment #1 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- GCC 20130526 (r199345) - works: 08048a10 main: main(): [...] 8048a62: mov$0x8048f60,%ecx 8048a67: mov$0x8048f80,%edx 8048a6c: mov$0xa1,%eax

[Bug middle-end/57393] [4.9 Regression] error: definition in block 4 follows the use / internal compiler error: verify_ssa failed

2013-07-01 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57393 --- Comment #7 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- For convenience, I put here a testcase from bug 57400. Joost VandeVondele: this second testcase is almost certainly a dup of PR57393. It passes with -fno-tree-reassoc

[Bug tree-optimization/57400] [4.9 Regression] ICE: verify_ssa failed (definition in block n follows the use)

2013-06-30 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57400 --- Comment #2 from Dmitry Gorbachev d.g.gorbachev at gmail dot com --- The following testcase causes a similar error / ICE (although I can't reproduce the bug with the original testcase). 8

[Bug rtl-optimization/47270] [4.7/4.8/4.9 Regression] GCC produces unnecessary code on -O2 and -O3 levels

2013-04-12 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47270 --- Comment #6 from Dmitry Gorbachev d.g.gorbachev at gmail dot com 2013-04-12 20:34:31 UTC --- I can't reproduce the bug with GCC 4.7.3 and 4.8.1.

[Bug lto/48259] Internal compiler errors in lto1

2013-04-12 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48259 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added Status|WAITING

[Bug lto/56700] Optimizing at compile and link result in different binary size than only optimizing at link time

2013-03-26 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56700 --- Comment #3 from Dmitry Gorbachev d.g.gorbachev at gmail dot com 2013-03-26 20:12:42 UTC --- It's not just me who concluded that wrong. Bug 55102.

[Bug other/56653] New: Warning when verifying checksums from MD5SUMS file in tarballs

2013-03-18 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56653 Bug #: 56653 Summary: Warning when verifying checksums from MD5SUMS file in tarballs Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug lto/56578] Testcase behaves differently when compiled with LTO

2013-03-12 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56578 --- Comment #4 from Dmitry Gorbachev d.g.gorbachev at gmail dot com 2013-03-12 13:30:30 UTC --- We could say the bug is in the testcase. Failing is: [...] that's because you are providing an implementation of malloc in libxxx.a a.o

[Bug lto/56578] Testcase behaves differently when compiled with LTO

2013-03-11 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56578 --- Comment #2 from Dmitry Gorbachev d.g.gorbachev at gmail dot com 2013-03-12 00:46:13 UTC --- GCC 4.8.0, 4.7.3, 4.6.4; build = host = target = i686-pc-linux-gnu; configured with --enable-languages=c,c++ --enable-version-specific-runtime

[Bug lto/56578] New: Testcase behaves differently when compiled with LTO

2013-03-09 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56578 Bug #: 56578 Summary: Testcase behaves differently when compiled with LTO Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity:

[Bug middle-end/56548] New: [4.8 Regression] ICE in emit_move_insn, at expr.c:3486 with -march=pentium{pro,2,3} -O3

2013-03-06 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56548 Bug #: 56548 Summary: [4.8 Regression] ICE in emit_move_insn, at expr.c:3486 with -march=pentium{pro,2,3} -O3 Classification: Unclassified Product: gcc Version: 4.8.0

[Bug lto/56536] New: GCC with LTO and `-march=pentium3' tries to generate SSE2 code

2013-03-05 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56536 Bug #: 56536 Summary: GCC with LTO and `-march=pentium3' tries to generate SSE2 code Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug lto/56515] New: location references block not in block tree, verify_gimple failed (LTO + profile)

2013-03-03 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56515 Bug #: 56515 Summary: location references block not in block tree, verify_gimple failed (LTO + profile) Classification: Unclassified Product: gcc Version: 4.8.0

[Bug lto/56515] location references block not in block tree, verify_gimple failed (LTO + profile)

2013-03-03 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56515 --- Comment #1 from Dmitry Gorbachev d.g.gorbachev at gmail dot com 2013-03-04 05:20:49 UTC --- Created attachment 29575 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29575 Bt from 4.7.3 GCC 4.8.0 20130127 (r195497) fails, too

[Bug lto/56515] location references block not in block tree, verify_gimple failed (LTO + profile)

2013-03-03 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56515 --- Comment #2 from Dmitry Gorbachev d.g.gorbachev at gmail dot com 2013-03-04 05:22:09 UTC --- Created attachment 29576 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29576 Testcase

  1   2   3   4   >