- 29 Jul, 2003 15 commits
-
-
2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather than getXLFD. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (gtkSetFont): Scale size parameter by PANGO_SCALE. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise. From-SVN: r69936
Thomas Fitzsimmons committed -
2003-07-29 Phil Edwards <pme@gcc.gnu.org> * config-ml.in: Use ac_configure_args directly instead of ml_arguments. Only set ml_norecursion if --no[-]recursion is actually seen. From-SVN: r69934
Phil Edwards committed -
2003-07-29 Phil Edwards <pme@gcc.gnu.org> * Makefile.in (stmp-docobjdir): New target; ensure $docobjdir exists. (info): Depend on stmp-docobjdir. From-SVN: r69933
Phil Edwards committed -
From-SVN: r69932
Rainer Orth committed -
PR C++/11131 * tree-inline.c (expand_call_inline): Always call inlinable_function_p in !unit-at-a-time mode. From-SVN: r69929
Jan Hubicka committed -
* defineclass.cc (handleField): Throw exception if field name is duplicated. (handleMethod): Throw exception for duplicate method. From-SVN: r69928
Tom Tromey committed -
* gnu/gcj/convert/natIconv.cc (write): Handle case where output buffer is too small. From-SVN: r69927
Tom Tromey committed -
cp: PR c++/9447 * decl.c (add_binding): Add bval local variable. (push_class_level_binding): Likewise. Allow a USING_DECL to be pushed. * decl2.c (do_class_using_decl): The type of a using decl is unknown. * parser.c (cp_parser_postfix_expression): Refactor unqualified-id function call lookup code. * pt.c (tsubst): A USING_DECL will have unknown type. (tsubst_copy_and_build): Allow a using decl. (type_dependent_expression_p): A USING_DECL will make it dependent. * semantics.c (finish_member_declaration): Push a dependent using declaration. testsuite: PR c++/9447 * g++.dg/template/using1.C: New test. * g++.dg/template/using2.C: New test. * g++.dg/template/using3.C: New test. * g++.dg/template/using4.C: New test. From-SVN: r69921
Nathan Sidwell committed -
* crontab: Update invocation of gcc_release according to the previous changes there. Add automatic 3.4 snapshots from mainline. From-SVN: r69919
Gerald Pfeifer committed -
* gcc.c-torture/execute/string-opt-9.c: strcmp returns int. * gcc.c-torture/execute/string-opt-10.c: Likewise. From-SVN: r69916
Alexandre Oliva committed -
* c-decl.c (c_expand_body_1): Use C_DECL_FILE_SCOPE to detect main function. From-SVN: r69913
Geoffrey Keating committed -
From-SVN: r69912
Loren J. Rittle committed -
PR c++/11530 * parser.c (cp_parser_postfix_expression): Do not call mark_used. * semantics.c (finish_id_expression): Call mark_used for all declarations. PR c++/11530 * g++.dg/opt/call1.C: New test. From-SVN: r69911
Mark Mitchell committed -
PR c++/11667 * c-common.c (shorten_compare): Take into account differences between C and C++ representation for enumeration types. * tree.h (set_min_and_max_values_for_integral_type): Declare. * stor-layout.c (set_min_and_max_values_for_integral_type): New function, broken out from ... (fixup_signed_type): ... here and ... (fixup_unsigned_type): ... here. PR c++/11667 * call.c (standard_conversion): Allow all integral->enumeral conversions, after marking them as bad. * decl.c (finish_enum): Make sure that all enumerators are properly converted to the underlying type. (build_enumerator): Set DECL_CONTEXT for namespace-scope enumeration types. * pt.c (tsubst_copy): Adjust handling of CONST_DECLs accordingly. (tsubst_enum): Tidy. * Make-lang.in (typeck.o): Depend on convert.h. (class.o): Likewise. (rtti.o): Likewise. * call.c: Include convert.h. (convert_arg_to_ellipsis): Use convert_to_real. * class.c: Include convert.h. (build_base_path): Use convert_to_integer. * rtti.c: Include convert.h. (build_headof): Use convert_to_integer. * typeck.c: Include convert.h. (decay_conversion): Use convert_to_integer. (build_unary_op): Use build_nop. (get_delta_difference): Use convert_to_integer. (build_ptrmemfunc): Avoid unncessary conversions. From-SVN: r69909
Mark Mitchell committed -
From-SVN: r69907
GCC Administrator committed
-
- 28 Jul, 2003 22 commits
-
-
* c-decl.c: Update commentary, adjust blank lines throughout. (struct c_scope): Fix indentation. Reorder members so outer-context pointers come first, booleans last. (duplicate_decls, define_label): Use a 'locus' variable for diagnostic locations in a few more places. (warn_if_shadowing): Un-split a conditional that fits on one line. (c_init_decl_processing): No need to clear current_scope and current_function_scope. (start_decl): Merge if/else if statements with same action. (push_parm_decl): Rename old_immediate_size_expand to use save_foo convention; save/restore around entire function. (grokdeclarator): Remove unnecessary braces. From-SVN: r69903
Zack Weinberg committed -
* decl2.c (mark_member_pointers): Verify that member pointer points to the function. From-SVN: r69902
Jan Hubicka committed -
* gcc.dg/Wdeclaration-after-statement-1.c, gcc.dg/Wdeclaration-after-statement-2.c: New tests. From-SVN: r69900
Hans-Peter Nilsson committed -
c-parse.in (lineno_stmt_decl_or_labels_ending_decl): Also warn when warn_declaration_after_statement. * c-parse.in (lineno_stmt_decl_or_labels_ending_decl): Also warn when warn_declaration_after_statement. Call pedwarn_c90, not pedwarn. Correct message: it's "ISO C90", not "ISO C89". * c-common.c (warn_declaration_after_statement): Define. * c-common.h (warn_declaration_after_statement): Declare. * c.opt (Wdeclaration-after-statement): New. * c-errors.c (pedwarn_c90): New function. * c-opts.c (c_common_handle_option) <case OPT_Wdeclaration_after_statement>: New. * c-tree.h (pedwarn_c90): Declare. * doc/invoke.texi (Option Summary): Document -Wdeclaration-after-statement. (Warning Options): Ditto. Co-Authored-By: Michael Culbertson <Michael.J.Culbertson@wheaton.edu> From-SVN: r69899
Hans-Peter Nilsson committed -
for ishift1 type instructions. From-SVN: r69895
Jan Hubicka committed -
2003-07-28 Benjamin Kosnik <bkoz@redhat.com> * testsuite/testsuite_hooks.h: Remove list include. (func_callback): Define as unique type, not std::list. Change DEBUG_ASSERT to _GLIBCXX_ASSERT. * testsuite/libstdc++-v3.dg/dg.exp: Same. * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same. * testsuite/23_containers/bitset_ctor.cc: * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT. * testsuite/18_support/numeric_limits.cc: Same. * testsuite/21_strings/basic_string/append/char/1.cc: Same. * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same. * testsuite/21_strings/basic_string/compare/char/1.cc: Same. * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same. * testsuite/21_strings/basic_string/element_access/char/1.cc: Same. * testsuite/21_strings/basic_string/element_access/char/2.cc: Same. * testsuite/21_strings/basic_string/element_access/char/3.cc: Same. * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same. * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same. * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same. * testsuite/21_strings/basic_string/find/char/1.cc: Same. * testsuite/21_strings/basic_string/find/char/2.cc: Same. * testsuite/21_strings/basic_string/find/char/3.cc: Same. * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same. * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same. * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same. * testsuite/21_strings/basic_string/insert/char/1.cc: Same. * testsuite/21_strings/basic_string/insert/char/2.cc: Same. * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same. * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same. * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc: * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc: * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc: * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc: * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc: * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc: * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc: * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc: * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc: * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc: * testsuite/21_strings/basic_string/operators/char/1.cc: Same. * testsuite/21_strings/basic_string/operators/char/2.cc: Same. * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same. * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same. * testsuite/21_strings/basic_string/replace/char/1.cc: Same. * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same. * testsuite/21_strings/basic_string/rfind/char/1.cc: Same. * testsuite/21_strings/basic_string/rfind/char/2.cc: Same. * testsuite/21_strings/basic_string/rfind/char/3.cc: Same. * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same. * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same. * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same. * testsuite/21_strings/basic_string/substr/char/1.cc: Same. * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same. * testsuite/23_containers/bitset_ctor.cc: Same. * testsuite/23_containers/bitset_shift.cc: Same. * testsuite/23_containers/vector_ctor.cc: Same. * testsuite/23_containers/vector_element_access.cc: Same. * testsuite/24_iterators/istreambuf_iterator.cc: Same. * testsuite/24_iterators/iterator.cc: Same. * testsuite/24_iterators/ostreambuf_iterator.cc: Same. * testsuite/25_algorithms/lower_bound.cc: Same. * testsuite/26_numerics/complex_inserters_extractors.cc: Same. * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same. * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same. * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same. * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same. * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same. * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same. * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same. * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same. * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: Same. From-SVN: r69892
Benjamin Kosnik committed -
* java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)): New method. Include gnu/gcj/runtime/StringBuffer.h. * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New native method. (String(gnu.gcj.runtime.StringBuffer)): Use it. From-SVN: r69890
Tom Tromey committed -
* configure.in (--enable-checking): Add fold category. (ENABLE_FOLD_CHECKING): Define if requested. * configure: Rebuilt. * config.in: Rebuilt. * doc/install.texi: Document it. * fold-const.c: Include md5.h. [ENABLE_FOLD_CHECKING] (fold): Define to fold_1. [ENABLE_FOLD_CHECKING] (fold, fold_checksum_tree, fold_check_failed, print_fold_checksum): New functions. * fold-const.c (fold): Never modify argument passed to fold, instead change a copy and return it. * convert.c (convert_to_integer): Likewise. testsuite/ * gcc.c-torture/compile/20030725-1.c: New test. From-SVN: r69886
Jakub Jelinek committed -
2003-07-28 Aldy Hernandez <aldyh@redhat.com> * gcc.dg/20030505.c: Only run for SPE. Remove definition of opaque type. From-SVN: r69884
Aldy Hernandez committed -
2003-07-25 Benjamin Kosnik <bkoz@redhat.com> * include/bits/char_traits.h: Update copyright, tweak. * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace std types. From-SVN: r69883
Benjamin Kosnik committed -
* cp-tree.h (begin_compound_stmt): No scope arg is a bool. (finish_compound_stmt): Remove no scope arg. * decl.c (register_dtor_fn): Adjust begin_compound_stmt and end_compound_stmt calls. (expand_static_init, begin_destructor_body, begin_function_body, finish_function_body): Likewise. * decl2.c (start_objects, finish_objects, start_static_storage_duration_function, finish_static_storage_duration_function): Likewise. * init.c (begin_init_stmts, finish_init_stmts, construct_virtual_base, build_vec_init): Likewise. * method.c (do_build_assign_ref, synthesize_method): Likewise. * parser.c (cp_parser_compound_statement, cp_parser_implicitly_scoped_statement, cp_parser_already_scoped_statement): Likewise. * pt.c (tsubst_expr): Likewise. * semantics.c (begin_compound_stmt): No scope arg is a bool. (finish_compound_stmt): Remove no scope arg. * error.c (dump_expr) <COMPOUND_EXPR case>: A compound expr is always dyadic. From-SVN: r69882
Nathan Sidwell committed -
treelang: * treetree.c: Convert remaining K&R prototypes to ISO C90. * tree1.c: Likewise. * parse.y: Likewise. * tree-convert.c: Likewise. java: * jvspec.c: Convert to ISO C90 prototypes. From-SVN: r69881
Andreas Jaeger committed -
* BCC_MAKEFILE: Merge with GC 6.3alpha1 release. * ChangeLog: Likewise. * Makefile.am: Likewise. * Makefile.direct: Likewise. * Makefile.dj: Likewise. * allchblk.c: Likewise. * alloc.c: Likewise. * backgraph.c: Likewise. * configure.host: Likewise. * configure.in: Likewise. * dbg_mlc.c: Likewise. * dyn_load.c: Likewise. * finalize.c: Likewise. * gc_cpp.cc: Likewise. * gc_dlopen.c: Likewise. * gcj_mlc.c: Likewise. * if_mach.c: Likewise. * mach_dep.c: Likewise. * malloc.c: Likewise. * mallocx.c: Likewise. * mark.c: Likewise. * mark_rts.c: Likewise. * misc.c: Likewise. * os_dep.c: Likewise. * ptr_chck.c: Likewise. * reclaim.c: Likewise. * solaris_pthreads.c: Likewise. * solaris_threads.c: Likewise. * sparc_mach_dep.S: Likewise. * threadlibs.c: Likewise. * typd_mlc.c: Likewise. * version.h: Likewise. * win32_threads.c: Likewise. * Mac_files/MacOS_Test_config.h: Likewise. * Mac_files/MacOS_config.h: Likewise. * cord/cordbscs.c: Likewise. * cord/cordprnt.c: Likewise. * cord/de_win.c: Likewise. * doc/README: Likewise. * doc/README.MacOSX: Likewise. * doc/README.changes: Likewise. * doc/README.environment: Likewise. * doc/README.ews4800: Likewise. * doc/README.linux: Likewise. * doc/README.macros: Likewise. * doc/README.win32: Likewise. * doc/debugging.html: Likewise. * doc/gcdescr.html: Likewise. * doc/tree.html: Likewise. * include/Makefile.in: Likewise. * include/gc.h: Likewise. * include/gc_cpp.h: Likewise. * include/gc_local_alloc.h: Likewise. * include/gc_mark.h: Likewise. * include/gc_pthread_redirects.h: Likewise. * include/gc_typed.h: Likewise. * include/new_gc_alloc.h: Likewise. * include/private/dbg_mlc.h: Likewise. * include/private/gc_hdrs.h: Likewise. * include/private/gc_locks.h: Likewise. * include/private/gc_pmark.h: Likewise. * include/private/gc_priv.h: Likewise. * include/private/gcconfig.h: Likewise. * include/private/solaris_threads.h: Likewise. * include/private/specific.h: Likewise. * tests/test.c: Likewise. * tests/test_cpp.cc: Likewise. * configure: Rebuild. * Makefile.in: Rebuild. * mips_sgi_mach_dep.s: Add. * alpha_mach_dep.s: Remove. * irix_threads.c: Remove. * linux_threads.c: Remove. * mips_sgi_mach_dep.S: Remove. * missing: Remove. * powerpc_macosx_mach_dep.s: Remove. * doc/Makefile.am: Remove. * doc/Makefile.in: Remove. From-SVN: r69880
Jeff Sturm committed -
2003-07-28 Phil Edwards <pme@gcc.gnu.org> * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html, docs/html/test.html, docs/html/17_intro/headers_cc.txt, docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change GLIBCPP to GLIBCXX (and explain as needed). From-SVN: r69879
Phil Edwards committed -
2003-07-28 Phil Edwards <pme@gcc.gnu.org> * README: Update. From-SVN: r69878
Phil Edwards committed -
2003-07-28 Phil Edwards <pme@gcc.gnu.org> * testsuite/22_locale/messages/members/char/1.cc, testsuite/22_locale/messages/members/char/2.cc, testsuite/22_locale/messages/members/char/3.cc, testsuite/22_locale/messages_byname/1.cc: Update comment regarding the origin of LOCALEDIR. * testsuite/lib/libstdc++-v3.exp: New file. From-SVN: r69877
Phil Edwards committed -
which included commits to RCS files with non-trunk default branches. From-SVN: r69875
Jeff Sturm committed -
From-SVN: r69872
Jeff Sturm committed -
* Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when creating target and build subdirs to build all parent dirs as needed. * Makefile.in: Rebuild. * configure.in: Don't build dirs explicitly here. * configure: Rebuild. From-SVN: r69871
Nathanael Nerode committed -
* fixinc/fixinc.svr4: Remove dead code. Remove now-unnecessary cleanup of junk after #else and #endif directives. Collapse repeated clauses into for statment. * fixinc/fixincl.sh: GNU C -> GCC. Add usage comment. From-SVN: r69870
Nathanael Nerode committed -
From-SVN: r69868
GCC Administrator committed -
* c-decl.c (struct c_scope): Remove keep_if_subblocks field. (keep_next_if_subblocks): Rename next_is_function_body. (pushlevel): Adjust commentary. Always set ->keep on the outermost level of a function. Don't set ->keep_if_subblocks. (poplevel): Adjust commentary. Don't look at ->keep_if_subblocks. (store_parm_decls): Adjust to match. (finish_function): Adjust to match. Call poplevel with all three arguments zero. From-SVN: r69865
Zack Weinberg committed
-
- 27 Jul, 2003 3 commits
-
-
From-SVN: r69864
Anthony Green committed -
* c-decl.c (store_parm_decls_newstyle, store_parm_decls_oldstyle): New functions split out of store_parm_decls. Avoid unnecessary work. Use local variables consistently. (store_parm_decls): Likewise. (finish_function): No need to set functionbody flag on call to poplevel. (struct language_function): Remove scope field. (c_push_function_context, c_pop_function_context): No need to save and restore current_scope. From-SVN: r69862
Zack Weinberg committed -
2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com> * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c: Create vbox and layout for GtkPlug. From-SVN: r69861
Thomas Fitzsimmons committed
-