1. 02 Jan, 2013 15 commits
    • [multiple changes] · 685bc70f
      2013-01-02  Robert Dewar  <dewar@adacore.com>
      
      	* checks.adb, exp_ch4.adb, exp_ch6.adb, exp_ch7.adb, exp_ch9.adb,
      	exp_disp.adb, exp_dist.adb, exp_intr.adb, exp_prag.adb, exp_util.adb,
      	freeze.adb, gnat1drv.adb, inline.adb, layout.adb, lib-xref.adb,
      	par-ch10.adb, par-labl.adb, par-load.adb, par-util.adb, restrict.adb,
      	sem_ch13.adb, sem_ch4.adb, sem_ch6.adb, sem_dim.adb, sem_elab.adb,
      	sem_res.adb, sem_warn.adb, sinput-l.adb: Add tags to warning messages.
      	* sem_ch6.ads, warnsw.ads, opt.ads: Minor comment updates.
      
      2013-01-02  Robert Dewar  <dewar@adacore.com>
      
      	* err_vars.ads: Minor comment fix.
      
      2013-01-02  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch12.adb: Refine predicate.
      
      From-SVN: r194787
      Arnaud Charlet committed
    • [multiple changes] · 324ac540
      2013-01-02  Robert Dewar  <dewar@adacore.com>
      
      	* errout.ads: Minor comment fixes.
      	* opt.ads: Minor comment additions.
      	* exp_aggr.adb: Add tags to warning messages
      	* exp_ch11.adb, exp_ch3.adb, exp_ch4.adb, exp_util.adb, sem_aggr.adb,
      	sem_attr.adb, sem_case.adb, sem_cat.adb, sem_ch3.adb, sem_ch4.adb,
      	sem_ch5.adb, sem_disp.adb, sem_dist.adb, sem_elab.adb, sem_eval.adb,
      	sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb, sem_util.adb,
      	sem_warn.adb: Add tags to warning messages
      
      2013-01-02  Doug Rupp  <rupp@adacore.com>
      
      	* init.c [VMS] Remove subtest on reason mask for ACCVIO that is a C_E.
      
      2013-01-02  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch12.adb: Recover source name for renamed packagea.
      
      From-SVN: r194786
      Arnaud Charlet committed
    • errout.adb (Set_Msg_Insertion_Warning): Correct typo causing tests to fail if… · dbfeb4fa
      errout.adb (Set_Msg_Insertion_Warning): Correct typo causing tests to fail if insertion sequence is at end of message...
      
      2013-01-02  Robert Dewar  <dewar@adacore.com>
      
      	* errout.adb (Set_Msg_Insertion_Warning): Correct typo causing
      	tests to fail if insertion sequence is at end of message string.
      	* opt.ads: Minor comment fixes and additions.
      	* sem_ch7.adb, sem_ch8.adb, sem_ch9.adb, sem_ch10.adb, sem_ch11.adb,
      	sem_ch12.adb, sem_ch13.adb: Add tags to warning messages.
      	* sem_ch6.ads, sem_ch6.adb (Cannot_Inline): Deal with warning message
      	tags. Add tags to warning messages.
      
      From-SVN: r194785
      Robert Dewar committed
    • [multiple changes] · a3633438
      2013-01-02  Robert Dewar  <dewar@adacore.com>
      
      	* err_vars.ads (Warning_Doc_Switch): New flag.
      	* errout.adb (Error_Msg_Internal): Implement new warning flag
      	doc tag stuff (Set_Msg_Insertion_Warning): New procedure.
      	* errout.ads: Document new insertion sequences ?? ?x? ?.x?
      	* erroutc.adb (Output_Msg_Text): Handle ?? and ?x? warning doc
      	tag stuff.
      	* erroutc.ads (Warning_Msg_Char): New variable.
      	(Warn_Chr): New field in error message object.
      	* errutil.adb (Error_Msg): Set Warn_Chr in error message object.
      	* sem_ch13.adb: Minor reformatting.
      	* warnsw.adb: Add handling for -gnatw.d and -gnatw.D
      	(Warning_Doc_Switch).
      	* warnsw.ads: Add handling of -gnatw.d/.D switches (warning
      	doc tag).
      
      2013-01-02  Robert Dewar  <dewar@adacore.com>
      
      	* opt.ads: Minor reformatting.
      
      2013-01-02  Doug Rupp  <rupp@adacore.com>
      
      	* init.c: Reorganize VMS section.
      	(scan_condtions): New function for scanning condition tables.
      	(__gnat_handle_vms_condtion): Use actual exception name for imported
      	exceptions vice IMPORTED_EXCEPTION.
      	Move condition table scanning into separate function. Move formerly
      	special handled conditions to system condition table. Use SYS$PUTMSG
      	output to fill exception message field for formally special handled
      	condtions, in particular HPARITH to provide more clues about cause and
      	location then raised from the translated image.
      
      From-SVN: r194784
      Arnaud Charlet committed
    • sem_ch13.adb (Analyze_Aspect_Specifications): For a Pre/Post aspect that applies… · 6a04272a
      sem_ch13.adb (Analyze_Aspect_Specifications): For a Pre/Post aspect that applies to a library subprogram...
      
      2013-01-02  Thomas Quinot  <quinot@adacore.com>
      
      	* sem_ch13.adb (Analyze_Aspect_Specifications): For a Pre/Post
      	aspect that applies to a library subprogram, prepend corresponding
      	pragma to the Pragmas_After list, in order for split AND THEN
      	sections to be processed in the expected order.
      
      From-SVN: r194783
      Thomas Quinot committed
    • [multiple changes] · c5d00db0
      2013-01-02  Thomas Quinot  <quinot@adacore.com>
      
      	* exp_prag.adb (Expand_Pragma_Check): The statements generated
      	for the pragma must have the sloc of the pragma, not the
      	sloc of the condition, otherwise this creates anomalies in the
      	generated debug information that confuse coverage analysis tools.
      
      2013-01-02  Thomas Quinot  <quinot@adacore.com>
      
      	* sem_ch13.adb: Minor reformatting.
      
      2013-01-02  Arnaud Charlet  <charlet@adacore.com>
      
      	* g-excact.ads (Core_Dump): Clarify that this subprogram does
      	not dump cores under Windows.
      
      2013-01-02  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch8.adb (Analyze_Primitive_Renamed_Operation): The prefixed
      	view of a subprogram has convention Intrnnsic, and a renaming
      	of a prefixed view cannot be the prefix of an Access attribute.
      
      2013-01-02  Robert Dewar  <dewar@adacore.com>
      
      	* restrict.adb: Minor reformatting.
      
      From-SVN: r194782
      Arnaud Charlet committed
    • [multiple changes] · 39ce7604
      2013-01-02  Thomas Quinot  <quinot@adacore.com>
      
      	* exp_prag.adb: Minor reformatting.
      
      2013-01-02  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch12.adb (Get_Associated_Node): If the node is an
      	identifier that denotes an unconstrained array in an object
      	declaration, it is rewritten as the name of an anonymous
      	subtype whose bounds are given by the initial expression in the
      	declaration. When checking whether that identifier is global
      	reference, use the original node, not the local generated subtype.
      
      2013-01-02  Olivier Hainque  <hainque@adacore.com>
      
      	* tracebak.c: Revert previous change, incomplete.
      
      2013-01-02  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch13.adb (Analyze_Aspect_Specifications): If the aspect
      	appears on a subprogram body that acts as a spec, place the
      	corresponding pragma in the declarations of the body, so that
      	e.g. pre/postcondition checks can be generated appropriately.
      
      2013-01-02  Robert Dewar  <dewar@adacore.com>
      
      	* sem_ch3.adb: Minor reformatting and code reorganization.
      
      From-SVN: r194781
      Arnaud Charlet committed
    • [multiple changes] · 1824c168
      2013-01-02  Vincent Celier  <celier@adacore.com>
      
      	* switch-m.adb (Normalize_Compiler_Switches): Record the
      	complete switch -fstack-check=specific instead of its shorter
      	alias -fstack-check.
      
      2013-01-02  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch3.adb (Derive_Subprogram): Enforce RM 6.3.1 (8):
      	if the derived type is a tagged generic formal type with
      	unknown discriminants, the inherited operation has convention
      	Intrinsic. As such, the 'Access attribute cannot be applied to it.
      
      2013-01-02  Thomas Quinot  <quinot@adacore.com>
      
      	* sem_attr.adb: Minor reformatting.
      
      From-SVN: r194780
      Arnaud Charlet committed
    • [multiple changes] · db318f46
      2013-01-02  Thomas Quinot  <quinot@adacore.com>
      
      	* par_sco.adb: Add SCO generation for S of protected types and
      	single protected object declarations.
      
      2013-01-02  Robert Dewar  <dewar@adacore.com>
      
      	* sem_eval.adb, osint.ads: Minor reformatting.
      
      From-SVN: r194779
      Arnaud Charlet committed
    • [multiple changes] · 37c1f923
      2013-01-02  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_prag.adb (Analyze_Pragma): Check the legality of pragma Assume.
      
      2013-01-02  Thomas Quinot  <quinot@adacore.com>
      
      	* sem_eval.adb (Compile_Time_Compare): For static operands, we
      	can perform a compile time comparison even if in preanalysis mode.
      
      2013-01-02  Thomas Quinot  <quinot@adacore.com>
      
      	* par_sco.adb (SCO_Record): Always use
      	Traverse_Declarations_Or_Statements to process the library level
      	declaration, so that SCOs are properly generated for its aspects.
      
      From-SVN: r194778
      Arnaud Charlet committed
    • scos.ads (In_Decision): Add missing entry for 'a'. · 8f252d27
      2013-01-02  Thomas Quinot  <quinot@adacore.com>
      
      	* scos.ads (In_Decision): Add missing entry for 'a'.
      	* sem_prag.adb (Analyze_Pragma, case pragma Check): Omit
      	call to Set_SCO_Pragma_Enabled for Invariant and Predicate.
      	* sem_ch13.adb: Minor comment update.
      
      From-SVN: r194777
      Thomas Quinot committed
    • * MAINTAINERS: Update my email. · e0d7fe6d
      From-SVN: r194776
      Maxim Kuvyrkov committed
    • newunit_3.f90: Add dg-do run. · b33cc994
      2013-01-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	* gfortran.dg/newunit_3.f90: Add dg-do run.
      	* gfortran.dg/inquire_15.f90: Add dg-do run.
      
      From-SVN: r194775
      Jerry DeLisle committed
    • simple-object-xcoff.c: New file. · a9b01f00
              * simple-object-xcoff.c: New file.
              * Makefile.in: Add it to build machinery.
              * simple-object-common.h (simple_object_xcoff_functions): Declare.
              * simple-object.c (format_functions): Add
              simple_object_xcoff_functions.
      
      From-SVN: r194774
      David Edelsohn committed
    • Daily bump. · 0331d94d
      From-SVN: r194773
      GCC Administrator committed
  2. 01 Jan, 2013 4 commits
  3. 31 Dec, 2012 4 commits
  4. 30 Dec, 2012 1 commit
  5. 29 Dec, 2012 4 commits
  6. 28 Dec, 2012 4 commits
  7. 27 Dec, 2012 8 commits
    • re PR libfortran/48960 (OPEN statement modifies NEWUNIT variable on error) · 32758afe
      2012-12-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/48960
      	* gfortran.dg/newunit_3.f90: New.
      
      From-SVN: r194738
      Jerry DeLisle committed
    • re PR fortran/48976 (INQUIRE with STREAM= not supported) · f5b650c0
      2012-12-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/48976
      	* gfortran.dg/inquire_15.f90: New.
      
      From-SVN: r194736
      Jerry DeLisle committed
    • re PR fortran/48976 (INQUIRE with STREAM= not supported) · 93e8af19
      2012-12-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/48976
      	* gfortran.h (gfc_inquire struct): Add pointer for inquire stream.
      	* io.c (io_tag): Add tag for inquire stream. (match_inquire_element):
      	Add matcher for new tag. (gfc_resolve_inquire): Resolve new tag.
      	* ioparm.def: Add new parameter for inquire stream.
      	* trans-io.c (gfc_trans_inquire): Add tranlste code for inquire
      	stream.
      
      From-SVN: r194734
      Jerry DeLisle committed
    • re PR fortran/48976 (INQUIRE with STREAM= not supported) · 797332ed
      2012-12-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libfortran/48976
      	* io/inquire.c (inquire_via_unit): Set user stream inquiry variable to
      	appropriate value based on unit access method. (inquire_via_filename):
      	Since filename is not associated with an open unit, set stream inquiry
      	to UNKNOWN.
      	* io/io.h: Define inquire stream parameters.
      
      From-SVN: r194733
      Jerry DeLisle committed
    • rs6000.c (rs6000_deligitimze_address): Do not delegitimize TLS addresses on AIX. · 53b0dee1
              * config/rs6000/rs6000.c (rs6000_deligitimze_address): Do not
              delegitimize TLS addresses on AIX.
              (rs6000_legitimize_tls_address_aix): Append TLS symbol qualifier.
              Set SYMBOL_FLAG_LOCAL on module symbol.
              (output_toc): Do not append TLS symbol qualifier here.
              * config/rs6000/rs6000.md (tls_get_addr_internal): Add GPR 4 to
              clobbers.
      
      From-SVN: r194732
      David Edelsohn committed
    • * target.def (supports_function_versions): Fix typo. · 9e1883a2
      From-SVN: r194731
      Andreas Schwab committed
    • Before this patch... · eb745e40
      Before this patch, function multiversioning determines that two functions
      are different by comparing the arch type and isa flags that are set
      after the target string is processed. This leads to cases where  the
      versions become identical when the command-line target options are
      altered.
      
      This patch modifies the function version determination to
      just compare the target string.
      
      
      2012-12-27  Sriraman Tallam  <tmsriram@google.com>
      
      	* doc/tm.texi.in (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Document
      	new target hook.
      	* doc/tm.texi: Regenerate.
      	* c-family/c-common.c (handle_target_attribute): Retain target attribute
      	for targets that support versioning.
      	* target.def (supports_function_versions): New hook.
      	* cp/class.c (add_method): Remove calls
      	to DECL_FUNCTION_SPECIFIC_TARGET.
      	* config/i386/i386.c (ix86_function_versions): Use target string
      	to check for function versions instead of target flags.
      	* (ix86_supports_function_versions): New function.
      	* (is_function_default_version): Check target string.
      	* TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS: New macro.
      
      2012-12-27  Sriraman Tallam  <tmsriram@google.com>
      
      	* testsuite/g++.dg/mv1.C: Remove target options.
      	* testsuite/g++.dg/mv2.C: Ditto.
      	* testsuite/g++.dg/mv3.C: Ditto.
      	* testsuite/g++.dg/mv4.C: Ditto.
      	* testsuite/g++.dg/mv5.C: Ditto.
      
      From-SVN: r194730
      Sriraman Tallam committed
    • Daily bump. · 1b9c5a88
      From-SVN: r194729
      GCC Administrator committed