This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix libgomp miscompilation on ppc64


On Sun, Jan 29, 2006 at 04:07:48PM -0800, Mark Mitchell wrote:
> Andrew Pinski wrote:
> 
> > It could possibly cause a regression in libstdc++ because it uses
> > the builtins.
> 
> It could cause a bug -- but could it cause a regression?  That would

Yes, since libstdc++-v3 was not using the __sync_* builtins internally
in GCC 4.0.x and earlier, but used inline assembly instead for the atomic
stuff.  We only saw the bug in libgomp so far, so it is possible in
libstdc++-v3 we are just lucky enough to not expose it.  Though it is
unclear if GCC 4.1's libstdc++-v3 has been tested with all the compile
flags combinations people will be actually using.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]