[Bug lto/43467] New: LTO error bytecode stream: trying to read 0 bytes after the end of the input buffer

2010-03-21 Thread d dot g dot gorbachev at gmail dot com
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43467

[Bug lto/43467] LTO error bytecode stream: trying to read 0 bytes after the end of the input buffer

2010-03-21 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-03-21 17:25 --- Created an attachment (id=20151) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20151action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43467

[Bug target/42886] [4.5 Regression] GCC is not relocatable anymore on Windows (mingw32)

2010-03-21 Thread d dot g dot gorbachev at gmail dot com
--- Comment #5 from d dot g dot gorbachev at gmail dot com 2010-03-21 18:00 --- My GCC (4.4 and 4.5) were configured with the following options: `--build=mingw32 --enable-languages=c,c++ --enable-version-specific-runtime-libs --disable-win32-registry --disable-nls --disable-shared'. I

[Bug driver/43371] New: Add -fresolution to the list of switches that take arguments

2010-03-14 Thread d dot g dot gorbachev at gmail dot com
: d dot g dot gorbachev at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43371

[Bug driver/43371] Add -fresolution to the list of switches that take arguments

2010-03-14 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-03-14 23:30 --- Created an attachment (id=20105) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20105action=view) Patch to add fresolution to gcc.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43371

[Bug regression/43356] Wrong code and misleading warning statement with no effect

2010-03-13 Thread d dot g dot gorbachev at gmail dot com
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-03-13 23:38 --- I believe that GCC is correct, and the warning is good. The actual bug was introduced in MinGW-w64 in revision 1699. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43356

[Bug other/43336] GCC leaves a temporary LTO output file in $TMPDIR

2010-03-12 Thread d dot g dot gorbachev at gmail dot com
--- Comment #4 from d dot g dot gorbachev at gmail dot com 2010-03-12 20:01 --- Patch: http://gcc.gnu.org/ml/gcc-patches/2010-03/msg00492.html Diego Novillo wrote: OK. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43336

[Bug driver/43335] New: Driver crashes dereferencing a null pointer if it can't find lto-wrapper

2010-03-11 Thread d dot g dot gorbachev at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43335

[Bug driver/43335] Driver crashes dereferencing a null pointer if it can't find lto-wrapper

2010-03-11 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-03-11 19:26 --- Created an attachment (id=20086) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20086action=view) Patch I use this patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43335

[Bug other/43336] New: GCC leaves a temporary LTO output file in $TMPDIR

2010-03-11 Thread d dot g dot gorbachev at gmail dot com
: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43336

[Bug other/43336] GCC leaves a temporary LTO output file in $TMPDIR

2010-03-11 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-03-11 19:29 --- Created an attachment (id=20088) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20088action=view) Patch This mustard plaster helps me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43336

[Bug c/43319] Lack of documentation on asm extension

2010-03-10 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-03-10 11:17 --- Machine-independent templates are described in gccint.info, in the Output Templates and Operand Substitution section. Online documentation is here: http://gcc.gnu.org/onlinedocs/gccint/Output-Template.html

[Bug middle-end/43316] New: fold check: original tree changed by fold

2010-03-09 Thread d dot g dot gorbachev at gmail dot com
dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43316

[Bug middle-end/43316] fold check: original tree changed by fold

2010-03-09 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-03-10 00:01 --- Created an attachment (id=20068) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20068action=view) Backtrace -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43316

[Bug middle-end/43316] fold check: original tree changed by fold

2010-03-09 Thread d dot g dot gorbachev at gmail dot com
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-03-10 00:01 --- Created an attachment (id=20070) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20070action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43316

[Bug middle-end/43057] [LTO] fold check: original tree changed by fold

2010-03-09 Thread d dot g dot gorbachev at gmail dot com
--- Comment #4 from d dot g dot gorbachev at gmail dot com 2010-03-10 00:17 --- Created an attachment (id=20071) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20071action=view) Another testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43057

[Bug lto/43318] LTO ICE with minimal C++ program

2010-03-09 Thread d dot g dot gorbachev at gmail dot com
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-03-10 00:32 --- Bug 42402. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43318

[Bug lto/43218] New: [LTO] Conflicting function types cause ICE

2010-03-01 Thread d dot g dot gorbachev at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target

[Bug lto/43218] [LTO] Conflicting function types cause ICE

