This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/48323] [4.5/4.6/4.7 Regression] Lifetime of local variables: global versus member function
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 Mar 2011 20:31:44 +0000
- Subject: [Bug middle-end/48323] [4.5/4.6/4.7 Regression] Lifetime of local variables: global versus member function
- Auto-submitted: auto-generated
- References: <bug-48323-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48323
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |x86_64-linux-gnu
Status|UNCONFIRMED |NEW
Keywords| |wrong-code
Last reconfirmed| |2011.03.28 20:31:38
Component|c++ |middle-end
Ever Confirmed|0 |1
Summary|Lifetime of local |[4.5/4.6/4.7 Regression]
|variables: global versus |Lifetime of local
|member function |variables: global versus
| |member function
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-03-28 20:31:38 UTC ---
+ .type _ZZN1C13class_scope_fEvE1i, @gnu_unique_object
- .type _ZZN1C13class_scope_fEvE1i, @object
- works but + does not.
4.4 produces object while 4.5 and above produce @gnu_unique_object.