1. 19 Mar, 2012 9 commits
    • [multiple changes] · 2a1f6a1f
      2012-03-19  Yannick Moy  <moy@adacore.com>
      
      	* sem_ch6.adb: Minor code clean up.
      
      2012-03-19  Vincent Celier  <celier@adacore.com>
      
      	* make.adb (Scan_Make_Arg): Make sure all significant -m switches
      	on the command line are counted.
      
      2012-03-19  Robert Dewar  <dewar@adacore.com>
      
      	* sem_elab.adb (Generate_Elab_Warnings): Fix spec, fix attribute
      	reference case
      
      2012-03-19  Robert Dewar  <dewar@adacore.com>
      
      	* par-ch4.adb (Check_Bad_Exp): New procedure
      
      2012-03-19  Robert Dewar  <dewar@adacore.com>
      
      	* exp_attr.adb, sem_attr.adb, sem_attr.ads, snames.ads-tmpl: Add
      	initial framework for Valid_Scalars attribute.
      
      2012-03-19  Robert Dewar  <dewar@adacore.com>
      
      	* scng.adb (Scan): Recognize incorrect preprocessor directive
      
      2012-03-19  Robert Dewar  <dewar@adacore.com>
      
      	* atree.adb (Allocate_Initialize_Node): Use Num_Extension_Nodes
      	* atree.ads (Num_Extension_Nodes): New variable
      	* debug.adb: New debug flag -gnatd.N
      	* gnat1drv.adb (Adjust_Global_Switches): Adjust
      	Num_Extension_Nodes if -gnatd.N set
      
      2012-03-19  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* einfo.ads: Minor update to First_Rep_Item and Has_Gigi_Rep_Item
      	descriptions.
      
      2012-03-19  Robert Dewar  <dewar@adacore.com>
      
      	* opt.ads: Remove HLO_Active flag.
      	* sem.adb: Remove call of high level optimizer.
      	* sem.ads (New_Nodes_OK): Removed.
      	* sem_ch10.adb: Remove references to New_Nodes_OK.
      	* switch-c.adb: Remove handling of -gnatH switch.
      
      From-SVN: r185528
      Arnaud Charlet committed
    • [multiple changes] · 119e3be6
      2012-03-19  Yannick Moy  <moy@adacore.com>
      
      	* sem_ch6.adb (Check_Subprogram_Contract): Do not emit warnings
      	on trivially True or False postconditions and Ensures components
      	of contract-cases.
      
      2012-03-19  Robert Dewar  <dewar@adacore.com>
      
      	* gnat_ugn.texi: Fix index entry for -gnatei (now we have
      	ug_words entry).
      
      From-SVN: r185527
      Arnaud Charlet committed
    • [multiple changes] · 78c0f016
      2012-03-19  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch3.adb (Get_Discriminant_Value): Instead of looking
      	at the immediate correcponsing discriminant, traverse a
      	potential chain of discriminants produced by type derivations.
      	(Root_Corresponding_Discriminant): Traverse a chain of inherited
      	discriminants and return the topmost discriminant.
      
      2012-03-19  Bob Duff  <duff@adacore.com>
      
      	* debug.adb: Minor comment change.
      	* gnat_ugn.texi: Update documentation for elaboration regarding
      	indirect calls.
      
      2012-03-19  Gary Dismukes  <dismukes@adacore.com>
      
      	* exp_ch3.adb (Expand_N_Object_Declaration): In
      	the case of an object of a class-wide interface type, where the
      	declaration is rewritten as a renaming, call Set_Debug_Info_Needed
      	on the renaming entity so that Materialize_Entity will be
      	set. Also, change existing call (for other than interface cases)
      	to call Set_Debug_Info_Needed rather than Set_Needs_Debug_Info
      	(as specified for that flag).
      
      From-SVN: r185526
      Arnaud Charlet committed
    • [multiple changes] · a4956515
      2012-03-19  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch4.adb (Analyze_Allocator): Detect an allocator generated
      	by the build-in-place machinery where the designated type is
      	indefinite, but the underlying type is not. Do not emit errors
      	related to missing initialization in this case.
      
      2012-03-19  Robert Dewar  <dewar@adacore.com>
      
      	* gnat_ugn.texi: Add documentation for -gnateinnn switch.
      	* sem_elab.adb, put_alfa.adb, lib-xref-alfa.adb: Minor reformatting.
      	* sem_prag.adb: Minor comment update.
      
      From-SVN: r185525
      Arnaud Charlet committed
    • re PR c++/14710 (Warning about useless casts) · 04398fa8
      2012-03-16  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/14710
      	* doc/invoke.texi: Document -Wuseless-cast.
      
      /c-family
      2012-03-16  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/14710
      	* c.opt ([Wuseless-cast]): Add.
      
      /cp
      2012-03-16  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/14710
      	* cp-tree.h (maybe_warn_about_useless_cast): Declare.
      	* typeck.c (maybe_warn_about_useless_cast): Define.
      	(build_reinterpret_cast, build_const_cast,
      	build_static_cast, cp_build_c_cast): Use it.
      	* rtti.c (build_dynamic_cast): Likewise.
      	* pt.c (tsubst_copy_and_build, case CAST_EXPR): Increment/decrement
      	c_inhibit_evaluation_warnings before/after the build_* calls.
      
      /testsuite
      2012-03-16  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/14710
      	* g++.dg/warn/Wuseless-cast.C: New.
      
      From-SVN: r185524
      Paolo Carlini committed
    • tree.def (REALPART_EXPR, [...]): Move. · b199074d
      	* tree.def (REALPART_EXPR, IMAGPART_EXPR, VIEW_CONVERT_EXPR): Move.
      	* tree.h (handled_component_p): Reorder cases.
      	* dwarf2out.c (loc_list_for_address_of_addr_expr_of_indirect_ref): Do
      	not initialize unsignedp.
      	(loc_list_from_tree): Likewise.
      	(fortran_common): Likewise.
      	* simplify-rtx.c (delegitimize_mem_from_attrs): Likewise.
      
      From-SVN: r185522
      Eric Botcazou committed
    • i386.c (ix86_expand_prologue): Use Pmode mode consistently. · 79f3658a
      	* config/i386/i386.c (ix86_expand_prologue) <CM_LARGE_PIC>: Use Pmode
      	mode consistently.  Use ix86_gen_add3.  Assert that Pmode == DImode.
      	(ix86_expand_split_stack_prologue): Use ix86_gen_add3.
      	(ix86_split_long_move): Ditto.
      	(legitimize_tls_address): Use ix86_gen_sub3.
      	(construct_plt_address): Assert that Pmode == DImode.
      
      From-SVN: r185520
      Uros Bizjak committed
    • re PR fortran/52559 (Spurious \x00 in error messages of lines with tab) · a1b60e49
      	PR fortran/52559
      	* error.c (gfc_widechar_display_length): Consider tabs as
      	one character wide, as they're displayed as spaces.
      	(show_locus): Move tab handling to...
      	(print_wide_char_into_buffer): ... here.
      
      From-SVN: r185517
      Francois-Xavier Coudert committed
    • Daily bump. · 55c2a83a
      From-SVN: r185514
      GCC Administrator committed
  2. 18 Mar, 2012 5 commits
  3. 17 Mar, 2012 6 commits
  4. 16 Mar, 2012 19 commits
  5. 15 Mar, 2012 1 commit