2010-03-01 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-03-01 12:43 --- Created an attachment (id=19995) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19995action=view) Three testcases Compile with `-flto -O2' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43218

[Bug lto/42451] 'warning: type of array does not match original declaration' with -flto/-fwhopr

2010-03-01 Thread d dot g dot gorbachev at gmail dot com
--- Comment #6 from d dot g dot gorbachev at gmail dot com 2010-03-01 12:47 --- Created an attachment (id=19996) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19996action=view) Another testcase Compile with `gcc -flto 1.c 2.c' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug middle-end/43221] New: [LTO] ICE in get_alias_set

2010-03-01 Thread d dot g dot gorbachev at gmail dot com
Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug middle-end/43221] [LTO] ICE in get_alias_set

2010-03-01 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-03-01 15:54 --- Created an attachment (id=1) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=1action=view) Testcase Compile with `gcc -O2 -flto 1.c 2.c' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43221

[Bug lto/43208] New: lto1: error: invalid conversion in return statement

2010-02-28 Thread d dot g dot gorbachev at gmail dot com
Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http

[Bug lto/43208] lto1: error: invalid conversion in return statement

2010-02-28 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-02-28 11:40 --- Created an attachment (id=19985) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19985action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43208

[Bug lto/43212] New: [LTO] error: control flow in the middle of basic block

2010-02-28 Thread d dot g dot gorbachev at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet

[Bug tree-optimization/43213] New: [4.5 Regression] Worse code generated with -O2

2010-02-28 Thread d dot g dot gorbachev at gmail dot com
ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43213

[Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2

2010-02-28 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-02-28 19:57 --- Created an attachment (id=19990) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19990action=view) Poor code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43213

[Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2

2010-02-28 Thread d dot g dot gorbachev at gmail dot com
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-02-28 19:58 --- Created an attachment (id=19991) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19991action=view) C source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43213

[Bug tree-optimization/43186] [4.5 Regression] A loop in tree_unroll_loops_completely never ends

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
--- Comment #6 from d dot g dot gorbachev at gmail dot com 2010-02-27 10:17 --- Thanks! But it still does not work when a 3 is replaced by a 4. Also, the original testcase requires much time to compile. -- d dot g dot gorbachev at gmail dot com changed: What

[Bug lto/43200] New: [LTO] tree check: expected array_type, have pointer_type in array_ref_low_bound

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
in array_ref_low_bound Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev

[Bug lto/43201] New: Missed optimization with `-flto'

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43201

[Bug lto/43201] Missed optimization with `-flto'

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-02-27 21:04 --- Created an attachment (id=19978) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19978action=view) Code produced by lto1 Compiled with `-O2 -flto' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug lto/43201] Missed optimization with `-flto'

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-02-27 21:05 --- Created an attachment (id=19979) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19979action=view) Code compiled without `-flto' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43201

[Bug lto/43201] Missed optimization with `-flto'

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
--- Comment #3 from d dot g dot gorbachev at gmail dot com 2010-02-27 21:06 --- Created an attachment (id=19980) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19980action=view) C source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43201

[Bug tree-optimization/43186] [4.5 Regression] A loop in tree_unroll_loops_completely never ends

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
--- Comment #8 from d dot g dot gorbachev at gmail dot com 2010-02-27 22:11 --- Well, it really only requires much time and memory to compile, it's not never ending ;) Ah, it means that machine is old. Also, the generated code is larger then what gcc 4.3 does (4.4 is affected, too

[Bug middle-end/43204] New: GCC 4.4 / 4.5 generates larger code for a particular testcase

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu

[Bug middle-end/43204] GCC 4.4 / 4.5 generates larger code for a particular testcase

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-02-27 23:01 --- Created an attachment (id=19982) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19982action=view) Output of GCC 4.3 --- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-02-27 23:02

[Bug middle-end/43204] GCC 4.4 / 4.5 generates larger code for a particular testcase

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-02-27 23:01 --- Created an attachment (id=19982) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19982action=view) Output of GCC 4.3 --- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-02-27 23:02

[Bug preprocessor/43195] New: #pragma once and -H

