- 17 Apr, 2005 19 commits
-
-
* config/alpha/alpha.c (va_list_skip_additions): Only define if TARGET_ABI_OSF. (TARGET_STDARG_OPTIMIZE_HOOK): Likewise. (alpha_stdarg_optimize_hook): Likewise. Allow for one more round of indirection through ssa names while looking for the gpr counter field. (alpha_setup_incoming_varargs) <TARGET_ABI_OSF>: Make use of the saved va_list_gpr_size and va_list_fpr_size. From-SVN: r98286
Richard Henderson committed -
From-SVN: r98285
Kazu Hirata committed -
From-SVN: r98283
Joseph Myers committed -
* tree-vrp.c (maybe_add_assert_expr): Don't assert ASSERT_EXPRs for single-use variable. From-SVN: r98278
Kazu Hirata committed -
* tree-vrp.c (compare_values): Check that VAL1 and VAL2 are both pointers or both integers. From-SVN: r98273
Kazu Hirata committed -
2005-04-17 Paolo Carlini <pcarlini@suse.de> PR libstdc++/20914 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT, const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric base or sign here, instead... (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here, after adding the grouping. This fixes the bug and also allows to clean-up the code dealing with integer types. (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*, _CharT*, int&)): Simplify, remove bits dealing with numeric base. (__int_to_char(_CharT*, unsigned long, const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long, const _CharT*, ios_base::fmtflags)): Remove hackish fix for libstdc++/15565. (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)): Simplify, don't pass the sign. (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)): Deal with a sign at the beginning of __cs; robustify the grouping check. * testsuite/22_locale/num_put/put/char/20914.cc: New. * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise. From-SVN: r98271
Paolo Carlini committed -
scanner.c (gfc_next_char_literal): Reset truncation flag for lines ending in a comment for both fixed and free form. 2005-04-17 Richard Guenther <rguenth@gcc.gnu.org> * scanner.c (gfc_next_char_literal): Reset truncation flag for lines ending in a comment for both fixed and free form. (load_line): Do not set truncated flag if only truncating the EOL marker. * gfortran.dg/wtruncate.f: New testcase. * gfortran.dg/wtruncate.f90: New testcase. From-SVN: r98269
Richard Guenther committed -
From-SVN: r98266
Joseph Myers committed -
* config/mips/iris6.h (DRIVER_SELF_SPECS): Check -march as well as -mipsN before forcing a default of -mips2. From-SVN: r98265
Richard Sandiford committed -
* tree-flow-inline.h (get_stmt_operands): Remove. * lambda-code.c, tree-ssa-loop-unswitch.c, tree-ssa-operands.c, tree-ssa-pre.c, tree-ssa-propagate.c, tree-ssa-sink.c, tree-ssa.c, tree-tailcall.c, tree-vect-transform.c, tree-vectorizer.c, tree-vrp.c): Remove calls to get_stmt_operands. * doc/tree-ssa.texi: Don't mention get_stmt_operands. From-SVN: r98262
Kazu Hirata committed -
From-SVN: r98260
Kazu Hirata committed -
From-SVN: r98259
Kazu Hirata committed -
* predict.h (IS_TAKEN): Remove. * rtl.h (NOTE_PREDICTION): Likewise. From-SVN: r98258
Kazu Hirata committed -
PR target/20375 * config/alpha/alpha.c (alpha_setup_incoming_varargs): Advance a copy of CUMULATIVE_ARGS past the last named argument. (alpha_va_start): Expect pretend_args_size only if strictly less than 6 named arguments. From-SVN: r98257
Richard Henderson committed -
PR c++/21025 * typeck.c (cxx_sizeof_or_alignof_type): Check whether the type to which sizeof/alignof is dependent, rather than just whether we are processing_template_decl. PR c++/21025 * g++.dg/template/sizeof9.C: New test. From-SVN: r98252
Mark Mitchell committed -
* cp-tree.h (LOOKUP_GLOBAL): Remove. (LOOKUP_ONLYCONVERTING, DIRECT_BIND, LOOKUP_NO_CONVERSION, LOOKUP_DESTRUCTOR, LOOKUP_NO_TEMP_BIND, LOOKUP_PREFER_TYPES, LOOKUP_PREFER_NAMESPACES, LOOKUP_CONSTRUCTOR_CALLABLE): Adjust their values. From-SVN: r98247
Kazu Hirata committed -
From-SVN: r98245
Kazu Hirata committed -
PR middle-end/21024 * builtins.c (expand_builtin_strcat): Convert the result of strlen to the right type. * fold-const.c (fold_binary) <PLUS_EXPR>: Use fold_convert to avoid creating type mismatches. <GE_EXPR>: Pass op0 and op1 to fold_build2 to avoid creating type mismatches. From-SVN: r98244
Kazu Hirata committed -
[[Split portion of a mixed commit.]] From-SVN: r98242.2
GCC Administrator committed
-
- 16 Apr, 2005 15 commits
-
-
PR target/21051 * builtins.c (expand_builtin) <BUILT_IN_BOOL_COMPARE_AND_SWAP_*>: Use the mode of boolean_type_node when the user doesn't provide one. * config/ia64/sync.md (sync_lock_release<I48MODE>): Use operand 1. From-SVN: r98239
Richard Henderson committed -
PR target/20126 * loop.c (loop_givs_rescan): Handle non-replaceable (plus (reg) (const)). From-SVN: r98238
Alexandre Oliva committed -
* tree-scalar-evolution.c (interpret_rhs_modify_expr): Fix typo in comment. From-SVN: r98237
Alexandre Oliva committed -
* gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make 'ANY' package-private. From-SVN: r98236
Tom Tromey committed -
include: * libiberty.h (unlock_stream): New. libiberty: * fopen_unlocked.c (unlock_stream): New. Consolidate unlocking code into a helper function. * functions.texi: Regenerate. From-SVN: r98234
Kaveh R. Ghazi committed -
* fold-const.c (fold_binary_to_constant): Delete obsolete comment. (fold_unary_to_constant): Likewise. Co-Authored-By: Steven Bosscher <stevenb@suse.de> From-SVN: r98233
Roger Sayle committed -
* basic-block.h: Adjust the value of PROP_SCAN_DEAD_STORES, PROP_ASM_SCAN. From-SVN: r98232
Kazu Hirata committed -
* doc/install.texi (Specific): Avoid using asterisks in @anchor names related to target triplets. Remove i?86-*-esix from platform directory. Remove powerpc-*-eabiaix from platform directory. From-SVN: r98227
Gerald Pfeifer committed -
PR middle-end/20491 * config/ia64/ia64.c (rtx_needs_barrier): Recurse instead of falling through from SUBREG case to REG. From-SVN: r98225
Joseph Myers committed -
2005-04-16 Laurent GUERBY <laurent@guerby.net> PR ada/18847 * a-nudira.adb (Value): Check for valid string. * a-nuflra.adb (Value): Likewise. From-SVN: r98223
Laurent GUERBY committed -
From-SVN: r98222
Daniel Berlin committed -
PR middle-end/14311 * semantics.c (finish_call_expr): Call resolve_overloaded_builtin. From-SVN: r98221
Richard Henderson committed -
* fold-const.c (fold_relational_hi_lo): Delete function and prototype. (fold_binary): Update comment mentioning fold_relational_hi_lo. (fold_binary_to_constant): Simplify using fold_binary. (fold_unary_to_constant): Likewise, simplify using fold_unary. From-SVN: r98220
Roger Sayle committed -
* asprintf.c: Include config.h. * basename.c: Likewise. * fdmatch.c: Likewise. * hex.c: Likewise. * lbasename.c: Likewise. * spaces.c: Likewise. * xatexit.c:Likewise. * configure.ac: Do check declarations for basename, ffs, asprintf and vasprintf for real. * configure: Regenerate. From-SVN: r98218
Gabriel Dos Reis committed -
[[Split portion of a mixed commit.]] From-SVN: r98216.2
GCC Administrator committed
-
- 15 Apr, 2005 6 commits
-
-
From-SVN: r98213
Dale Johannesen committed -
2005-04-15 Richard Guenther <rguenth@gcc.gnu.org> PR fortran/14569 * gfortran.h (gfc_linebuf): Add truncated field. * parse.c (next_statement): Handle warning for truncated lines. * scanner.c (load_line): Return if line was truncated. No longer warn for truncated lines. Remove unused parameters. (load_file): Store load_line return value to linebuf. (gfc_error_recovery): Do not advance line at the end. From-SVN: r98210
Richard Guenther committed -
2005-04-15 Thomas Koenig <Thomas.Koenig@online.de> * gfortran.fortran-torture/execute/intrinsic_spread.f90: corrected typo where the wrong variables had been compared. From-SVN: r98209
Thomas Koenig committed -
2005-04-15 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/18495 * intrinsics/spread_generic.c (spread): Remove const from return array descriptor. New variables: rrank (rank of return array), rs (for calculating the size of the return array), srank (rank of the source array). Generate runtime error if the dim= argument is larger than the rank of the return array. Generate runtime error if the needed rank of the return array is larger than 7. If ret->data is null, populate the return array descriptor and initialize the variables for the actual operation. Otherwise, set ret->dim[0].stride to one if it is zero. Change second, independent use of variable dim to srank. 2005-04-15 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/18495 * gfortran.fortran-torture/execute/intrinsic_spread.f90: Test callee-allocated version of return array with a write statement. Test spread with a temporary with another write statement. From-SVN: r98208
Thomas Koenig committed -
* gthr-posix.c (pthread_cancel): Define. (pthread_mutexattr_init): Likewise. (pthread_mutexattr_settype): Likewise. (pthread_mutexattr_destroy): Likewise. From-SVN: r98206
Rainer Orth committed -
From-SVN: r98203
David S. Miller committed
-