Skip to content
Snippets Groups Projects
  1. Dec 19, 2006
  2. Dec 18, 2006
    • bje's avatar
      * config/spu/spu.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. · 4a8f24d8
      bje authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120020 138bc75d-0d04-0410-961f-82ee72b054a4
      4a8f24d8
    • bje's avatar
      * cse.c (cse_insn): Fix formatting. · 8b172e0e
      bje authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120019 138bc75d-0d04-0410-961f-82ee72b054a4
      8b172e0e
    • ghazi's avatar
      * gcc.dg/torture/builtin-pow-mpfr-1.c: New test. · 4990ac03
      ghazi authored
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120018 138bc75d-0d04-0410-961f-82ee72b054a4
      4990ac03
    • brooks's avatar
      * gfortran.dg/advance_3.f90: Add dg-do compile directive. · 1dbb88fe
      brooks authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120016 138bc75d-0d04-0410-961f-82ee72b054a4
      1dbb88fe
    • geoffk's avatar
      * doc/invoke.texi (Debugging Options): Document -g0. · 2faab767
      geoffk authored
      	* config/darwin.h (LINK_COMMAND_SPEC): Replace -gnone with -g0.
      	* config/darwin9.h (LINK_COMMAND_SPEC): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120013 138bc75d-0d04-0410-961f-82ee72b054a4
      2faab767
    • ian's avatar
      ./: · bac56573
      ian authored
      	* c.opt (Wmissing-declarations): Add C++ and ObjC++.
      	* doc/invoke.texi (Warning Options): -Wmissing-declarations now
      	works for C++.
      cp/:
      	* decl.c (start_preparsed_function): Add support for
      	-Wmissing-declarations.
      testsuite:
      	* g++.dg/warn/Wmissing-declarations-1.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120012 138bc75d-0d04-0410-961f-82ee72b054a4
      bac56573
    • sayle's avatar
      · 5f81e097
      sayle authored
      	* trans-array.c (gfc_conv_array_index_offset): Avoid multiplying
      	index by one, or adding zero to it.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120011 138bc75d-0d04-0410-961f-82ee72b054a4
      5f81e097
    • amacleod's avatar
      · dadb7503
      amacleod authored
      Add memory reuse to virtual operands in the operand scanner.
      
      
      2006-12-18  Andrew MacLeod  <amacleod@redhat.com>
      
      	* tree-ssa-operands.h (struct vdef_optype_d): Rename to voptype_d.
      	(struct vuse_optype_d): Delete.
      	(SSA_OPERAND_MEMORY_SIZE): Delete.
      	(struct ssa_operand_memory_d): Change mem array to size one.
      	(NUM_VOP_FREE_BUCKETS): Define.
      	(free_vuses, free_vdefs): Replace with vop_free_buckets array.
      	(vdef_ops, vuse_ops, struct ssa_operand_iterator_d): Use voptype_d type.
      	* tree-pretty-print.c (dump_vops): Use voptype_d type.
      	* tree-ssa-operands.c (vop_free_bucket_size): New.  Number of operands
      	which fit into a chunk of memory from a specific bucket.
      	(vop_free_bucket_index): New.  Find correct size memory bucket.
      	(init_vop_buckets): New.  Initialize VOP free memory buckets.
      	(add_vop_to_freelist): New.  Add a VOP to the correct free list.
      	(ssa_operand_mem_size): New.  Current size of an operand memory chunk.
      	(init_ssa_operands): Initialize operand memory and free lists.
      	(fini_ssa_operands): Remove references to free_vuses and free_vdefs.
      	(ssa_operand_alloc): Use graduated size memory allocation.
      	(APPEND_OP_AFTER, MOVE_HEAD_AFTER, MOVE_HEAD_TO_FREELIST, 
      	INITIALIZE_USE): Remove.
      	(alloc_vop): New.  Allocate a virtual operand.
      	(alloc_vdef, alloc_vuse): Delete.
      	(add_def_op, add_use_op): Directly setup pointers.
      	(add_vop): New.  Add a virtual operand.
      	(add_vuse_op, add_vdef_op): Call add_vop.
      	(realloc_vop): New.  Reallocate a virtual operand.
      	(realloc_vdef, realloc_vuse): Call realloc_vop.
      	(finalize_ssa_def_ops): Delete.  Move content to finalize_ssa_defs.
      	(finalize_ssa_defs): Optimize for common case, remove code based on
      	sorted pointers which was a waste of time.
      	(finalize_ssa_use_ops): Delete.  Move content to finalize_ssa_uses.
      	(finalize_ssa_uses): Update last pointer.
      	(finalize_ssa_vdef_ops): Delete.  Move content to finalize_ssa_vdefs.
      	(finalize_ssa_vdefs, finalize_ssa_vuse_ops): Use voptype_d and
      	directly manipulate pointers.
      	(copy_virtual_operands): Use voptype_d, and no need to update pointers.
      
      
      
      
      
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120009 138bc75d-0d04-0410-961f-82ee72b054a4
      dadb7503
    • megacz's avatar
      2006-12-18 Adam Megacz <megacz@cs.berkeley.edu> · d872f90c
      megacz authored
              * Makefile.am: remove @X_CFLAGS@ from AM_CXXFLAGS; it causes
              -I/usr/include to wind up in cross-builds
              * configure: Regenerate.
      
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120006 138bc75d-0d04-0410-961f-82ee72b054a4
      d872f90c
    • nathan's avatar
      * config/rs6000/rs6000.md (*movdf_hardfloat32): Use %X format to · c0e70de4
      nathan authored
      	determine if memory operand is an indexed address or not.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120003 138bc75d-0d04-0410-961f-82ee72b054a4
      c0e70de4
    • gccadmin's avatar
      Daily bump. · 5c9c91e9
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120000 138bc75d-0d04-0410-961f-82ee72b054a4
      5c9c91e9
  3. Dec 17, 2006
  4. Dec 16, 2006
    • andreast's avatar
      2006-12-16 Andreas Tobler <a.tobler@schweiz.org> · 14c14128
      andreast authored
      	* passes.c (verify_curr_properties): Define only for ENABLE_CHECKING.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119971 138bc75d-0d04-0410-961f-82ee72b054a4
      14c14128
    • hubicka's avatar
      * omp-low.c (expand_omp_parallel): Set function properties. · 80f94d49
      hubicka authored
      	* function.h (struct function): Add curr_properties and last_verified.
      	* passes.c (register_dump_files): Do not set TODO_set_props for the
      	first pass
      	(init_optimization_passes): Set it here; reorder initialization so the
      	dump files appear in more logical order.
      	(last_verified, curr_properties): Kill.
      	(do_per_function): New function.
      	(execute_function_todo): Break out from ...
      	(execute_todo): ... here; handle per-function flags.
      	(clear_last_verified, verify_curr_properties,
      	update_properties_after_pass): New functions.
      	(execute_one_pass): Handle per-function properties.
      	(execute_ipa_pass_list): Use do_per_function; sanity check that cfun
      	and current_function_decls are cleared out.
      	* ipa-cp.c (constant_val_insert): Clear cfun/current_function_decl
      	after use.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119966 138bc75d-0d04-0410-961f-82ee72b054a4
      80f94d49
    • paolo's avatar
      2006-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> · 9db626e9
      paolo authored
      	
      	* docs/html/27_io/howto.html: Fix typos.
      	* docs/html/24_iterators/howto.html: Likewise.
      	* docs/html/18_support/howto.html: Likewise.
      	* docs/html/21_strings/howto.html: Likewise.
      	* docs/html/ext/howto.html: Likewise.
      	* docs/html/ext/ballocator_doc.html: Likewise.
      	* docs/html/17_intro/porting-howto.xml: Likewise.
      	* docs/html/17_intro/howto.html: Likewise.
      	* docs/html/22_locale/howto.html: Likewise.
      	* docs/html/faq/index.html: Likewise.
      	* docs/doxygen/tables.html: Likewise.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119964 138bc75d-0d04-0410-961f-82ee72b054a4
      9db626e9
    • manu's avatar
      2006-12-16 Manuel Lopez-Ibanez <manu@gcc.gnu.org> · b321a57a
      manu authored
      	PR middle-end/7651
      	* c.opt (Wempty-body): New.
      	* doc/invoke.texi (Wempty-body): Document it.
      	(Wextra): Enabled by -Wextra.
      	* c-opts.c (c_common_post_options): Enabled by -Wextra.
      	* c-common.c (empty_body_warning): Replace Wextra with Wempty-body.
      	* c-parser.c (c_parser_c99_block_statement): Likewise.
      testsuite/
      	* gcc.dg/20001116-1.c: Replace -Wextra with -Wempty-body.
      	* gcc.dg/if-empty-1.c: Likewise.
      	* gcc.dg/pr23165.c: Likewise.
      	* g++.dg/warn/empty-body.C: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119963 138bc75d-0d04-0410-961f-82ee72b054a4
      b321a57a
    • simartin's avatar
      2006-12-16 Simon Martin <simartin@users.sourceforge.net> · 3369eb76
      simartin authored
      	PR c++/29475
      	* cp-tree.h (struct deferred_access_check): New structure to represent a
      	deferred access check. It replaces the previous representation as a tree.
      	(get_deferred_access_checks): Return a vector of struct
      	deferred_access_check instead of a tree list.
      	(perform_access_checks): Take a vector of struct deferred_access_check
      	instead of a tree list.
      	* semantics.c (struct deferred_access): Store the deferred access checks
      	as a vector of struct deferred_access_check instead of a tree list.
      	(push_deferring_access_checks): Handle the change in struct
      	deferred_access.
      	(get_deferred_access_checks): Likewise.
      	(pop_to_parent_deferring_access_checks): Likewise.
      	(perform_or_defer_access_check): Likewise.
      	(perform_access_checks): Take a vector of struct deferred_access_check
      	instead of a tree list.
      	* parser.c (struct tree_check): New structure to store various data
      	associated with a CPP_NESTED_NAME_SPECIFIER or CPP_TEMPLATE_ID token.
      	(struct cp_token): Changed the value field to be a union with a pointer to
      	a struct tree_check for CPP_NESTED_NAME_SPECIFIER or CPP_TEMPLATE_ID
      	tokens and a tree field for all other tokens.
      	(eof_token): Adjusted due to the change in struct cp_token.
      	(cp_lexer_get_preprocessor_token): Likewise.
      	(cp_lexer_purge_token): Likewise.
      	(cp_lexer_purge_tokens_after): Likewise.
      	(cp_lexer_print_token): Likewise.
      	(cp_parser_error): Likewise.
      	(cp_parser_identifier): Likewise.
      	(cp_parser_string_literal): Likewise.
      	(cp_parser_primary_expression): Likewise.
      	(cp_parser_unqualified_id): Likewise.
      	(cp_parser_parenthesized_expression_list): Likewise.
      	(cp_parser_storage_class_specifier_opt): Likewise.
      	(cp_parser_function_specifier_opt): Likewise.
      	(cp_parser_type_specifier): Likewise.
      	(cp_parser_simple_type_specifier): Likewise.
      	(cp_parser_initializer_list): Likewise.
      	(cp_parser_member_specification_opt): Likewise.
      	(cp_parser_attribute_list): Likewise.
      	(cp_parser_objc_expression): Likewise.
      	(cp_parser_objc_protocol_qualifiers): Likewise.
      	(cp_parser_objc_selector): Likewise.
      	(cp_parser_objc_declaration): Likewise.
      	(cp_parser_objc_statement): Likewise.
      	(cp_parser_omp_clause_name): Likewise.
      	(cp_parser_omp_clause_default): Likewise.
      	(cp_parser_omp_clause_schedule): Likewise.
      	(cp_parser_omp_parallel): Likewise.
      	(cp_parser_initial_pragma): Likewise.
      	(pragma_lex): Likewise.
      	(cp_parser_pre_parsed_nested_name_specifier): Likewise.
      	(cp_parser_nested_name_specifier_opt): Likewise.
      	Use cp_token::u::tree_check_value to save the token's value, the
      	associated deferred checks and its qualifying scope.
      	(cp_parser_template_id): Likewise.
      	(cp_parser_template_declaration_after_export): Adjusted the call to
      	get_deferred_access_checks.
      	(cp_parser_init_declarator): Take the access checks as a vector of struct
      	deferred_access_check instead of a tree list.
      	(cp_parser_single_declaration): Likewise.
      	(cp_parser_perform_template_parameter_access_checks): Likewise.
      	(cp_parser_simple_declaration): Adjusted the call to
      	cp_parser_init_declarator.
      	(cp_parser_explicit_specialization): Adjusted the call to
      	cp_parser_single_declaration.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119961 138bc75d-0d04-0410-961f-82ee72b054a4
      3369eb76
    • jvdelisle's avatar
      2006-12-15 Jerry DeLisle <jvdelisle@gcc.gnu.org> · 76fdb388
      jvdelisle authored
      	PR libfortran/30005
      	* gfortran.dg/open_errors.f90: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119960 138bc75d-0d04-0410-961f-82ee72b054a4
      76fdb388
    • hjl's avatar
      2006-12-15 H.J. Lu <hongjiu.lu@intel.com> · 72cb750e
      hjl authored
      	* gcc.dg/i386-cpuid.h (bit_SSSE3): New.
      
      	* gcc.target/i386/ssse3-pabsb.c: New file.
      	* gcc.target/i386/ssse3-pabsd.c: Likewise.
      	* gcc.target/i386/ssse3-pabsw.c: Likewise.
      	* gcc.target/i386/ssse3-palignr.c: Likewise.
      	* gcc.target/i386/ssse3-phaddd.c: Likewise.
      	* gcc.target/i386/ssse3-phaddsw.c: Likewise.
      	* gcc.target/i386/ssse3-phaddw.c: Likewise.
      	* gcc.target/i386/ssse3-phsubd.c: Likewise.
      	* gcc.target/i386/ssse3-phsubsw.c: Likewise.
      	* gcc.target/i386/ssse3-phsubw.c: Likewise.
      	* gcc.target/i386/ssse3-pmaddubsw.c: Likewise.
      	* gcc.target/i386/ssse3-pmulhrsw.c: Likewise.
      	* gcc.target/i386/ssse3-pshufb.c: Likewise.
      	* gcc.target/i386/ssse3-psignb.c: Likewise.
      	* gcc.target/i386/ssse3-psignd.c: Likewise.
      	* gcc.target/i386/ssse3-psignw.c: Likewise.
      	* gcc.target/i386/ssse3-vals.h: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119958 138bc75d-0d04-0410-961f-82ee72b054a4
      72cb750e
Loading