Generates bad code for indirect function calls on pa-risc

2002-01-10 Thread Torsten Landschoff
>Submitter-Id: net >Originator: >Organization: Debian Project >Confidential: no >Synopsis: Generates bad code for indirect calls on pa-risc >Severity: serious >Priority: medium >Category: target >Class: wrong-code >Release: 3.0.3 (Debian testing/unstable) >

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