1. 23 Jun, 2009 4 commits
  2. 22 Jun, 2009 36 commits
    • rs6000.opt: Move msched-epilog before msched-prolog. · df4ba119
      	* config/rs6000/rs6000.opt: Move msched-epilog before
      	msched-prolog.
      
      From-SVN: r148821
      Ian Lance Taylor committed
    • re PR fortran/37254 (Reject valid PROCEDURE statement with implicit interface) · 6b1223b6
      
      2009-06-22  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/37254
      	* gfortran.dg/proc_decl_22.f90: Delete property svn:executable
      	(wrongly introduced in last commit).
      
      From-SVN: r148817
      Janus Weil committed
    • re PR fortran/37254 (Reject valid PROCEDURE statement with implicit interface) · 03bd096b
      2009-06-22  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/37254
      	PR fortran/39850
      	* interface.c (compare_parameter): Set implicit type for function
      	actual arguments with BT_UNKNOWN.
      
      
      2009-06-22  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/37254
      	PR fortran/39850
      	* gfortran.dg/interface_30.f90: Modified error message.
      	* gfortran.dg/proc_decl_22.f90: New.
      
      From-SVN: r148816
      Janus Weil committed
    • ChangeLog: Fixes. · 34481f28
      	* libgcc/ChangeLog: Fixes.
      	* gcc/ChangeLog: Ditto.
      
      From-SVN: r148815
      Uros Bizjak committed
    • re PR fortran/40472 (Simplification of spread intrinsic takes a long time) · e5e85f2b
      2009-06-22  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/40472
              PR fortran/50520
              * simplify.c (gfc_simplify_spread): Fix the case that source=
              is a scalar.
      
      From-SVN: r148814
      Tobias Burnus committed
    • arm.md (prologue_use): Set length of fake insn to 0. · c986683b
      	* config/arm/arm.md (prologue_use): Set length of fake insn to 0.
      
      From-SVN: r148813
      Steven Bosscher committed
    • invoke.texi (Link Options): -nodefaultlibs and -nostdlib override library linkage flags such as... · 5c6927bd
      gcc/
      	* doc/invoke.texi (Link Options): -nodefaultlibs and -nostdlib
      	override library linkage flags such as -static-libgcc or
      	-shared-libgcc.
      
      From-SVN: r148811
      Ralf Wildenhues committed
    • * config/m68k/m68k-devices.def: Add line for MCF5221x. · 19973be2
      From-SVN: r148810
      Maxim Kuvyrkov committed
    • testsuite_common_types.h (bitwise_operators, [...]): Initialize a and b. · c681c829
      2009-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/util/testsuite_common_types.h (bitwise_operators,
      	bitwise_assignment_operators): Initialize a and b.
      	(struct has_bitwise_operators): Do not call the latter.
      	* testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust
      	dg-error line numbers.
      	* testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
      	* testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
      	* testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
      
      From-SVN: r148809
      Paolo Carlini committed
    • linux.opt: Put mglibc ahead of muclibc. · 7a5d2eb8
      ./:	* config/linux.opt: Put mglibc ahead of muclibc.
      
      	* c-decl.c (diagnose_mismatched_decls): Add -Wc++-compat warning
      	for duplicate decls.
      testsuite/:
      	* gcc.dg/Wcxx-compat-19.c: New testcase.
      
      From-SVN: r148808
      Ian Lance Taylor committed
    • Makefile.in (install-plugin): Remove extra `/' after $(DESTDIR). · 86e3c83a
      2009-06-22  Matthias Klose  <doko@ubuntu.com>
      
      	* Makefile.in (install-plugin): Remove extra `/' after $(DESTDIR).
      
      From-SVN: r148806
      Matthias Klose committed
    • re PR objc++/28050 (ICE on invalid initializer) · 0a7d7dea
      gcc/
      2009-06-22  Steven Bosscher  <steven@gcc.gnu.org>
      
              PR objc/28050
              * c-parser.c (c_parser_objc_message_args): Return error_mark_node
              instead of NULL if a parser error occurs.
      
      gcc/objc/
      2009-06-22  Steven Bosscher  <steven@gcc.gnu.org>
      
              PR objc/28050
              * objc-act.c (objc_build_message_args): Return if ARGS is the
              error_mark_node.
      
      gcc/testsuite/
      2009-06-22  Matthias Klose  <doko@ubuntu.com>
      
              PR objc/28050
              * pr28050.m: New testcase.
      
      From-SVN: r148804
      Matthias Klose committed
    • 1.cc: Mark test as possibly unused. · b959d637
      2009-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/23_containers/list/invalidation/1.cc: Mark test as
      	possibly unused.
      	* testsuite/23_containers/list/invalidation/2.cc: Likewise.
      	* testsuite/23_containers/list/invalidation/3.cc: Likewise.
      	* testsuite/23_containers/list/invalidation/4.cc: Likewise.
      
      From-SVN: r148801
      Paolo Carlini committed
    • dwarf2out.c (dwarf2_debug_hooks): Initialize non-DWARF2_DEBUGGING_INFO version. · a77264d5
      	* dwarf2out.c (dwarf2_debug_hooks): Initialize
      	non-DWARF2_DEBUGGING_INFO version.
      
      From-SVN: r148800
      Rainer Orth committed
    • Missed changelog entry. · 54f549af
      From-SVN: r148799
      Kai Tietz committed
    • ChangeLog for gcc · f0375e78
      2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
      
      	* config.gcc: Add for x86 and x64 mingw targets t-fprules-soft
      	and t-softfp support.
      	* config/i386/mingw32.h (LIBGCC2_HAS_TF_MODE): Enable TFmode.
      	(LIBGCC2_TF_CEXT): Define.
      	(TF_SIZE): Define.
      
      ChangeLog for libgcc
      
      2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
      
      	* config.host: Add soft emulation for x86 and x64 mingw targets.
      	* config/i386/64/_divtc3.c: Disable for mingw targets usage of
      	.symver assembly symbol.
      	* config/i386/64/_multc3.c: Likewise.
      	* config/i386/64/_powitf2.c: Likewise.
      	* config/i386/64/eqtf2.c: Likewise.
      	* config/i386/64/getf2.c: Likewise.
      	* config/i386/64/letf2.c: Likewise.
      	* config/i386/64/letf2.c: Likewise.
      	* config/i386/64/sfp-machine.h (_FP_W_TYPE): Define it
      	for x64 mingw target as unsigned long long.
      	(_FP_WS_TYPE): Define it for x64 mingw target as signed long
      	long.
      	(_FP_I_TYPE): Define it for x64 mingw target as long long.
      
      From-SVN: r148798
      Kai Tietz committed
    • Add the missing g++.dg/torture/pr40492.C. · 3f53cdbe
      From-SVN: r148796
      H.J. Lu committed
    • re PR testsuite/40481 (gcc.dg/plugin/one_time-test-1.c doesn't work on ia64) · 8e6e7620
      2009-06-22  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR testsuite/40481
      	* gcc.dg/plugin/one_time_plugin.c (one_pass_exec): Return 0;
      
      From-SVN: r148795
      H.J. Lu committed
    • [multiple changes] · f61580d4
      2009-06-22  Jose Ruiz  <ruiz@adacore.com>
      
      	* sysdep.c (__gnat_localtime_tzoff for RTX):
      	SystemTimeToTzSpecificLocalTime is not supported by RTX. Use
      	GetTimeZoneInformation instead.
      
      2009-06-22  Robert Dewar  <dewar@adacore.com>
      
      	* sem_res.adb (Check_No_Direct_Boolean_Operators): New procedure
      
      2009-06-22  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch12.adb (Collect_Previous_Instances): Do not collect
      	instantiations declared in a previous generic package body.
      
      2009-06-22  Robert Dewar  <dewar@adacore.com>
      
      	* gnat_rm.texi: Add doc that X=True and X=False is allowed for the
      	restriction No_Direct_Boolean_Operators.
      
      2009-06-22  Thomas Quinot  <quinot@adacore.com>
      
      	* bindusg.adb: Minor fixes to gnatbind usage message
      
      	* sem_eval.adb: Minor reformatting
      
      From-SVN: r148794
      Arnaud Charlet committed
    • [multiple changes] · 6823270c
      2009-06-22  Javier Miranda  <miranda@adacore.com>
      
      	* sem_ch3.adb (Analyze_Object_Declaration, Freeze_Entity): Move to the
      	freezing point the check on the use of abstract types in object
      	declarations. Done to allow the declaration of C++ imported variables
      	or constants whose type corresponds with an imported C++ classes for
      	which the constructor is not imported.
      
      2009-06-22  Thomas Quinot  <quinot@adacore.com>
      
      	* sem_ch6.adb: Minor reformatting
      
      2009-06-22  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch3.adb (Build_Initialization_Call): If a discriminated record
      	component is constrained with an expression rather than with a
      	discriminant of the enclosing type, use that expression when building
      	the call to default-initialize the component, when the call is part of
      	an aggregate with box initialization.
      
      From-SVN: r148793
      Arnaud Charlet committed
    • [multiple changes] · c9e7bd8e
      2009-06-22  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch6.adb (Check_Overriding_Indicator): Clean up code, make warning
      	unconditional rather than a style check, because a formal name out of
      	order is suspicious.
      
      2009-06-22  Vincent Celier  <celier@adacore.com>
      
      	* prj-nmsc.adb (Locate_Directory): Indicate the project name when
      	creating a directory automatically.
      
      2009-06-22  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* sem_ch3.adb (Create_Constrained_Components): For a subtype of an
      	untagged derived type, add a hidden component for every constrained
      	discriminant of the parent type to keep record layout consistent.
      
      From-SVN: r148792
      Arnaud Charlet committed
    • Fix target/40463 · 7cea01df
      2009-06-22  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
      	PR target/40463
      	* config/arm/linux-eabi.h (CLEAR_INSN_CACHE): Fix definition.
      
      From-SVN: r148791
      Ramana Radhakrishnan committed
    • Disable caller and callee super interworking. · 3ce14752
      2009-06-22  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
      	* config/arm/arm.c (arm_override_options): Disable -mcaller-super-interworking
      	and -mcallee-super-interworking.
      	* doc/invoke.texi (ARM Options): Document this.
      
      From-SVN: r148790
      Ramana Radhakrishnan committed
    • [multiple changes] · d88a51b1
      2009-06-22  Thomas Quinot  <quinot@adacore.com>
      
      	* exp_ch3.adb: Minor code reorganization (avoid an unnecessary tree
      	copy).
      
      2009-06-22  Ed Falis  <falis@adacore.com>
      
      	* sysdep.c: remove include for nfsLib.h and an NFS specific error
      	message for VxWorks 653 vThreads: not supported by the OS.
      
      	* gsocket.h: disable sockets for VxWorks 653 vThreads.
      
      2009-06-22  Robert Dewar  <dewar@adacore.com>
      
      	* sem_ch6.adb: Add ??? comment for bad use of Style_Check
      
      2009-06-22  Matthew Gingell  <gingell@adacore.com>
      	    Arnaud Charlet  <charlet@adacore.com>
      
      	* a-stzhas.adb, a-stwiha.adb, impunit.adb, a-swbwha.adb, a-shcain.adb,
      	s-htable.adb, a-szuzha.adb, a-stunha.adb, a-stboha.adb, a-strhas.adb,
      	g-spitbo.adb, s-strhas.adb, a-szbzha.adb, s-strhas.ads, Makefile.rtl,
      	a-swuwha.adb: New unit System.String_Hash.  
      	Refactor redundant cut and pasted hash functions with instances of a
      	new generic hash function.
      	Implement a new string hashing algorithm which appears in testing to
      	be move effective than to previous approach.
      
      	* gcc-interface/Make-lang.in: Update dependencies.
      
      	* gcc-interface/Makefile.in: Reindent correctly vms targets.
      	Fix setting of TOOLS_TARGET_PAIRS for bare board platforms.
      	Disable socket support for Vxworks 653 vThreads.
      	Improve handling of signals on darwin.
      	(GNATMAKE_OBJS): Update dependencies.
      
      From-SVN: r148789
      Arnaud Charlet committed
    • arm.c (arm_print_operand): Deal with HIGH. · d58bc084
      	* config/arm/arm.c (arm_print_operand): Deal with HIGH.
      	* config/arm/constraints.md (j): New constraint for movw operands.
      	(N): Remove thumb2 meaning.
      	* config/arm/arm.md (*arm_movw): Delete.
      	(*arm_movsi_insn): Use j constraint for movw instead of N constraint.
      	* config/arm/vfp.md (*arm_movsi_vfp, *thumb2_movsi_vfp): Likewise.
      	* config/arm/thumb2.md (*thumb2_movsi_insn): Likewise.
      
      From-SVN: r148788
      Nathan Sidwell committed
    • re PR tree-optimization/40492 (ice in create_tmp_var) · ac6cb60c
      2009-06-22  Martin Jambor  <mjambor@suse.cz>
      
      	PR tree-optimization/40492
      	* tree-sra.c (sra_modify_assign): Pass zero offsets to
      	build_ref_for_offset.
      
      	* testsuite/g++.dg/torture/pr40492.C: New test.
      
      From-SVN: r148787
      Martin Jambor committed
    • alias.c: Use REG_P... · 481683e1
      2009-06-22  Shujing Zhao  <pearly.zhao@oracle.com>
      
      	* alias.c: Use REG_P, MEM_P, CONST_INT_P, LABEL_P, CALL_P, NOTE_P and
      	JUMP_TABLE_DATA_P predicates where applicable.
      	* auto-inc-dec.c: Ditto.
      	* builtins.c: Ditto.
      	* caller-save.c: Ditto.
      	* calls.c: Ditto.
      	* cfgcleanup.c: Ditto.
      	* cfglayout.c: Ditto.
      	* cfgrtl.c: Ditto.
      	* combine.c: Ditto.
      	* combine-stack-adj.c: Ditto.
      	* cse.c: Ditto.
      	* cselib.c: Ditto.
      	* dbxout.c: Ditto.
      	* df-scan.c: Ditto.
      	* dse.c: Ditto.
      	* dwarf2asm.c: Ditto.
      	* dwarf2out.c: Ditto.
      	* emit-rtl.c: Ditto.
      	* except.c: Ditto.
      	* explow.c: Ditto.
      	* expmed.c: Ditto.
      	* expr.c: Ditto.
      	* final.c: Ditto.
      	* function.c: Ditto.
      	* fwprop.c: Ditto.
      	* gcse.c: Ditto.
      	* genpreds.c: Ditto.
      	* genrecog.c: Ditto.
      	* ifcvt.c: Ditto.
      	* ira-costs.c: Ditto.
      	* ira-lives.c: Ditto.
      	* jump.c: Ditto.
      	* loop-iv.c: Ditto.
      	* lower-subreg.c: Ditto.
      	* modulo-sched.c: Ditto.
      	* optabs.c: Ditto.
      	* postreload.c: Ditto.
      	* print-rtl.c: Ditto.
      	* recog.c: Ditto.
      	* reginfo.c: Ditto.
      	* regmove.c: Ditto.
      	* reload1.c: Ditto.
      	* reload.c: Ditto.
      	* reorg.c: Ditto.
      	* rtlanal.c: Ditto.
      	* rtl.c: Ditto.
      	* sched-vis.c: Ditto.
      	* sdbout.c: Ditto.
      	* sel-sched-ir.c: Ditto.
      	* simplify-rtx.c: Ditto.
      	* targhooks.c: Ditto.
      	* var-tracking.c: Ditto.
      	* vmsdbgout.c: Ditto.
      
      From-SVN: r148786
      Shujing Zhao committed
    • libtool-version: Bump soversion. · eee37e90
      2009-06-22  Matthias Klose  <doko@ubuntu.com>
      
              * libtool-version: Bump soversion.
      
      From-SVN: r148785
      Matthias Klose committed
    • dump-noaddr.x (dump_compare): Determine dumpbase file name from $src. · a6e8d911
      	* gcc.c-torture/unsorted/dump-noaddr.x (dump_compare): Determine
      	dumpbase file name from $src.  Add -fdump-ipa-all to compile flags.
      
      From-SVN: r148784
      Uros Bizjak committed
    • Makefile.in (install-plugin): Always use DESTDIR. · 1407d6cf
      2009-06-22  Matthias Klose  <doko@ubuntu.com>
      
              * Makefile.in (install-plugin): Always use DESTDIR.
      
      From-SVN: r148783
      Matthias Klose committed
    • [multiple changes] · e7d72fb9
      2009-06-22  Robert Dewar  <dewar@adacore.com>
      
      	* sinput.adb, sinput.ads (Expr_First_Char, Expr_Last_Char): Replaced
      	by Sloc_Range.
      
      	* freeze.adb: Minor comment updates
      
      	* s-valrea.adb (Bad_Based_Value): New procedure
      	(Scan_Real): Raise exceptions with messages
      
      2009-06-22  Matthew Gingell  <gingell@adacore.com>
      
      	* adaint.h: Complete previous change.
      
      2009-06-22  Thomas Quinot  <quinot@adacore.com>
      
      	* exp_ch7.ads, exp_ch3.adb: Minor reformatting
      
      2009-06-22  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch6.adb (Check_Overriding_Indicator): When style checks are
      	enabled, emit warning when a non-controlling argument of the overriding
      	operation appears out of place vis-a-vis of the formal of the
      	overridden operation.
      
      From-SVN: r148782
      Arnaud Charlet committed
    • [multiple changes] · 03456e44
      2009-06-22  Vincent Celier  <celier@adacore.com>
      
      	* gnatcmd.adb (Check_Files): Close temporary files after all file names
      	have been written into it.
      
      2009-06-22  Matthew Gingell  <gingell@adacore.com>
      
      	* adaint.c, adaint.h, cstreams.c: Call stat64 on platforms where it is
      	available.
      
      2009-06-22  Thomas Quinot  <quinot@adacore.com>
      
      	* sem_disp.adb (Check_Direct_Call): Handle the case where the full
      	view of the root type is visible at the point of the call.
      
      2009-06-22  Pat Rogers  <rogers@adacore.com>
      
      	* gnat_ugn.texi: Revised a sentence to correct a minor grammar error.
      
      From-SVN: r148781
      Arnaud Charlet committed
    • pa.c (output_call): Don't optimize post call jumps into return address adjustments if... · 28326880
      	* config/pa/pa.c (output_call): Don't optimize post call jumps
      	into return address adjustments if the call may throw.
      
      	testsuite/
      	* gnat.dg/raise_ce.adb: Helper for ...
      	* gnat.dg/handle_and_return.adb: New test.
      
      From-SVN: r148780
      Olivier Hainque committed
    • freeze.adb: Add comments. · 59366db6
      2009-06-22  Jerome Lambourg  <lambourg@adacore.com>
      
      	* freeze.adb: Add comments.
      
      From-SVN: r148779
      Jerome Lambourg committed
    • re PR fortran/40443 (Elemental procedure in genericl interface incorrectly… · 79e9c4aa
      re PR fortran/40443 (Elemental procedure in genericl interface incorrectly selected in preference to specific procedure)
      
      2009-06-22  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/40443
      	* interface.c (gfc_search_interface): Hold back a match to an
      	elementary procedure until all other possibilities are
      	exhausted.
      
      2009-06-22  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/40443
      	* gfortran.dg/generic_18.f90: New test.
      
      From-SVN: r148777
      Paul Thomas committed
    • re PR fortran/40443 (Elemental procedure in genericl interface incorrectly… · 22a0a780
      re PR fortran/40443 (Elemental procedure in genericl interface incorrectly selected in preference to specific procedure)
      
      2009-06-22  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/40443
      	* interface.c (gfc_search_interface): Hold back a match to an
      	elementary procedure until all other possibilities are
      	exhausted.
      
      2009-06-22  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/40443
      	* gfortran.dg/generic_18.f90: New test.
      
      From-SVN: r148776
      Paul Thomas committed