- 30 Sep, 2010 40 commits
-
-
2010-08-17 Riyadh Baghdadi <baghdadi.mr@gmail.com> * graphite-poly.c (init_graphite_out_file): New. (init_graphite_in_file): New. (apply_poly_transforms): Updated to enable reading and writing of multiple scop files. * toplev.c (init_asm_output): Remove graphite in/out file initialization. From-SVN: r164781
Riyadh Baghdadi committed -
2010-08-17 Tobias Grosser <grosser@fim.uni-passau.de> * graphite-scop-detection.c (graphite_can_represent_scev): Remove redundant checks. From-SVN: r164780
Sebastian Pop committed -
2010-08-12 Sebastian Pop <sebastian.pop@amd.com> * graphite-clast-to-gimple.c (precision_for_value): Adjust computation of precision by 1. From-SVN: r164779
Sebastian Pop committed -
2010-08-12 Riyadh Baghdadi <baghdadi.mr@gmail.com> * graphite-cloog-util.c (openscop_read_cloog_matrix): New. (openscop_read_polyhedron_matrix): New. * graphite-cloog-util.h (openscop_read_polyhedron_matrix): Declared. (openscop_read_N_int): Same. * graphite-poly.c (openscop_read_N_int): New. (openscop_read_one_int): New. (openscop_read_N_string): New. (openscop_read_one_string): New. (openscop_read_powerset_matrix): New. (graphite_read_transforms): Remove. (graphite_read_scatt): New. (graphite_read_scop_file): New. (apply_poly_transforms): Updated to call graphite_read_scop_file. From-SVN: r164778
Riyadh Baghdadi committed -
2010-08-11 Andreas Simbuerger <simbuerg@fim.uni-passau.de> * graphite-poly.c: Change include order. From-SVN: r164777
Andreas Simbuerger committed -
2010-08-11 Andreas Simbuerger <simbuerg@fim.uni-passau.de> * graphite-cloog-compat.h (cloog_matrix_ncolumns): New. (cloog_matrix_nrows): New. From-SVN: r164776
Andreas Simbuerger committed -
2010-08-11 Riyadh Baghdadi <baghdadi.mr@gmail.com> * graphite-cloog-util.c (openscop_print_cloog_matrix): Remove spaces from matrix lines. * graphite-poly.c (openscop_print_scattering_function_1): Same. (print_scattering_function_1): Same. (openscop_print_pbb_domain): Same. (openscop_print_scop_context): Same. (print_scop_context): Same. From-SVN: r164775
Riyadh Baghdadi committed -
2010-08-11 Riyadh Baghdadi <baghdadi.mr@gmail.com> * graphite-poly.c (openscop_print_pdr_polyhedron): Fix indentation. (openscop_print_pdr_polyhedron): Print pph. From-SVN: r164774
Riyadh Baghdadi committed -
2010-07-29 Sebastian Pop <sebastian.pop@amd.com> * gcc.dg/graphite/graphite.exp: Add compile rules for vect-* files. * gfortran.dg/graphite/graphite.exp: Same. * gcc.dg/graphite/vect-pr43423.c: New. From-SVN: r164773
Sebastian Pop committed -
2010-07-29 Sebastian Pop <sebastian.pop@amd.com> * graphite-clast-to-gimple.c (gcc_type_for_interval): Generate in priority signed types. From-SVN: r164772
Sebastian Pop committed -
2010-07-29 Sebastian Pop <sebastian.pop@amd.com> * graphite-clast-to-gimple.c (max_signed_precision_type): Remove the call to lang_hooks.types.type_for_size. Call build_nonstandard_integer_type. From-SVN: r164771
Sebastian Pop committed -
2010-07-29 Riyadh Baghdadi <baghdadi.mr@gmail.com> * graphite-cloog-util.c (openscop_print_cloog_matrix): New. (openscop_print_polyhedron_matrix): New. * graphite-cloog-util.h (openscop_print_polyhedron_matrix): Declared. * graphite-poly.c (openscop_print_pdr_polyhedron): Same. (openscop_print_pdr_powerset): New. (openscop_print_powerset_matrix): New. (openscop_print_scattering_function_1): New. (print_scattering_function): Add support for scattering names and OpenScop format. (graphite_write_transforms): Remove. (apply_poly_transforms): Updated to call print_scop. (print_pdr_access_layout): Updated to support OpenScop format. (print_pdr): Same. (openscop_print_pbb_domain): New. (print_pbb_body): Added a parameter to allow indicating that pbb_body is not provided. (print_pbb): Updated to call the new print_pbb_body. (openscop_print_scop_context): New. (print_scop_header): New. (print_scop): Updated to call print_scop_header. * graphite-poly.h: Document OpenScop format. From-SVN: r164770
Riyadh Baghdadi committed -
From-SVN: r164769
Eric Botcazou committed -
* config/cris/m32c.c (cris_memory_move_cost): New. (cris_register_move_cost): Make static. Change arguments type from enum reg_class to reg_class_t. (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define. * config/cris/cris.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. * config/cris/cris-protos.h (cris_register_move_cost): Remove. From-SVN: r164768
Anatoly Sokolov committed -
PR target/45843 * config/i386/i386.c (ix86_gimplify_va_arg): Use INTVAL (XEXP (slot, 1)) as prev_size. * g++.dg/torture/pr45843.C: New test. From-SVN: r164766
Jakub Jelinek committed -
2010-09-30 Janus Weil <janus@gcc.gnu.org> PR fortran/45828 * resolve.c (resolve_allocate_expr): Do not use 'gfc_has_default_initializer'. 2010-09-30 Janus Weil <janus@gcc.gnu.org> PR fortran/45828 * gfortran.dg/allocate_derived_5.f90: New. From-SVN: r164765
Janus Weil committed -
From-SVN: r164764
Michael Meissner committed -
2010-09-30 Tobias Burnus <burnus@net-b.de> * gfortran.tex (Fortran 2008 status): Update list of implemented features. From-SVN: r164763
Tobias Burnus committed -
From-SVN: r164762
Jakub Jelinek committed -
PR tree-optimization/31261 * fold-const.c (fold_binary): Optimize ((A & N) + B) & M for constants M and N, M == (1LL << cst) - 1 && (N & M) == M. * gcc.dg/tree-ssa/pr31261.c: New test. From-SVN: r164761
Jakub Jelinek committed -
/: PR bootstrap/45796 * Makefile.def (info-gcc, dvi-gcc, pdf-gcc, html-gcc): Depend on all-build-libiberty. * Makefile.in: Regenerate. From-SVN: r164760
Ralf Wildenhues committed -
gcc/: PR bootstrap/45796 * Makefile.in (build/gen%$(build_exeext)): Move rule after all special-casing for generators and turn into ... ((genprog:%=build/gen%$(build_exeext))): ... this static pattern rule, for better error messages in case of toplevel dependency errors. (genprog): Add hooks, rename to ... (genprogerr): ... this, and let genprog also contain check, checksum, condmd. ((genprog:%=build/gen%$(build_exeext))): Rename to ... ((genprogerr:%=build/gen%$(build_exeext))): ... this. (build/genhooks$(build_exeext)): Remove now-unneeded dependency. From-SVN: r164759
Ralf Wildenhues committed -
* doc/install.texi: Suggest using LD_LIBRARY_PATH to find libs for GMP, MPFR and MPC. Co-Authored-By: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> From-SVN: r164758
Jonathan Wakely committed -
* config/sparc/sparc.opt (mimpure-text): Move ... * config/sol2.opt: ... here. Correct description. * config.gcc (*-*-solaris2*): Add sol2.opt to extra_options. * doc/invoke.texi (Option Summary, SPARC Options): Move -mimpure-text, -mno-impure-text, -threads, -pthreads, -pthread ... (Option Summary, Solaris 2 Options): ... here. (Submodel Options, Solaris 2 Options): New menu entry. (SPARC Options): Move -mimpure-text, -threads, -pthreads, -pthread ... (Solaris 2 Options): ... here. From-SVN: r164757
Rainer Orth committed -
From-SVN: r164756
Michael Eager committed -
* gcc-interface/misc.c (optimize, optimize_size): Undefine as macros and define as variables. (gnat_post_options): Set optimize and optimize_size variables. From-SVN: r164755
Joseph Myers committed -
add @optional/@required to prto lists gcc: * c-parser.c (c_parser_objc_methodprotolist): Amend preceding comment, parse @optional/@required and set the flags as appropriate. gcc/c-family: * c-common.c: Add two new entries for @optional and @required keywords. merge from FSF 'apple/trunk' branch. 2006-01-30 Fariborz Jahanian <fjahanian@apple.com> Radar 4386773 * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new objective-c keywords. (objc_set_method_opt): New declaration. * stub-objc.c (objc_set_method_opt): New stub. gcc/cp: merge from FSF 'apple/trunk' branch. 2006-01-30 Fariborz Jahanian <fjahanian@apple.com> Radar 4386773 * cp/parser.c (cp_parser_objc_interstitial_code): For @optional/@required set the optional/required flag. gcc/objc: merge from FSF 'apple/trunk' branch. 2006-01-30 Fariborz Jahanian <fjahanian@apple.com> Radar 4386773 * objc/objc-act.c (objc_set_method_opt): New function. (objc_start_protocol, objc_finish_interface): Reset objc_method_optional_flag flag. (objc_add_method_declaration): Pass on the new flag to objc_add_method. (objc_add_method): Add optional methods to new chain in the protocol class. * objc/objc-act.h (CLASS_OPTIONAL_CLS_METHODS, CLASS_OPTIONAL_NST_METHODS): New macros accessing a protocol class's optional method chains. testsuite: merge from FSF 'apple/trunk' branch. 2006-01-30 Fariborz Jahanian <fjahanian@apple.com> Radar 4386773 * objc.dg/enhanced-proto-1.m: New. * objc.dg/enhanced-proto-2.m: New. * obj-c++.dg/enhanced-proto-1.mm: New * obj-c++.dg/enhanced-proto-2.mm: New. From-SVN: r164754
Iain Sandoe committed -
2010-09-28 Joel Sherrill <joel.sherrill@oarcorp.com> * g-socket.adb: Move pragma to disable warnings in case multiple errnos are not defined by target. From-SVN: r164753
Joel Sherrill committed -
From-SVN: r164752
Nathan Froyd committed -
* opt-functions.awk (static_var): Update comment. (var_ref): Return offsetof expression or -1, not variable address. * optc-gen.awk: Generate structure field initializers instead of static variables. Expect -1 for missing variables instead of null pointer. Add gcc_options parameters to generated functions. * opth-gen.awk: Generate structure fields for static variables. Add gcc_options parameters to generated functions. * common.opt (optimize, optimize_size): Add variables. * config/i386/i386-c.c (ix86_pragma_target_parse): Pass &global_options to cl_target_option_restore. * config/i386/i386.c (ix86_valid_target_attribute_p): Pass &global_options to cl_optimization_restore, cl_target_option_save and cl_target_option_restore. (ix86_set_current_function): Pass &global_options to cl_target_option_restore. * config/pdp11/pdp11.h (optimize): Remove. * config/rs6000/rs6000.h (optimize): Remove. * config/sh/sh.h (optimize): Remove. * config/xtensa/xtensa.h (optimize): Remove. * coretypes.h (struct gcc_options): Declare. * diagnostic.c (diagnostic_initialize): Initialize context->option_state. (diagnostic_report_diagnostic): Pass option_state to option_enabled hook. * diagnostic.h (diagnostic_context.option_enabled): Add void * parameter. (diagnostic_context.option_state): New field. * final.c (final_start_function, final, final_scan_insn): Rename optimize parameter to optimize_p. * flags.h (optimize, optimize_size): Remove. * function.c (invoke_set_current_function_hook): Pass &global_options to cl_optimization_restore. * gcc.c (driver_handle_option): Take gcc_options parameter. Assert that it is &global_options. (process_command): Pass &global_options to read_cmdline_option. * ipa-pure-const.c (suggest_attribute): Pass &global_options to option_enabled. * lto-opts.c (lto_reissue_options): Use option_flag_var. Pass &global_options to set_option. * opts-common.c (handle_option, handle_generated_option, read_cmdline_option, set_option): Take explicit gcc_options parameters. Use option_flag_var. (option_flag_var): New. * opts.c (common_handle_option, lang_handle_option, target_handle_option): Take gcc_options parameter. Assert that it is &global_options. (read_cmdline_options): Pass &global_options to read_cmdline_option. (print_filtered_help): Use option_flag_var. Pass &global_options to option_enabled. (common_handle_option): Use option_flag_var. (option_enabled): Take opts parameter. Use option_flag_var. (get_option_state): Take gcc_options parameter. Use option_flag_var. Pass gcc_options parameter to option_enabled. (enable_warning_as_error): Pass &global_options to handle_generated_option. * opts.h (struct cl_option): Change flag_var to flag_var_offset. (cl_option_handler_func.handler): Take gcc_options parameter. (option_enabled, get_option_state, set_option, handle_option, handle_generated_option, read_cmdline_option): Take gcc_options parameters. * toplev.c (optimize, optimize_size): Remove. (print_switch_values): Pass &global_options to option_enabled. (option_affects_pch_p): Use option_flag_var. Pass &global_options to get_option_state. (general_init): Initialize global_dc->option_state. * tree.c (build_optimization_node): Pass &global_options to cl_optimization_save. (build_target_option_node): Pass &global_options to cl_target_option_save. c-family: * c-common.c (handle_optimize_attribute): Pass &global_options to cl_optimization_save and cl_optimization_restore. * c-opts.c (c_common_handle_option): Pass &global_options to handle_generated_option. * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var. (handle_pragma_pop_options, handle_pragma_reset_options): Pass &global_options to cl_optimization_restore. From-SVN: r164751
Joseph Myers committed -
2010-09-30 Martin Jambor <mjambor@suse.cz> * tree-sra.c (type_consists_of_records_p): Do not check for trailing zero sized bit-fields. From-SVN: r164750
Martin Jambor committed -
2010-09-30 Richard Guenther <rguenther@suse.de> PR testsuite/45702 * gcc.dg/debug/pr41893-1.c: Adjust. * gcc.dg/pr30762-1.c: Likewise. * gcc.dg/pr31529-1.c: Likewise. * gcc.dg/pr34457-1.c: Likewise. * gcc.dg/pr34668-1.c: Likewise. * gcc.dg/pr43557-1.c: Likewise. From-SVN: r164749
Richard Guenther committed -
From-SVN: r164748
Iain Sandoe committed -
PR objc/45842 * objc.dg/threedotthree-abi-1.m: Only apply at m32. * objc.dg/const-str-3.m: Correct header for memcpy. * objc.dg/const-str-7.m: Likewise. * objc.dg/method-20b.m: Provide an implementation of Object. Adjust XFAIL for m64 NeXT runtime. * objc.dg/const-str-12b.m: Use mapped data types Darwin >= 9. * objc.dg/encode-3.m: Correct line ordering, provide header for sprintf. * objc.dg/encode-7-next.m: Only run for 32bit. * objc.dg/encode-7-next-64bit.m: Only run for 64bit. * objc.dg/type-size-2.m: Provide an implementation of Object. Ajust headers. * obj-c++.dg/const-str-7.mm: Correct header for memcpy. * obj-c++.dg/const-str-12.mm: Use mapped data types Darwin >= 9. * obj-c++.dg/method-23.mm: Provide an implementation of Object. Adjust XFAIL for m64 NeXT runtime. * obj-c++.dg/method-22.mm: Likewise. * obj-c++.dg/threedotthree-abi-1.mm: Only apply at m32. From-SVN: r164747
Iain Sandoe committed -
2010-09-30 Kai Tietz <kai.tietz@onevision.com> * objc/deprecated/struct_objc_class.h: Add padding to avoid warning with -Wpadded. From-SVN: r164746
Kai Tietz committed -
In gcc/testsuite/: 2010-09-30 Nicola Pero <nicola.pero@meta-innovation.com> Merge from 'apple/trunk' branch on FSF servers. 2005-10-04 Fariborz Jahanian <fjahanian@apple.com> Radar 4278236 * obj-c++.dg/bad-forward-decl.mm: New In gcc/objc/: 2010-09-30 Nicola Pero <nicola.pero@meta-innovation.com> Merge from 'apple/trunk' branch on FSF servers. 2005-10-04 Fariborz Jahanian <fjahanian@apple.com> Radar 4278236 * objc-act.c (objc_declare_class): Pick the right type tree. From-SVN: r164745
Nicola Pero committed -
In gcc/c-family/: 2010-09-30 Nicola Pero <nicola.pero@meta-innovation.com> * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME Objective-C/Objective-C++ keywords. In gcc/cp/: 2010-09-30 Nicola Pero <nicola.pero@meta-innovation.com> * parser.c (cp_lexer_get_preprocessor_token): Tidied up comments and indentation when finding an Objective-C++ CPP_AT_NAME token. In gcc/: 2010-09-30 Nicola Pero <nicola.pero@meta-innovation.com> * c-parser.c (c_lex_one_token): When finding a CPP_AT_NAME Objective-C token, map RID_CLASS to RID_AT_CLASS and similar. (c_parser_external_declaration): Use RID_AT_CLASS instead of RID_CLASS. (c_parser_objc_class_declaration): Same change. (c_parser_objc_try_catch_statement): Use RID_AT_TRY instead of RID_TRY and RID_AT_CATCH instead of RID_CATCH. (c_parser_objc_class_instance_variables): Use RID_AT_PRIVATE instead of RID_PRIVATE, RID_AT_PROTECTED instead of RID_PROTECTED and RID_AT_PUBLIC instead of RID_PUBLIC. (c_parser_statement_after_labels): Use RID_AT_TRY instead of RID_TRY and RID_AT_CATCH instead of RID_CATCH. From-SVN: r164744
Nicola Pero committed -
From-SVN: r164742
Eric Botcazou committed -
* doc/install.texi (Binaries): Update link to HP-UX porting centre. Add links to current providers of packages for Solaris and IRIX. From-SVN: r164741
Tom G. Christensen committed -
From-SVN: r164740
GCC Administrator committed
-