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]

[patch] rs600.c: mark builtin_mask_for_load with GTY


SPEC's bzip2 and gcc ICE on ppc-darwin (when vectorization is enabled)
because the decl created for the new target builtin 'builtin_mask_for_load'
in rs6000.c got corrupted during compilation. This patch fixes the problem.

Bootstrapped and tested on ppc-darwin. ok for mainline?

thanks,
dorit

      * rs6000.c (altivec_builtin_mask_for_load): Made static GTY(()).
      (altivec_builtin_mask_for_store): Likewise.
      (altivec_init_builtins): Use lang_hooks.builtin_function to
      create the decls for builtin_altivec_mask_for_load/store.


(See attached file: vectfix.oct5)

Attachment: vectfix.oct5
Description: Binary data


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