| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194982 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194854 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+2013-01-02 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * parser.c (cp_parser_cilk_for_expression_iterator): Uncapitalized an
+ error message and added appropriate location to error message.
+ (cp_parser_jump_statement): Likewise.
+ * cp-cilk.c (copy_decl_for_cilk): Likewise.
+
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194830 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
| |
+2012-12-28 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * runtime/cilk-abi-cilk-for.cpp (capture_spawn_arg_stack_frame): Added
+ #ifdefs to check compiler type between the function's body.
+
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194750 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194746 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194718 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-12-21 Balaji V. Iyer <balaji.v.iyer@intel.com>
* elem-function-common.c (find_elem_fn_parm_type_1): Freed a malloced
variable.
(find_elem_fn_name): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194674 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-12-18 Balaji V. Iyer <balaji.v.iyer@intel.com>
* tree-vect-loop.c (vect_determine_vectorization_factor): Replaced all
occurances of "fatal_error" with error_at with vect_location.
(vect_analyze_loop_form): Likewise.
(vect_analyze_loop_operations): Likewise.
(vect_analyze_loop): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194602 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194585 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194568 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc/c-family/ChangeLog.cilkplus
+2012-12-17 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * c-cilk.c (compute_loop_var): Added a check for integral type of loop
+ var and set the count type accordingly. Removed all occurances of
+ checking the pointer type.
+ (build_cilk_for_body): Likewise.
+ (declare_cilk_for_vars): Changed the generic name form new iteration
+ var. and inherited it from the existing one.
+
gcc/testsuite/ChangeLog.cilkplus
+2012-12-17 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * gcc.dg/cilk-plus/cilk_keywords_test/execute/cilk_for_ptr_iter.c:
+ New test.
+
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194550 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194547 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+++ gcc/testsuite/ChangeLog.cilkplus
+ * gcc.dg/cilk-plus/cilk_keywords_test/errors/compound_cilk_spawn.c:
+ Likewise.
+++ gcc/ChangeLog.cilkplus
+ (build_compound_expr): Added a check for spawned function call in a
+ compound expression. If so, then emit an error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194543 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
testsuite/ChangeLog.cilkplus
+ * gcc.dg/cilk-plus/cilk_keywords_test/errors/concec_cilk_spawn.c:
+ Likewise.
gcc/ChangeLog.cilkplus
+ (c_parser_postfix_expression): Added check for consecutive _Cilk_spawn
+ keyword. If found, emit and error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194542 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc/c-family/ChangeLog.cilkplus
+2012-12-16 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * c-cilk.c (extract_for_fields): Set invalid to false as the
+ initialization value. Replaced unreachable with a comparison error.
+ Also, added a check if the end-value is less than start value for
+ _Cilk_for.
+ (compute_loop_var): Set the convert value to unsigned long for pointer
+ type count.
+ (build_cilk_for_body): Added a check for pointer type, and if so, do
+ a type convert (this is done twice).
+
gcc/ChangeLog.cilkplus
+2012-12-16 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * c/c-typeck.c (c_finish_cilk_loop): Added a check for multiple expr. in
+ condition or increment inside a _Cilk_for. If so, then emit an error.
+ * c/c-parser.c (c_parser_cilk_for_statement): Added a check for
+ multiple expressions for initialization for a Cilk_for. If so, then
+ emit an error.
+
gcc/testsuite/ChangeLog.cilkplus
+2012-12-16 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * gcc.dg/cilk-plus/cilk_keywords_test/errors/cilk_for_invalid_cmp3.c:
+ New test.
+ * gcc.dg/cilk-plus/cilk_keywords_test/errors/cilk_for_invalid_cmp2.c:
+ Likewise.
+ * gcc.dg/cilk-plus/cilk_keywords_test/errors/cilk_for_multiple_init.c:
+ Likewise.
+
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194541 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+++ gcc/testsuite/ChangeLog.cilkplus
+2012-12-14 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * gcc.dg/cilk-plus/cilk_keywords_test/errors/cilk_for_invalid_compares.c:
+ New test.
+ * gcc.dg/cilk-plus/cilk_keywords_test/errors/cilk_for_volatile_var.c:
+ Likewise.
+
+++ gcc/ChangeLog.cilkplus (working copy)
@@ -1,3 +1,11 @@
+2012-12-14 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * c/c-parser.c (c_parser_cilk_for_statement): Replaced unknown location with the
+ correct location value.
+ * c/c-typeck.c (c_finish_cilk_loop): Checked if the increment is one of
+ the following: !=, <=, <, >=, or >. Report error otherwise. Also
+ report error if the induction variable is constant or volatile.
+
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194507 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is called.
+2012-12-13 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * tree-vect-loop.c (vect_determine_vectorization_factor): Added a
+ check if assert is requested in simd pragma.
+ (vect_analyze_loop_form): Likewise.
+ (vect_analyze_loop_operations): Likewise.
+ (vect_analyze_loop): Likewise.
+ * tree-cfgcleanup.c (remove_forwarder_block): Copied the pragma
+ simd struct index from the removed bb to the destination basic block.
+ * cfgloop.c (flow_loops_find): Added flag_enable_cilk check.
+ * tree-cfg.c (gimple_merge_blocks): Copied the pragma simd struct
+ index from the source to destination.
+ (remove_bb): Likewise.
+
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194496 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc/c-family/ChangeLog.cilkplus
+2012-12-12 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * c-typeck.c (c_finish_cilk_loop) Added location for error reporting.
+ * c-cilk.c (wrapper_parm_cb): Likewise.
+ (copy_decl_for_cilk): Likewise.
+ (check_outlined_calls): Likewise.
+ (extract_for_fields): Reported an error instead of gcc_unreachable ().
+
gcc/testsuite/ChangeLog.cilkplus
+2012-12-12 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * gcc.dg/cilk-plus/cilk_keywords_test/errors/goto_inside_cilkfor.c:
+ New test.
+ * gcc.dg/cilk-plus/cilk_keywords_test/errors/cilk_for_incr_errors.c:
+ Likewise.
+ * gcc.dg/cilk-plus/cilk_keywords_test/errors/errors.exp: New script.
+
gcc/ChangeLog.cilkplus
+2012-12-12 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * c/c-objc-common.h (LANG_HOOKS_CILK_CHECK_CTRL_FLOW): New define.
+ * cilk.c (store_labels): New function.
+ (find_all_labels): Likewise.
+ (check_goto_labels_inside_cilk_for_body): Likewise.
+ (check_gotos_inside_cilk_for): Likewise.
+ (check_gotos_outside_cilk_for): Likewise.
+ (check_cilk_ctrl_flow): Likewise.
+ * langhooks.c (lhd_cilk_check_ctrl_flow): Likewise.
+ * langhooks.h (struct lang_hooks_for_cilkplus): New function pointer.
+ * gimplify.c (gimplify_function_tree): Called cilk_check_ctrl_flow
+ function that is part of lang_hooks.
+ * langhooks-def.h (LANG_HOOKS_CILK): New field added.
+
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194467 138bc75d-0d04-0410-961f-82ee72b054a4
|
|\
| |
| |
| | |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@194381 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| | |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194364 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| | |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194363 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PR lto/55466
* lto-symtab.c (lto_symtab_merge_decls_1): Don't record the
prevailing variable.
* lto.c (lto_register_var_decl_in_symtab): Don't record static
variables.
(lto_main): Record the global variables if WPA isn't enabled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194359 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PR tree-optimization/55107
* tree-ssa-pre.c (struct pre_stats): Remove constified field.
(bitmap_set_replace_value): Add gcc_unreachable.
(do_regular_insertion): Re-write all_same handling. Insert
an assignment instead of a PHI in this case.
(eliminate_bb): Record availability also for SSA names defined
by a constant.
(do_pre): Do not record constified events.
(execute_fre): Likewise.
* gcc.dg/torture/pr55107.c: New testcase.
* gcc.dg/tree-ssa/ssa-pre-5.c: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194358 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* config/spu/spu.md: Replace "operands" with "operands != NULL" in
insn conditions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194357 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| | |
* g++.dg/asan/asan_test_utils.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194356 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Call initialize_sanitizer_builtins at the end.
(asan_pp_string): Use TREE_TYPE (shadow_ptr_types[0])
as character type instead of char_type_node.
(asan_emit_stack_protection): Call asan_init_shadow_ptr_types
if shadow_ptr_types isn't initialized.
(asan_protect_global): Return true for STRING_CSTs except those
created by asan_pp_string.
(count_string_csts, add_string_csts): New functions.
(struct asan_add_string_csts_data): New type.
(asan_finish_file): Clear flag_asan at the beginning, restore at the
end. Traverse constant_pool_htab () to look for protected
STRING_CSTs. Don't call initialize_sanitizer_builtins,
instead call asan_init_shadow_ptr_types if shadow_ptr_types isn't
initialized yet.
(asan_instrument): Don't call initialize_sanitizer_builtins.
* varasm.c (output_constant_def_contents): If STRING_CST should be
asan protected, align it sufficiently and emit padding after it.
(categorize_decl_for_section): If flag_asan, don't put STRING_CSTs
that should be asan protected into mergeable sections. For
-fmerge-all-constants, ignore it for -fmudflap or if decl is
asan protected.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194355 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
2012-12-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/neon.ml (opcode): Add Vrintn, Vrinta, Vrintp, Vrintm,
Vrintz to type.
(type features): Add Requires_arch type constructor.
(ops): Define Vrintn, Vrinta, Vrintp, Vrintm, Vrintz features.
* config/arm/neon-docgen.ml (intrinsic_groups): Define Vrintn,
Vrinta, Vrintp, Vrintm, Vrintz, Vrintx.
* config/arm/neon-testgen.ml (effective_target): Define check for
Requires_arch 8.
* config/arm/neon-gen.ml
(print_feature_test_start): Handle Requires_arch.
(print_feature_test_end): Likewise.
Add 2012 to Copyright notice.
* doc/arm-neon-intrinsics.texi: Regenerate.
* config/arm/arm_neon.h: Regenerate.
gcc/testsuite/ChangeLog
2012-12-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/arm/neon/vrndaf32.c: New test.
* gcc.target/arm/neon/vrndqaf32.c: Likewise.
* gcc.target/arm/neon/vrndf32.c: Likewise.
* gcc.target/arm/neon/vrndqf32.c: Likewise.
* gcc.target/arm/neon/vrndmf32.c: Likewise.
* gcc.target/arm/neon/vrndqmf32.c: Likewise.
* gcc.target/arm/neon/vrndnf32.c: Likewise.
* gcc.target/arm/neon/vrndqnf32.c: Likewise.
* gcc.target/arm/neon/vrndpf32.c: Likewise.
* gcc.target/arm/neon/vrndqpf32.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194353 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| | |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194351 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* stmt.c (compute_cases_per_edge): Cast from pointer via intptr_t.
(expand_case): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194350 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| |
| | |
* print-tree.c (print_node): Cast from pointer via uintptr_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194348 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| |
| | |
* src/Makefile.am (libstdc++-symbols.ver): Use CONFIG_HEADER.
* src/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194346 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| | |
accesses as reads/writes to their DECL_BIT_FIELD_REPRESENTATIVE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194344 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| | |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194342 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| | |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194338 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| |
| | |
* gcc.dg/ipa/iinline-4.c: xfail hooray4 test on 32-bit hppa*-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194337 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| |
| | |
for *-*-hpux10*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194335 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| |
| | |
* config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194334 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| |
| | |
* gcc.dg/20050826-1.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194333 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* trans-array.c (gfc_deallocate_scalar_with_status): Use
NULL_TREE in the call to gfc_deallocate_scalar_with_status.
* trans-decl.c (gfc_trans_deferred_vars): Pass symbol.
* trans-stmt.c (gfc_trans_deallocate): Pass polymorphic
* variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194332 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| | |
* gnat.dg/vect10.adb: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194331 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| | |
after running the test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194330 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PR fortran/55593
* frontend-passes.c (doloop_code): Use resolved_sym
instead of n.sym->formal for formal argument list
to get the correct version for all generic subroutines.
2012-12-09 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/55593
* gfortran.dg/do_check_8.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194329 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| | |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194328 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| | |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194325 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| | |
variables in the global contant pool.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194324 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| | |
that the type of the prefix is ultimately an array.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194323 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* sched-rgn.c (bb_state_array, bb_state): Add some explaining
comment, and initialize to NULL explicitly.
(realloc_bb_state_array): New function.
(free_bb_state_array): New function.
(schedule_region): Call realloc_bb_state_array after schedule_block.
(sched_rgn_init): Use realloc_bb_state_array to initialize bb_state.
(sched_rgn_finish): Use free_bb_state_array to free it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194322 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| | |
by-ref VAR_DECL in the case of an Out parameter passed by copy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194321 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| | |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194320 138bc75d-0d04-0410-961f-82ee72b054a4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* search.c (accessible_in_template_p): New.
* cp-tree.h: Declare it.
* pt.c (instantiation_dependent_scope_ref_p): New.
(value_dependent_expression_p): Use it.
(instantiation_dependent_r): Likewise.
* semantics.c (finish_decltype_type): Handle SCOPE_REF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194318 138bc75d-0d04-0410-961f-82ee72b054a4
|