2017-01-09 Jakub Jelinek <jakub@redhat.com>
+ PR translation/79019
+ PR translation/79020
+ * params.def (PARAM_INLINE_MIN_SPEEDUP,
+ PARAM_IPA_CP_SINGLE_CALL_PENALTY,
+ PARAM_USE_AFTER_SCOPE_DIRECT_EMISSION_THRESHOLD): Fix typos
+ in descriptions.
+ * config/avr/avr.opt (maccumulate-args): Likewise.
+ * config/msp430/msp430.opt (mwarn-mcu): Likewise.
+ * common.opt (freport-bug): Likewise.
+ * cif-code.def (CIF_FINAL_ERROR): Likewise.
+ * doc/invoke.texi (ipa-cp-single-call-penalty): Likewise.
+ * config/s390/s390.c (s390_invalid_binary_op): Fix spelling in
+ translatable string.
+ * config/i386/i386.c (function_value_32): Likewise.
+ * config/nios2/nios2.c (nios2_valid_target_attribute_rec): Likewise.
+ * config/msp430/msp430.c (msp430_option_override, msp430_attr):
+ Likewise.
+ * config/msp430/driver-msp430.c (msp430_select_hwmult_lib): Likewise.
+ * common/config/msp430/msp430-common.c (msp430_handle_option):
+ Likewise.
+ * symtab.c (symtab_node::verify_base): Likewise.
+ * opts.c (set_debug_level): Likewise.
+ * tree.c (verify_type_variant): Likewise. Fix typo in comment.
+ * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Add
+ missing whitespace to translatable strings.
+ * config/avr/avr.md (bswapsi2): Fix typo in comment.
+ * config/sh/superh.h: Likewise.
+ * config/i386/xopintrin.h: Likewise.
+ * config/i386/znver1.md: Likewise.
+ * config/rs6000/rs6000.c (struct rs6000_opt_mask): Likewise.
+ * ipa-inline-analysis.c (compute_inline_parameters): Likewise.
+ * double-int.h (struct double_int): Likewise.
+ * double-int.c (div_and_round_double): Likewise.
+ * wide-int.cc: Likewise.
+ * tree-ssa.c (non_rewritable_mem_ref_base): Likewise.
+ * tree-ssa-sccvn.c (vn_reference_lookup_3): Likewise.
+ * cfgcleanup.c (crossjumps_occured): Renamed to ...
+ (crossjumps_occurred): ... this.
+ (try_crossjump_bb, try_head_merge_bb, try_optimize_cfg, cleanup_cfg):
+ Adjust all uses.
+
PR tree-optimization/78899
* tree-if-conv.c (version_loop_for_if_conversion): Instead of
returning bool return struct loop *, NULL for failure and the new
+2017-01-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR translation/79019
+ PR translation/79020
+ * c.opt (Wnormalized=): Fix typo in description.
+
2017-01-08 Martin Sebor <msebor@redhat.com>
PR middle-end/77708
Wnormalized=
C ObjC C++ ObjC++ RejectNegative Joined Warning CPP(warn_normalize) CppReason(CPP_W_NORMALIZE) Init(normalized_C) Var(cpp_warn_normalize) Enum(cpp_normalize_level)
--Wnormalized=<none|id|nfc|nfkc> Warn about non-normalised Unicode strings.
+-Wnormalized=<none|id|nfc|nfkc> Warn about non-normalized Unicode strings.
; Required for these enum values.
SourceInclude
static bool first_pass;
/* Set to true if crossjumps occurred in the latest run of try_optimize_cfg. */
-static bool crossjumps_occured;
+static bool crossjumps_occurred;
/* Set to true if we couldn't run an optimization due to stale liveness
information; we should run df_analyze to enable more opportunities. */
}
if (changed)
- crossjumps_occured = true;
+ crossjumps_occurred = true;
return changed;
}
free (headptr);
free (nextptr);
- crossjumps_occured |= changed;
+ crossjumps_occurred |= changed;
return changed;
}
if (mode & (CLEANUP_CROSSJUMP | CLEANUP_THREADING))
clear_bb_flags ();
- crossjumps_occured = false;
+ crossjumps_occurred = false;
FOR_EACH_BB_FN (bb, cfun)
update_forwarder_flag (bb);
if ((mode & CLEANUP_EXPENSIVE) && !reload_completed
&& !delete_trivially_dead_insns (get_insns (), max_reg_num ()))
break;
- if ((mode & CLEANUP_CROSSJUMP) && crossjumps_occured)
+ if ((mode & CLEANUP_CROSSJUMP) && crossjumps_occurred)
run_fast_dce ();
}
else
/* We can't inline because of instrumentation thunk. */
DEFCIFCODE(CHKP, CIF_FINAL_ERROR,
- N_("caller is instrumetnation thunk"))
+ N_("caller is instrumentation thunk"))
freport-bug
Common Driver Var(flag_report_bug)
Collect and dump debug information into temporary file if ICE in C/C++
-compiler occured.
+compiler occurred.
fdump-internal-locations
Common Var(flag_dump_locations) Init(0)
}
else
{
- error ("unrecognised argument of -mcpu: %s", decoded->arg);
+ error ("unrecognized argument of -mcpu: %s", decoded->arg);
return false;
}
break;
[(set_attr "length" "2")
(set_attr "cc" "none")])
-;; Swap Bytes (change byte-endianess)
+;; Swap Bytes (change byte-endianness)
(define_expand "bswapsi2"
[(set (reg:SI 22)
maccumulate-args
Target Report Mask(ACCUMULATE_OUTGOING_ARGS)
-Accumulate outgoing function arguments and acquire/release the needed stack space for outpoing function arguments in function prologue/epilogue. Without this option, outgoing arguments are pushed before calling a function and popped afterwards. This option can lead to reduced code size for functions that call many functions that get their arguments on the stack like, for example printf.
+Accumulate outgoing function arguments and acquire/release the needed stack space for outgoing function arguments in function prologue/epilogue. Without this option, outgoing arguments are pushed before calling a function and popped afterwards. This option can lead to reduced code size for functions that call many functions that get their arguments on the stack like, for example printf.
mstrict-X
Target Report Var(avr_strict_X) Init(0)
int sse_level = ix86_function_sseregparm (fntype, fn, false);
if (sse_level == -1)
{
- error ("calling %qD with SSE caling convention without "
+ error ("calling %qD with SSE calling convention without "
"SSE/SSE2 enabled", fn);
sorry ("this is a GCC bug that can be worked around by adding "
"attribute used to function called");
#define __DISABLE_XOP__
#endif /* __XOP__ */
-/* Integer multiply/add intructions. */
+/* Integer multiply/add instructions. */
extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
_mm_maccs_epi16(__m128i __A, __m128i __B, __m128i __C)
{
(eq_attr "type" "leave"))
"znver1-double,znver1-ieu, znver1-store")
-;; Integer Instructions or General intructions
+;; Integer Instructions or General instructions
;; Multiplications
;; Reg operands
(define_insn_reservation "znver1_imul" 3
case 4: return "-lmul_32";
case 8: return "-lmul_f5";
default:
- error ("unrecognised hwpy field in msp430_mcu_data[%d]: %d",
+ error ("unrecognized hwpy field in msp430_mcu_data[%d]: %d",
i, msp430_mcu_data[i].hwmpy);
break;
}
{
if (target_cpu == NULL)
warning (0,
- "Unrecognised MCU name '%s', assuming that it is just a MSP430 with no hardware multiply.\nUse the -mcpu and -mhwmult options to set these explicitly.",
+ "Unrecognized MCU name '%s', assuming that it is "
+ "just a MSP430 with no hardware multiply.\n"
+ "Use the -mcpu and -mhwmult options to set "
+ "these explicitly.",
target_mcu);
else
warning (0,
- "Unrecognised MCU name '%s', assuming that it has no hardware multiply.\nUse the -mhwmult option to set this explicitly.",
+ "Unrecognized MCU name '%s', assuming that it "
+ "has no hardware multiply.\nUse the -mhwmult "
+ "option to set this explicitly.",
target_mcu);
}
{
if (msp430_warn_mcu)
warning (0,
- "Unrecognised MCU name '%s', assuming that it just supports the MSP430 ISA.\nUse the -mcpu option to set the ISA explicitly.",
+ "Unrecognized MCU name '%s', assuming that it just "
+ "supports the MSP430 ISA.\nUse the -mcpu option to "
+ "set the ISA explicitly.",
target_mcu);
msp430x = false;
}
else if (msp430_warn_mcu)
- warning (0,
- "Unrecognised MCU name '%s'.", target_mcu);
+ warning (0, "Unrecognized MCU name '%s'.", target_mcu);
}
}
/* Allow the attribute to be added - the linker script
being used may still recognise this name. */
warning (OPT_Wattributes,
- "unrecognised interrupt vector argument of %qE attribute",
+ "unrecognized interrupt vector argument of %qE attribute",
name);
break;
mwarn-mcu
Target Report Var(msp430_warn_mcu) Init(1)
-Warn if an MCU name is unrecognised or conflicts with other options (default: on).
+Warn if an MCU name is unrecognized or conflicts with other options (default: on).
mcpu=
Target Report Joined RejectNegative Var(target_cpu)
}
else
{
- error ("%<custom-%s=%> is not recognised as FPU instruction",
+ error ("%<custom-%s=%> is not recognized as FPU instruction",
argstr + 7);
return false;
}
{
if (TYPE_READONLY (TREE_TYPE (type))
&& !TYPE_READONLY (TREE_TYPE (decl_type)))
- warning (0, "passing arg %d of %qE discards qualifiers from"
+ warning (0, "passing arg %d of %qE discards qualifiers from "
"pointer target type", n + 1, fndecl);
type = build_pointer_type (build_qualified_type (TREE_TYPE (type),
0));
\f
/* Mask options that we want to support inside of attribute((target)) and
#pragma GCC target operations. Note, we do not include things like
- 64/32-bit, endianess, hard/soft floating point, etc. that would have
+ 64/32-bit, endianness, hard/soft floating point, etc. that would have
different calling sequences. */
struct rs6000_opt_mask {
operators. */
if (!bool1_p && !bool2_p
&& TYPE_UNSIGNED (type1) != TYPE_UNSIGNED (type2))
- return N_("types differ in signess");
+ return N_("types differ in signedness");
plusminus_p = (op == PLUS_EXPR || op == MINUS_EXPR);
muldiv_p = (op == MULT_EXPR || op == RDIV_EXPR || op == TRUNC_DIV_EXPR
/* This header file is used when the vendor name is set to 'superh'.
config.gcc already configured the compiler for SH4 only and switched
- the default endianess to little (although big endian is still available).
+ the default endianness to little (although big endian is still available).
This file configures the spec file to the default board configuration
but in such a way that it can be overridden by a boardspecs file
(using the -specs= option). This file is expected to disable the
+2017-01-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR translation/79019
+ PR translation/79020
+ * semantics.c (finish_omp_clauses): Add missing whitespace to
+ translatable strings.
+ * cp-cilkplus.c (cpp_validate_cilk_plus_loop_aux): Fix comment typo.
+
2017-01-07 Jason Merrill <jason@redhat.com>
PR c++/78948 - instantiation from discarded statement
This function is passed in as a function pointer to walk_tree. *TP is
the current tree pointer, *WALK_SUBTREES is set to 0 by this function if
recursing into TP's subtrees is unnecessary. *DATA is a bool variable that
- is set to false if an error has occured. */
+ is set to false if an error has occurred. */
static tree
cpp_validate_cilk_plus_loop_aux (tree *tp, int *walk_subtrees, void *data)
&& t != integer_minus_one_node)
{
warning_at (OMP_CLAUSE_LOCATION (c), 0,
- "%<gang%> static value must be"
+ "%<gang%> static value must be "
"positive");
t = integer_one_node;
}
break;
case OMP_CLAUSE_VECTOR:
warning_at (OMP_CLAUSE_LOCATION (c), 0,
- "%<vector%> length value must be"
+ "%<vector%> length value must be "
"positive");
break;
case OMP_CLAUSE_WORKER:
warning_at (OMP_CLAUSE_LOCATION (c), 0,
- "%<worker%> num value must be"
+ "%<worker%> num value must be "
"positive");
break;
default:
&& TREE_CODE (TREE_TYPE (type)) != ARRAY_TYPE)))
{
error_at (OMP_CLAUSE_LOCATION (c),
- "%qs variable is neither a pointer, nor an array"
+ "%qs variable is neither a pointer, nor an array "
"nor reference to pointer or array",
omp_clause_code_name[OMP_CLAUSE_CODE (c)]);
remove = true;
are evaluated for cloning.
@item ipa-cp-single-call-penalty
-Percentage penalty functions containg a single call to another
+Percentage penalty functions containing a single call to another
function will receive when they are evaluated for cloning.
/* Construct from a buffer of length LEN. BUFFER will be read according
- to byte endianess and word endianess. Only the lower LEN bytes
+ to byte endianness and word endianness. Only the lower LEN bytes
of the result are set; the remaining high bytes are cleared. */
double_int
static double_int from_pair (HOST_WIDE_INT high, unsigned HOST_WIDE_INT low);
/* Construct from a fuffer of length LEN. BUFFER will be read according
- to byte endianess and word endianess. */
+ to byte endianness and word endianness. */
static double_int from_buffer (const unsigned char *buffer, int len);
/* No copy assignment operator or destructor to keep the type a POD. */
+2017-01-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR translation/79019
+ PR translation/79020
+ * decl.c (attr_decl1): Fix spelling in translatable string.
+ * intrinsic.texi: Fix spelling - invokation -> invocation.
+ * lang.opt (faggressive-function-elimination, gfc_convert): Fix
+ typos in descriptions.
+ * openmp.c (resolve_omp_clauses): Add missing whitespace to
+ translatable strings.
+
2017-01-08 Martin Sebor <msebor@redhat.com>
PR tree-optimization/78913
if (current_attr.dimension && sym->value)
{
gfc_error ("Dimensions specified for %s at %L after its "
- "initialisation", sym->name, &var_locus);
+ "initialization", sym->name, &var_locus);
m = MATCH_ERROR;
goto cleanup;
}
@table @asis
@item @emph{Description}:
@code{ATOMIC_ADD(ATOM, VALUE)} atomically adds the value of @var{VAR} to the
-variable @var{ATOM}. When @var{STAT} is present and the invokation was
-successful, it is assigned the value 0. If it is present and the invokation
+variable @var{ATOM}. When @var{STAT} is present and the invocation was
+successful, it is assigned the value 0. If it is present and the invocation
has failed, it is assigned a positive value; in particular, for a coindexed
@var{ATOM}, if the remote image has stopped, it is assigned the value of
@code{ISO_FORTRAN_ENV}'s @code{STAT_STOPPED_IMAGE} and if the remote image has
@item @emph{Description}:
@code{ATOMIC_AND(ATOM, VALUE)} atomically defines @var{ATOM} with the bitwise
AND between the values of @var{ATOM} and @var{VALUE}. When @var{STAT} is present
-and the invokation was successful, it is assigned the value 0. If it is present
-and the invokation has failed, it is assigned a positive value; in particular,
+and the invocation was successful, it is assigned the value 0. If it is present
+and the invocation has failed, it is assigned a positive value; in particular,
for a coindexed @var{ATOM}, if the remote image has stopped, it is assigned the
value of @code{ISO_FORTRAN_ENV}'s @code{STAT_STOPPED_IMAGE} and if the remote
image has failed, the value @code{STAT_FAILED_IMAGE}.
@code{ATOMIC_CAS} compares the variable @var{ATOM} with the value of
@var{COMPARE}; if the value is the same, @var{ATOM} is set to the value
of @var{NEW}. Additionally, @var{OLD} is set to the value of @var{ATOM}
-that was used for the comparison. When @var{STAT} is present and the invokation
-was successful, it is assigned the value 0. If it is present and the invokation
+that was used for the comparison. When @var{STAT} is present and the invocation
+was successful, it is assigned the value 0. If it is present and the invocation
has failed, it is assigned a positive value; in particular, for a coindexed
@var{ATOM}, if the remote image has stopped, it is assigned the value of
@code{ISO_FORTRAN_ENV}'s @code{STAT_STOPPED_IMAGE} and if the remote image has
@table @asis
@item @emph{Description}:
@code{ATOMIC_DEFINE(ATOM, VALUE)} defines the variable @var{ATOM} with the value
-@var{VALUE} atomically. When @var{STAT} is present and the invokation was
-successful, it is assigned the value 0. If it is present and the invokation
+@var{VALUE} atomically. When @var{STAT} is present and the invocation was
+successful, it is assigned the value 0. If it is present and the invocation
has failed, it is assigned a positive value; in particular, for a coindexed
@var{ATOM}, if the remote image has stopped, it is assigned the value of
@code{ISO_FORTRAN_ENV}'s @code{STAT_STOPPED_IMAGE} and if the remote image has
@item @emph{Description}:
@code{ATOMIC_FETCH_ADD(ATOM, VALUE, OLD)} atomically stores the value of
@var{ATOM} in @var{OLD} and adds the value of @var{VAR} to the
-variable @var{ATOM}. When @var{STAT} is present and the invokation was
-successful, it is assigned the value 0. If it is present and the invokation
+variable @var{ATOM}. When @var{STAT} is present and the invocation was
+successful, it is assigned the value 0. If it is present and the invocation
has failed, it is assigned a positive value; in particular, for a coindexed
@var{ATOM}, if the remote image has stopped, it is assigned the value of
@code{ISO_FORTRAN_ENV}'s @code{STAT_STOPPED_IMAGE} and if the remote image has
@item @emph{Description}:
@code{ATOMIC_AND(ATOM, VALUE)} atomically stores the value of @var{ATOM} in
@var{OLD} and defines @var{ATOM} with the bitwise AND between the values of
-@var{ATOM} and @var{VALUE}. When @var{STAT} is present and the invokation was
-successful, it is assigned the value 0. If it is present and the invokation has
+@var{ATOM} and @var{VALUE}. When @var{STAT} is present and the invocation was
+successful, it is assigned the value 0. If it is present and the invocation has
failed, it is assigned a positive value; in particular, for a coindexed
@var{ATOM}, if the remote image has stopped, it is assigned the value of
@code{ISO_FORTRAN_ENV}'s @code{STAT_STOPPED_IMAGE} and if the remote image has
@item @emph{Description}:
@code{ATOMIC_OR(ATOM, VALUE)} atomically stores the value of @var{ATOM} in
@var{OLD} and defines @var{ATOM} with the bitwise OR between the values of
-@var{ATOM} and @var{VALUE}. When @var{STAT} is present and the invokation was
-successful, it is assigned the value 0. If it is present and the invokation has
+@var{ATOM} and @var{VALUE}. When @var{STAT} is present and the invocation was
+successful, it is assigned the value 0. If it is present and the invocation has
failed, it is assigned a positive value; in particular, for a coindexed
@var{ATOM}, if the remote image has stopped, it is assigned the value of
@code{ISO_FORTRAN_ENV}'s @code{STAT_STOPPED_IMAGE} and if the remote image has
@item @emph{Description}:
@code{ATOMIC_XOR(ATOM, VALUE)} atomically stores the value of @var{ATOM} in
@var{OLD} and defines @var{ATOM} with the bitwise XOR between the values of
-@var{ATOM} and @var{VALUE}. When @var{STAT} is present and the invokation was
-successful, it is assigned the value 0. If it is present and the invokation has
+@var{ATOM} and @var{VALUE}. When @var{STAT} is present and the invocation was
+successful, it is assigned the value 0. If it is present and the invocation has
failed, it is assigned a positive value; in particular, for a coindexed
@var{ATOM}, if the remote image has stopped, it is assigned the value of
@code{ISO_FORTRAN_ENV}'s @code{STAT_STOPPED_IMAGE} and if the remote image has
@item @emph{Description}:
@code{ATOMIC_OR(ATOM, VALUE)} atomically defines @var{ATOM} with the bitwise
AND between the values of @var{ATOM} and @var{VALUE}. When @var{STAT} is present
-and the invokation was successful, it is assigned the value 0. If it is present
-and the invokation has failed, it is assigned a positive value; in particular,
+and the invocation was successful, it is assigned the value 0. If it is present
+and the invocation has failed, it is assigned a positive value; in particular,
for a coindexed @var{ATOM}, if the remote image has stopped, it is assigned the
value of @code{ISO_FORTRAN_ENV}'s @code{STAT_STOPPED_IMAGE} and if the remote
image has failed, the value @code{STAT_FAILED_IMAGE}.
@item @emph{Description}:
@code{ATOMIC_DEFINE(ATOM, VALUE)} atomically assigns the value of the
variable @var{ATOM} to @var{VALUE}. When @var{STAT} is present and the
-invokation was successful, it is assigned the value 0. If it is present and the
-invokation has failed, it is assigned a positive value; in particular, for a
+invocation was successful, it is assigned the value 0. If it is present and the
+invocation has failed, it is assigned a positive value; in particular, for a
coindexed @var{ATOM}, if the remote image has stopped, it is assigned the value
of @code{ISO_FORTRAN_ENV}'s @code{STAT_STOPPED_IMAGE} and if the remote image
has failed, the value @code{STAT_FAILED_IMAGE}.
@item @emph{Description}:
@code{ATOMIC_AND(ATOM, VALUE)} atomically defines @var{ATOM} with the bitwise
XOR between the values of @var{ATOM} and @var{VALUE}. When @var{STAT} is present
-and the invokation was successful, it is assigned the value 0. If it is present
-and the invokation has failed, it is assigned a positive value; in particular,
+and the invocation was successful, it is assigned the value 0. If it is present
+and the invocation has failed, it is assigned a positive value; in particular,
for a coindexed @var{ATOM}, if the remote image has stopped, it is assigned the
value of @code{ISO_FORTRAN_ENV}'s @code{STAT_STOPPED_IMAGE} and if the remote
image has failed, the value @code{STAT_FAILED_IMAGE}.
@item @emph{Description}:
@code{EVENT_QUERY} assignes the number of events to @var{COUNT} which have been
posted to the @var{EVENT} variable and not yet been removed by calling
-@code{EVENT WAIT}. When @var{STAT} is present and the invokation was successful,
-it is assigned the value 0. If it is present and the invokation has failed,
+@code{EVENT WAIT}. When @var{STAT} is present and the invocation was successful,
+it is assigned the value 0. If it is present and the invocation has failed,
it is assigned a positive value and @var{COUNT} is assigned the value @math{-1}.
@item @emph{Standard}:
faggressive-function-elimination
Fortran Var(flag_aggressive_function_elimination)
-Eliminate multiple function invokations also for impure functions.
+Eliminate multiple function invocations also for impure functions.
falign-commons
Fortran Var(flag_align_commons) Init(1)
-fconvert=<big-endian|little-endian|native|swap> The endianness used for unformatted files.
Enum
-Name(gfc_convert) Type(enum gfc_convert) UnknownError(Unrecognized option to endianess value: %qs)
+Name(gfc_convert) Type(enum gfc_convert) UnknownError(Unrecognized option to endianness value: %qs)
EnumValue
Enum(gfc_convert) String(big-endian) Value(GFC_FLAG_CONVERT_BIG)
&expr->where);
else if (if_without_mod)
{
- gfc_error ("IF clause without modifier at %L used together with"
+ gfc_error ("IF clause without modifier at %L used together with "
"IF clauses with modifiers",
&omp_clauses->if_expr->where);
if_without_mod = false;
if (!gfc_resolve_expr (n->expr)
|| n->expr->ts.type != BT_INTEGER
|| n->expr->rank != 0)
- gfc_error ("SINK addend not a constant integer"
+ gfc_error ("SINK addend not a constant integer "
"at %L", &n->where);
}
continue;
linear_op = n->u.linear_op;
}
else if (omp_clauses->orderedc)
- gfc_error ("LINEAR clause specified together with"
+ gfc_error ("LINEAR clause specified together with "
"ORDERED clause with argument at %L",
&n->where);
else if (n->u.linear_op != OMP_LINEAR_REF
inline_update_overall_summary (node);
info->self_size = info->size;
info->self_time = info->time;
- /* We can not inline instrumetnation clones. */
+ /* We can not inline instrumentation clones. */
if (node->thunk.add_pointer_bounds_args)
{
info->inlinable = false;
+2017-01-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR translation/79019
+ PR translation/79020
+ * lto-symtab.c (lto_symtab_merge_symbols): Fix comment typo.
+
2017-01-06 Nathan Sidwell <nathan@acm.org>
* lto-partition.c (promote_symbol): Write to dump file sooner,
/* The user defined assembler variables are also not unified by their
symbol name (since it is irrelevant), but we need to unify symbol
- nodes if tree merging occured. */
+ nodes if tree merging occurred. */
if ((vnode = dyn_cast <varpool_node *> (node))
&& DECL_HARD_REGISTER (vnode->decl)
&& (node2 = symtab_node::get (vnode->decl))
{
int argval = integral_argument (arg);
if (argval == -1)
- error_at (loc, "unrecognised debug output level %qs", arg);
+ error_at (loc, "unrecognized debug output level %qs", arg);
else if (argval > 3)
error_at (loc, "debug output level %qs is too high", arg);
else
DEFPARAM (PARAM_INLINE_MIN_SPEEDUP,
"inline-min-speedup",
- "The minimal estimated speedup allowing inliner to ignore inline-insns-single and inline-isnsns-auto.",
+ "The minimal estimated speedup allowing inliner to ignore inline-insns-single and inline-insns-auto.",
10, 0, 0)
/* The single function inlining limit. This is the maximum size
DEFPARAM (PARAM_IPA_CP_SINGLE_CALL_PENALTY,
"ipa-cp-single-call-penalty",
- "Percentage penalty functions containg a single call to another "
+ "Percentage penalty functions containing a single call to another "
"function will receive when they are evaluated for cloning..",
15, 0, 100)
DEFPARAM (PARAM_USE_AFTER_SCOPE_DIRECT_EMISSION_THRESHOLD,
"use-after-scope-direct-emission-threshold",
- "Use direct poisoning/unpoisoning intructions for variables "
+ "Use direct poisoning/unpoisoning instructions for variables "
"smaller or equal to this number.",
256, 0, INT_MAX)
}
if (analyzed && !definition)
{
- error ("node is analyzed byt it is not a definition");
+ error ("node is analyzed but it is not a definition");
error_found = true;
}
if (cpp_implicit_alias && !alias)
+2017-01-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR translation/79019
+ PR translation/79020
+ * c-c++-common/goacc/host_data-2.c (f): Adjust expected spelling of
+ diagnostics.
+ * gfortran.dg/initialization_17.f90: Likewise.
+
2017-01-09 Dominique d'Humieres <dominiq@lps.ens.fr>
PR testsuite/79026
#pragma acc host_data use_device(v2)
;
/* { dg-error ".use_device_ptr. variable is neither a pointer nor an array" "" { target c } 14 } */
- /* { dg-error ".use_device_ptr. variable is neither a pointer, nor an arraynor reference to pointer or array" "" { target c++ } 14 } */
+ /* { dg-error ".use_device_ptr. variable is neither a pointer, nor an array nor reference to pointer or array" "" { target c++ } 14 } */
#pragma acc host_data use_device(v0)
;
/* { dg-error ".use_device_ptr. variable is neither a pointer nor an array" "" { target c } 19 } */
- /* { dg-error ".use_device_ptr. variable is neither a pointer, nor an arraynor reference to pointer or array" "" { target c++ } 19 } */
+ /* { dg-error ".use_device_ptr. variable is neither a pointer, nor an array nor reference to pointer or array" "" { target c++ } 19 } */
}
!
integer :: n = 5, m = 7
parameter (n = 42) ! { dg-error "Initializing already initialized variable" }
-dimension :: m(3) ! { dg-error "after its initialisation" }
+dimension :: m(3) ! { dg-error "after its initialization" }
end
/* ??? We can't handle bitfield precision extracts without
either using an alternate type for the BIT_FIELD_REF and
then doing a conversion or possibly adjusting the offset
- according to endianess. */
+ according to endianness. */
&& (! INTEGRAL_TYPE_P (vr->type)
|| ref->size == TYPE_PRECISION (vr->type))
&& ref->size % BITS_PER_UNIT == 0)
/* ??? We can't handle bitfield precision extracts without
either using an alternate type for the BIT_FIELD_REF and
then doing a conversion or possibly adjusting the offset
- according to endianess. */
+ according to endianness. */
&& (! INTEGRAL_TYPE_P (TREE_TYPE (base))
|| (wi::to_offset (TYPE_SIZE (TREE_TYPE (base)))
== TYPE_PRECISION (TREE_TYPE (base))))
- aggregates may have new TYPE_FIELDS list that list variants of
the main variant TYPE_FIELDS.
- vector types may differ by TYPE_VECTOR_OPAQUE
- - TYPE_METHODS is always NULL for vairant types and maintained for
+ - TYPE_METHODS is always NULL for variant types and maintained for
main variant only.
*/
if (type_with_alias_set_p (t)
&& !gimple_canonical_types_compatible_p (t, tv, false))
{
- error ("type is not compatible with its vairant");
+ error ("type is not compatible with its variant");
debug_tree (tv);
error ("type variant's TREE_TYPE");
debug_tree (TREE_TYPE (tv));
}
/* Construct a wide int from a buffer of length LEN. BUFFER will be
- read according to byte endianess and word endianess of the target.
+ read according to byte endianness and word endianness of the target.
Only the lower BUFFER_LEN bytes of the result are set; the remaining
high bytes are cleared. */
wide_int