Skip to content
Snippets Groups Projects
  1. Jul 18, 2003
    • Kazu Hirata's avatar
      combine.c (simplify_comparison): Don't share rtx when converting (ne (and (not... · e5686da7
      Kazu Hirata authored
      combine.c (simplify_comparison): Don't share rtx when converting (ne (and (not X) 1) 0) to (eq (and X 1) 0).
      
      	* combine.c (simplify_comparison): Don't share rtx when converting
      	(ne (and (not X) 1) 0) to (eq (and X 1) 0).
      
      From-SVN: r69571
      e5686da7
    • David Edelsohn's avatar
      aix.h (AGGREGATE_PADDING_FIXED): Define. · 8d05ebaa
      David Edelsohn authored
      	* config/rs6000/aix.h (AGGREGATE_PADDING_FIXED): Define.
      	(AGGREGATES_PAD_UPWARD_ALWAYS): Define.
      	(MUST_PASS_IN_STACK): Define.
      	(BLOCK_REG_PADDING): Define.
      
      From-SVN: r69570
      8d05ebaa
    • Richard Henderson's avatar
      cfgrtl.c (force_nonfallthru_and_redirect): Use tablejump_p to skip the addr_vec. · 79019985
      Richard Henderson authored
              * cfgrtl.c (force_nonfallthru_and_redirect): Use tablejump_p
              to skip the addr_vec.
      
      From-SVN: r69569
      79019985
    • Graydon Hoare's avatar
      gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Handle missing event cases, connect... · cecc892a
      Graydon Hoare authored
      gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Handle missing event cases, connect to "value-changed" signal.
      
      2003-07-18  Graydon Hoare  <graydon@redhat.com>
      
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
      	Handle missing event cases, connect to "value-changed" signal.
      
      From-SVN: r69568
      cecc892a
    • Graydon Hoare's avatar
      [ ChangeLog ] · 9e508cc4
      Graydon Hoare authored
      2003-07-18  Graydon Hoare  <graydon@redhat.com>
      
      	* java/awt/geom/CubicCurve2D.java,
      	java/awt/geom/Line2D.java,
      	java/awt/geom/QuadCurve2D.java,
      	java/awt/geom/Rectangle2D.java:
      	Fix path some calculations, make path iterators follow
      	a consistent style.
      
      From-SVN: r69567
      9e508cc4
    • Alexandre Oliva's avatar
      combine.c (combinable_i3pat): Don't forbid occurrences of i2dest or i1dest in... · 0595d388
      Alexandre Oliva authored
      combine.c (combinable_i3pat): Don't forbid occurrences of i2dest or i1dest in inner_dest if inner_dest is a mem.
      
      * combine.c (combinable_i3pat): Don't forbid occurrences of
      i2dest or i1dest in inner_dest if inner_dest is a mem.
      
      From-SVN: r69566
      0595d388
    • Nathan Sidwell's avatar
      changelog for previous patch · d54b5957
      Nathan Sidwell authored
      From-SVN: r69565
      d54b5957
    • Nathan Sidwell's avatar
      cp-tree.h (finish_non_static_data_member): Add object param. · a3f10e50
      Nathan Sidwell authored
      cp:
      	* cp-tree.h (finish_non_static_data_member): Add object param.
      	* method.c (hack_identifier): Adjust.
      	* pt.c (tsubst_copy_and_build) <COMPONENT_REF case>: Don't search
      	again for a FIELD_DECL.
      	* semantics.c (finish_non_static_data_member): Add object
      	parameter. Always save the DECL in the COMPONENT_REF.
      	* call.c (resolve_scoped_fn_name): Adjust.
      testsuite:
      	* g++.dg/parse/non-dependent2.C: New test.
      
      From-SVN: r69564
      a3f10e50
    • Mark Wielaard's avatar
      Handler.java (isLoggable): Check record level smaller or equal. · c26052b0
      Mark Wielaard authored
      2003-07-18  Mark Wielaard  <mark@klomp.org>
      
      	* java/util/logging/Handler.java (isLoggable): Check record level
      	smaller or equal.
      
      From-SVN: r69563
      c26052b0
    • Jan Hubicka's avatar
      * cgraph.c (cgraph_remove_node): Clear the hash table slot. · 2ee1067b
      Jan Hubicka authored
      From-SVN: r69562
      2ee1067b
    • Andreas Jaeger's avatar
      Fix last checkin to commit right version of file. · 580e7bf3
      Andreas Jaeger authored
      From-SVN: r69560
      580e7bf3
    • Andrew Pinski's avatar
      init-ref4.C: xfail on targets without weak symbols. · 1fd0cd42
      Andrew Pinski authored
      2003-07-18  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * g++.dg/init/init-ref4.C: xfail on targets without
              weak symbols.
      
      From-SVN: r69558
      1fd0cd42
    • Jakub Jelinek's avatar
      re PR target/11087 (gcc miscompiles raid1.c from linux kernel) · 16f6812f
      Jakub Jelinek authored
      	PR target/11087
      	* loop.c (basic_induction_var): Check if convert_modes emitted any
      	instructions. Remove them and return 0 if so.
      
      	* gcc.c-torture/execute/20030717-1.c: New test.
      
      From-SVN: r69552
      16f6812f
    • Andreas Jaeger's avatar
      baseline_symbols.txt: New file. · 2d5f9af2
      Andreas Jaeger authored
      	* config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
      	* config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
      	* config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
      	* config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
      
      [[Split portion of a mixed commit.]]
      
      From-SVN: r69550.2
      2d5f9af2
    • Andreas Jaeger's avatar
      baseline_symbols.txt: New file. · c3f2c61e
      Andreas Jaeger authored
      	* config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
      	* config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
      	* config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
      	* config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
      
      From-SVN: r69548
      c3f2c61e
    • Eric Botcazou's avatar
      toplev.c (rest_of_handle_addresof): Rename into rest_of_handle_addressof. · f129791c
      Eric Botcazou authored
      	* toplev.c (rest_of_handle_addresof): Rename into
      	rest_of_handle_addressof.  Delete unreachable blocks
      	if dead edges were purged after the addressof pass.
      
      From-SVN: r69545
      f129791c
    • Neil Booth's avatar
      Makefile.in, [...]: Remove handling of lang-options.h and options_.h. · b2e608ca
      Neil Booth authored
      	* Makefile.in, configure, configure.in: Remove handling of
      	lang-options.h and options_.h.
      	* toplev.c (struct lang_opt, documented_lang_options): Remove.
      	(display_help): Don't use documented_lang_options.
      ada:
      	* lang-options.h: Remove.
      	* lang.opt: Add help text.
      java:
      	* lang-options.h: Remove.
      	* lang.opt: Add help text.
      
      From-SVN: r69544
      b2e608ca
    • Zack Weinberg's avatar
      c-decl.c (pushdecl_function_level): Make static, return nothing. · 9cd51ef6
      Zack Weinberg authored
      	* c-decl.c (pushdecl_function_level): Make static, return nothing.
      	(kept_level_p): Fold into poplevel.
      	(undeclared_variable): Moved here from c-typeck.c.  Export.
      	* c-tree.h (KEEP_YES, KEEP_NO, KEEP_MAYBE): New #defines.
      	(undeclared_variable): Prototype here.  Don't prototype
      	kept_level_p nor pushdecl_function_level.
      	* c-parse.in: Change first argument to poplevel from
      	"kept_level_p()" to "KEEP_MAYBE".
      	* c-typeck.c (undeclared_variable): Moved to c-decl.c.
      
      From-SVN: r69540
      9cd51ef6
    • Roger Sayle's avatar
      simplify-rtx.c (simplify_rtx): Use simplify_gen_binary to swap commutative... · cf6bcbd0
      Roger Sayle authored
      simplify-rtx.c (simplify_rtx): Use simplify_gen_binary to swap commutative operands instead of modifying the...
      
      
      	* simplify-rtx.c (simplify_rtx): Use simplify_gen_binary to swap
      	commutative operands instead of modifying the RTL in-place.
      
      From-SVN: r69539
      cf6bcbd0
    • Mark Mitchell's avatar
      re PR rtl-optimization/11557 (constant folding) · 2b187c63
      Mark Mitchell authored
      	PR optimization/11557
      	* calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK
      	unless we know which function is being called.
      
      	PR optimization/11557
      	* gcc.dg/20030717-1.c: New test.
      
      From-SVN: r69538
      2b187c63
    • Benjamin Kosnik's avatar
      linker-map.gnu: Add __moneypunct_cache, __timepunct_cache. · fea4065d
      Benjamin Kosnik authored
      2003-07-17  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
      	* config/locale/generic/messages_members.h: Tweaks.
      	* config/locale/generic/monetary_members.cc
      	(moneypunct::_M_initialize_moneypunct): Use cache.
      	(moneypunct::~moneypunct): Delete cache.
      	* config/locale/generic/time_members.cc:
      	(__timepunct::_M_initialize_timepunct): Use cache.
      	* config/locale/generic/time_members.h:
      	(__timepunct::~__timepunct): Delete cache.
      	(__timepunct::__timepunct): Set cache.
      	* config/locale/gnu/messages_members.h: Tweaks.
      	* config/locale/gnu/monetary_members.cc:
      	(moneypunct::_M_initialize_moneypunct): Use cache.
      	(moneypunct::~moneypunct): Delete cache.
      	* config/locale/gnu/time_members.cc:
      	(__timepunct::_M_initialize_timepunct): Use cache.
      	* config/locale/gnu/time_members.h:
      	(__timepunct::~__timepunct): Delete cache.
      	(__timepunct::__timepunct): Set cache.
      	* include/bits/locale_facets.h (__timepunct_cache): New.
      	(__moneypunct_cache): New.
      	* include/bits/locale_facets.tcc: Tweak.
      	* src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
      	* src/locale-inst.cc: Instantiate caches.
      	* src/globals.cc: Add "C" caches.
      	* src/localename.cc: Use external "C" caches.
      
      From-SVN: r69535
      fea4065d
    • Roger Sayle's avatar
      cse.c (fold_rtx): Use swap_commutative_operands_p to determine whether to... · c715abdd
      Roger Sayle authored
      cse.c (fold_rtx): Use swap_commutative_operands_p to determine whether to reorder the operands of...
      
      
      	* cse.c (fold_rtx): Use swap_commutative_operands_p to determine
      	whether to reorder the operands of a commutative binary operator.
      
      From-SVN: r69534
      c715abdd
    • Roger Sayle's avatar
      fold-const.c (const_binop): Avoid performing the FP operation at compile-time... · 3e4093b6
      Roger Sayle authored
      	* fold-const.c (const_binop): Avoid performing the FP operation at
      	compile-time, if either operand is NaN and we honor signaling NaNs,
      	or if we're dividing by zero and either flag_trapping_math is set
      	or the desired mode doesn't support infinities.
      	(fold_initializer): New function to fold an expression ignoring any
      	potential run-time exceptions or traps.
      	* tree.h (fold_initializer): Prototype here.
      	* c-typeck.c (build_binary_op): Move to the end of the file so
      	that intializer_stack is in scope.  If constructing an initializer,
      	i.e. when initializer_stack is not NULL, use fold_initializer to
      	fold expressions.
      	* simplify-rtx.c (simplify_binary_operation): Likewise, avoid
      	performing FP operations at compile-time, if they would raise an
      	exception at run-time.
      
      From-SVN: r69533
      3e4093b6
    • GCC Administrator's avatar
      Daily bump. · 35c77862
      GCC Administrator authored
      From-SVN: r69531
      35c77862
  2. Jul 17, 2003
    • Andrew Pinski's avatar
      Andrew Pinski <pinskia@physics.uc.edu> · bf88d870
      Andrew Pinski authored
              PR c++/10476
              * g++.dg/expr/crash-1.C: New test.
      
              PR c++/11027
              * g++.dg/template/init3.C: New test.
      
              PR c++/8222
              * g++.dg/template/non-dependent1.C: New test.
      
              PR c++/11070
              * g++.dg/template/non-dependent2.C: New test.
      
              PR c++/11071
              * g++.dg/template/non-dependent3.C: New test.
      
              PR c++/9907
              * g++.dg/template/sizeof5.C: New test.
      
      From-SVN: r69529
      bf88d870
    • Geoffrey Keating's avatar
      re PR middle-end/11498 (asm can't be used to give a variable its own name) · 26e0dcb3
      Geoffrey Keating authored
      	PR 11498
      	* Makefile.in (c-opts.o): Add $(LANGHOOKS_DEF_H).
      	(langhooks.o): Add $(GGC_H), gt-langhooks.h.
      	(GTFILES): Add langhooks.c.
      	(gt-langhooks.h): New.
      	* c-common.h (c_static_assembler_name): Prototype.
      	* c-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
      	* objc/objc-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
      	* c-opts.c: Include langhooks-def.h.
      	(c_static_assembler_name): New.
      	* langhooks.c: Include ggc.h.  Include gt-langhooks.h.
      	(var_labelno): New.
      	(lhd_set_decl_assembler_name): Give static objects with context
      	unique names.
      	* varasm.c (var_labelno): Delete.
      	(make_decl_rtl): Don't change the assembler name once it's set.
      
      From-SVN: r69527
      26e0dcb3
    • Geoffrey Keating's avatar
      c-opts.c (this_input_filename): New. · 89e9faee
      Geoffrey Keating authored
      	* c-opts.c (this_input_filename): New.
      	(finish_options): Take new parameter, name of file being compiled.
      	Update callers.  Set this_input_filename.
      	(push_command_line_include): Use this_input_filename not
      	main_input_filename.
      
      From-SVN: r69526
      89e9faee
    • Zack Weinberg's avatar
      objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to c_write_global_declarations. · 36c6d174
      Zack Weinberg authored
      	* objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to
      	c_write_global_declarations.
      
      From-SVN: r69525
      36c6d174
    • Neil Booth's avatar
      Makefile.in: Depend .pot generation on options.c. · 6ec3f553
      Neil Booth authored
      	* Makefile.in: Depend .pot generation on options.c.
      	* po/exgettext: Add an extra_files variable containing additional
      	files to scan.
      
      From-SVN: r69524
      6ec3f553
    • Michael Koch's avatar
      GtkToolkit.java: Reworked imports. · 3aefaf22
      Michael Koch authored
      2003-07-17  Michael Koch  <konqueror@gmx.de>
      
      	* gnu/java/awt/peer/gtk/GtkToolkit.java:
      	Reworked imports.
      
      From-SVN: r69522
      3aefaf22
    • Zack Weinberg's avatar
      Missed this hunk - belongs with the previous patch · b92ef8fd
      Zack Weinberg authored
      From-SVN: r69521
      b92ef8fd
    • Zack Weinberg's avatar
      c-decl.c: Fix typos in several comments. · eb1dfbb2
      Zack Weinberg authored
      	* c-decl.c: Fix typos in several comments.  Remove all
      	#if 0 blocks; reindent as needed.  Remove unused argument
      	to declare_parm_level; all callers changed.
      	* c-parse.in: Update calls to declare_parm_level.  Avoid
      	issuing a double warning in some circumstances.
      	* c-typeck.c: Update calls to declare_parm_level.
      	* c-tree.h: Update prototype of declare_parm_level.
      
      	* c-pragma.c (apply_pragma_weak): Don't complain about a
      	redundant #pragma weak.
      
      	* objc/objc-act.c (forward_declare_categories,
      	build_selector_reference_decl, build_class_reference_decl,
      	build_objc_string_decl, synth_forward_declarations,
      	build_protocol_reference): Set TREE_PUBLIC on synthetic
      	forward decl to 0, consistent with eventual definition.
      	Correct comments to match.
      
      cp:
      	* pt.c (get_bindings): Make definition consistent with
      	forward declaration.
      
      From-SVN: r69519
      eb1dfbb2
    • Zack Weinberg's avatar
      inclhack.def (solaris_mutex_init_2): Escape braces in regexp that don't form a range expression. · 78ff95dc
      Zack Weinberg authored
      	* fixinc/inclhack.def (solaris_mutex_init_2): Escape braces
      	in regexp that don't form a range expression.
      	* fixinc/fixincl.def: Regenerate.
      
      From-SVN: r69517
      78ff95dc
    • Richard Henderson's avatar
      re PR target/10907 ([IA64] gcc violates the ia64 ABI) · b23ba0b8
      Richard Henderson authored
              PR target/10907
              * config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end
              even with !TARGET_CONST_GP.
              (ia64_function_ok_for_sibcall): Reject non-local functions.
      
      From-SVN: r69515
      b23ba0b8
    • Kriang Lerdsuwanakij's avatar
      Fix typo in date · 2a39bedb
      Kriang Lerdsuwanakij authored
      From-SVN: r69514
      2a39bedb
    • Kriang Lerdsuwanakij's avatar
      re PR c++/7809 (befriending inaccessible names) · 41c5ee06
      Kriang Lerdsuwanakij authored
      	PR c++/7809
      	* friend.c (add_friend): Check access for member functions
      	and templates.
      
      	* g++.dg/parse/access3.C: New test.
      
      From-SVN: r69513
      41c5ee06
    • Phil Edwards's avatar
      guide.html: Fix typo. · 83a279e4
      Phil Edwards authored
      2003-07-17  Phil Edwards  <pme@gcc.gnu.org>
      
      	* docs/doxygen/guide.html:  Fix typo.
      
      From-SVN: r69512
      83a279e4
    • Steven Bosscher's avatar
      c-common.c (c_estimate_num_insns_1): Don't handle METHOD_CALL_EXPR. · d944c82d
      Steven Bosscher authored
      2003-07-17  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* c-common.c (c_estimate_num_insns_1): Don't handle
      	METHOD_CALL_EXPR.
      	* expr.c (safe_from_p): Likewise.
      	* gengtype.c (adjust_field_tree_exp): Likewise.
      	* stmt.c (warn_if_unused_value): Likewise
      	* tree.c (first_rtl_op): Likewise.
      	* tree.def: Don't define METHOD_CALL_EXPR.
      	* java/lang.c (java_estimate_num_insns_1): Don't handle
      	METHOD_CALL_EXPR.
      
      From-SVN: r69511
      d944c82d
    • Andrew Pinski's avatar
      re PR c++/11384 (missing implicit instantiation of template static members) · d424f7ff
      Andrew Pinski authored
      2003-06-17  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR c++/11384
              * g++.dg/init/init-ref4.C: New test.
      
      From-SVN: r69510
      d424f7ff
    • Gabriel Dos Reis's avatar
      re PR c++/10668 (assigning address of non-static member variable to pointer) · ef292d4f
      Gabriel Dos Reis authored
      	PR c++/10668
      	* typeck.c (build_class_member_access_expr): Improve diagnostic.
      
      From-SVN: r69509
      ef292d4f
Loading