- 03 Oct, 2004 17 commits
-
-
jsm28 authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88459 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
PR c++/17797 * g++.dg/overload/template2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88458 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
PR c++/17797 * typeck.c (build_reinterpret_cast): Return if the inner type is error_mark_node. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88457 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
* include/bits/stl_list.h: Trivial formatting fixes. * include/bits/stl_tree.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88451 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88450 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88449 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
rather than relying on default formatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88448 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88447 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
* trans-intrinsic.c: Fix comments on spacing and rrspacing (gfc_conv_intrinsic_rrspacing): Add fold on constant trees. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88446 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88445 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
* intrinsics/abort.c ("libgfortran.h"): Move. * intrinsics/date_and_time.c ("libgfortran.h"): Same. * intrinsics/write.c ("libgfortran.h"): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88444 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
* include/bits/sstream.tcc (seekpos): In case of success, just return __sp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88443 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
* config.gcc (i?86-*-solaris2*): Restore correct logic for --enable-threads option. (sparc64-*-solaris2*): Likewise. (sparc-*-solaris2*): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88442 138bc75d-0d04-0410-961f-82ee72b054a4
-
amodra authored
(OS_MISSING_POWERPC64): Move, and comment. * config/rs6000/linux64.h (TARGET_C99_FUNCTIONS): Define. (OS_MISSING_POWERPC64): Move, and comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88440 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88438 138bc75d-0d04-0410-961f-82ee72b054a4
-
ghazi authored
expand_builtin_strncmp): Delete duplicate code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88437 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88435 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 02 Oct, 2004 15 commits
-
-
fche authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88432 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
Don't fall through after printing an expression. testsuite: * gcc.dg/20040920-1.c: Update expected message text. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88431 138bc75d-0d04-0410-961f-82ee72b054a4
-
phython authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88430 138bc75d-0d04-0410-961f-82ee72b054a4
-
phython authored
* parse.y: Use gcc_assert and gcc_unreachable instead of abort. * tree1.c: Likewise. * treetree.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88429 138bc75d-0d04-0410-961f-82ee72b054a4
-
phython authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88428 138bc75d-0d04-0410-961f-82ee72b054a4
-
uweigand authored
* ltcf-c.sh (tpf*): Add ld_shlibs=yes. * ltcf-cxx.sh (tpf*): Likewise. * ltconfig (tpf*): Add TPF OS configuration support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88427 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88426 138bc75d-0d04-0410-961f-82ee72b054a4
-
phython authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88425 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88424 138bc75d-0d04-0410-961f-82ee72b054a4
-
kkojima authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88421 138bc75d-0d04-0410-961f-82ee72b054a4
-
uweigand authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88420 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
delete_unrechable_blocks() only when necessary. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88419 138bc75d-0d04-0410-961f-82ee72b054a4
-
uweigand authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88418 138bc75d-0d04-0410-961f-82ee72b054a4
-
uweigand authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88417 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88415 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 01 Oct, 2004 8 commits
-
-
jsm28 authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88412 138bc75d-0d04-0410-961f-82ee72b054a4
-
uweigand authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88410 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88407 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
(main): Remove a reference to COLLECT_PARSE_FLAG * system.h: Poison COLLECT_PARSE_FLAG. * doc/tm.texi (COLLECT_PARSE_FLAG): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88406 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88405 138bc75d-0d04-0410-961f-82ee72b054a4
-
rakdver authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88404 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
* gcc.dg/tree-ssa/pr17343.c: Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88401 138bc75d-0d04-0410-961f-82ee72b054a4
-
bernds authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88400 138bc75d-0d04-0410-961f-82ee72b054a4
-