[Bug target/30961] [4.1/4.2/4.3 regression] redundant reg/mem stores/moves

2007-07-31 Thread pluto at agmk dot net
--- Comment #14 from pluto at agmk dot net 2007-07-31 18:29 --- (In reply to comment #13) > Created an attachment (id=13550) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13550&action=view) [edit] > An experimental patch > > This patch works for the testcase.

[Bug target/32218] [4.2/4.3 Regression] segfault with -O1 -ftree-vectorize

2007-07-26 Thread pluto at agmk dot net
--- Comment #10 from pluto at agmk dot net 2007-07-26 16:37 --- (In reply to comment #9) > The fix for this was approved and checked into mainline. resolved/fixed? what about 4.2 branch? it's a regression. -- pluto at agmk dot net changed: What

[Bug c++/32900] [4.2/4.3 regression] compile time and memory regression

2007-07-26 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2007-07-26 10:53 --- (In reply to comment #3) > Maybe related to PR32891. > sip-qt problems == PR30052 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32900

[Bug middle-end/32708] _mm_cvtsi64x_si128() and _mm_cvtsi128_si64x() inefficient

2007-07-10 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2007-07-10 09:23 --- this looks like a dup of PR30961. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32708

[Bug other/32508] g++ emits concept checks instantiations (code size blows up).

2007-07-06 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2007-07-06 14:29 --- (In reply to comment #2) > 4.3.0 20070703 fails to. http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00562.html this patch fixes gcc from trunk. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32508

[Bug tree-optimization/30965] Fails to tree-combine conditions in COND_EXPRs

2007-07-05 Thread pluto at agmk dot net
--- Comment #9 from pluto at agmk dot net 2007-07-05 18:21 --- (In reply to comment #8) > This is related to the gimplifier verifying call expression types to disable > inlining. In this case the argument type list says we need struct _Bind, but > the actual argument is str

[Bug tree-optimization/30965] Fails to tree-combine conditions in COND_EXPRs

2007-07-05 Thread pluto at agmk dot net
--- Comment #7 from pluto at agmk dot net 2007-07-05 17:35 --- (In reply to comment #6) > Fixed. Richard, there's a recent regresion in 4.3/r126266: _ZSt9transformIPlS0_NSt3tr15_BindIFSt4plusIlEllT0_T_S8_S7_T1_: cmpq%rsi, %rdi je .L2 ad

[Bug target/32605] massive moves instead of bswap{l,q}

2007-07-05 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2007-07-05 15:22 --- it would be nice to see bswap variants instead of mov,mov,mov,... : mov(%rdi),%eax bswap %eax mov%eax,(%rdi) retq : mov(%rdi),%rax bswap %rax mov%rax,(%rdi) retq and one

[Bug other/32508] g++ emits concept checks instantiations (code size blows up).

2007-07-04 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2007-07-04 09:25 --- 4.3.0 20070703 fails to. -- pluto at agmk dot net changed: What|Removed |Added Known to fail|4.1.2

[Bug libstdc++/32608] operator >> loads wrong value after istringsstream::str( string ).

2007-07-03 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2007-07-03 13:15 --- the testcase needs fix: s/assert( s == "2 ");/assert( s == "2");/ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32608

[Bug libstdc++/32608] New: operator >> loads wrong value after istringsstream::str( string ).

2007-07-03 Thread pluto at agmk dot net
Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32608

[Bug target/32605] New: massive moves instead of bswap{l,q}

2007-07-03 Thread pluto at agmk dot net
Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC target triplet: x86_64-*-*, i?86-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32605

[Bug c/32520] C/C++ programs segfault at runtime if arrays larger than 8MB are declared.

2007-06-27 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2007-06-27 07:28 --- the 8MB array overflows stack and gcc has nothing to do here because stack size is controlled by operating system. use ulimit -s [stack size in kB] to workaround this problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug middle-end/32395] false positive warning about use of uninitialized variable.

2007-06-25 Thread pluto at agmk dot net
--- Comment #5 from pluto at agmk dot net 2007-06-25 22:57 --- Created an attachment (id=13789) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13789&action=view) preprocessed testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32395

[Bug middle-end/32395] false positive warning about use of uninitialized variable.

2007-06-25 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2007-06-25 22:56 --- (In reply to comment #2) > This is caused by two things, jump threading and inlining. If we jump thread > more, we no longer get the warning which is what you are seeing in 4.2.1. > the latest gcc 4.2 also prod

[Bug inline-asm/32109] [4.1/4.2/4.3 regression] ICE with inline-asm and class with destructor

2007-06-25 Thread pluto at agmk dot net
--- Comment #6 from pluto at agmk dot net 2007-06-25 22:33 --- this is a duplicate of PR23399. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32109

[Bug inline-asm/23399] ICE in create_tmp_var, at gimplify.c:387

2007-06-25 Thread pluto at agmk dot net
--- Comment #5 from pluto at agmk dot net 2007-06-25 22:32 --- fixed by patch for PR32190. -- pluto at agmk dot net changed: What|Removed |Added Status|NEW

[Bug other/32508] g++ emits concept checks instantiations (code size blows up).

2007-06-25 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2007-06-25 22:23 --- 4.2-20070609 works, but 4.2-20070625 fails similar to 4.1. $ readelf -sW concepts-42.so|c++filt|grep Concept 10: 1010 5 FUNCWEAK DEFAULT 10 __gnu_cxx::_BidirectionalIteratorConcept::__constraints

[Bug other/32508] New: g++ emits concept checks instantiations (code size blows up).

2007-06-25 Thread pluto at agmk dot net
Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC target triplet: x86_64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32508

[Bug middle-end/32395] false positive warning about use of uninitialized variable.

2007-06-24 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2007-06-24 15:54 --- (In reply to comment #2) > This is caused by two things, jump threading and inlining. If we jump thread > more, we no longer get the warning which is what you are seeing in 4.2.1. is there any possibility to increa

[Bug driver/32469] error trying to exec 'cc1': execvp: No such file or directory

2007-06-22 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2007-06-22 23:13 --- stat("/usr/bin/../../lib64/gcc/i386-mingw32/4.3.0/cc1", 0x7fff0e91cb00) = -1 ENOENT (No such file or directory) stat("/usr/bin/../../lib64/gcc/cc1", 0x7fff0e91cb00) = -1 ENOENT (No such file or direc

[Bug driver/32469] New: error trying to exec 'cc1': execvp: No such file or directory

2007-06-22 Thread pluto at agmk dot net
ssigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC build triplet: x86_64-gnu-linux GCC host triplet: x86_64-gnu-linux GCC target triplet: i386-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32469

[Bug c++/32368] warnings from system headers not supressed.

2007-06-18 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2007-06-19 06:44 --- (In reply to comment #2) > At variance with c++/32256, this one apparently happens as "C" code too... > Probably should be not categorized as C++-only... these little bugs (PR32368, PR32256) are treate

[Bug c++/32395] false positive warning about use of uninitialized variable.

2007-06-18 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2007-06-18 17:25 --- Created an attachment (id=13730) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13730&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32395

[Bug c++/32395] New: false positive warning about use of uninitialized variable.

2007-06-18 Thread pluto at agmk dot net
ning about use of uninitialized variable. Product: gcc Version: 4.1.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32395

[Bug c++/32368] warnings from system headers not supressed.

2007-06-16 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2007-06-16 17:20 --- Created an attachment (id=13714) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13714&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32368

[Bug c++/32368] New: warnings from system headers not supressed.

2007-06-16 Thread pluto at agmk dot net
rnings from system headers not supressed. Product: gcc Version: 4.1.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net

[Bug c++/31785] RFE: Possible to avoid emitting ctor sections for simple constructors of static objects ?

2007-06-15 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2007-06-15 21:51 --- (In reply to comment #1) > This is not a trivial constructor (or at least what the standard defines as > trivial :) ). could you explain this? as far i can see the MyOtherStruct hasn't virtual functions/base a

[Bug tree-optimization/30052] [4.2 Regression] possible quadratic behaviour.

2007-06-11 Thread pluto at agmk dot net
--- Comment #38 from pluto at agmk dot net 2007-06-11 14:11 --- (In reply to comment #34) > > the patch doesn't fix the sipQtCorepart0.ii time hog, only mem hog is fixed. > > g++ needs about 300MB of ram and +inf? (canceled after 6 days) of time. ops little eye damage

[Bug tree-optimization/30052] [4.2 Regression] possible quadratic behaviour.

2007-06-11 Thread pluto at agmk dot net
--- Comment #36 from pluto at agmk dot net 2007-06-11 14:04 --- Created an attachment (id=13677) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13677&action=view) testcase for time-hog. -- pluto at agmk dot net changed: What|Removed

[Bug tree-optimization/30052] [4.2 Regression] possible quadratic behaviour.

2007-06-11 Thread pluto at agmk dot net
--- Comment #35 from pluto at agmk dot net 2007-06-11 13:17 --- (In reply to comment #34) > Can you check where the time is spent on? naturally, i'm building gcc with debuginfo now... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30052

[Bug tree-optimization/30052] [4.2 Regression] possible quadratic behaviour.

2007-06-11 Thread pluto at agmk dot net
--- Comment #33 from pluto at agmk dot net 2007-06-11 13:04 --- i'm reopening this bug becasue the fix is not complete. it does fix the xf86ScanPci.i testcase (time/mem hog) and this is great $ time gcc xf86ScanPci.i -O1 -c ( 2.2GHz amd64, 1GB ram ). gcc xf86ScanPci.i -O1 -c

[Bug c++/29365] Unnecessary anonymous namespace warnings

2007-06-06 Thread pluto at agmk dot net
--- Comment #28 from pluto at agmk dot net 2007-06-06 10:08 --- (In reply to comment #27) > It is not like GCC is a closed source program either, > you can try to make a fix for the issue too. Andrew, real world is not so simple ;) some time ago Manuel López-Ibáñez helps me

[Bug c++/29365] Unnecessary anonymous namespace warnings

2007-06-05 Thread pluto at agmk dot net
--- Comment #26 from pluto at agmk dot net 2007-06-06 04:49 --- (In reply to comment #25) > (In reply to comment #24) > > any news? > > I have (or had, since I seem to have lost it) a patch that will prevent the > invalid warning for the template case, but it will e

[Bug c++/29365] Unnecessary anonymous namespace warnings

2007-06-05 Thread pluto at agmk dot net
--- Comment #24 from pluto at agmk dot net 2007-06-05 17:26 --- (In reply to comment #23) > Confirmed. I'm working on a fix. > This is due to template instantiations marked as anonymous. any news? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29365

[Bug target/32219] optimizer causes wrong code in pic/hidden/weak symbol checking.

2007-06-05 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2007-06-05 14:13 --- (In reply to comment #2) > f always will bind local ... so, should gcc reject weak attribute in this (hidden visibility) case? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32219

[Bug target/32219] optimizer causes wrong code in pic/hidden/weak symbol checking.

2007-06-05 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2007-06-05 14:10 --- (In reply to comment #2) > Also you should be using -PIE when linking. hmm, it doesn't work with int main(); $ gcc -s main.c -fpie -Wl,-pie /usr/bin/ld: /usr/lib64/crt1.o: relocation R_X86_64_32S against `__libc_

[Bug target/32219] optimizer causes wrong code in pic/hidden/weak symbol checking.

2007-06-05 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2007-06-05 12:53 --- btw, imho the weak+hidden is not a valid combination. such symbol can't be resolved in runtime because it doesn't exist in elf rel.plt/rel.dyn tables. it can be resolved only during linking several objects into

[Bug target/32219] New: optimizer causes wrong code in pic/hidden/weak symbol checking.

2007-06-05 Thread pluto at agmk dot net
cc Version: 4.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC target triplet: i386-gnu-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32219

[Bug c/32207] New: inconsistent/missed warnings about address of 'x'.

2007-06-04 Thread pluto at agmk dot net
1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC target triplet: x86_64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32207

[Bug tree-optimization/30052] [4.2 Regression] possible quadratic behaviour.

2007-06-03 Thread pluto at agmk dot net
--- Comment #31 from pluto at agmk dot net 2007-06-03 07:21 --- r125227 | dberlin | 2007-05-31 11:37:38 -0400 (Thu, 31 May 2007) | 11 lines 2007-05-27 Daniel Berlin <[EMAIL PROTECTED]> Fix PR/30052 Backport PTA solver from mainline * pointer-set.c: Cop

[Bug c++/32132] bogus warning at -O3 ( 'r' may be used uninitialized in this function ).

2007-05-29 Thread pluto at agmk dot net
--- Comment #10 from pluto at agmk dot net 2007-05-29 12:42 --- Created an attachment (id=13627) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13627&action=view) update for the testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32132

[Bug c++/32132] bogus warning at -O3 ( 'r' may be used uninitialized in this function ).

2007-05-29 Thread pluto at agmk dot net
--- Comment #9 from pluto at agmk dot net 2007-05-29 12:35 --- (In reply to comment #8) > (In reply to comment #6) > > > > so, is it still an invalid testcase? > > Does the warning show up with -O1 and -O2 ? > only with -O3. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32132

[Bug c++/32132] bogus warning at -O3 ( 'r' may be used uninitialized in this function ).

2007-05-29 Thread pluto at agmk dot net
--- Comment #7 from pluto at agmk dot net 2007-05-29 10:17 --- (In reply to comment #6) > + str.exceptions ( stlp_std::istringstream::eofbit || > stlp_std::istringstream::badbit || stlp_std::istringstream::failbit ); of course it should be '|' instead of &

[Bug c++/32132] bogus warning at -O3 ( 'r' may be used uninitialized in this function ).

2007-05-29 Thread pluto at agmk dot net
--- Comment #6 from pluto at agmk dot net 2007-05-29 08:50 --- (In reply to comment #5) > Which shows for sure r may be used unitialized. yes, but even if i catch possible i/o failure, gcc still produces warning. --- auHexCastTest.ii.orig +++ auHexCastTest.ii @@ -18958,7 +18958

[Bug c++/32132] bogus warning at -O3 ( 'r' may be used uninitialized in this function ).

2007-05-28 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2007-05-28 20:16 --- (In reply to comment #2) > This might not be a bug > so, how 'r' can be used uninitialized in this case? template R hex_cast ( const std::string & s ) {

[Bug c++/32132] bogus warning at -O3 ( 'r' may be used uninitialized in this function ).

2007-05-28 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2007-05-28 20:08 --- Created an attachment (id=13623) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13623&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32132

[Bug c++/32132] New: bogus warning at -O3 ( 'r' may be used uninitialized in this function ).

2007-05-28 Thread pluto at agmk dot net
Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC target triplet: x86_64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32132

[Bug libstdc++/19664] libstdc++ headers should have pop/push of the visibility around the declarations

2007-05-27 Thread pluto at agmk dot net
--- Comment #105 from pluto at agmk dot net 2007-05-28 05:01 --- (In reply to comment #104) > kdelibs doesn't link with gcc-4.2.0 with hidden visibility. you need a path for pr20218. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664

[Bug c++/32067] template XOR-Swap(T &a, T &b); error with -O0 option

2007-05-24 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2007-05-24 12:31 --- (In reply to comment #0) > Any comment? this is an example of undefined behaviour. http://blogs.msdn.com/rick_schaut/archive/2004/03/06/85357.aspx -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32067

[Bug tree-optimization/30052] [4.2 Regression] possible quadratic behaviour.

2007-05-21 Thread pluto at agmk dot net
--- Comment #29 from pluto at agmk dot net 2007-05-21 17:01 --- (In reply to comment #28) > Change line 4275 of the patched tree-ssa-structalias.c to be rhs.var = > vi->id instead of rhs.var = id > > Remove the id variable declaration. > > This would have

[Bug tree-optimization/30052] [4.2 Regression] possible quadratic behaviour.

2007-05-19 Thread pluto at agmk dot net
--- Comment #25 from pluto at agmk dot net 2007-05-20 05:57 --- Subject: Re: [4.2 Regression] possible quadratic behaviour. On Saturday 19 of May 2007 19:43:33 dberlin at dberlin dot org wrote: > --- Comment #24 from dberlin at gcc dot gnu dot org 2007-05-19 18

[Bug tree-optimization/30052] [4.2 Regression] possible quadratic behaviour.

2007-05-19 Thread pluto at agmk dot net
--- Comment #23 from pluto at agmk dot net 2007-05-19 18:16 --- bad news, this patch ices fortran build: (...) ../../../libgfortran/intrinsics/selected_int_kind.f90:22: internal compiler error: in process_constraint, at tree-ssa-structalias.c:2260 -- http://gcc.gnu.org/bugzilla

[Bug tree-optimization/30052] [4.2 Regression] possible quadratic behaviour.

2007-05-19 Thread pluto at agmk dot net
--- Comment #21 from pluto at agmk dot net 2007-05-19 15:30 --- with this patc gcc works much better. xf86ScanPci.i : 84MB / ~5sec. sipQtCorepart0.ii.bz2 : 340MB / ~440sec. gcc/g++ testsuite on x86_64 shows no new regressions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug middle-end/31984] Infinite loop (eating all mem) compiling xorg 1.3.0.0

2007-05-17 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2007-05-18 06:08 --- this is a dup of PR30052 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31984

[Bug target/31943] very missed optimization.

2007-05-15 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2007-05-15 22:17 --- (In reply to comment #2) > Try with -fomit-frame-pointer. Andrew, please look at the makefile. -fomit.. is there already. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31943

[Bug target/31943] very missed optimization.

2007-05-15 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2007-05-15 21:47 --- Created an attachment (id=13563) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13563&action=view) sources -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31943

[Bug target/31943] New: very missed optimization.

2007-05-15 Thread pluto at agmk dot net
Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC target triplet: i386-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31943

[Bug c/12245] [4.0/4.1/4.2/4.3 regression] Uses lots of memory when compiling large initialized arrays

2007-05-15 Thread pluto at agmk dot net
--- Comment #30 from pluto at agmk dot net 2007-05-15 17:04 --- looks like related to PR30052. -- pluto at agmk dot net changed: What|Removed |Added CC

[Bug target/30052] [4.2 Regression] possible quadratic behaviour.

2007-05-14 Thread pluto at agmk dot net
--- Comment #17 from pluto at agmk dot net 2007-05-14 20:02 --- (In reply to comment #16) > So, i gave it the old college try, and it turns out to be much harder > than I expected because of mem-ssa and other changes that went into > 4.3 yup, looks like a nice bullet for 4.2.

[Bug tree-optimization/30252] [4.2 regression] miscompilation of sigc++-2.0 based code with -fstrict-aliasing

2007-05-01 Thread pluto at agmk dot net
--- Comment #15 from pluto at agmk dot net 2007-05-01 08:58 --- (In reply to comment #14) typed_rep points to: N4sigc8internal14typed_slot_repINS_12bind_functorILin1ENS_16pointer_functor1IPvS4_EEPl -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30252

[Bug tree-optimization/30252] [4.2 regression] miscompilation of sigc++-2.0 based code with -fstrict-aliasing

2007-04-30 Thread pluto at agmk dot net
--- Comment #11 from pluto at agmk dot net 2007-04-30 15:29 --- --- 30252.cpp.099t.optimized.aliasing-OFF +++ 30252.cpp.099t.optimized.aliasing-ON sigc::slot0 A::bar() (this) { (...) + void * (*) (void *) SR.114; (...) + this->functor_.D.2915.functor_.functor_.func_ptr_ = SR.

[Bug tree-optimization/30252] [4.2 regression] miscompilation of sigc++-2.0 based code with -fstrict-aliasing

2007-04-30 Thread pluto at agmk dot net
--- Comment #10 from pluto at agmk dot net 2007-04-30 15:16 --- i can reproduce testcase4 on [EMAIL PROTECTED] $ g++ 30252.cpp -O1 -fstrict-aliasing -g3 && ./a.out zsh: segmentation fault ./a.out (gdb) bt #0 0x2adee263dbc0 in _rtld_local_ro () from /lib64/ld-linux-x86-64

[Bug target/30052] [4.2 Regression] possible quadratic behaviour.

2007-04-25 Thread pluto at agmk dot net
--- Comment #15 from pluto at agmk dot net 2007-04-25 21:56 --- (In reply to comment #14) > > 4.1.2 uses 56MB. > I'll backport the changes (this is more or less copying tree-ssa-structalias.c > from 4.3 to 4.2 and modifying the few things that changed in 4.3 :P)

[Bug tree-optimization/19431] missed optimization with ifs and deferencing

2007-04-18 Thread pluto at agmk dot net
--- Comment #22 from pluto at agmk dot net 2007-04-18 19:18 --- (In reply to comment #21) > Ha, sure not ;) > and wait another years for 4.3 release. it sux. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19431

[Bug driver/31621] New: -x c++ causes failures with c language sources.

2007-04-18 Thread pluto at agmk dot net
c language sources. Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31621

[Bug tree-optimization/19431] missed optimization with ifs and deferencing

2007-04-18 Thread pluto at agmk dot net
--- Comment #20 from pluto at agmk dot net 2007-04-18 13:02 --- (In reply to comment #19) > Fixed. > will it be backported to 4.2? it improves perf. of big stl-based apps. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19431

[Bug c++/29365] Unnecessary anonymous namespace warnings

2007-04-17 Thread pluto at agmk dot net
--- Comment #18 from pluto at agmk dot net 2007-04-17 17:51 --- (In reply to comment #14) > Fixed. will it be backported to 4.2 branch? -- pluto at agmk dot net changed: What|Removed |Ad

[Bug other/31536] sparc64 build fails with `unknown endianness' error.

2007-04-17 Thread pluto at agmk dot net
--- Comment #6 from pluto at agmk dot net 2007-04-17 12:05 --- (In reply to comment #5) > Can you unset CFLAGS and try again? without cflags and with cflags=-O0 - still the same error. > I bet 4.1.2 is being miss compiled at least looking at the logs. what's wrong in

[Bug other/31536] sparc64 build fails with `unknown endianness' error.

2007-04-16 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2007-04-16 14:16 --- Created an attachment (id=13370) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13370&action=view) config.logs -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31536

[Bug other/31536] sparc64 build fails with `unknown endianness' error.

2007-04-16 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2007-04-16 14:16 --- /home/pawels/toolchain41-src/gcc-4.1.2/builddir/gcc/xgcc -v Using built-in specs. Target: sparc64-sun-solaris2.9 Configured with: ../configure --target=sparc64-sun-solaris2.9 --prefix=/local/devel/toolchain41/sparc64-sun

[Bug target/30961] [4.2/4.3 regression] redundant reg/mem stores/moves

2007-04-11 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2007-04-11 20:00 --- 4.2.0-RC1 has the same bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30961

[Bug other/31536] New: sparc64 build fails with `unknown endianness' error.

2007-04-11 Thread pluto at agmk dot net
NCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC target triplet: sparc64-sun-solaris2.9 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31536

[Bug libstdc++/31481] GCC 4.2.0 incompatible with STLport 5.1.3

2007-04-05 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2007-04-05 10:42 --- (In reply to comment #3) > In order to speed-up the process, can you edit ext/type_traits.h to not > include > and changing std::streamsize to int and report how it goes? Thanks. > this change causes a

[Bug c++/31164] Problem with GCC 4.1 and Boost signals

2007-04-02 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2007-04-02 10:13 --- attached testcase works fine with vs2k3/boost-1.33/stlport. it also works with g++-4.0.0/20050519(RH 4.0.0-8)/boost/libstdc++ on x86_64-gnu-linux. in the other. indeed, it fails with 4.1.2 and 4.2.0 (4.3 not tested

[Bug tree-optimization/31375] New: missed loop-if transformation / branch reduction.

2007-03-27 Thread pluto at agmk dot net
omponent: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31375

[Bug c++/7302] -Wnon-virtual-dtor should't complain of protected dtor

2007-03-20 Thread pluto at agmk dot net
--- Comment #21 from pluto at agmk dot net 2007-03-20 18:52 --- http://gcc.gnu.org/ml/gcc-patches/2007-03/msg01343.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7302

[Bug other/29559] '-O1 -ftree-vrp -fwrapv' misscompiles stable gnupg-1.4.5.

2007-03-19 Thread pluto at agmk dot net
--- Comment #5 from pluto at agmk dot net 2007-03-19 09:25 --- 4.2/ppc works for me and no one have time to track this down on 4.1, so closing... -- pluto at agmk dot net changed: What|Removed |Added

[Bug tree-optimization/24333] missed div optimizations

2007-03-19 Thread pluto at agmk dot net
--- Comment #6 from pluto at agmk dot net 2007-03-19 09:15 --- `int f( int x ) { return x / x; }' still not optimized on 4.2/4.3 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24333

[Bug bootstrap/25672] [4.1/4.2 regression] cross build's libgcc picks up CFLAGS

2007-03-19 Thread pluto at agmk dot net
--- Comment #17 from pluto at agmk dot net 2007-03-19 09:09 --- 4.1.2 release and 4.2.0-RC1 still fails. 4.3 not tested. -- pluto at agmk dot net changed: What|Removed |Added

[Bug c++/7302] -Wnon-virtual-dtor should't complain of protected dtor

2007-03-16 Thread pluto at agmk dot net
--- Comment #19 from pluto at agmk dot net 2007-03-16 15:39 --- (In reply to comment #18) > The patch needs testcases, i have a testcase but my tcl/autogen/dejagnu crashes with magic `spawn failed' message :/ e.g.: (...) Executing on host: /home/users/pluto/rpm/BUILD

[Bug c++/7302] -Wnon-virtual-dtor should't complain of protected dtor

2007-03-16 Thread pluto at agmk dot net
--- Comment #17 from pluto at agmk dot net 2007-03-16 15:22 --- Created an attachment (id=13214) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13214&action=view) extended patch against gcc-4.2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7302

[Bug rtl-optimization/31170] cmpxchgq not emitted.

2007-03-14 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2007-03-14 19:05 --- (In reply to comment #1) > ifcvt could do this. But is cmpxchgq really faster with its atomictiy > guarantee? only `lock; cmpxchg' has atomicity guarantee on smp. > They are all vector-path instructions, a

[Bug middle-end/31172] [4.2 Regression] Compiling xf86ScanPci.c from xorg-server 1.2.99.901 takes up loads of memory at -O1 and higher

2007-03-14 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2007-03-14 11:18 --- this is a dup of PR30052 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31172

[Bug other/31170] New: cmpxchgq not emitted.

2007-03-14 Thread pluto at agmk dot net
Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC target triplet: x86_64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31170

[Bug target/31054] New: 80387 constants not emitted in 64-bit mode.

2007-03-05 Thread pluto at agmk dot net
Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC target triplet: x86_64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31054

[Bug other/31043] New: duplicated data in .rodata / .rodata.cst sections.

2007-03-05 Thread pluto at agmk dot net
Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC target triplet: x86*-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31043

[Bug target/30961] [4.2 regression] redundant reg/mem stores/moves

2007-03-05 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2007-03-05 11:11 --- 3.4.6 generates a nice code: _Z7convertj: movl%edi, -4(%rsp) movss -4(%rsp), %xmm0 ret _Z4loadPv: movzwl (%rdi), %eax ret -- pluto at agmk dot net changed

[Bug tree-optimization/19431] missed optimization with ifs and deferencing

2007-02-25 Thread pluto at agmk dot net
--- Comment #12 from pluto at agmk dot net 2007-02-25 20:09 --- (In reply to comment #11) > Bonus points if you can make that self-contained ;) -fdump-tree-optimized shows the same code for both variants and there is the if-with-dereferencing :) (...) if (variable != variable +

[Bug tree-optimization/19431] missed optimization with ifs and deferencing

2007-02-25 Thread pluto at agmk dot net
--- Comment #10 from pluto at agmk dot net 2007-02-25 19:00 --- one more testcase: #include #include extern void assign( long* variable, long v ) { std::transform( variable, variable + 1, variable, std::tr1::bind( std::plus< long >(), 0L, v ) ); } exter

[Bug middle-end/27567] [4.0/4.1 Regression] __builtin_memcpy generates redundant stores/moves.

2007-02-25 Thread pluto at agmk dot net
--- Comment #11 from pluto at agmk dot net 2007-02-25 18:27 --- (In reply to comment #10) > (In reply to comment #9) > > adjust summary ( 4.2 regression status reopened ). > That is a target specific issue really and should be filed seperately. filled as PR30961

[Bug target/30961] New: redundant reg/mem stores/moves

2007-02-25 Thread pluto at agmk dot net
Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC target triplet: x86_64-linux http://gcc.gnu.

[Bug c/21948] [diagnostic] enable errors on `cast from/to pointer to/from integer of different size`

2007-02-25 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2007-02-25 14:22 --- (In reply to comment #2) > Could you elaborate a litte bit more for me? > > We have already -Wint-to-pointer-cast and -Wpointer-to-int-cast enabled by > defaul in C. Don't those work for you? as i ha

[Bug c++/29475] [4.0/4.1 Regression] incomplete template diagnostics.

2007-02-22 Thread pluto at agmk dot net
--- Comment #10 from pluto at agmk dot net 2007-02-22 20:23 --- fixed for >= 4.2 wontfix for < 4.2 ( too big impact for mature branches ). -- pluto at agmk dot net changed: What|Removed

[Bug c++/7302] -Wnon-virtual-dtor should't complain of protected dtor

2007-02-21 Thread pluto at agmk dot net
--- Comment #16 from pluto at agmk dot net 2007-02-22 02:02 --- quite better ( modulo coding style ) patch is: --- class.c.orig2006-10-12 22:02:53.0 +0200 +++ class.c 2007-02-22 02:54:11.888652367 +0100 @@ -5105,15 +5105,15 @@ tree dtor; dtor

[Bug c++/7302] -Wnon-virtual-dtor should't complain of protected dtor

2007-02-21 Thread pluto at agmk dot net
--- Comment #14 from pluto at agmk dot net 2007-02-22 00:13 --- (In reply to comment #12) > Already posted as <http://gcc.gnu.org/ml/gcc-patches/2006-04/msg00885.html>, > with no response. this patch doesn't cover one situation: struct D; struct C { vir

[Bug middle-end/27567] [4.0/4.1/4.2 Regression] __builtin_memcpy generates redundant stores/moves.

2007-02-20 Thread pluto at agmk dot net
--- Comment #9 from pluto at agmk dot net 2007-02-20 10:25 --- adjust summary ( 4.2 regression status reopened ). -- pluto at agmk dot net changed: What|Removed |Added

[Bug middle-end/27567] [4.0/4.1 Regression] __builtin_memcpy generates redundant stores/moves.

2007-02-14 Thread pluto at agmk dot net
--- Comment #8 from pluto at agmk dot net 2007-02-14 22:24 --- still bad :/ float convert( unsigned in ) { float f; __builtin_memcpy( &f, &in, sizeof( in ) ); return f; } unsigned short load( void* p ) { unsigned short v; __builtin_memcp

[Bug c/30796] gcc 4.2.0 misscompiles glibc on linux-ppc 32bit

2007-02-14 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2007-02-14 19:26 --- it alse miscompiles glibc at: -O1 -fno-strict-aliasing -fsigned-char -fwrapv -g2 -gdwarf-2 -mnew-mnemonics -mlong-double-128 -fomit-frame-pointer looks like a heavy damage :/ -- http://gcc.gnu.org/bugzilla

[Bug target/30052] possible quadratic behaviour.

2007-02-14 Thread pluto at agmk dot net
--- Comment #11 from pluto at agmk dot net 2007-02-14 08:18 --- (In reply to comment #10) > Also, alias analysis and PTA use heap memory that will not show up here. so, how can i diagnose the gcc heap usage? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30052

<    1   2   3   4   5   6   7   8   9   10   >