[Bug c++/28945] extracting the function pointer from a bound pointer to member function doesn't work.

2006-09-04 Thread pluto at agmk dot net
--- Comment #5 from pluto at agmk dot net 2006-09-04 06:33 --- (In reply to comment #4) (In reply to comment #3) this is gnu c++ extension: Yes but you are using the extension incorrectly anyways as you don't pass this to the function. Did you read that page

[Bug c++/28945] extracting the function pointer from a bound pointer to member function doesn't work.

2006-09-04 Thread pluto at agmk dot net
--- Comment #6 from pluto at agmk dot net 2006-09-04 06:33 --- (In reply to comment #5) (In reply to comment #4) (In reply to comment #3) this is gnu c++ extension: Yes but you are using the extension incorrectly anyways as you don't pass this to the function

[Bug tree-optimization/28944] New: tree-dce incorrectly removes an assignment.

2006-09-03 Thread pluto at agmk dot net
: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC target triplet: ix86-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28944

[Bug other/28945] New: extracting the function pointer from a bound pointer to member function doesn't work.

2006-09-03 Thread pluto at agmk dot net
: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC target triplet: ix86-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28945

[Bug other/28945] extracting the function pointer from a bound pointer to member function doesn't work.

2006-09-03 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-09-04 00:00 --- as far as i can see the `this` pointer wasn't adjusted. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28945

[Bug other/28230] ICE during bootstrap (-O2 -fwrapv issue)

2006-09-01 Thread pluto at agmk dot net
--- Comment #6 from pluto at agmk dot net 2006-09-01 20:11 --- I have a smaller testcase. `-march=x86-64 -O2 -fno-strict-aliasing -fwrapv` generates wrong code for gas/write.c from binutils-2.17.50.0.3 and assembler fails on every file with an error message: /tmp/ccsCHgd4.s: Assembler

[Bug other/28917] New: try/catch block removed. too optimistic optimization?

2006-08-31 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=28917

[Bug other/28917] try/catch block removed. too optimistic optimization?

2006-08-31 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2006-08-31 19:13 --- it doesn't help. `jmp .L2` skips catch block :) main: pushq %rbx movl$_Z13signalHandleri, %esi movl$11, %edi callsignal movl$0, 0 jmp .L2 .L8

[Bug pch/13676] GCC failes to recognize files ending in .hpp as headers to be precompiled

2006-08-31 Thread pluto at agmk dot net
--- Comment #7 from pluto at agmk dot net 2006-08-31 20:22 --- (In reply to comment #6) The author didn't respond to my question about copyright assignment, so I don't think the patch can be applied. it's weird to waiting years for respond about such trivial patch. -- http

[Bug c++/28895] New: friend accepts template type-parameter.

2006-08-29 Thread pluto at agmk dot net
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=28895

[Bug driver/28845] New: configured --with-gnu-* reports unrecognized option '-rdynamic'

2006-08-25 Thread pluto at agmk dot net
org ReportedBy: pluto at agmk dot net GCC target triplet: sparc-sun-solaris2.9 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28845

[Bug target/28845] configured --with-gnu-* reports unrecognized option '-rdynamic'

2006-08-25 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2006-08-25 14:38 --- really? please look at this. [1] cross build on linux machine: sparc-sun-solaris2.9-g++ backtracexx.cpp -o libbacktracexx.so -shared -ldl -Wall -Werror -pedantic \ -O3 -fpic -funwind-tables -fno-exceptions -fno

[Bug tree-optimization/28850] New: missed call - jmp transformation; redundant unwind stuff.

2006-08-25 Thread pluto at agmk dot net
-optimization 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=28850

[Bug target/28854] New: unwinder reports sentinel frame.

2006-08-25 Thread pluto at agmk dot net
ReportedBy: pluto at agmk dot net GCC target triplet: alpha-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28854

[Bug target/28854] unwinder reports sentinel frame.

