Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3780)

Issue 6149044: [google-4_6] fix undefined typeinfo reference in LIPO

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by xur
Modified:
12 years ago
Reviewers:
davidxl
CC:
gcc-patches_gcc.gnu.org
Base URL:
svn+ssh://gcc.gnu.org/svn/gcc/branches/google/gcc-4_6/
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M gcc/cp/rtti.c View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 2
xur
Hi, This patch is for google-4_6 branch only. It fixes a undefined type-info reference in ...
12 years ago (2012-05-01 22:26:39 UTC) #1
davidxl
12 years ago (2012-05-01 22:32:13 UTC) #2
ok. Needs to be in google47 and google/main too.

David


On Tue, May 1, 2012 at 3:26 PM, Rong Xu <xur@google.com> wrote:
> Hi,
>
> This patch is for google-4_6 branch only.
>
> It fixes a undefined type-info reference in LIPO compilation.
>
> Tested with bootstrap, SPEC and internal benchmarks.
>
> Thanks,
>
> 2012-05-01   Rong Xu  <xur@google.com>
>
>        * gcc/cp/rtti.c (get_tinfo_decl): generate tinfo for aux
>        modules in LIPO.
>
> Index: gcc/cp/rtti.c
> ===================================================================
> --- gcc/cp/rtti.c       (revision 186884)
> +++ gcc/cp/rtti.c       (working copy)
> @@ -443,8 +443,7 @@ get_tinfo_decl (tree type)
>        CLASSTYPE_TYPEINFO_VAR (TYPE_MAIN_VARIANT (type)) = d;
>
>       /* Add decl to the global array of tinfo decls.  */
> -      if (!L_IPO_IS_AUXILIARY_MODULE)
> -        VEC_safe_push (tree, gc, unemitted_tinfo_decls, d);
> +      VEC_safe_push (tree, gc, unemitted_tinfo_decls, d);
>     }
>
>   return d;
>
> --
> This patch is available for review at http://codereview.appspot.com/6149044
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b