[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#491137: [g++/s390 only] optimization causes errornous behavior



On Thu, Jul 17, 2008 at 03:34:59AM +0200, Michael Tautschnig wrote:
> When rebuilding diagnostics, it failed on s390 during the selftests [0]. The
> failing piece of code is attached.

This includes too many preprocessor magic. Please provide an example
without.

I was not even able to link libdiagnostics properly because it include
unresolvable symbols.

Anyway, the access to m_throw as class member is somehow screwed if both
m_class_invariance and the destructor of Dummy_Class_With_Invariance is
inline.

> (all controllable options enabled by -O) does _not_ yield the errornous
> behavior, and dropping -fgcse also stops the runtime failure.

-fgcse is not the root cause. -O0 -fgcse does not show this behaviour.

Bastian

-- 
Actual war is a very messy business.  Very, very messy business.
		-- Kirk, "A Taste of Armageddon", stardate 3193.0



Reply to: