Bug#166143: more info

2002-10-24 Thread Martin Dorey
With -fno-builtin the ICE does not happen. * This e-mail and any attachment is confidential. It may only be read, copied and used by the intended recipient(s). If you are not the intended recipient(s), you may not copy, use, d

Bug#166143: g++-3.2: strlen/template interaction causes ICE

2002-10-24 Thread Martin Dorey
Package: g++-3.2 Version: 1:3.2.1-0pre4 Severity: normal Bang uptodate Debian testing/unstable g++-3.2 ICEs on this code. Interestingly, it's already started generating the .s file. Dude on the gcc bug list said to send it your way: From: Andrew Pinski <[EMAIL PROTECTED]> To: [EMAIL PROTECTED

RE: -pedantic reports ambiguous base

2002-01-10 Thread Martin Dorey
Martin, Thanks for looking at this. 10.1.4 has this example, which it claims is legal (incidentally my g++-3.0 -pedantic agrees): struct L { int next; }; struct A : L {}; struct B : L {}; struct C : A, B { void f (); }; void C::f () { A::next = B::next; } If your previous transformation were a

-pedantic reports ambiguous base

2002-01-09 Thread Martin Dorey
>Submitter-Id: net >Originator: >Organization: BlueArc >Confidential: no >Synopsis: -pedantic reports ambiguous base >Severity: non-critical >Priority: low >Category: c++ >Class: rejects-legal >Release: 3.0.3 (Debian testing/unstable) >Environment: System:

RE: comparing function pointer with int does not produce error

2001-10-24 Thread Martin Dorey
Right, understood, finally. Thanks. -Original Message- From: Martin v. Loewis [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 24, 2001 8:43 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; debian-gcc@lists.debian.org; [EMAIL PROTECTED] Subject: Re:

RE: comparing function pointer with int does not produce error

2001-10-24 Thread Martin Dorey
I can't disagree with your reading ("involve" doesn't mean "be"). However, searching for "integral constant expression" suggests to me that this outlaws the following code, all of which compiles without warning: enum {dim = 1}; char a [dim]; // 8.3.4.1 void* b = new char [1] [dim]; // 5.3.4.6 st