- 25 Jul, 2003 1 commit
-
-
From-SVN: r69766
GCC Administrator committed
-
- 24 Jul, 2003 24 commits
-
-
* cp-tree.h (convert_to_base_statically): Declare. * call.c (build_special_member_call): Convert INSTANCE to the base type. * class.c (convert_to_base_statically): New method. * init.c (construct_virtual_base): Use it. * method.c (do_build_assign_ref): Fix typo in comment. * g++.dg/inherit/access5.C: New test. From-SVN: r69763
Mark Mitchell committed -
2003-07-24 Benjamin Kosnik <bkoz@redhat.com> * testsuite/*: Change __gnu_cxx_test to __gnu_test. From-SVN: r69761
Benjamin Kosnik committed -
builtins.def (BUILT_IN_PRINTF, [...]): Changed from front-end builtins to normal builtins, using DEF_LIB_BUILTIN. * builtins.def (BUILT_IN_PRINTF, BUILT_IN_FPRINTF): Changed from front-end builtins to normal builtins, using DEF_LIB_BUILTIN. (BUILT_IN_PRINTF_UNLOCKED, BUILT_IN_FPRINTF_UNLOCKED): Changed from front-end to normal builtins, using DEF_EXT_LIB_BUILTIN. (DEF_FRONT_END_LIB_BUILTIN): Delete. (DEF_EXT_FRONT_END_LIB_BUILTIN): Delete. (BUILT_IN_FWRITE_UNLOCKED): Wrap long line. * builtins.c (build_string_literal): New function to construct a char* pointer to a string literal. (expand_builtin_fputs): Change 2nd argument from "int ignore" to "rtx target" to be consistent with other expand_builtin_* functions. Change 3rd argument from "int unlocked" to "bool unlocked". (expand_builtin_printf): Rewrite of c_expand_builtin_printf from c-common.c to avoid front-end dependencies. Optimize printf("") as a no-op when the result isn't required. Handle embedded NULs in format string. (expand_builtin_fprintf): A rewrite of c_expand_builtin_fprintf from c-common.c to avoid front-end dependencies. Likewise, optimize fprintf(fp,"") as a no-op when the result isn't required, evaluating fp for side-effects. Handle embedded NULs in format string. (expand_builtin_sprintf): Fix typo. (expand_builtin): Don't expand BUILT_IN_FPRINT{,_UNLOCKED} when not optimizing. Adjust calls of expand_builtin_fputs to match the API change. Expand BUILT_IN_PRINTF and BUILT_IN_PRINTF_UNLOCKED using expand_builtin_printf. Likewise, expand BUILT_IN_FPRINTF_UNLOCKED and BUILT_IN_FPRINTF using expand_builtin_fprintf. * c-common.c (is_valid_printf_arglist): Delete. (c_expand_builtin): Delete. (c_expand_builtin_printf): Moved to builtins.c. Delete. (c_expand_builtin_fprintf): Moved to builtins.c. Delete. (c_expand_expr): No longer treat CALL_EXPRs specially. (CALLED_AS_BUILT_IN): Delete. From-SVN: r69760
Roger Sayle committed -
PR optimization/11631 * gcse.c (store_motion): Connect infinite loops to exit. From-SVN: r69759
Zdenek Dvorak committed -
* tree.h (boolean_type_node): Move from C/C++/Java frontends. (boolean_true_node, boolean_false_node): Likewise. (enum tree_index): Add TI_BOOLEAN_{TYPE,FALSE,TRUE}. * tree.c (build_common_tree_nodes): Init boolean_type_node. (build_common_tree_nodes_2): Init boolean_{true,false}_node. * stor-layout.c (set_sizetype): Handle an early BOOLEAN_TYPE. * c-common.h (truthvalue_type_node): Renamed from boolean_type_node. (truthvalue_true_node): Renamed from boolean_true_node. (truthvalue_false_node): Renamed from boolean_false_node. * c-decl.c: Just set truthvalue_* to integer_*. * c-*.[ch]: s/boolean/truthvalue/. s/c_bool/boolean/. * cp/decl.c: Just set truthvalue_* to boolean_*. * java/java-tree.h: Move boolean_type_node et al to the back end. From-SVN: r69758
Jason Merrill committed -
c-decl.c (match_builtin_function_types): New subroutine of duplicate_decls to test whether a redeclaration of a builtin... * c-decl.c (match_builtin_function_types): New subroutine of duplicate_decls to test whether a redeclaration of a builtin function is suitably close, i.e. the return type and all of the argument types have the same modes as the builtin expects. (duplicate_decls): Fuzzy type matching for builtin functions moved to match_builtin_function_types. From-SVN: r69757
Roger Sayle committed -
* cfgloopmanip.c (duplicate_loop_to_header_edge): Update irreducible flag correctly. From-SVN: r69755
Zdenek Dvorak committed -
2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com> * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Don't pack label in an event box. From-SVN: r69754
Thomas Fitzsimmons committed -
From-SVN: r69752
Aldy Hernandez committed -
* verify.cc (ref_intersection): New class. (type_val): Removed unresolved_reference_type, uninitialized_unresolved_reference_type. (is_assignable_from_slow): Rewrote. (type::data): Removed. (type::klass): New field. (type::type): Added verifier argument. (type::resolve): Removed. (type::set_uninitialized): Updated for change to type_val. (type::set_initialized): Likewise. (type::isinitialized): Likewise. (type::print): Likewise. (construct_primitive_array_type): Likewise. (type::compatible): Updated for change to type_val and to use ref_intersection. (type::isarray): Updated to use ref_intersection. (type::isinterface): Likewise. (type::element_type): Likewise. (type::to_array): Likewise. (type::verify_dimensions): Rewrote. (type::merge): Likewise. (check_class_constant): Updated for type constructor change. (check_constant): Likewise. (check_field_constant): Likewise. (get_one_type): Likewise. (initialize_stack): Likewise. (verify_instructions_0): Likewise. (verify_instructions_0) [op_invokeinterface]: Removed special case. (isect_list): New field. (_Jv_BytecodeVerifier): Initialize it. (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. From-SVN: r69751
Tom Tromey committed -
* libjava.lang/PR7482.java: New file. * libjava.lang/PR7482.out: New file. From-SVN: r69750
Tom Tromey committed -
* c-decl.c: Search-and-replace change 'binding level' to 'scope' in commentary. (struct binding_level): Now struct c_scope. (current_binding_level): Now current_scope. (free_binding_level): Now scope_freelist. (current_function_level): Now current_function_scope. (global_binding_level): Now global_scope. (make_binding_level): Now make_scope. (pop_binding_level): Now pop_scope. From-SVN: r69747
Zack Weinberg committed -
2003-07-24 Nathan Myers <ncm-nospam@cantrip.org> * testsuite/23_containers/map_operators.cc: Conform to container requirement as value must be Assignable. From-SVN: r69746
Nathan Myers committed -
From-SVN: r69745
Rainer Orth committed -
2003-07-24 H. V�is�nen <hvaisane@joyx.joensuu.fi> * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad unless field size is 2. From-SVN: r69744
H. Väisänen committed -
* libgcc-std.ver (GCC_3.3.1): Export __gcc_personality_sj0, __gcc_personality_v0. From-SVN: r69743
Richard Henderson committed -
From-SVN: r69742
Rainer Orth committed -
From-SVN: r69741
Nathan Sidwell committed -
* doc/invoke.texi (-fprofile-arcs, -ftest-coverage): Update documentation missed from my 2003-07-09 patch. From-SVN: r69740
Nathan Sidwell committed -
PR c++/11513 * cp-tree.h (PROCESSING_REAL_TEMPLATE_DECL_P): Use current_scope. * g++.dg/template/crash8.C: New test. From-SVN: r69739
Kriang Lerdsuwanakij committed -
* aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Set patch level to 0 if it's not provided. * configure: Rebuild. From-SVN: r69737
Nathanael Nerode committed -
PR c/10602 * c-typeck.c (type_lists_compatible_p): Do not compare arguments if one of them is an error_mark_node. * gcc.dg/noncompile/incomplete-2.c: New test. From-SVN: r69735
Steven Bosscher committed -
* config/rs6000/rs6000.c (rs6000_emit_prologue): Save fp regs inline if current_function_calls_eh_return. From-SVN: r69734
Alan Modra committed -
From-SVN: r69732
GCC Administrator committed
-
- 23 Jul, 2003 15 commits
-
-
From-SVN: r69729
Mark Mitchell committed -
(connectHooks): New method. (handleEvent): Remove. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (createHooks): Remove declaration. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (generates_key_typed_event): Change to handle only certain keyvals. (awt_event_handler): Add special handling for GtkTextView. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c (textcomponent_commit_cb): New function. (textcomponent_changed_cb): Likewise. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c (connectHooks): Remove. From-SVN: r69728
Thomas Fitzsimmons committed -
acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it tests not only generation of pch files, but also their use. * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it tests not only generation of pch files, but also their use. * aclocal.m4, configure: Rebuilt. From-SVN: r69727
Alexandre Oliva committed -
PR c++/11645 * cp-tree.h (accessible_base_p): Declare. * call.c (build_over_call): Use it. * search.c (accessible_base_p): New function, split out from ... (lookup_base): ... here. PR c++/11645 * g++.dg/inherit/access4.C: New test. From-SVN: r69724
Mark Mitchell committed -
* config/cpu/hppa/atomicity.h: Change _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK to match misc-inst.cc From-SVN: r69720
Steve Ellcey committed -
* config/xtensa/crti.asm (_init, _fini): Increase frame size to 64. * config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3, __umodsi3, __modsi3): Increase frame size to 32. From-SVN: r69719
Bob Wilson committed -
* config/rs6000/host-darwin.c: ANSIfy, update comment for sigaltstack prototype. From-SVN: r69718
Geoffrey Keating committed -
PR c++/11517 * call.c (build_conditional_expr): Use perform_implicit_conversion and error_operand_p. Robustify. * typeck.c (build_unary_op): Use perform_implicit_conversion. PR c++/11517 * g++.dg/expr/cond2.C: New test. From-SVN: r69715
Mark Mitchell committed -
From-SVN: r69713
Nathan Sidwell committed -
PR optimization/10679 * tree-inline.c (inlinable_function_p): Honor MIN_INLINE_INSNS. PR optimization/10679 * g++.dg/opt/inline4.C: New test. From-SVN: r69710
Mark Mitchell committed -
gcc_release (usage): Document that -s now takes symbolic name and branch of the snapshot as parameters. * gcc_release (usage): Document that -s now takes symbolic name and branch of the snapshot as parameters. Implement this as part of command-line processing. (BRANCH): Remove default initialization for snapshots. (CVSBRANCH): Ditto. Do not lay down a CVS tag if generating a snapshot from mainline. From-SVN: r69708
Gerald Pfeifer committed -
PR target/11607 and PR target/11516 * pa.md (extzv, extv, insv): Revert latter half of last patch. From-SVN: r69707
John David Anglin committed -
From-SVN: r69706
Tom Tromey committed -
* include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard. * include/c_std/std_cctype.h: Ditto. * include/c_std/std_cerrno.h: Ditto. * include/c_std/std_cfloat.h: Ditto. * include/c_std/std_climits.h: Ditto. * include/c_std/std_clocale.h: Ditto. * include/c_std/std_cmath.h: Ditto. * include/c_std/std_csetjmp.h: Ditto. * include/c_std/std_csignal.h: Ditto. * include/c_std/std_cstdarg.h: Ditto. * include/c_std/std_cstddef.h: Ditto. * include/c_std/std_cstdio.h: Ditto. * include/c_std/std_cstdlib.h: Ditto. * include/c_std/std_cstring.h: Ditto. * include/c_std/std_ctime.h: Ditto. * include/c_std/std_cwchar.h: Ditto. * include/c_std/std_cwctype.h: Ditto. * include/std/std_algorithm.h: Ditto. * include/std/std_bitset.h: Ditto. * include/std/std_complex.h: Ditto. * include/std/std_deque.h: Ditto. * include/std/std_fstream.h: Ditto. * include/std/std_functional.h: Ditto. * include/std/std_iomanip.h: Ditto. * include/std/std_ios.h: Ditto. * include/std/std_iosfwd.h: Ditto. * include/std/std_iostream.h: Ditto. * include/std/std_istream.h: Ditto. * include/std/std_iterator.h: Ditto. * include/std/std_limits.h: Ditto. * include/std/std_list.h: Ditto. * include/std/std_locale.h: Ditto. * include/std/std_map.h: Ditto. * include/std/std_memory.h: Ditto. * include/std/std_numeric.h: Ditto. * include/std/std_ostream.h: Ditto. * include/std/std_queue.h: Ditto. * include/std/std_set.h: Ditto. * include/std/std_sstream.h: Ditto. * include/std/std_stack.h: Ditto. * include/std/std_stdexcept.h: Ditto. * include/std/std_streambuf.h: Ditto. * include/std/std_string.h: Ditto. * include/std/std_utility.h: Ditto. * include/std/std_valarray.h: Ditto. * include/std/std_vector.h: Ditto. From-SVN: r69705
Steve Ellcey committed -
From-SVN: r69703
Tom Tromey committed
-