[Bug rtl-optimization/21970] [3.4 only] Inline keyword causes computation to erroneously reduce to a constant

2005-06-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-08 23:14 --- Confirmed, but this looks like only a bug in 3.4.x and before. It might be a latent bug on the mainline still I don't know for sure. -- What|Removed |Added

[Bug c++/21971] New: class friend declaration doesn't allow use in class scope

2005-06-08 Thread jconner at apple dot com
The following code: class a { friend class b; b *pb; }; Produces an error message in the current mainline (4.1.0 development): bar.c:3: error: ISO C++ forbids declaration of 'b' with no type bar.c:3: error: expected ';' before '*' token 14882:2003, 11.4.7, indicates that this

[Bug c++/21971] class friend declaration doesn't allow use in class scope

2005-06-08 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||lerdsuwa at users dot ||sourceforge dot net Keywords|

[Bug c++/21972] New: Bad code generated

2005-06-08 Thread jordi dot prats at gmail dot com
g++ compile fine (without any warning) this example program: /*CODE*/ #include iostream typedef struct sA { int bb; }AA; int main() { AA *p; p=NULL; for(int i=(p==NULL)?0:p-bb;i(p==NULL)?30:(p-bb+4);i++) { std::cout i; } return 1; } /*CODE*/ compile: g++ -g

[Bug c++/21972] Bad code generated

2005-06-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-09 00:24 --- Nope this is not generating bad code. i(p==NULL)?30:(p-bb+4) is equivalent to (i(p==NULL))?30:(p-bb+4) You want i((p==NULL)?30:(p-bb+4)). -- What|Removed |Added

[Bug c++/21971] class friend declaration doesn't allow use in class scope

2005-06-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-09 00:26 --- Comeau also rejects the code. I think this is invalid but I will let Kriang comment on this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21971

[Bug libgcj/21949] java.rmi.server.RMIClassLoader.getClassLoader() is private, should be public

2005-06-08 Thread mckinlay at redhat dot com
--- Additional Comments From mckinlay at redhat dot com 2005-06-09 00:56 --- I've checked this in to HEAD and Classpath cvs. Strictly speaking, it shouldn't go into GCC 4.0 as its an ABI change and our no-C++-abi-incompatible-changes policy is still in place. Do you need it for 4.0? --

[Bug c/21973] New: Segfault in GTK+ compiled with -march=pentium4 when used through JNI

2005-06-08 Thread vektor at dumbterm dot net
I have discussed this issue with Andrew Pinski on IRC, but I figured it should be logged here as well. I have been investigating some crashes in Eclipse, a Java application which uses GTK+. The crashes are reproducable using the Sun 1.5 VM when GTK+ is compiled with -march=pentium4, and go away

[Bug c/21973] Segfault in GTK+ compiled with -march=pentium4 when used through JNI

2005-06-08 Thread vektor at dumbterm dot net
--- Additional Comments From vektor at dumbterm dot net 2005-06-09 04:38 --- Of course, right after I post this someone comes up with a log where the disassembly doesn't make as much sense, but still at least shows some SSE2 :) EAX=0x0001, EBX=0xa971c0e8, ECX=0xa91f4860,

[Bug libgcj/18266] SIGSEGV in GC_register_finalizer_inner ()

2005-06-08 Thread Hans dot Boehm at hp dot com
--- Additional Comments From Hans dot Boehm at hp dot com 2005-06-09 05:10 --- Unfortunately, I haven't had time to pursue this. I think that in order to get this to fail, you want lots of weak references to objects which are also sobject to lock contention or wait/notify calls. I

<    1   2