1. 09 Jun, 2005 7 commits
    • gjavah.c (error): Add ATTRIBUTE_PRINTF_1. · 74118f15
      	* gjavah.c (error): Add ATTRIBUTE_PRINTF_1.
      	* java-tree.h (parse_error_context): Move...
      	* parse.h (parse_error_context): ... here, add ATTRIBUTE_GCC_DIAG.
      	* parse.y (parse_warning_context): Add ATTRIBUTE_GCC_DIAG.
      	* verify-impl.c (debug_print): Add ATTRIBUTE_PRINTF_1.
      
      From-SVN: r100795
      Kaveh R. Ghazi committed
    • re PR tree-optimization/20610 (Real by complex multiplications perform unnecessary operations) · e41d82f5
              PR tree-opt/20610
              * tree.h (DECL_COMPLEX_GIMPLE_REG_P): New.
              (struct tree_decl): Add gimple_reg_flag.
              * integrate.c (copy_decl_for_inlining): Copy it.
              * gimplify.c (internal_get_tmp_var): Set it.
              (gimplify_bind_expr): Likewise.
              (gimplify_function_tree): Likewise.
              (gimplify_modify_expr_complex_part): New.
              (gimplify_modify_expr): Use it.
              * tree-gimple.c (is_gimple_reg_type): Allow complex.
              (is_gimple_reg): Allow complex with DECL_COMPLEX_GIMPLE_REG_P set.
      
              * tree-complex.c (complex_lattice_t): New.
              (complex_lattice_values, complex_variable_components): New.
              (some_nonzerop, find_lattice_value, is_complex_reg,
              init_parameter_lattice_values, init_dont_simulate_again,
              complex_visit_stmt, complex_visit_phi, create_components,
              update_complex_components, update_parameter_components,
              update_phi_components, update_all_vops, expand_complex_move): New.
              (extract_component): Handle INDIRECT_REF, COMPONENT_REF, ARRAY_REF,
              SSA_NAME.
              (update_complex_assignment): Use update_complex_components;
              handle updates of return_expr properly.
              (expand_complex_addition): Use complex lattice values.
              (expand_complex_multiplication): Likewise.
              (expand_complex_division): Likewise.
              (expand_complex_libcall): Use update_complex_components.
              (expand_complex_comparison): Use update_stmt.
              (expand_complex_operations_1): Use expand_complex_move, retrieve
              lattice values.
              (tree_lower_complex): Compute lattice values.
              (tree_lower_complex_O0): Duplicate from tree_lower_complex.
              (pass_lower_complex_O0): Rename from pass_lower_complex.
              (pass_lower_complex, gate_no_optimization): New.
              * tree-optimize.c (init_tree_optimization_passes): Update for
              complex pass changes.
              * tree-pass.h (pass_lower_complex_O0): Declare.
      
      From-SVN: r100793
      Richard Henderson committed
    • darwin.c (darwin_binds_local_p): New. · 31920d83
      2005-06-08  Dale Johannesen  <dalej@apple.com>
      
              * config/darwin.c (darwin_binds_local_p):  New.
              * config/darwin-protos.h (darwin_binds_local_p):  Declare it.
              * config/i386/i386.c (TARGET_BINDS_LOCAL_P):  Use it for TARGET_MACHO.
              * config/rs6000/rs6000.c (rs6000_binds_local_p):  Remove.
              (TARGET_BINDS_LOCAL_P):  Change it to darwin_binds_local_p.
      
      From-SVN: r100792
      Dale Johannesen committed
    • Daily bump. · db55b260
      [[Split portion of a mixed commit.]]
      
      From-SVN: r100789.2
      GCC Administrator committed
    • Add PR number to ChangeLog entry. · 429f766f
      From-SVN: r100786
      Bryce McKinlay committed
    • RMIClassLoader.java (getClassLoader): Make public. · e8050c0c
      	* java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
      	From Gary Benson.
      
      From-SVN: r100785
      Bryce McKinlay committed
  2. 08 Jun, 2005 29 commits
  3. 07 Jun, 2005 4 commits
    • i386.h (enum ix86_entity): New. · ff680eb1
      2005-06-07  Uros Bizjak  <uros@kss-loka.si>
      
      	* config/i386/i386.h (enum ix86_entity): New.
      	(enum ix86_stack_slot): New.
      	(OPTIMIZE_MODE_SWITCHING): Redefine to use
      	ix86_optimize_mode_switching[] array.
      	(NUM_MODES_FOR_MODE_SWITCHING): Redefine for 4 entities.
      	(MODE_NEEDED): Use ix86_mode_needed() function.
      	(EMIT_MODE_SET): Redefine for changed emit_i387_cw_initialization ()
      	function.
      	(struct machine_function): Use optimize_mode_switching[] array.
      
      	* config/i386/i386.c (MAX_386_STACK_LOCALS): Remove.
      	(ix86_mode_needed): New function.
      	(emit_i387_cw_initialization): Cleanup. Use mode to calculate
      	correct stack positions for stored control words.
      	(assign_386_stack_local): Use enum ix86_stack_slot. Change assert.
      	(ix86_expand_builtin) [IX86_BUILTIN_LDMXCSR]: Change constant to
      	SLOT_TEMP.
      	[IX86_BUILTIN_STMXCSR]: Same.
      
      	* config/i386/i386-protos.h (assign_stack_local): Change prototype.
      	(emit_i387_cw_initialization): Change prototype.
      	(ix86_mode_needed): New prototype.
      
      	* config/i386/i386.md (i387_cw attribute): Change order of elements.
      	(truncdfsf2, truncxfsf2, truncxfdf2, fix_trunc<mode>_fisttp_i387_1)
      	(*fix_trunc<mode>_i387_1, lrint<mode>2, *fist<mode>2_floor_1)
      	(*fist<mode>2_ceil_1): Change constant in call to
      	assign_386_stack_local to SLOT_TEMP.
      	(*fix_trunc<mode>_i387_1): Change constant in call to
      	assign_386_stack_local to SLOT_CW_STORED and SLOT_CW_TRUNC.
      	Use new ix86_optimize_mode_switching[] array.
      	(frndintxf2_floor, *fist<mode>2_floor_1): Change constants in call to
      	assign_386_stack_local to SLOT_CW_STORED and SLOT_CW_FLOOR.
      	Use new ix86_optimize_mode_switching[] array.
      	(frndintxf2_ceil, *fist<mode>2_ceil_1):  Change constants in call to
      	assign_386_stack_local to SLOT_CW_STORED and SLOT_CW_CEIL.
      	Use new ix86_optimize_mode_switching[] array.
      	(frndintxf2_trunc): Change constants in call to
      	assign_386_stack_local to SLOT_CW_STORED and SLOT_CW_TRUNC.
      	Use new ix86_optimize_mode_switching[] array.
      	(frndintxf2_mask_pm): Change constants in call to
      	assign_386_stack_local to SLOT_CW_STORED and SLOT_CW_MASK_PM.
      	Use new ix86_optimize_mode_switching[] array.
      
      	(define_peephole2): Change constant from 17 to FLAGS_REG;
      
      From-SVN: r100732
      Uros Bizjak committed
    • re PR rtl-optimization/21528 (Boost shared_ptr_test.cpp fails with -O3) · 3b009185
              PR rtl-opt/21528
              * rtlanal.c (reg_overlap_mentioned_p) <MEM>: Handle 'E' formats.
      
      From-SVN: r100730
      Richard Henderson committed
    • 20050607-1.c: New. · e4cd04f4
      2005-06-07  Dale Johannesen  <dalej@apple.com>
      
              * gcc.dg/20050607-1.c:  New.
      
      From-SVN: r100729
      Dale Johannesen committed
    • tree-nested.c (finalize_nesting_tree_1): Disable warn_padded around layout_type call. · 022a8174
      2005-06-07  Dale Johannesen  <dalej@apple.com>
      
              * tree-nested.c (finalize_nesting_tree_1):  Disable
              warn_padded around layout_type call.
      
      From-SVN: r100728
      Dale Johannesen committed