2006-08-25 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-08-25 23:28 --- the 0x12668 is a last valid return point. 0x00012630 _start+0: br gp,0x12634 _start+4 0x00012634 _start+4: ldahgp,2(gp) 0x00012638 _start+8: lda gp,-31092(gp

[Bug c++/28820] sizeof == 0 for empty class

2006-08-23 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2006-08-23 15:59 --- (In reply to comment #1) (In reply to comment #0) int size1 = sizeof(A); // == 0, should be nonzero int size2 = sizeof(a); // == 0, should be nonzero What makes you think so? Since: ISO 14882-2003, 9

[Bug libstdc++/28811] New: undefined versioned symbol name [EMAIL PROTECTED]

2006-08-22 Thread pluto at agmk dot net
Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC build triplet: x86-64-linux GCC host triplet

[Bug libstdc++/28811] undefined versioned symbol name [EMAIL PROTECTED]

2006-08-22 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-08-22 20:29 --- Created an attachment (id=12113) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12113action=view) makefile for testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28811

[Bug libstdc++/28811] undefined versioned symbol name [EMAIL PROTECTED]

2006-08-22 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2006-08-22 20:30 --- Created an attachment (id=12114) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12114action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28811

[Bug c++/28761] Returning object ignores copy constructor

2006-08-17 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2006-08-17 12:18 --- this is not a bug. the c++ standard allows RVO optimization. see $12.8/15 for more details. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28761

[Bug c++/28761] Returning object ignores copy constructor

2006-08-17 Thread pluto at agmk dot net
--- Comment #6 from pluto at agmk dot net 2006-08-17 14:11 --- (In reply to comment #5) I meant the copy ctor, not the dtor. Anyhow, looking at it again, it makes some sense. When certain criteria are met, an implementation is allowed to omit the copy construction of a class object

[Bug c++/28670] reject valid? conversion from `int' to non-scalar type `Y' requested.

2006-08-17 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2006-08-17 19:18 --- the `Y y2 = 2` requires two impicit user-defined conversions (realized by conv-ctors) but standard allows at most one. -- pluto at agmk dot net changed: What|Removed |Added

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

2006-08-17 Thread pluto at agmk dot net
--- Comment #13 from pluto at agmk dot net 2006-08-17 19:22 --- (In reply to comment #12) The patch is wrong, you need something like -CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) +CFLAGS_FOR_TARGET = -O2 $(LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) and similarly

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

2006-08-17 Thread pluto at agmk dot net
--- Comment #15 from pluto at agmk dot net 2006-08-17 23:39 --- (In reply to comment #13) (In reply to comment #12) The patch is wrong, you need something like -CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) +CFLAGS_FOR_TARGET = -O2 $(LIBCFLAGS

[Bug c/28752] bootstrap comparision fails with -ftree-vectorize -maltivec on ppc

2006-08-16 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2006-08-16 09:23 --- probably the same issue as PR20586. -- pluto at agmk dot net changed: What|Removed |Added

[Bug other/27156] SIGSEGV in operator delete() / wrong-code?

2006-08-10 Thread pluto at agmk dot net
--- Comment #13 from pluto at agmk dot net 2006-08-10 09:58 --- in fact it was a gcc bug. gcc version 4.1.2 20060530 gives wrong code. gcc version 4.1.2 20060712 gives correct code. tree dump shows that gcc-20060530 removes some parts [*] of vector_base initialization and finally

[Bug other/27156] SIGSEGV in operator delete() / wrong-code?

2006-08-10 Thread pluto at agmk dot net
--- Comment #14 from pluto at agmk dot net 2006-08-10 09:58 --- fixed on current 4.1 branch. -- pluto at agmk dot net changed: What|Removed |Added Status

[Bug rtl-optimization/20586] bootstrap comparision fails with -funroll-loops.

2006-08-09 Thread pluto at agmk dot net
--- Comment #8 from pluto at agmk dot net 2006-08-09 09:45 --- works fine with 4.2.0-20060806 rev. 115974 on x86-64. current 4.1.2 build in progress... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20586

[Bug rtl-optimization/20586] bootstrap comparision fails with -funroll-loops.

2006-08-09 Thread pluto at agmk dot net
--- Comment #9 from pluto at agmk dot net 2006-08-09 10:36 --- the only C bootstrap still shows failures for 4.1.2. Bootstrap comparison failure! ./c-format.o differs ./combine.o differs ./expmed.o differs ./global.o differs ./i386.o differs ./reg-stack.o differs ./regclass.o differs

[Bug c++/28670] New: reject valid? conversion from #8216;int#8217; to non-scalar type #8216;Y#8217; requested.

2006-08-09 Thread pluto at agmk dot net
++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC build triplet: x86-64-linux GCC host triplet: x86-64-linux GCC target triplet: x86-64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28670

[Bug bootstrap/28511] syntax error in gcc/opt-gather.awk

2006-08-07 Thread pluto at agmk dot net
--- Comment #8 from pluto at agmk dot net 2006-08-07 07:56 --- (In reply to comment #7) Firstly, using /bin/sh to build the compiler is unsupported on Solaris. Please read http://gcc.gnu.org/install/specific.html#x-x-solaris2 with /bin/bash and /bin/ksh it fails in the same way

[Bug target/25277] missed optimization for simple mmx code.

2006-08-07 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2006-08-07 08:27 --- gcc-4.1.2-20060712: foo:subl$36, %esp #, movq%mm0, (%esp)# x, movl%ebx, 24(%esp) #, movl(%esp), %ebx#, x movl%esi, 28(%esp) #, movl4(%esp

[Bug bootstrap/28511] syntax error in gcc/opt-gather.awk

2006-08-07 Thread pluto at agmk dot net
--- Comment #10 from pluto at agmk dot net 2006-08-07 08:51 --- (In reply to comment #9) i see in my log only checking for awk. gcc/configure.in contains only AC_PROG_AWK. Err... there is no gcc/configure.in in 4.1.2, only gcc/configure.ac. sorry, typo. And the configure

[Bug bootstrap/28511] syntax error in gcc/opt-gather.awk

2006-08-07 Thread pluto at agmk dot net
--- Comment #11 from pluto at agmk dot net 2006-08-07 08:58 --- i should note that autoconf-2.59 works fine. $ info autoconf (...) -- Macro: AC_PROG_AWK Check for `awk', `mawk', `gawk', and `nawk', in that order, and set output variable `AWK' to the first one that is found

[Bug bootstrap/28511] syntax error in gcc/opt-gather.awk

2006-08-07 Thread pluto at agmk dot net
--- Comment #12 from pluto at agmk dot net 2006-08-07 09:04 --- (In reply to comment #11) i should note that autoconf-2.59 works fine. $ info autoconf (...) -- Macro: AC_PROG_AWK Check for `awk', `mawk', `gawk', and `nawk', in that order, and set output variable `AWK

[Bug other/28230] ICE during bootstrap (-O2 -fwrapv issue)

2006-08-03 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2006-08-03 20:39 --- now i'm sure that `-O2 -fwrapv` causes wrong-code in stage2 binaries. to reproduce this failure try to build gcc with: STAGE1_CFLAGS=-O1 BOOT_CFLAGS=-O2 -fwrapv $ xgcc -v Using built-in specs. Target: x86_64-pld-linux

[Bug other/28230] ICE during bootstrap (-O2 -fwrapv issue)

2006-08-03 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2006-08-03 20:41 --- (In reply to comment #2) works fine with BOOT_CFLAGS=-01 STAGE1_CFLAGS=-O0. with BOOT_CFLAGS=-O2 ices as above. please ignore this comment. i missed note about my common cflags (-fwrpav -fno-strict-aliasing) -- http

[Bug other/28272] ICE during bootstrap (possible wrong code at -O2).

2006-08-03 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2006-08-03 20:42 --- *** This bug has been marked as a duplicate of 28230 *** -- pluto at agmk dot net changed: What|Removed |Added

[Bug other/28230] ICE during bootstrap (-O2 -fwrapv issue)

2006-08-03 Thread pluto at agmk dot net
--- Comment #5 from pluto at agmk dot net 2006-08-03 20:42 --- *** Bug 28272 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28230

[Bug bootstrap/28511] can't bootstrap gcc / syntax error in gcc/opt-gather.awk

2006-08-03 Thread pluto at agmk dot net
--- Comment #6 from pluto at agmk dot net 2006-08-03 20:44 --- (In reply to comment #5) (In reply to comment #4) so it will be better if gcc searches gawk in $path rather than awk. Why there are OS's which have real POSIX awk that are not gawk. Like mawk, etc. because

[Bug c/28568] compiler generates incorrect ARM instructions when using long bitfields

2006-08-02 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2006-08-02 10:58 --- (In reply to comment #0) #define __REG32 volatile unsigend long typedef struct { __REG32 Bit0 :1; __REG32 Bit1 :1; ...etc... __REG32 Bit31 :1; }__Bitfield; #define ADDRESS address of my register

[Bug c++/28236] wrong control reaches warning with enums.

2006-07-31 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2006-07-31 14:35 --- one more testcase that renders different warning. typedef enum { X, Y } e; e zoo( e __e ) { e r; switch ( __e ) { case X: r = Y; break; case Y: r = X; break

[Bug c++/28236] wrong control reaches warning with enums.

2006-07-31 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2006-07-31 14:41 --- so, -Werror is useless now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28236

[Bug bootstrap/28511] can't bootstrap gcc / syntax error in gcc/opt-gather.awk

2006-07-31 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2006-07-31 17:54 --- (In reply to comment #1) What is on line 24 in the awk file? (...) # # Usage: awk -f opt-gather.awk file1.opt [...] outputfile function sort(ARRAY, ELEMENTS) === line 24 { for (i = 2; i = ELEMENTS; ++i

[Bug bootstrap/28511] can't bootstrap gcc / syntax error in gcc/opt-gather.awk

2006-07-31 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2006-07-31 18:50 --- (In reply to comment #3) Subject: Re: can't bootstrap gcc / syntax error in gcc/opt-gather.awk --- Comment #2 from pluto at agmk dot net 2006-07-31 17:54 --- (In reply to comment #1) What

[Bug bootstrap/28511] New: can't bootstrap gcc / syntax error in gcc/opt-gather.awk

2006-07-27 Thread pluto at agmk dot net
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC build triplet: sparc-sun-solaris2.9 GCC host triplet: sparc-sun-solaris2.9 GCC target triplet: sparc-sun-solaris2.9 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28511

[Bug libgcj/28491] New: NetworkInterface.getNetworkInterfaces() doesn't report ipv6 interfaces.

2006-07-26 Thread pluto at agmk dot net
. Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC build triplet: x86_64-linux GCC host

[Bug target/17390] missing floating point compare optimization

2006-07-25 Thread pluto at agmk dot net
--- Comment #11 from pluto at agmk dot net 2006-07-25 11:33 --- ping -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17390

[Bug c++/28459] bogus diagnostic / format '%p' expects type 'void*', but argument has type 'void (x::*)()';

2006-07-24 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-07-24 17:16 --- oops, duplicated, sorry. *** This bug has been marked as a duplicate of 26542 *** -- pluto at agmk dot net changed: What|Removed |Added

[Bug c/26542] bogus diagnostic with -pedantic?: format '%p'; expects type 'void*', but argument 2 has type 'A*'

2006-07-24 Thread pluto at agmk dot net
--- Comment #5 from pluto at agmk dot net 2006-07-24 17:16 --- *** Bug 28459 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26542

[Bug c++/28459] New: bogus diagnostic / format #8216;%p#8217; expects type #8216;void*#8217;, but argument has type #8216;void (x::*)()#8217;

2006-07-22 Thread pluto at agmk dot net
at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC build triplet: x86-64-linux GCC host triplet: x86-64-linux GCC target triplet: x86-64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28459

[Bug tree-optimization/28210] ICE in is_gimple_min_invariant at -O1.

2006-07-16 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2006-07-16 20:27 --- it works for me with 4.1.2 revision 115366. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28210

[Bug other/28264] New: broken gcc/config/soft-fp build.

2006-07-05 Thread pluto at agmk dot net
. Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC build triplet: powerpc-linux GCC host

[Bug other/28264] broken gcc/config/soft-fp build.

2006-07-05 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2006-07-05 08:19 --- ohhh, now I see what's wrong. Out of Memory: Killed process 18248 (cc1). the PPC970FX box has 1GB ram + 1GB swap. i'll re-run build and try to reproduce this memory-hog. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug other/28264] broken gcc/config/soft-fp build.

2006-07-05 Thread pluto at agmk dot net
--- Comment #5 from pluto at agmk dot net 2006-07-05 15:45 --- ok, my fault.(In reply to comment #4) ohhh, now I see what's wrong. Out of Memory: Killed process 18248 (cc1). the PPC970FX box has 1GB ram + 1GB swap. i'll re-run build and try to reproduce this memory-hog

[Bug other/28272] New: ICE during bootstrap (possible wrong code at -O2).

2006-07-05 Thread pluto at agmk dot net
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC build triplet: powerpc-linux GCC host triplet: powerpc-linux GCC target triplet: powerpc-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28272

[Bug other/28264] broken gcc/config/soft-fp build.

2006-07-05 Thread pluto at agmk dot net
--- Comment #6 from pluto at agmk dot net 2006-07-05 15:48 --- (In reply to comment #5) with -O2 ./cc1 ICEs. for more details see PR28272 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28264

[Bug other/28272] ICE during bootstrap (possible wrong code at -O2).

2006-07-05 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-07-05 15:53 --- Created an attachment (id=11834) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11834action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28272

[Bug other/28272] ICE during bootstrap (possible wrong code at -O2).

2006-07-05 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2006-07-05 17:06 --- (In reply to comment #2) When you file a bug about bootstrap failure, can you the following information: How you configured? Reading specs from ./specs Target: ppc-pld-linux Configured with: ../configure --prefix=/usr

[Bug other/28230] ICE during profiled bootstrap.

2006-07-04 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2006-07-04 21:16 --- works fine with BOOT_CFLAGS=-01 STAGE1_CFLAGS=-O0. with BOOT_CFLAGS=-O2 ices as above. -- pluto at agmk dot net changed: What|Removed |Added

[Bug other/28230] New: ICE during profiled bootstrap.

2006-07-03 Thread pluto at agmk dot net
Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28230

[Bug other/28230] ICE during profiled bootstrap.

2006-07-03 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-07-03 11:24 --- without profiling boostrap fails too. Program received signal SIGSEGV, Segmentation fault. 0x0074c419 in lshift_significand (r=0xc97980, a=0xc97980, n=63) at ../../gcc/real.c:254 254 r

[Bug c++/20681] [4.0/4.1/4.2 Regression] wrong control reaches warning with switches

2006-07-03 Thread pluto at agmk dot net
--- Comment #15 from pluto at agmk dot net 2006-07-03 15:27 --- one more valid code rejected by 4.1/4.2: typedef enum { foo, bar } e; int zoo( e __e ) { switch ( __e ) { case foo: return -1; case bar: return +1; } } $ x86_64-gnu

[Bug c++/20681] [4.0/4.1/4.2 Regression] wrong control reaches warning with switches

2006-07-03 Thread pluto at agmk dot net
--- Comment #16 from pluto at agmk dot net 2006-07-03 15:30 --- (In reply to comment #15) one more valid code rejected by 4.1/4.2: typedef enum { foo, bar } e; int zoo( e __e ) { switch ( __e ) { case foo: return -1; case bar

[Bug c++/28236] New: wrong control reaches warning with enums.

2006-07-03 Thread pluto at agmk dot net
control reaches warning with enums. Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC build

[Bug c++/20681] [4.0/4.1/4.2 Regression] wrong control reaches warning with switches

2006-07-03 Thread pluto at agmk dot net
--- Comment #18 from pluto at agmk dot net 2006-07-03 16:55 --- (In reply to comment #17) (In reply to comment #16) ohh, 3.3.6 also fails. That is a different issue and really should be filed in a different bug. The issue there is C++'s enums are only defined for those two

[Bug c++/28236] wrong control reaches warning with enums.

2006-07-03 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-07-03 17:00 --- zoo (__e) { int D.1616; bb 0: switch (__e) { case 0: goto L0; case 1: goto L5; default : goto L2; } L0:; D.1616 = -1; goto bb 3 (L3); L2:; return; problem. L5

[Bug ada/21952] Many attribute directive ignored warnings during Alpha bootstrap

2006-07-02 Thread pluto at agmk dot net
--- Comment #11 from pluto at agmk dot net 2006-07-02 14:40 --- 4.1.2svn still broken. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21952

[Bug libgcj/24403] --enable-java-awt=qt fails to build

2006-07-02 Thread pluto at agmk dot net
--- Comment #7 from pluto at agmk dot net 2006-07-03 00:08 --- Created an attachment (id=11803) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11803action=view) updated build hack for mainline. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24403

[Bug other/28210] New: ICE in is_gimple_min_invariant at -O1.

2006-06-30 Thread pluto at agmk dot net
() -- Summary: ICE in is_gimple_min_invariant at -O1. Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot

[Bug other/28210] ICE in is_gimple_min_invariant at -O1.

2006-06-30 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-06-30 13:34 --- Created an attachment (id=11785) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11785action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28210

[Bug target/28150] ICE in reload_cse_simplify_operands, at postreload.c:394

2006-06-29 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2006-06-29 09:36 --- this bug blocks portable.net developing. -- pluto at agmk dot net changed: What|Removed |Added

[Bug target/25864] Enable IBM long double format in 32-bit PowerPC Linux

2006-06-29 Thread pluto at agmk dot net
--- Comment #17 from pluto at agmk dot net 2006-06-29 18:33 --- PR28150 seems to be related. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25864

[Bug target/28150] ICE in reload_cse_simplify_operands, at postreload.c:394

2006-06-29 Thread pluto at agmk dot net
--- Comment #5 from pluto at agmk dot net 2006-06-29 19:27 --- reduced testcase: void foo( void* dst, void* src, int x ) { long double nativeFloat; void *ptr; if (x) { nativeFloat = (long double)(*((float*)src)); ptr

[Bug c++/26671] [4.0/4.1/4.2 Regression] Missing warning: reference to local variable returned

2006-06-28 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2006-06-28 08:56 --- following testcase doesn't generate warning in 4.1.2svn. 3.3.6 works fine. #include string std::string const foo() { std::string tab[ 1 ] = { std::string( text ) }; int const idx = 0; return tab[ idx

[Bug other/28187] New: '-O2 -fwrapv' exhausts memory.

2006-06-28 Thread pluto at agmk dot net
Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC build triplet: 486, powerpc GCC host triplet: 486, powerpc GCC target

[Bug other/28187] '-O2 -fwrapv' exhausts memory.

2006-06-28 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-06-28 12:46 --- Created an attachment (id=11768) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11768action=view) i486 precompiled testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28187

[Bug target/28150] ICE in reload_cse_simplify_operands, at postreload.c:394

2006-06-25 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2006-06-25 08:47 --- (In reply to comment #2) How did you configure GCC becase having TFmode there sounds like you configured to have 128bit long double to be default. $ gcc -v Reading specs from /usr/lib/gcc/ppc-pld-linux/4.1.2/specs

[Bug target/28150] New: ICE in reload_cse_simplify_operands, at postreload.c:394

2006-06-24 Thread pluto at agmk dot net
Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC build triplet: ppc-linux GCC host triplet: ppc

[Bug target/28150] ICE in reload_cse_simplify_operands, at postreload.c:394

2006-06-24 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-06-24 09:23 --- Created an attachment (id=11740) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11740action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28150

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

2006-06-17 Thread pluto at agmk dot net
--- Comment #9 from pluto at agmk dot net 2006-06-17 19:24 --- patch posted on gcc-patches over month ago. still no response. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672

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

2006-06-12 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2006-06-12 19:15 --- still ice. -- pluto at agmk dot net changed: What|Removed |Added Known to fail|2.95 3.0.4 3.2.2 4.0.0

[Bug bootstrap/27918] New: stage2 failed: broken linking / Relocations in generic ELF (EM: 62)

2006-06-06 Thread pluto at agmk dot net
: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC build triplet: x86_64-linux GCC host triplet: x86_64-linux GCC target triplet

[Bug other/27654] New: bogus/missed diagnostic at -Os.

2006-05-18 Thread pluto at agmk dot net
: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC build triplet: i486-linux GCC host triplet: i486-linux GCC target triplet: i486-linux http://gcc.gnu.org/bugzilla

[Bug other/27654] bogous/missed diagnostic at -Os.

2006-05-18 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-05-18 10:12 --- #include string bool foo( bool b1, bool b2 ) { std::string what; std::size_t size = what.size(); if ( b1 size ) { if ( b2 ) return true

[Bug other/27654] bogous/missed diagnostic at -Os.

2006-05-18 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2006-05-18 10:14 --- 3.3.6 doesn't report about 'control reaches...'. 4.0 and 4.2 not tested. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27654

[Bug other/27567] New: __builtin_memcpy generates redundant stores/moves.

2006-05-11 Thread pluto at agmk dot net
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC build triplet: x86-*-linux GCC host triplet: x86-*-linux GCC target triplet: x86-*-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27567

[Bug c++/27533] wrong result after reinterpret_cast from float* to int*

2006-05-10 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-05-10 14:51 --- you're violating the aliasing rules, so use -fno-strict-aliasing option. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27533

[Bug c++/27533] wrong result after reinterpret_cast from float* to int*

2006-05-10 Thread pluto at agmk dot net
--- Comment #5 from pluto at agmk dot net 2006-05-10 15:26 --- (In reply to comment #0) The code inline int almost_equal(float a, float b, int maxUlps = 16) { int intDiff = *(reinterpret_castint*(a)) - *(reinterpret_castint*(b)); if you really need

[Bug other/27156] SIGSEGV in operator delete() / wrong-code?

2006-05-10 Thread pluto at agmk dot net
--- Comment #12 from pluto at agmk dot net 2006-05-10 22:36 --- following reduced testcase works with libstdc++ and segv with stlport. #include list #include vector struct A { }; int main() { std::list A* l; std::vector A* v( l.end(), l.end() ); return 0; } g

[Bug bootstrap/25715] lack of gcc target headers inclusion.

2006-05-05 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-05-05 11:29 --- crossbuild of 4.1.1-20060504 (rev. 113515) for i686-ppc64 and x86-64-ppc64 works to me now. -- pluto at agmk dot net changed: What|Removed |Added

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

2006-05-05 Thread pluto at agmk dot net
--- Comment #8 from pluto at agmk dot net 2006-05-05 11:52 --- patch posted: http://gcc.gnu.org/ml/gcc-patches/2006-05/msg00204.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672

[Bug other/27417] wrong code or aliasing violation with missed diagnostic?

2006-05-05 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2006-05-05 15:10 --- (In reply to comment #3) You cannot. Though you can try extending c-common.c:strict_aliasing_warning and cp/typeck.c:build_reinterpret_cast_1 to warn in this case. sorry, but i don't know compiler internals to do

[Bug other/27417] New: wrong code or aliasing violation with missed diagnostic?

2006-05-04 Thread pluto at agmk dot net
Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC build triplet: i486-linux GCC host triplet: i486-linux GCC target triplet

[Bug other/27417] wrong code or aliasing violation with missed diagnostic?

2006-05-04 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2006-05-04 12:08 --- (In reply to comment #1) This missed diagnostic is known, as enabling a warning here would cause too much false positives. but what about -Wstrict-aliasing=2? it doesn't report anything, so how can i check possible

[Bug driver/27419] '-static' for 'gcc libraries' only?

2006-05-04 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-05-04 13:15 --- (In reply to comment #0) Hi! I would be interested in having the gcc libraries statically linked to my binary, but still use one shared-object (a commercial library for which no static version is available), so

[Bug driver/7516] Ambiguous driver behaviour with -shared -static cmd line options combination

2006-05-04 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2006-05-04 13:21 --- (In reply to comment #0) $ ldd ./libfoo.so /lib/libNoVersion.so.1 = /lib/libNoVersion.so.1 (0x40003000) libc.so.6 = /lib/i686/libc.so.6 (0x40015000) /lib/ld-linux.so.2 = /lib/ld-linux.so

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

2006-05-04 Thread pluto at agmk dot net
--- Comment #6 from pluto at agmk dot net 2006-05-04 16:15 --- nobody cares about this bad flags pickup? (In reply to comment #5) hmm, CFLAGS_FOR_TARGET picks up CFLAGS. --- gcc-4.1-20060106/Makefile.in.orig 2005-12-15 15:02:02.0 +0100 +++ gcc-4.1-20060106/Makefile.in

[Bug middle-end/27414] IA64 bootstrap comparison failure, stage 2 - 3

2006-05-04 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2006-05-04 16:18 --- (In reply to comment #0) Hi, I just pulled from SVN and tried to build for IA64, and it fails with Comparing stages 2 and 3 warning: ./cc1-checksum.o differs Bootstrap comparison failure! ./varasm.o differs

[Bug other/27156] SIGSEGV in operator delete() / wrong-code?

2006-05-03 Thread pluto at agmk dot net
--- Comment #8 from pluto at agmk dot net 2006-05-03 09:02 --- Created an attachment (id=11364) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11364action=view) full 32-bit testcase. -- pluto at agmk dot net changed: What|Removed |Added

<    3   4   5   6   7   8   9   10   11   >