2010-02-26 Thread d dot g dot gorbachev at gmail dot com
Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug lto/42453] Assertion `syms' failed in lto-plugin

2010-02-25 Thread d dot g dot gorbachev at gmail dot com
--- Comment #3 from d dot g dot gorbachev at gmail dot com 2010-02-26 02:46 --- Created an attachment (id=19964) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19964action=view) Testcase Yet another thing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42453

[Bug tree-optimization/43186] New: A loop in tree_unroll_loops_completely never ends

2010-02-25 Thread d dot g dot gorbachev at gmail dot com
org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43186

[Bug tree-optimization/43186] A loop in tree_unroll_loops_completely never ends

2010-02-25 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-02-26 04:29 --- Created an attachment (id=19965) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19965action=view) Testcase gcc -S -O3 -DBUG pr43186.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43186

[Bug tree-optimization/43188] New: [4.5 Regression] error: alignment of array elements is greater than element size

2010-02-25 Thread d dot g dot gorbachev at gmail dot com
ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43188

[Bug lto/43157] New: Segmentation fault in aggregate_value_p

2010-02-23 Thread d dot g dot gorbachev at gmail dot com
dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43157

[Bug lto/43157] Segmentation fault in aggregate_value_p

2010-02-23 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-02-24 00:01 --- Created an attachment (id=19942) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19942action=view) Testcase gcc -O1 -flto pr43157.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43157

[Bug tree-optimization/43159] New: Missing optimization

2010-02-23 Thread d dot g dot gorbachev at gmail dot com
dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43159

[Bug tree-optimization/43159] Missing optimization

2010-02-23 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-02-24 07:47 --- Created an attachment (id=19943) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19943action=view) Testcase $ gcc -c -O3 -march=pentium4 -mfpmath=sse pr43159.c $ nm -u pr43159.o U b

[Bug other/43090] Why gcc can't invoke target prefix-as and uses 'as' instead?

2010-02-16 Thread d dot g dot gorbachev at gmail dot com
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-02-16 13:25 --- Except from the fact this 'as' is not symlinked but copied It must be hardlinked, not copied, on the systems which support hard links. The fact that the toolchain has various such internal directories

[Bug lto/43057] New: [LTO] fold check: original tree changed by fold

2010-02-13 Thread d dot g dot gorbachev at gmail dot com
Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla

[Bug lto/43057] [LTO] fold check: original tree changed by fold

2010-02-13 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-02-13 14:27 --- Created an attachment (id=19857) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19857action=view) Backtrace -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43057

[Bug lto/43057] [LTO] fold check: original tree changed by fold

2010-02-13 Thread d dot g dot gorbachev at gmail dot com
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-02-13 14:29 --- Created an attachment (id=19858) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19858action=view) Testcase gcc -O -flto bug.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43057

[Bug lto/42985] New: Internal compiler error: in ipcp_iterate_stage, at ipa-cp.c:759

2010-02-06 Thread d dot g dot gorbachev at gmail dot com
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42985

[Bug lto/42985] Internal compiler error: in ipcp_iterate_stage, at ipa-cp.c:759

2010-02-06 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-02-06 09:29 --- Created an attachment (id=19812) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19812action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42985

[Bug inline-asm/42984] gcc produces broken code when passing struct pointer to static inline function with asm()

2010-02-06 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-02-06 10:18 --- I believe that GCC is correct, and you should write asm volatile (swi #0 :: r (a), m (*t)); Quoting from http://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html: Note that in the following example

[Bug lto/42776] LTO doesn't work on non-ELF platforms.

2010-02-03 Thread d dot g dot gorbachev at gmail dot com
--- Comment #14 from d dot g dot gorbachev at gmail dot com 2010-02-03 10:15 --- There is a portability issue in is_elf_or_coff: fopen should be called with rb instead of r. Otherwise, fread fails when a COFF file has 26 sections, because it is interpreted as a text, and 26 means end

[Bug other/42756] Build fails if gold is used as linker and some libraries reside is /usr/local/lib

2010-01-29 Thread d dot g dot gorbachev at gmail dot com
--- Comment #6 from d dot g dot gorbachev at gmail dot com 2010-01-29 23:42 --- in my opinion, it's necessary that the build scripts specify all library directories explicitely. Then use configure options --with-ppl / --with-ppl-include / --with-ppl-lib, and --with-cloog

[Bug other/42903] New: Compare-debug fails on files compiled with -flto

2010-01-29 Thread d dot g dot gorbachev at gmail dot com
ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42903

[Bug other/42903] Compare-debug fails on files compiled with -flto

2010-01-29 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-01-29 23:48 --- Created an attachment (id=19756) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19756action=view) Preprocessed source $ gcc -flto c-lang.c -c -o stage3-c-lang.o $ gcc -flto -gtoggle c-lang.c -c -o

[Bug other/42903] Compare-debug fails on files compiled with -flto

2010-01-29 Thread d dot g dot gorbachev at gmail dot com
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-01-29 23:50 --- Compare-debug should probably strip .gnu.lto_* sections before compare. -- d dot g dot gorbachev at gmail dot com changed: What|Removed |Added

[Bug target/42904] New: Attribute dllexport should imply externally_visible

2010-01-29 Thread d dot g dot gorbachev at gmail dot com
ReportedBy: d dot g dot gorbachev at gmail dot com GCC target triplet: *-*-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42904

[Bug target/42904] Attribute dllexport should imply externally_visible

2010-01-29 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-01-30 02:21 --- Created an attachment (id=19757) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19757action=view) Testcase Produces undefined reference to `_foo' error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug middle-end/42905] New: G++ 4.5.0 doesn't warn about an uninitialized class member

