- 03 Oct, 2004 15 commits
-
-
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
-
- 01 Oct, 2004 10 commits
-
-
From-SVN: r88412
Joseph Myers committed -
* config/s390/s390-protos.h (s390_comparison): Add prototype. * config/s390/s390.c (s390_comparison): New function. (s390_branch_condition_mask): Return -1 for invalid comparisons. (s390_branch_condition_mnemonic): Assert valid comparison. * config/s390/s390.h (PREDICATE_CODES): Add s390_comparison. * config/s390/s390.md ("*cjump_64", "*cjump_31", "*cjump_long", "*icjump_64", "*icjump_31", "*icjump_long", "*trap"): Use s390_comparison instead of comparison_operator. * config/s390/s390.md (UNSPEC_CMPINT): New constant. ("cmpmemdi"): Remove. ("cmpmem_short", "*cmpmem_short"): Use CCUmode instead of CCSmode. ("cmpmem_long", "*cmpmem_long_64", "*cmpmem_long_31"): Likewise. ("cmpint_si"): Rename to ... ("*cmpint_si"): ... this. Use UNSPEC_CMPINT. ("cmpint_di", "*cmpint_di"): Likewise. * config/s390/s390.c (s390_canonicalize_comparison): Remove redundant UNSPEC_CMPINT conversions. (s390_expand_cmpmem): Adapt to cmpint pattern changes. From-SVN: r88410
Ulrich Weigand committed -
2004-10-01 Paolo Carlini <pcarlini@suse.de> * include/bits/sstream.tcc (pbackfail): Implement correctly 27.7.1.3/2, bullet 2: if mode & ios_base::out is false do not write in the buffer. * testsuite/27_io/basic_stringbuf/pbackfail/char/1.cc: New. * testsuite/27_io/basic_stringbuf/pbackfail/char/2.cc: Likewise. * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_istream/putback/char/1.cc: Tweak consistently. From-SVN: r88407
Paolo Carlini committed -
* collect2.c (COLLECT_PARSE_FLAG): Remove. (main): Remove a reference to COLLECT_PARSE_FLAG * system.h: Poison COLLECT_PARSE_FLAG. * doc/tm.texi (COLLECT_PARSE_FLAG): Remove. From-SVN: r88406
Kazu Hirata committed -
From-SVN: r88405
Paul Brook committed -
* common.opt (ftree-loop-ivcanon): Enable by default. * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Enable complete loop unrolling. (canonicalize_induction_variables, tree_unroll_loops_completely): Reset scev info. * gcc.dg/tree-ssa/loop-1.c: Check that unrolling occurs already on tree level. From-SVN: r88404
Zdenek Dvorak committed -
2004-10-01 Andrew Pinski <pinskia@physics.uc.edu> * gcc.dg/tree-ssa/pr17343.c: Remove. From-SVN: r88401
Andrew Pinski committed -
From-SVN: r88400
Bernd Schmidt committed -
* config/arm/arm.c (thumb_compute_saved_rag_mask): Or with bitmask, not register number. (thumb_find_work_register): Search full register range. From-SVN: r88399
Paul Brook committed -
2004-10-01 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/17343 * gcc.dg/tree-ssa/pr17343.c: New test. 2004-10-01 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/17343 * tree-cfg.c (group_case_labels): Get the label and not the case expr for the default case. When the label we looking at is the default, decrement the new_size. From-SVN: r88397
Andrew Pinski committed
-