As soon as a -xO[0-5] is set, the following error is produced: "test.cpp", [main]:ube: error: Invalid reference to argument '0' in GASM InliningWithout optimisation compiler runs a "simple" code generator, which is know to have issues with gnu-inline-asm.
The atomic_add32() is taken straight from boost.What library it comes from?
Well, it appears I was wrong here.The atomic_add32() is taken straight from boost.I did not see these hiccups on intel Solaris, and this particular part of the compiler is not platform specific (Linux should not differ to Solaris).
Am I right with my assumption that for unsupported systems, no patches or anything alike are provided?Yes, thats true.
If this bug gets fixed, I will have to wait for an eventual Studio 12.4
Is there any chance this gets fixed anytime soon(ish)?The only chance for you (unless you dont have an official support contract) to get over it is to modify this gnu-asm a bit so UBE does not choke over it.
Nowadays we do patches only through the official support channels... :-\Pity, really. That pretty much disqualifies the use of this compiler for several use cases.
The only chance for you (unless you dont have an official support contract) to get over it is to modify this gnu-asm a bit so UBE does not choke over it.Thanks.
I will ask UBE team for an exact workaround.