Bug#590038: g++-4.4: g++ generates incorrect code with optimisation

2010-07-22 Thread Philip Ashmore
I forgot to mention that treedb-0.6.0-beta1 is only accessible from GIT. To get it run $ git clone git://treedb.git.sourceforge.net/gitroot/treedb/treedb -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.o

Bug#590038: g++-4.4: g++ generates incorrect code with optimisation

2010-07-22 Thread Philip Ashmore
Package: g++-4.4 Version: 4.4.4-6 Severity: important I've uploaded treedb-0.6.0-beta1 to SourceForge as it demonstrates the problem. It uses v3c-1.6.0 which you can download from http://sourceforge.net/projects/v3c/ . The Changelog details the problem, but in summary: $ make check has no probl

Bug#590008: cpp-4.4: incorrect macro expansion when a macro call results in the same

2010-07-22 Thread pacman
Philip Ashmore writes: > > Package: cpp-4.4 > Version: 4.4.4-6 > Severity: normal > > Here's an example > > #define appendc(x) x##c > #define aXc(X) appendc(a##X) > #define abc appendc(abb) > > int aXc(b) = 0; // appendc(ab) -> abc -> appendc(abb) -> abbc > > int main(int a

Bug#590008: cpp-4.4: incorrect macro expansion when a macro call results in the same macro being called

2010-07-22 Thread Philip Ashmore
Package: cpp-4.4 Version: 4.4.4-6 Severity: normal Here's an example #define appendc(x) x##c #define aXc(X) appendc(a##X) #define abc appendc(abb) int aXc(b) = 0; // appendc(ab) -> abc -> appendc(abb) -> abbc int main(int argc, char *argv[]) { return abbc; }

Processed: Hopefully I will upload soon

2010-07-22 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > clone 587002 -1 Bug#587002: boson: FTBFS on mips{,el}: /usr/bin/ld: non-dynamic relocations refer to dynamic symbol std::cerr@@GLIBCXX_3.4 Bug 587002 cloned as bug 589962. > retitle -1 Should use default compilers on mips and mipsel Bug #589962

Processed (with 4 errors): Hopefully I will upload soon

2010-07-22 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > tags 587002 +pending Bug #587002 [src:boson] boson: FTBFS on mips{,el}: /usr/bin/ld: non-dynamic relocations refer to dynamic symbol std::cerr@@GLIBCXX_3.4 Added tag(s) pending. > unblock 587002 by 519006 Bug #587002 [src:boson] boson: FTBFS on m