2010-01-29 Thread d dot g dot gorbachev at gmail dot com
: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42905

[Bug middle-end/42905] G++ 4.5.0 doesn't warn about an uninitialized class member

2010-01-29 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-01-30 03:08 --- Created an attachment (id=19758) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19758action=view) Testcase g++ -O -Wuninitialized -S 1.cc Older g++s issue a warning: pr42905.cc: In function ‘void f

[Bug middle-end/42905] G++ 4.5.0 doesn't warn about an uninitialized class member

2010-01-29 Thread d dot g dot gorbachev at gmail dot com
-- d dot g dot gorbachev at gmail dot com changed: What|Removed |Added Severity|normal |enhancement Keywords

[Bug middle-end/42905] G++ 4.5.0 doesn't warn about an uninitialized class member

2010-01-29 Thread d dot g dot gorbachev at gmail dot com
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-01-30 03:13 --- (In reply to comment #1) Sorry, it should be pr42905.cc, not 1.cc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42905

[Bug tree-optimization/42890] New: Crash in type_like_member_ptr_p (IPA)

2010-01-27 Thread d dot g dot gorbachev at gmail dot com
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42890

[Bug tree-optimization/42890] Crash in type_like_member_ptr_p (IPA)

2010-01-27 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-01-28 01:18 --- Created an attachment (id=19734) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19734action=view) Backtrace -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42890

[Bug tree-optimization/42890] Crash in type_like_member_ptr_p (IPA)

2010-01-27 Thread d dot g dot gorbachev at gmail dot com
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-01-28 01:23 --- Created an attachment (id=19735) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19735action=view) Testcase g++ -O -findirect-inlining -fipa-cp -fipa-cp-clone pr42890.cc -- http://gcc.gnu.org

[Bug c++/42870] [4.5 regression] __attribute__ ((dllexport)) produces broken linkage

2010-01-27 Thread d dot g dot gorbachev at gmail dot com
--- Comment #4 from d dot g dot gorbachev at gmail dot com 2010-01-28 02:47 --- Same thing with mingw32. GCC 4.4.3 20091110 - works, GCC 4.5.0 20100114 - bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42870

[Bug lto/42776] LTO doesn't work on non-ELF platforms.

2010-01-21 Thread d dot g dot gorbachev at gmail dot com
--- Comment #12 from d dot g dot gorbachev at gmail dot com 2010-01-22 01:17 --- The patch works for mingw. So you can enable lto for it, too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42776

[Bug lto/42776] LTO doesn't work on non-ELF platforms.

2010-01-18 Thread d dot g dot gorbachev at gmail dot com
--- Comment #3 from d dot g dot gorbachev at gmail dot com 2010-01-18 11:02 --- (In reply to comment #1) work in progress patch This seems to cause *** No rule to make target `lto/@lto_binary_rea...@.o', needed by `lto1'. error when build = host = target = i686-pc-linux-gnu

[Bug lto/42776] LTO doesn't work on non-ELF platforms.

2010-01-18 Thread d dot g dot gorbachev at gmail dot com
--- Comment #5 from d dot g dot gorbachev at gmail dot com 2010-01-18 11:51 --- did you run autoconf? Forgot to run it, to my disgrace. :) Sorry, false alarm. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42776

