tags 565801 pending thanks -=| Modestas Vainius, Sat, Mar 27, 2010 at 02:26:31AM +0200 |=- > Thanks to very helpful hints from Petr, I was able to track down > what atomic g++ flag and which object file is the problem. It > appears that current (4.4.3-2) g++ miscompiles src/dsql/parse.cpp > when -fipa-reference optimization flag (implied by -O1 or higher) is > enabled. Therefore, my solution is to avoid the problem by building > src/dsql/parse.cpp ( $(OBJ)/dsql/parse.o ) with -fno- > ipa-reference:
Great! An update package is to be uploaded in a couple of hours. I can't find a g++ bugreport about this, do you mind filing one? Note that the actual C++ source that is (mis)compiled by g++ is a result of pre-processing of src/dsql/parse.y by an yacc preprocessor (built locally). Since the parser module is used everywhere, I'll try to disable the optimization only on freebsd-amd64 for the next upload. Many thanks for your help, Petr and Modestas!
signature.asc
Description: Digital signature