- 28 Dec, 2001 15 commits
-
-
2001-12-28 Phil Edwards <pme@gcc.gnu.org> PR libstdc++/2054 * include/bits/stl_algo.h (lower_bound): Relax concept checks. * testsuite/ext/concept_checks.cc: New file. From-SVN: r48351
Phil Edwards committed -
2001-12-28 Paolo Carlini <pcarlini@unitus.it> * include/bits/stl_algo.h (count returning void, count_if returning void, __random_sample, random_sample, random_sample_n, __is_heap, is_heap, is_sorted): Move to... * include/ext/algorithm: ...here, new file. * include/Makefile.am (ext_headers): Add new file. * include/Makefile.in: Regenerate. * testsuite/ext/headers.cc: Include <ext/algorithm>. From-SVN: r48350
Paolo Carlini committed -
* except.c: Fix comment formatting. * flags.h: Likewise. * flow.c: Likewise. * predict.c: Likewise. * simplify-rtx.c: Likewise. * system.h: Likewise. * vmsdbg.h: Likewise. * vmsdbgout.c: Likewise. From-SVN: r48349
Kazu Hirata committed -
From-SVN: r48348
Kazu Hirata committed -
* varasm.c (record_constant_1): Correct parameter to recursive call in default case. From-SVN: r48347
Geoffrey Keating committed -
From-SVN: r48346
Richard Kenner committed -
basic_string.h (insert(__pos, __s, __n)): Optimize by avoiding temporaries and working in-place when possible. 2001-12-28 Paolo Carlini <pcarlini@unitus.it> Nathan Myers <ncm@cantrip.org> * include/bits/basic_string.h (insert(__pos, __s, __n)): Optimize by avoiding temporaries and working in-place when possible. (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n). (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n). * testsuite/21_strings/insert.cc (test02): New testcases. Co-Authored-By: Nathan Myers <ncm@cantrip.org> From-SVN: r48345
Paolo Carlini committed -
* config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT, ASM_OUTPUT_DWARF_PCREL): Define. * config/sparc/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. * configure.in (HAVE_AS_SPARC_UA_PCREL): Check whether as supports .uaword %r_disp32() and linker handles it correctly. * configure, config.in: Rebuilt. From-SVN: r48344
Jakub Jelinek committed -
c-typeck.c (store_init_value): If initializing object with array type of unknown size by a compound literal... * c-typeck.c (store_init_value): If initializing object with array type of unknown size by a compound literal, set object's size from compound literal size. * doc/extend.texi (Compound Literals): Adjust documentation. * gcc.dg/gnu89-init-1.c: Adjust for the new behaviour, add some additional tests. From-SVN: r48343
Jakub Jelinek committed -
* real.c (etoe113, toe113): Ifndef INTEL_EXTENDED_IEEE_FORMAT. (endian): Clear word 3 for INTEL_EXTENDED_IEEE_FORMAT. (etartdouble): Invoke etoe64 for INTEL_EXTENDED_IEEE_FORMAT. * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Don't special case INTEL_EXTENDED_IEEE_FORMAT. From-SVN: r48342
Richard Henderson committed -
From-SVN: r48340
GCC Administrator committed -
* combine.c (try_combine): Mask off sign bits when combining stores to the low and high parts of a two-word value. From-SVN: r48339
Geoffrey Keating committed -
* expr.c (expand_expr): Don't mark memory for non-constants as constant. From-SVN: r48338
Geoffrey Keating committed -
integrate.c (copy_rtx_and_substitute, case MEM): If inlining and not for LHS, clear RTX_UNCHANGING_P. * integrate.c (copy_rtx_and_substitute, case MEM): If inlining and not for LHS, clear RTX_UNCHANGING_P. From-SVN: r48337
Richard Kenner committed -
From-SVN: r48336
Philipp Thomas committed
-
- 27 Dec, 2001 13 commits
-
-
* builtins.c (expand_builtin_memcmp): Optimize memcmp built-in when all arguments are known constant. Fixes PR opt/3508. * gcc.c-torture/execute/string-opt-16.c: New testcase. From-SVN: r48335
Roger Sayle committed -
From-SVN: r48334
Kazu Hirata committed -
* haifa-sched.c (reemit_other_notes): New. (schedule_block): Use it. * sched-ebb.c (schedule_ebbs): Call remove_unnecessary_notes. * sched-rgn.c (schedule_insns): Likewise. * cfglayout.c (remove_scope_notes): Handle removing note at the end of the insn chain. * function.c (debug_find_var_in_block_tree): New. * gcc.dg/debug-1.c, gcc.dg/debug-2.c: New. From-SVN: r48333
Richard Henderson committed -
2001-12-27 Phil Edwards <pme@gcc.gnu.org> * testsuite/testsuite_hooks.h (gnu_counting_struct): Add. * testsuite/23_containers/deque_ctor.cc: New file. From-SVN: r48332
Phil Edwards committed -
From-SVN: r48331
Hans-Peter Nilsson committed -
2001-12-27 Alan Modra <amodra@bigpond.net.au> David Edelsohn <edelsohn@gnu.org> * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Simplify. Co-Authored-By: David Edelsohn <edelsohn@gnu.org> From-SVN: r48330
Alan Modra committed -
* toplev.c (independent_decode_option): Re-add -aux-info option handling. From-SVN: r48329
Jakub Jelinek committed -
* integrate.c (copy_insn_notes): Don't adjust REG_EH_REGION note if special value. From-SVN: r48328
Richard Kenner committed -
2001-12-27 Paolo Carlini <pcarlini@unitus.it> * include/bits/locale_facets.tcc (collate::do_transform): Adjust implicit typename. * config/locale/messages_members_generic.h (messages::open, messages::do_open, messages::do_get): Adjust implicit typename. * config/locale/messages_members_gnu.h (messages::open, messages::do_open, messages::do_get): Adjust Implicit typename. * config/locale/messages_members_ieee_1003.1-200x.h (messages::open, messages::do_open, messages::do_get): Adjust implicit typename. From-SVN: r48327
Paolo Carlini committed -
From-SVN: r48325
GCC Administrator committed -
2001-12-27 Phil Edwards <pme@gcc.gnu.org> PR libstdc++/3829 * src/misc-inst.cc: Many additional I/O-related instantiations. * testsuite/27_io/instantiations.cc: New file. From-SVN: r48324
Phil Edwards committed -
From-SVN: r48323
Kaveh Ghazi committed -
* collect2.c (is_ctor_dtor): Const-ify. * m88k-protos.c (output_file_start): Likewise. * m88k.c (m88k_lang_independent_options, output_options, output_file_start): Likewise. * fix-header.c (files_to_ignore, std_include_entry, include_entry, std_include_table, main): Likewise. * protoize.c (longopts): Likewise. * regclass.c (int_reg_class_contents): Likewise. * toplev.c (dump_file, f_options, W_options): Make static. (lang_independent_options, f_options, W_options): Const-ify. * tree-dump.c (dump_file_info): Likewise. * unroll.c (_factor): Make static. java: * chartables.h: Const-ify. * gjavah.c (options): Likewise. * jcf-dump.c (options): Likewise. * jv-scan.c (options): Likewise. * lex.c (java_start_char_p, java_part_char_p): Likewise. * parse.y (binop_lookup): Likewise. From-SVN: r48322
Kaveh R. Ghazi committed
-
- 26 Dec, 2001 8 commits
-
-
From-SVN: r48321
Richard Kenner committed -
* config/sparc/sparc.md (call struct patterns): Show starting at two words long. From-SVN: r48320
Richard Kenner committed -
* rs6000.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add mcpu=405. * sysv4.h (CPP_SYSV_SPEC, CPP_OS_VXWORKS_SPEC): Add mcpu=405. From-SVN: r48319
David Edelsohn committed -
2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com> * testsuite/24_iterators/insert_iterator.cc (test02): Add. * testsuite/24_iterators/front_insert_iterator.cc (test02): Add. * testsuite/24_iterators/back_insert_iterator.cc (test02): Add. * testsuite/24_iterators/reverse_iterator.cc (test02): Add. * include/bits/stl_iterator.h (reverse_iterator): Uglify member current to _M_current. (back_insert_iterator): Ulify member container to _M_container. (front_insert_iterator): Same. (insert_iterator): Same. From-SVN: r48318
Benjamin Kosnik committed -
cp: PR c++/196 * cp/parse.y (bad_parm): Better diagnostic when given a SCOPE_REF. testsuite: * g++.dg/eh/ctor1.C: New test. * g++.dg/other/error2.C: New test. From-SVN: r48317
Nathan Sidwell committed -
* function.c (expand_main_function): Make sure stack adjustments happen before sjlj exception setup. From-SVN: r48316
DJ Delorie committed -
* rs6000.md (indirect_jump): Prefer CTR over LR. * xcoff.h (ASM_DECLARE_FUNCTION_NAME): Handle weak function. From-SVN: r48315
David Edelsohn committed -
From-SVN: r48313
GCC Administrator committed
-
- 25 Dec, 2001 3 commits
-
-
From-SVN: r48312
Richard Kenner committed -
* include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New macros for signed types; default value is true. (numeric_limits<>::is_modulo): Get value from corresponding __glibcpp_xxx_is_modulo macro. From-SVN: r48311
Gabriel Dos Reis committed -
From-SVN: r48309
GCC Administrator committed
-
- 24 Dec, 2001 1 commit
-
-
re PR c++/160 (Reference variables not initialized correctly in constructor initializer list using , operator) cp: PR c++/160 * typeck.c (build_modify_expr): Remove old unreachable code & tidy up. Don't stabilize_references when initializing a reference. testsuite: * g++.dg/other/init2.C: New test. From-SVN: r48307
Nathan Sidwell committed
-