[Bug driver/42690] Undefined reference errors with -flto -fuse-linker-plugin

2010-01-18 Thread d dot g dot gorbachev at gmail dot com
--- Comment #15 from d dot g dot gorbachev at gmail dot com 2010-01-18 18:48 --- Created an attachment (id=19649) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19649action=view) Simple patch It leaves -plugin-opt in LINK_COMMAND_SPEC, but I think it is not quite right

[Bug driver/42690] Undefined reference errors with -flto -fuse-linker-plugin

2010-01-16 Thread d dot g dot gorbachev at gmail dot com
--- Comment #13 from d dot g dot gorbachev at gmail dot com 2010-01-16 16:55 --- (In reply to comment #12) What options other than -nostdlib prevent gcc from linking libgcc and libc in the produced binary? I know of -nodefaultlibs. To implement this we should always pass -plugin

[Bug other/42756] Build fails if gold is used as linker and some libraries reside is /usr/local/lib

2010-01-16 Thread d dot g dot gorbachev at gmail dot com
--- Comment #4 from d dot g dot gorbachev at gmail dot com 2010-01-16 17:22 --- This looks like a bug in gold rather then in GCC. Try the latest development version of gold http://sourceware.org/binutils/. If it still fails, please file a bug report with more details at http

[Bug lto/42690] Undefined reference errors with -flto -fuse-linker-plugin

2010-01-15 Thread d dot g dot gorbachev at gmail dot com
--- Comment #7 from d dot g dot gorbachev at gmail dot com 2010-01-15 11:01 --- Created an attachment (id=19610) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19610action=view) 1. Configured w/o --disable-shared, linking with a shared libgcc. Output of gcc -v -- http

[Bug lto/42690] Undefined reference errors with -flto -fuse-linker-plugin

2010-01-15 Thread d dot g dot gorbachev at gmail dot com
--- Comment #10 from d dot g dot gorbachev at gmail dot com 2010-01-15 11:02 --- Created an attachment (id=19613) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19613action=view) 4. Configured with --disable-shared, linking with a static libgcc (with -static). -- http

[Bug driver/42690] Undefined reference errors with -flto -fuse-linker-plugin

2010-01-15 Thread d dot g dot gorbachev at gmail dot com
--- Comment #11 from d dot g dot gorbachev at gmail dot com 2010-01-15 11:03 --- GCC was configured with --disable-shared option. It seems that the driver does not understand that --disable-shared implies static libgcc -- d dot g dot gorbachev at gmail dot com changed

[Bug lto/42757] New: lto1 does not emit common symbols

2010-01-15 Thread d dot g dot gorbachev at gmail dot com
ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42757

[Bug lto/42757] lto1 does not emit common symbols

2010-01-15 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-01-15 13:34 --- Created an attachment (id=19614) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19614action=view) Testcase It produces error: undefined reference to 'i' -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug other/42756] Build fails if gold is used as linker and some libraries reside is /usr/local/lib

2010-01-15 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-01-15 14:45 --- Try to set LIBRARY_PATH, i.e.: export LIBRARY_PATH=/usr/local/lib -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42756

[Bug other/42756] Build fails if gold is used as linker and some libraries reside is /usr/local/lib

2010-01-15 Thread d dot g dot gorbachev at gmail dot com
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-01-15 14:57 --- Well, and LD_LIBRARY_PATH=/usr/local/lib , too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42756

[Bug lto/42762] New: ICE in get_resolution() when compiling a C++ program with -flto -fuse-linker-plugin

2010-01-15 Thread d dot g dot gorbachev at gmail dot com
at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42762

[Bug lto/42690] Undefined reference errors with -flto -fuse-linker-plugin

2010-01-14 Thread d dot g dot gorbachev at gmail dot com
--- Comment #3 from d dot g dot gorbachev at gmail dot com 2010-01-14 22:15 --- Is the undefined reference to libgcc? Is it being linked statically? Yes. In both cases (with and without -DBUG), the ld command line is /usr/local/bin/ld -plugin /usr/local/libexec/gcc/i686-pc-linux-gnu

[Bug lto/42426] ICE in get_resolution (lto)

2010-01-11 Thread d dot g dot gorbachev at gmail dot com
--- Comment #4 from d dot g dot gorbachev at gmail dot com 2010-01-11 13:08 --- Fixed in r155800. -- d dot g dot gorbachev at gmail dot com changed: What|Removed |Added

