1. 01 Oct, 2012 8 commits
    • [multiple changes] · 8e983d80
      2012-10-01  Thomas Quinot  <quinot@adacore.com>
      
      	* gnatcmd.adb, make.adb (Scan_Make_Arg, Inspect_Switches): Recognize
      	and reject an invalid parameter passed to -vP.
      
      2012-10-01  Yannick Moy  <moy@adacore.com>
      
      	* sem_warn.adb (Check_Infinite_Loop_Warning/Test_Ref): Improve
      	the detection of modifications to the loop variable by noting
      	that, if the type of variable is elementary and the condition
      	does not contain a function call, then the condition cannot be
      	modified by side-effects from a procedure call.
      
      2012-10-01  Robert Dewar  <dewar@adacore.com>
      
      	* checks.adb: Add comments.
      
      2012-10-01  Javier Miranda  <miranda@adacore.com>
      
      	* exp_ch3.adb (Expand_N_Object_Declaration): Improve condition catching
      	never-ending recursion. The previous condition erroneously disabled
      	silently the expansion of the class-wide interface object
      	initialization in cases not involving the recursion.
      
      From-SVN: r191892
      Arnaud Charlet committed
    • Move PR c++/19351 ChangeLog entry to correct ChangeLog. · 7246b890
      From-SVN: r191891
      Jakub Jelinek committed
    • [multiple changes] · 0ea55619
      2012-10-01  Thomas Quinot  <quinot@adacore.com>
      
      	* make.adb: Minor documentation fix: error messages are sent to
      	stderr, not stdout.
      
      2012-10-01  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* checks.ads, checks.adb (Apply_Parameter_Aliasing_Checks): New routine.
      	(Apply_Parameter_Validity_Checks): New routines.
      	* exp_ch6.adb (Expand_Call): Add aliasing checks to detect
      	overlapping objects.
      	* freeze.adb: Add with and use clauses for Checks and Validsw.
      	(Freeze_Entity): Add checks to detect proper initialization
      	of scalars.
      	* sem_ch4.adb: Add with and use clauses for Checks and Validsw.
      	(Analyze_Call): Add aliasing checks to detect overlapping objects.
      	* sem_ch13.adb: Add with and use clauses for Validsw.
      	(Analyze_Aspect_Specifications): Add checks to detect proper
      	initialization of scalars.
      	* sem_prag.adb (Chain_PPC): Correct the extraction of the
      	subprogram name.
      	* sem_util.adb (Is_Object_Reference): Attribute 'Result now
      	produces an object.
      	* usage.adb (Usage): Add usage lines for validity switches 'l',
      	'L', 'v' and 'V'.
      	* validsw.adb (Reset_Validity_Check_Options): Include
      	processing for flags Validity_Check_Non_Overlapping_Params and
      	Validity_Check_Valid_Scalars_On_Params. Code reformatting.
      	(Save_Validity_Check_Options): Include processing
      	for flags Validity_Check_Non_Overlapping_Params
      	and Validity_Check_Valid_Scalars_On_Params.
      	(Set_Validity_Check_Options): Add processing for validity switches
      	'a', 'l', 'L', 'n', 'v' and 'V'. Code reformatting.
      	* validsw.ads: Add new flags Validity_Check_Non_Overlapping_Params
      	and Validity_Check_Valid_Scalars_On_Params along with comments
      	on usage.
      
      2012-10-01  Thomas Quinot  <quinot@adacore.com>
      
      	* namet.ads, xsnamest.adb, prj-env.adb, sem_warn.adb,
      	errout.ads: Minor reformatting.
      	* prj-part.adb: Add comment.
      
      From-SVN: r191890
      Arnaud Charlet committed
    • [multiple changes] · 2791be24
      2012-10-01  Robert Dewar  <dewar@adacore.com>
      
      	* sinfo.ads, exp_aggr.adb, sem_ch13.adb: Minor reformatting.
      
      2012-10-01  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_aggr.adb (Resolve_Array_Aggregate): Handle properly
      	component associations given by subtypes that have static
      	predicates.  Improve error message for overlapping ranges in
      	array aggregates.
      
      2012-10-01  Pascal Obry  <obry@adacore.com>
      
      	* snames.ads-tmpl (Name_Link_Lib_Subdir): New constant.
      
      2012-10-01  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch9.adb (Analyze_Requeue): The target of a requeue
      	statement on a protected entry must be a variable. This is part
      	of AI05-0225.
      
      From-SVN: r191889
      Arnaud Charlet committed
    • re PR target/54746 (config/s390/s390.c:1583: possible missing break in switch ?) · f686b370
      2012-10-01  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	PR target/54746
      	* config/s390/s390.c (s390_option_override): Add missing break.
      
      From-SVN: r191885
      Andreas Krebbel committed
    • dumpfile.c: New file with parts moved from tree-dump.c. · b5f47924
      2012-09-30  Sharad Singhai  <singhai@google.com>
      
      	* dumpfile.c: New file with parts moved from tree-dump.c.
      	(pflags): New variable.
      	(alt_flags): Ditto.
      	(alt_dump_file): Ditto.
      	(dump_files):  Update to include additional fields.
      	(struct dump_option_value_info): Add additional entries.
      	(get_dump_file_name): Use command line filename if available.
      	(dump_open_alternate_stream): New function.
      	(dump_loc): Ditto.
      	(dump_gimple_stmt): Ditto.
      	(dump_gimple_stmt_loc): Ditto.
      	(dump_generic_expr): Ditto.
      	(dump_generic_expr_loc): Ditto.
      	(dump_printf): Ditto.
      	(dump_printf_loc): Ditto.
      	(dump_start): Ditto.
      	(dump_finish): Ditto.
      	(dump_begin): Ditto.
      	(dump_enabled_p): Return true if either of the dump types is enabled.
      	(dump_initialized_p): Return true if either type of dump is initialized.
      	(dump_end): Do not close standard streams.
      	(dump_enable_all): Handle filenames for regular dumps.
      	(dump_switch_p_1): Handle command-line dump filenames.
      	(opt_info_enable_all): New function.
      	(opt_info_switch_p_1): Ditto.
      	(opt_info_switch_p): Ditto.
      	(dump_kind_p): Ditto.
      	(dump_basic_block): Ditto.
      	(dump_combine_total_stats): Ditto.
      	(dump_remap_tree_vectorizer_verbose): Ditto.
      	* gimple-pretty-print.h: Rename dump_gimple_stmt to
      	pp_gimple_stmt_1.  All callers updated.
      
      From-SVN: r191884
      Sharad Singhai committed
    • invoke.texi: Add documentation for the new option. · 78c60e3d
      2012-09-30  Sharad Singhai  <singhai@google.com>
      
      	* doc/invoke.texi: Add documentation for the new option.
      	* tree-dump.c: Move general dump file related functionality into
      	dumpfile.c. Remove unneeded headers.
      	* tree-dump.h: Move function declarations into dumpfile.h.
      	* dumpfile.h: Include "line-map.h". Add defines for MSG flags.
      	(struct dump_file_info): Move here from tree-dump.c.  Rename flags
      	to pflags, state to pstate, stream to pstream, filename to
      	pfilename. All callers updated. Add alt_flags, alt_state,
      	alt_filenmae, alt_stream.
      	* tree-vectorizer.c: Include "dumpfile.h". Remove vect_dump.
      	(vect_set_dump_settings): Remove.
      	(vect_print_dump_info): Ditto.
      	* tree-vectorizer.h: Remove declaration of vect_dump and
      	vect_print_dump_info.
      	* tree-vect-loop.c: Include "dumpfile.h". Use new dump style.
      	* tree-vect-data-refs.c: Ditto.
      	* tree-vect-stmts.c: Ditto.
      	* tree-vect-slp.c: Ditto.
      	* tree-vect-patterns.c: Ditto.
      	* tree-vect-loop-manip.c: Ditto.
      	* testsuite/gcc.target/i386/vect-double-1.c: Fix test.
      	* opts.c (vect_set_verbosity_level): Remove.
      	(common_handle_option): Handle -fopt-info flag. Deprecate
      	-ftree-vectorizer-verbose.
      	* tree-parloops.c (gather_scalar_reductions): Remove reference to
      	vect_dump.
      	* flag-types.h: Remove vect_verbosity_levels.
      	* common.opt: Add -fopt-info. Deprecate -ftree-vectorizer-verbose.
      	* opts-global.c (dump_remap_tree_vectorizer_verbose): New
      	function.
      	(handle_common_deferred_options): Handle -fopt-info and
      	-ftree-vectorizer-verbose.
      	* Makefile.in: Add dumpfile.o.
      	(tree-dump.o): Update dependencies.
      	(tree-vect-loop.o): Ditto.
      	(tree-vect-loop-manip.o): Ditto.
      	(tree-vect-slp.o): Ditto.
      	(tree-vect-stmts.o): Ditto.
      	(tree-vectorizer.o): Ditto.
      	(opts.o): Ditto.
      	* passes.c (finish_optimization_passes): Instead of using
      	dump_begin/dump_end, use dump_start/dump_finish. Do not use dump_file.
      	(pass_init_dump_file): Ditto.
      	* c-decl.c (c_write_global_declarations): Use a different method
      	to determine if the dump has ben initialized.
      	* decl2.c (cp_write_global_declarations): Use a different method
      	to determine if the dump has ben initialized.
      
      From-SVN: r191883
      Sharad Singhai committed
    • Daily bump. · d0cfc262
      From-SVN: r191882
      GCC Administrator committed
  2. 30 Sep, 2012 14 commits
  3. 29 Sep, 2012 16 commits
  4. 28 Sep, 2012 2 commits