910363 at bugs.launchpad.net
Thu Jan 5 13:39:22 UTC 2012
(In reply to comment #3)
> Where 4.6 says:
> Candidate (2069): this
> ! Disqualifying this - Encountered a bit-field access.
> which hints at what needs backporting.
Right, this seems to be PR 45644, for some reason I did not backport
the fix to 4.5. It should be fixed by committing
I'll do the backport and test it today.
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.5 in Ubuntu.
miscompile writing to bitfield at -Os
Status in The GNU Compiler Collection:
Status in “gcc-4.5” package in Ubuntu:
The attached preprocessed file was extracted out of a file from LLVM. When it was compiled by g++-4.5 at -Os, and LLVM's test suite was run, it resulted in the assert in PointerType's constructor firing:
llvm::PointerType::PointerType(llvm::Type*, unsigned int): Assertion `oldNCT == NumContainedTys && "bitfield written out of bounds?"' failed.
This was the invocation I used:
g++-4.5 -Os -fPIC -g -pedantic -Wno-long-long -fno-exceptions -o lib/VMCore/CMakeFiles/LLVMCore.dir/Type2.cpp.o -c Type2.ii
Further details here:
DistroRelease: Ubuntu 11.04
Package: g++-4.5 4.5.2-8ubuntu4
Uname: Linux 3.1.0-custom x86_64
Date: Tue Dec 27 22:11:40 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
More information about the foundations-bugs