- 13 Jan, 2004 23 commits
-
-
2004-01-13 Paolo Carlini <pcarlini@suse.de> PR libstdc++/13650 * include/bits/basic_string.tcc (compare(size_type, size_type, const _CharT*, size_type)): Implement correctly the resolution of DR 5: basically, s is a char array, -not- a C string. * include/bits/basic_string.h: Tweak some comments. * testsuite/21_strings/basic_string/compare/char/13650.cc: New. * testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New. From-SVN: r75798
Paolo Carlini committed -
* system.h (TEXT_SECTION): Poison. * varasm.c (text_section): Don't use TEXT_SECTION. * config/sh/sh.c (sh_file_start): Fix a comment typo. * doc/tm.texi (TEXT_SECTION): Remove. From-SVN: r75797
Kazu Hirata committed -
From-SVN: r75796
Arnaud Charlet committed -
* ada/acats/run_all.sh: Add more verbose output in acats.log when compiling tests. From-SVN: r75795
Arnaud Charlet committed -
From-SVN: r75793
Ben Elliston committed -
From-SVN: r75791
Steven Bosscher committed -
* unwind-libunwind.c: Delete. From-SVN: r75790
James E Wilson committed -
2004-01-12 Ian Lance Taylor <ian@wasabisystems.com> * demangle.h: Instead of checking ANSI_PROTOTYPES, just include "libiberty.h". From-SVN: r75789
Ian Lance Taylor committed -
* java/awt/Dialog.java (show): Enable blocking for all modal dialogs and run secondary dispatch thread to process event queue while this thread is blocked. From-SVN: r75788
Fernando Nasser committed -
PR 13656 * c-decl.c (diagnose_mismatched_decls): Whenever newtype or oldtype is set, set *newtypep or *oldtypep too. Do not set them at the very end. (validate_proto_after_old_defn): Restructure for comprehensibility; make error messages clearer. testsuite: * gcc.dg/typedef-redecl.c: New test case. * gcc.dg/typedef-redecl.h: New support file. From-SVN: r75787
Zack Weinberg committed -
* varray.h (VARRAY_POP): Add checking variant, aborts on underflow. (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked. * varray.c: No need to prototype error. (varray_check_failed): Wrap long string onto two lines. (varray_underflow): New function. From-SVN: r75786
Zack Weinberg committed -
From-SVN: r75785
Ian Lance Taylor committed -
PR c++/13376 * function.h (struct function): Kill `name' field. (current_function_name): Make it an extern function. * function.c (current_function_name): New function. * graph.c: Update all uses of current_function_name. * gcse.c: Likewise. * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c, config/mips/mips.c, config/pdp11/pdp11.c: Likewise. * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P instead of a strcmp with "main". From-SVN: r75784
Steven Bosscher committed -
From-SVN: r75783
Ian Lance Taylor committed -
* c-decl.c (diagnose_mismatched_decls): Fix warning calls. * cgraphunit.c (cgraph_optimize_function): Always do optimize_inline_calls when there is always_inline callee. (cgraph_decide_inlining): Fix formating. * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline functions. (expand_call_inline): Likewise. * toplev.h (sorry): Fix prototype. From-SVN: r75782
Jan Hubicka committed -
cgraphunit.c (cgraph_optimize_function): Always do optimize_inline_calls when there is always_inline callee. * cgraphunit.c (cgraph_optimize_function): Always do optimize_inline_calls when there is always_inline callee. (cgraph_decide_inlining): Fix formating. * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline functions. (expand_call_inline): Likewise. * toplev.h (sorry): Fix prototype. * gcc.dg/always_inline.c: New test. * gcc.dg/debug/20031231-1.c: Fix. From-SVN: r75781
Jan Hubicka committed -
* builtins.c (expand_builtin_expect_jump): Simplify logic. Handle conditional jumps that drop through to unconditional jumps or the end of the sequence. From-SVN: r75780
Roger Sayle committed -
* alias.c (new_alias_set): Construct the alias_set varray. (init_alias_once): Don't do it here. From-SVN: r75779
Jan Hubicka committed -
PR c++/13474 * g++.dg/template/array3.C: New test. From-SVN: r75778
Giovanni Bajo committed -
PR c++/13474 * pt.c (tsubst) <INTEGER_TYPE>: Remove obsolete array index tweaking. From-SVN: r75777
Giovanni Bajo committed -
PR c++/13558 * parser.c (cp_parser_member_declaration): Any non-type is also not a class or a function. From-SVN: r75776
Steven Bosscher committed -
From-SVN: r75772
GCC Administrator committed -
PR c++/12815 * class.c (build_base_path): Do not mark vtable references as TREE_CONSTANT. (build_vtbl_ref_1): Likewise. From-SVN: r75770
Jason Merrill committed
-
- 12 Jan, 2004 17 commits
-
-
2004-01-12 Marc Espie <espie@openbsd.org> * system.h: handle YYBYACC like YYBISON. From-SVN: r75764
Marc Espie committed -
re PR rtl-optimization/10776 (Large aggregate initializers with a single relocated entry causes excessive compile time regression) PR opt/10776 * typeck2.c (split_nonconstant_init_1, split_nonconstant_init): New. (store_init_value): Use it. * decl.c (check_initializer): Expect full initialization code from store_init_value. * init.c (expand_aggr_init_1): Likewise. * decl2.c (maybe_emit_vtables): Abort if runtime init needed. From-SVN: r75763
Richard Henderson committed -
2004-01-12 Andreas Tobler <a.tobler@schweiz.ch> * lib/libjava.exp: Add LD_LIBRARY_PATH_32/64 to get proper path setting for Ssolaris 32/64-bit testing. Reorganize LD_LIBRARY_PATH setting. From-SVN: r75762
Andreas Tobler committed -
* g++.dg/ext/lvalue1.C: No longer expected to fail. * g++.dg/warn/Wunused-2.C: Likewise. From-SVN: r75761
Zack Weinberg committed -
2004-01-12 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_32 for Solaris. From-SVN: r75760
Andreas Tobler committed -
2004-01-10 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_32 for Solaris. From-SVN: r75759
Andreas Tobler committed -
* class.c (layout_class_type): For non-POD class types, also copy the DECL_SIZE and DECL_MODE of fields to the base class type. From-SVN: r75758
Mark Mitchell committed -
2004-01-12 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> PR c++/13289 * pt.c (instantiate_decl): Set DECL_TEMPLATE_INSTANTIATED before calling regenerate_decl_from_template. 2004-01-12 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> PR c++/13289 * g++.dg/template/instantiate6.C: New test. From-SVN: r75752
Kriang Lerdsuwanakij committed -
2004-01-12 Jonathan Merriman <jonm@dualitymedia.com> PR target/10847 * config.gcc: No longer includes conflicting header sparc/sol2.h when building on sparc64-*-openbsd*. From-SVN: r75751
Jonathan Merriman committed -
2004-01-12 Andrew Pinski <pinskia@physics.uc.edu> PR debug/13539 * dbxout.c (dbxout_type): Protected inheritance is not private but protected. From-SVN: r75750
Andrew Pinski committed -
From-SVN: r75749
Richard Sandiford committed -
* demangle.h (enum demangle_component_type): Define. (struct demangle_operator_info): Declare. (struct demangle_builtin_type_info): Declare. (struct demangle_component): Define. (cplus_demangle_fill_component): Declare. (cplus_demangle_fill_name): Declare. (cplus_demangle_fill_builtin_type): Declare. (cplus_demangle_fill_operator): Declare. (cplus_demangle_fill_extended_operator): Declare. (cplus_demangle_fill_ctor, cplus_demangle_fill_dtor): Declare. (cplus_demangle_v3_components): Declare. (cplus_demangle_print): Declare. * cp-demangle.c: Include "cp-demangle.h". If IN_GLIBCPP_V3 is defined, rename some functions which are to become static via #define. (CP_STATIC_IF_GLIBCPP_V3): Define. (struct d_operator_info): Move definition to cp-demangle.h, and rename to demangle_operator_info. Change all uses. (enum d_builtin_type_print): Move definition to cp-demangle.h. (struct d_builtin_type_info): Move definition to cp-demangle.h, and rename to demangle_builtin_type_info. Change all uses. (enum d_comp_type): Move definition to include/demangle.h, and rename to demangle_component_type, and change all enums to start with DEMANGLE_COMPONENT_ instead of D_. Change all uses. (struct d_comp): Move definition to include/demangle.h, and rename to demangle_component. Change all uses. (struct d_info): Move definition to cp-demangle.h. (cplus_demangle_fill_name): New function. (cplus_demangle_fill_extended_operator): New function. (cplus_demangle_fill_ctor): New function. (cplus_demangle_fill_dtor): New function. (d_make_empty): Remove type parameter. Change all callers. (d_make_name): Use cplus_demangle_fill_name. (d_make_extended_operator): Use cplus_demangle_fill_extended_operator. (d_make_ctor): Use cplus_demangle_fill_ctor. (d_make_dtor): Use cplus_demangle_fill_dtor. (cplus_demangle_mangled_name): Rename from d_mangled_name. Make non-static by default. Change all callers. (cplus_demangle_operators): Rename from d_operators. Change all uses. Make non-static by default. Add sentinel at end of array. (d_operator_name): Adjust initialization of high for new sentinel in cplus_demangle_operators. (cplus_demangle_builtin_types): Rename from d_builtin_types. Change all uses. Make non-static by default. Change initializer to use D_BUILTIN_TYPE_COUNT instead of magic number 26. (cplus_demangle_type): Rename from d_type. Make non-static by default. Change all callers. (cplus_demangle_init_info): Rename from d_init_info. Make non-static by default. Change all callers. * cp-demangle.h: New file. * cp-demint.c: New file. * Makefile.in: Rebuild dependencies. (CFILES): Add cp-demint.c. (REQUIRED_OFILES): Add cp-demint.o. From-SVN: r75748
Ian Lance Taylor committed -
2004-01-12 Kazu Hirata <kazu@cs.umass.edu> PR optimization/12508. * combine.c (try_combine): Remove a dead set in a parallel even if its destination is a subreg. Revert: 2003-06-03 Kazu Hirata <kazu@cs.umass.edu> * combine.c (simplify_set): Don't move a subreg in SET_SRC to SET_DEST if WORD_REGISTER_OPERATIONS is not defined. From-SVN: r75747
Kazu Hirata committed -
From-SVN: r75746
Ian Lance Taylor committed -
2004-01-08 Graydon Hoare <graydon@redhat.com> * javax/swing/JLayeredPane.java: Rewrite to accomodate djee@redhat.com's recent inverse ordering of Container elements. From-SVN: r75745
Graydon Hoare committed -
From-SVN: r75744
Paul Brook committed -
From-SVN: r75743
Geoffrey Keating committed
-