[Bug lto/42690] New: Undefined reference errors with -flto -fuse-linker-plugin

2010-01-11 Thread d dot g dot gorbachev at gmail dot com
at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42690

[Bug lto/42690] Undefined reference errors with -flto -fuse-linker-plugin

2010-01-11 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-01-11 15:25 --- Created an attachment (id=19541) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19541action=view) testcase GCC 4.5.0 20100107. gcc -flto -fuse-linker-plugin pr42690.c -DBUG -- http://gcc.gnu.org

[Bug driver/42520] lto1 does not see -march and -mtune options

2010-01-01 Thread d dot g dot gorbachev at gmail dot com
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-01-01 16:51 --- Created an attachment (id=19436) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19436action=view) Output of -v Does not work for me without --with-arch / --with-tune. -- http://gcc.gnu.org

[Bug driver/42520] lto1 does not see -march and -mtune options

2010-01-01 Thread d dot g dot gorbachev at gmail dot com
--- Comment #4 from d dot g dot gorbachev at gmail dot com 2010-01-01 17:52 --- `-fuse-linker-plugin' is crucial to reproduce this bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42520

[Bug driver/42520] New: lto1 does not see -march and -mtune options

2009-12-28 Thread d dot g dot gorbachev at gmail dot com
Severity: normal Priority: P3 Component: driver AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http

[Bug rtl-optimization/42489] Opt bug -foptimize-sibling-calls function call stalled! dead-lock, cpu max

2009-12-25 Thread d dot g dot gorbachev at gmail dot com
--- Comment #10 from d dot g dot gorbachev at gmail dot com 2009-12-25 13:34 --- No simple test-case code can be provided you have to read libxml2 source error.c about less then 1000 lines. Could you please provide the preprocessed source file, as described here: http://gcc.gnu.org

[Bug rtl-optimization/42489] Function call never happened after compile with -foptimize-sibling-calls

2009-12-24 Thread d dot g dot gorbachev at gmail dot com
--- Comment #3 from d dot g dot gorbachev at gmail dot com 2009-12-24 21:25 --- Some issues with -foptimize-sibling-calls were fixed in GCC 4.5 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42489

[Bug lto/42426] ICE in get_resolution (lto)

2009-12-21 Thread d dot g dot gorbachev at gmail dot com
--- Comment #3 from d dot g dot gorbachev at gmail dot com 2009-12-21 21:42 --- Created an attachment (id=19361) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19361action=view) Small testcase Run `gcc -flto -fuse-linker-plugin 1.c 2.c' (or just `gcc -flto -fuse-linker-plugin 1.c

[Bug lto/42453] New: Assertion `syms' failed in lto-plugin

2009-12-21 Thread d dot g dot gorbachev at gmail dot com
: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42453

[Bug lto/42453] Assertion `syms' failed in lto-plugin

2009-12-21 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2009-12-21 22:32 --- Created an attachment (id=19362) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19362action=view) Backtrace -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42453

[Bug driver/42442] New: Unusual behavior of -march=native option

2009-12-20 Thread d dot g dot gorbachev at gmail dot com
dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42442

[Bug lto/42426] New: ICE in get_resolution (lto)

2009-12-18 Thread d dot g dot gorbachev at gmail dot com
Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http

[Bug lto/42426] ICE in get_resolution (lto)

2009-12-18 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2009-12-18 11:49 --- Created an attachment (id=19343) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19343action=view) Preprocessed sources Compile with `gcc src/* -flto -fuse-linker-plugin' -- http://gcc.gnu.org

[Bug lto/42426] ICE in get_resolution (lto)

2009-12-18 Thread d dot g dot gorbachev at gmail dot com
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2009-12-18 11:50 --- Created an attachment (id=19344) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19344action=view) Backtrace -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42426

[Bug preprocessor/42407] Detect non-unique header file names.

2009-12-18 Thread d dot g dot gorbachev at gmail dot com
--- Comment #3 from d dot g dot gorbachev at gmail dot com 2009-12-19 01:20 --- I guess this option should have a few warning levels. For example, -Wcovered-headers (or -Wcovered-headers=1, which is the same) will not warn about fixed and GCC's private include files. -- http

  1   2   >