- 04 Oct, 2004 3 commits
-
-
From-SVN: r88470
GCC Administrator committed -
2004-10-03 Andrew Pinski <pinskia@physics.uc.edu> PR c/17178, PR c/17820 * c-decl.c (pop_scope): Do not warn about unused static variables as they warned in the middle-end. 2004-10-03 Andrew Pinski <pinskia@physics.uc.edu> PR c/17178 * gcc.dg/unused-4.c: Adjust to be correct. PR c/17820 * gcc.dg/unused-7.c: New test. From-SVN: r88467
Andrew Pinski committed -
builtins.c (expand_builtin_memcpy): Delete duplicate code and make the first parameter the expression not the arglist. * builtins.c (expand_builtin_memcpy): Delete duplicate code and make the first parameter the expression not the arglist. From-SVN: r88466
Kaveh R. Ghazi committed
-
- 03 Oct, 2004 22 commits
-
-
Convert diagnostics to use quoting flag q 1/n * error.c (locate_error): Ignore quoting flag q. * call.c (build_user_type_conversion_1, build_operator_new_call, build_object_call, op_error, build_conditional_expr, build_new_op, build_op_delete_call, enforce_access, convert_like_real, convert_arg_to_ellipsis, build_x_va_arg, convert_default_arg, build_over_call, build_new_method_call, joust, perform_implicit_conversion, initialize_reference): Use the quoting flag q. From-SVN: r88465
Gabriel Dos Reis committed -
expr.c (expand_expr_addr_expr): Only accept Pmode or ptr_mode as valid modes to expand address expressions. * expr.c (expand_expr_addr_expr): Only accept Pmode or ptr_mode as valid modes to expand address expressions. From-SVN: r88464
Ulrich Weigand committed -
From-SVN: r88463
Frank Ch. Eigler committed -
* c-aux-info.c, c-common.c, c-common.h, c-cppbuiltin.c, c-decl.c, c-format.c, c-incpath.c, c-lex.c, c-objc-common.c, c-opts.c, c-parse.in, c-pch.c, c-ppoutput.c, c-pragma.c, c-typeck.c: Follow code formatting conventions. From-SVN: r88462
Joseph Myers committed -
From-SVN: r88461
Richard Sandiford committed -
From-SVN: r88459
Joseph Myers committed -
2004-10-03 Andrew Pinski <pinskia@physics.uc.edu> PR c++/17797 * g++.dg/overload/template2.C: New test. From-SVN: r88458
Andrew Pinski committed -
2004-10-03 Andrew Pinski <pinskia@physics.uc.edu> PR c++/17797 * typeck.c (build_reinterpret_cast): Return if the inner type is error_mark_node. From-SVN: r88457
Andrew Pinski committed -
2004-10-03 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_list.h: Trivial formatting fixes. * include/bits/stl_tree.h: Likewise. From-SVN: r88451
Paolo Carlini committed -
PR tree-optimization/16632 * fold-const.c (fold) [EQ_EXPR]: When seeing if D & ~C != 0 to fold (A & C) == D into 0, fold ~C. Similarly, for the case where | is used instead of &. PR tree-optimization/16632 * testsuite/gcc.dg/tree-ssa/20041002-1.c: New. From-SVN: r88450
Kazu Hirata committed -
* fold-const.c (fold) [EQ_EXPR]: When seeing if D & ~C != 0 to fold (A & C) == D into 0, fold ~C. Similarly, for the case where | is used instead of &. * testsuite/gcc.dg/tree-ssa/20041002-1.c: New. From-SVN: r88449
Kazu Hirata committed -
* gfortran.dg/pr17286.f90: Add dg-do line. Explicitly test bug, rather than relying on default formatting. From-SVN: r88448
Paul Brook committed -
2004-10-03 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> * simplify.c (range_check): Remove blank line at beginning of function. (gfc_simplify_dint): Same at end of function. (gfc_simplify_exponent, gfc_simplify_fraction): Simplify calculations. (gfc_simplify_bound): Fix indentation. (gfc_simplify_log10): Simplify calculation. (gfc_simplify_min, gfc_simplify_max): Remove blank line at beginning of function. (gfc_simplify_nearest): Same at end of function. (gfc_simplify_nint, gfc_simplify_idnint): Same at beginning of function. (gfc_simplify_rrspacing, gfc_simplify_set_exponent, gfc_simplify_spacing): Simplify calulations. From-SVN: r88447
Tobias Schlüter committed -
2004-10-03 Feng Wang <fengwang@nudt.edu.cn> * trans-intrinsic.c: Fix comments on spacing and rrspacing (gfc_conv_intrinsic_rrspacing): Add fold on constant trees. From-SVN: r88446
Feng Wang committed -
From-SVN: r88445
Kazu Hirata committed -
2004-10-03 Aaron W. LaFramboise <aaronavay62@aaronwl.com> * intrinsics/abort.c ("libgfortran.h"): Move. * intrinsics/date_and_time.c ("libgfortran.h"): Same. * intrinsics/write.c ("libgfortran.h"): Same. From-SVN: r88444
Aaron W. LaFramboise committed -
2004-10-03 Paolo Carlini <pcarlini@suse.de> * include/bits/sstream.tcc (seekpos): In case of success, just return __sp. From-SVN: r88443
Paolo Carlini committed -
PR target/17443 * config.gcc (i?86-*-solaris2*): Restore correct logic for --enable-threads option. (sparc64-*-solaris2*): Likewise. (sparc-*-solaris2*): Likewise. From-SVN: r88442
Eric Botcazou committed -
* config/rs6000/linux.h (TARGET_C99_FUNCTIONS): Define. (OS_MISSING_POWERPC64): Move, and comment. * config/rs6000/linux64.h (TARGET_C99_FUNCTIONS): Define. (OS_MISSING_POWERPC64): Move, and comment. From-SVN: r88440
Alan Modra committed -
From-SVN: r88438
Ian Lance Taylor committed -
* builtins.c (expand_builtin_memcmp, expand_builtin_strcmp, expand_builtin_strncmp): Delete duplicate code. From-SVN: r88437
Kaveh R. Ghazi committed -
From-SVN: r88435
GCC Administrator committed
-
- 02 Oct, 2004 15 commits
-
-
2004-10-02 Frank Ch. Eigler <fche@redhat.com> * tree-mudflap.c (mf_build_check_statement_for): Reorganize to take check-base and -limit arguments. (mf_xform_derefs_1): Reorganize slightly to pass proper base/limit check ranges for ARRAY_REF and COMPONENT_REF. (execute_mudflap_fnction_ops, ..._decls): Limit unnecessary instrumentation. 2004-10-02 Frank Ch. Eigler <fche@redhat.com> * testsuite/libmudflap.c/pass50-frag.c, fail33-frag.c, fail34-frag.c: New tests for proper base/limit checking for aggregates. From-SVN: r88432
Frank Ch. Eigler committed -
* c-objc-common.c (c_tree_printer): Correct description of %E. Don't fall through after printing an expression. testsuite: * gcc.dg/20040920-1.c: Update expected message text. From-SVN: r88431
Joseph Myers committed -
2004-10-02 James A. Morrison <phython@gcc.gnu.org> PR other/17762 * lex.l: Include input.h and errors.h (lineno): New variable. (LINEMAP_POSITION_FOR_COLUMN): Define as noop when USE_MAPPED_LOCATION is not defined. Set column position with LINEMAP_POSITION_FOR_COLUMN. Use error instead of fprintf. Set input_location with the value returned by linemap_start_line when USE_MAPPED_LOCATION is defined. (dump_lex_value): Use LOCATION_LINE. * parse.y: Include errors.h. Use error and warning instead of fprintf. (return): Move exp to rule scope and always set to $2. Test against exp instead of $2. (init): Set $$ to $2. (print_token): Use LOCATION_LINE. * tree1.c (treelang_init): Call treelang_init_decl_processing last. Call linemap_add to set input_filename when USE_MAPPED_LOCATION is defined. (treelang_parse_file): Always start at line one. Rename input_filename to main_input_filename when USE_MAPPED_LOCATION is defined. Leave main_input_filename when done parsing the input. (insert_tree_name): Use error instead of fprintf. * treetree.c (tree_code_get_expression): Wrap long line. (tree_mark_addressable): Use %qD to print out DECLs. 2004-10-02 James A. Morrison <phython@gcc.gnu.org> * compile/autofunc.tree: New File. * compile/badchar.tree: New File. * compile/externvar.tree: New File. * compile/mismatch.tree: New File. * compile/noproto.tree: New File. * compile/novar.tree: New File. * compile/var_defs.tree: Add duplicate variable. From-SVN: r88430
James A. Morrison committed -
2004-10-02 James A. Morrison <phython@gcc.gnu.org> * parse.y: Use gcc_assert and gcc_unreachable instead of abort. * tree1.c: Likewise. * treetree.c: Likewise. From-SVN: r88429
James A. Morrison committed -
2004-10-02 James A. Morrison <phython@gcc.gnu.org> * lex.l: Remove random whitespace. * parse.y: Reformat copyright notice. Indent declarations. Wrap long lines, unwrap short lines. * tree1.c: Reformat copyright notice. Wrap long lines. Remove random whitespace. (lookup_tree_name): Use LOCATION_LINE. * treetree.c: Reformat copyright notice. Wrap long lines. Remove random whitespace. From-SVN: r88428
James A. Morrison committed -
2004-10-02 P.J. Darcy <darcypj@us.ibm.com> * ltcf-c.sh (tpf*): Add ld_shlibs=yes. * ltcf-cxx.sh (tpf*): Likewise. * ltconfig (tpf*): Add TPF OS configuration support. From-SVN: r88427
P.J. Darcy committed -
From-SVN: r88426
Kazu Hirata committed -
2004-09-28 James A. Morrison <phython@gcc.gnu.org> * parse.y (ELSE): Set tok to $1. * treelang.texi: Wrap comments in @r{}. Indent example comments. Use gcc when refering to the command line or website. Update function definition. From-SVN: r88425
James A. Morrison committed -
From-SVN: r88424
Kazu Hirata committed -
From-SVN: r88421
Kaz Kojima committed -
From-SVN: r88420
Ulrich Weigand committed -
* tree-cfg.c (cleanup_tree_cfg): Speed up by calling delete_unrechable_blocks() only when necessary. From-SVN: r88419
Kazu Hirata committed -
2004-10-02 P.J. Darcy <darcypj@us.ibm.com> * gthr-tpf.h (__gthread_recursive_mutex_t): New type. (__GTHREAD_RECURSIVE_MUTEX_INIT): Define. (__gthread_recursive_mutex_lock, __gthread_recursive_mutex_trylock, __gthread_recursive_mutex_unlock): New functions. From-SVN: r88418
P.J. Darcy committed -
2004-10-02 P.J. Darcy <darcypj@us.ibm.com> * config/s390/t-tpf (LIB2ADDEH): Remove tpf-eh.c. * config/s390/tpf-eh.c: Remove file. * config/s390/tpf-unwind.h: New file. * config/s390/tpf.h (MD_FALLBACK_FRAME_STATE_FOR): Remove. (MD_UNWIND_SUPPORT): Define. From-SVN: r88417
P.J. Darcy committed -
From-SVN: r88415
GCC Administrator committed
-