--- Comment #7 from pinskia at gmail dot com 2010-01-07 17:18 ---
Subject: Re: Optimizer breaks boost shared_ptr
Sent from my iPhone
On Jan 7, 2010, at 8:56 AM, "rlogel at navtech dot aero"
wrote:
>
>
> --- Comment #5 from rlogel at navtech dot aero 2010-01-07 16:56
> -
Sent from my iPhone
On Jan 7, 2010, at 8:56 AM, "rlogel at navtech dot aero" > wrote:
--- Comment #5 from rlogel at navtech dot aero 2010-01-07 16:56
---
I realize that 3.4.6 is very old, but we need to support RedHat
Enterprise 4
builds which use gcc 3.4.6.
Then report thi
--- Comment #6 from paolo dot carlini at oracle dot com 2010-01-07 17:02
---
Yes, but it's totally unmaintained, I'm sorry, we don't get PRs for
unmaintained branches, that's the policy.
--
paolo dot carlini at oracle dot com changed:
What|Removed
--- Comment #5 from rlogel at navtech dot aero 2010-01-07 16:56 ---
I realize that 3.4.6 is very old, but we need to support RedHat Enterprise 4
builds which use gcc 3.4.6. We would rather not undertake upgrading to gcc 4.x
because we have a large legacy code base, some of which uses wr
--- Comment #4 from paolo dot carlini at oracle dot com 2010-01-07 16:52
---
3.4.6?!? Please, try current, maintained, releases, gcc4.3.x or, better,
gcc4.4.x, and in case open an appropriate PR. Thanks.
--
paolo dot carlini at oracle dot com changed:
What|Removed
--- Comment #2 from rlogel at navtech dot aero 2010-01-07 16:49 ---
# Vaild Excutable
g++ -v -save-temps -o shared_ptr_test.exc shared_ptr_test.cpp
# Invalid Excutable
g++ -v -save-temps -O2 -o shared_ptr_test.exc shared_ptr_test.cpp
GCC output:
$ g++ -v -save-temps -O2 -o shared
--- Comment #1 from rlogel at navtech dot aero 2010-01-07 16:46 ---
Created an attachment (id=19500)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19500&action=view)
Shared Pointer Test Program
This test program shows that the shared_ptr reference counter isn't being
incremented d