Commit Graph

94280 Commits

Author SHA1 Message Date
Hristian Kirtchev
c0985d4ed8 sem_attr.adb: Add with and use clauses for Sem_Ch10.
2009-06-23  Hristian Kirtchev  <kirtchev@adacore.com>

	* sem_attr.adb: Add with and use clauses for Sem_Ch10.
	(Check_Not_Incomplete_Type): Minor reformatting. Retrieve the root type
	when dealing with class-wide types. Detect a legal shadow entity and
	retrieve its non-limited view.

	* sem_ch10.adb (Has_With_Clause): Move the spec and body of the
	subprogram to top package level from Intall_Limited_Withed_Unit.
	(Install_Limited_Withed_Unit): Remove spec and body of Has_With_Clause.
	Add check which prevents the installation of a limited view if the
	non-limited view is already visible through a with clause.
	(Is_Legal_Shadow_Entity_In_Body): New routine. Detect a residual, but
	legal shadow entity which may occur in subprogram formals of anonymous
	access type.

	* sem_ch10.ads (Is_Legal_Shadow_Entity_In_Body): New routine.

	* sem_ch3.adb (Access_Definition): Remove the propagation of flag
	From_With_Type from the designated type to the generated anonymous
	access type. Remove associated comment.

	* sem_res.adb Add with and use clauses for Sem_Ch10.
	(Full_Designated_Type): Detect a legal shadow entity and retrieve its
	non-limited view. Since the shadow entity may replace a regular
	incomplete type, return the available full view.

From-SVN: r148844
2009-06-23 12:15:47 +02:00
Arnaud Charlet
0d354370f2 [multiple changes]
2009-06-23  Ed Schonberg  <schonberg@adacore.com>

	* sem_ch10.adb (Remove_Limited_With_Clause): Clean up code that handles
	incomplete type declarations. Previous code was potentially quadratic
	in the number of visible declarations in any package appearing in a
	limited_with_clause.

2009-06-23  Robert Dewar  <dewar@adacore.com>

	* prj-conf.ads, prj-part.adb, prj-proc.adb, prj-proc.ads, sem_ch8.adb,
	xref_lib.adb: Minor reformatting

From-SVN: r148843
2009-06-23 12:09:38 +02:00
Robert Dewar
85b7d482bb a-stzhas.adb: Provide dummy body to avoid build problems with old versions which did have a...
2009-06-23  Robert Dewar  <dewar@adacore.com>

	* a-stzhas.adb: Provide dummy body to avoid build problems with old
	versions which did have a body for this unit.

From-SVN: r148842
2009-06-23 12:06:00 +02:00
Richard Guenther
0bbf2ffa83 tree-ssa-structalias.c (struct variable_info): Add is_global_var member.
2009-06-23  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-structalias.c (struct variable_info): Add is_global_var
	member.
	(var_anything, anything_tree, var_nothing, nothing_tree, var_readonly,
	readonly_tree, var_escaped, escaped_tree, var_nonlocal, nonlocal_tree,
	var_callused, callused_tree, var_storedanything, storedanything_tree,
	var_integer, integer_tree): Remove global variables.
	(new_var_info): Do not pass new id, append the new var to the
	global variable vector.
	(do_ds_constraint): Use is_global_var member of the variable-info.
	(new_scalar_tmp_constraint_exp): Adjust.
	(create_function_info_for): Likewise.
	(create_variable_info_for): Likewise.
	(find_what_var_points_to): Remove dead code.
	(init_base_vars): Simplify.
	(compute_points_to_sets): Adjust.

From-SVN: r148841
2009-06-23 10:03:41 +00:00
Arnaud Charlet
efc81a892c [multiple changes]
2009-06-23  Vincent Celier  <celier@adacore.com>

	* prj-attr.adb: Attribute names Initial_Required_Switches and
	Final_Required_Switches changed to Leading_Required_Switches and
	Trailing_Required_Switches.

	* prj-nmsc.adb (Process_Compiler): Attribute names
	Initial_Required_Switches and Final_Required_Switches changed to
	Leading_Required_Switches and Trailing_Required_Switches.

	* prj.ads (Language_Config): Component Initial_Required_Switches and
	Final_Required_Switches changed to Leading_Required_Switches and
	Trailing_Required_Switches.

	* snames.ads-tmpl: Remove standard names Initial_Required_Switches and
	Final_Required_Switches; add standard names Leading_Required_Switches
	and Trailing_Required_Switches.

2009-06-23  Thomas Quinot  <quinot@adacore.com>

	* prj-conf.adb: Minor reformatting

	* xref_lib.adb: Minor cleanup

From-SVN: r148840
2009-06-23 12:01:39 +02:00
Arnaud Charlet
1290ef1492 [multiple changes]
2009-06-23  Emmanuel Briot  <briot@adacore.com>

	* prj-proc.adb, prj-proc.ads, prj-nmsc.adb, prj-nmsc.ads, prj-conf.adb,
	prj-conf.ads (Check_Configuration): New parameter
	Compiler_Driver_Mandatory.

2009-06-23  Ed Schonberg  <schonberg@adacore.com>

	* sem_ch10.adb (Analyze_With_Clause): If a subprogram instance in the
	context of the current unit has an inline pragma, the instance is not
	rewritten as the declaration of the package wrapper. Handle both
	possibilities when retrieving the visible subprogram that renames the
	instantiation itself.

From-SVN: r148839
2009-06-23 11:57:45 +02:00
Arnaud Charlet
d6a24cdbbf [multiple changes]
2009-06-23  Javier Miranda  <miranda@adacore.com>

	* exp_ch4.adb (Displace_Allocator_Pointer, Expand_N_Allocator): Handle
	designated types referencing entities from the limited view.

2009-06-23  Matthew Gingell  <gingell@adacore.com>

	* a-stzhas.ads, a-szfzha.ads: Fix typo.

	* Makefile.rtl: Ada.Strings.Wide_Wide_Fixed.Wide_Wide_Hash depends on
	Ada.Strings.Wide_Wide_Hash. So we need to include a-stzhas in
	the list of RTS files.

2009-06-23  Thomas Quinot  <quinot@adacore.com>

	* ali.adb: Minor reformatting

2009-06-23  Ed Schonberg  <schonberg@adacore.com>

	* sem_ch8.adb: Improve error message.

2009-06-23  Emmanuel Briot  <briot@adacore.com>

	* prj-nmsc.adb: Minor reformating

	* prj-conf.adb, prj-conf.ads: Remove use of Osint.Fail everywhere
	(Do_Autoconf): accepts an empty Normalized_Hostname
	(Process_Project_And_Apply_Config): New subprogram
	(Parse_Project_And_Apply_Config): On_Load_Config now applies to the
	project tree rather than the project view.

	* prj-part.adb, prj.ads (Project_Qualifier): New possible value
	Configuration.

From-SVN: r148838
2009-06-23 11:49:38 +02:00
Arnaud Charlet
f91c36dc88 [multiple changes]
2009-06-23  Robert Dewar  <dewar@adacore.com>

	* s-strhas.adb, s-strhas.ads: Restrict to 32-bit modular types

	* s-imgdec.adb (Set_Decimal_Digits): Fix error of too many digits for
	small values

	* prj-conf.ads: Minor reformatting

	* prj-conf.adb: Minor reformatting

2009-06-23  Vasiliy Fofanov  <fofanov@adacore.com>

	* g-debpoo.adb (Dump_Gnatmem): Output dummy timestamps for allocations
	to correspond to the log format that gnatmem now expects.

2009-06-23  Vincent Celier  <celier@adacore.com>

	* prj-attr.adb: New attributes Initial_Required_Switches,
	Final_Required_Switches and Object_File_Switches
	
	* prj-nmsc.adb (Process_Compiler): Process new attributes
	Name_Final_Required_Switches, Name_Initial_Required_Switches and
	Name_Object_File_Switches.

	* prj.ads (Language_Config): New component
	Compiler_Initial_Required_Switches (replace Compiler_Required_Switches),
	Compiler_Final_Required_Switches and Object_File_Switches.

	* snames.ads-tmpl: New standard names Initial_Required_Switches,
	Final_Required_Switches and Object_File_Switches

From-SVN: r148837
2009-06-23 11:39:00 +02:00
Arnaud Charlet
352620476c [multiple changes]
2009-06-23  Pascal Obry  <obry@adacore.com>

	* s-strhas.adb, s-strhas.ads: Minor reformatting.

2009-06-23  Ed Schonberg  <schonberg@adacore.com>

	* sem_ch10.adb (Install_Limited_Withed_Unit): a null procedure does
	not indicate that the enclosing unit needs a body.

From-SVN: r148836
2009-06-23 11:32:31 +02:00
Emmanuel Briot
abe19d8806 prj-conf.ads, [...]: New files part of the project manager.
2009-06-23  Emmanuel Briot  <briot@adacore.com>

	* prj-conf.ads, prj-conf.adb: New files part of the project manager.

From-SVN: r148835
2009-06-23 11:30:59 +02:00
Ed Schonberg
af268547de sem_ch3.adb (Derive_Subprogram): If the inherited subprogram is a primitive equality include it with its source...
2009-06-23  Ed Schonberg  <schonberg@adacore.com>

	* sem_ch3.adb (Derive_Subprogram): If the inherited subprogram is a
	primitive equality include it with its source name even if the
	operation is currently invisible, to make sure that the corresponding
	slot in the dispatch table is reserved for the internal equality
	subsequently generated during expansion.

From-SVN: r148834
2009-06-23 11:25:20 +02:00
Matthew Gingell
a3e3b8daed * Makefile.rtl, a-stwiha.adb: Add a-stwiha.adb back.
From-SVN: r148833
2009-06-23 11:24:45 +02:00
Li Feng
1da52d4a6c MAINTAINERS: Added my name to write-after-approval list.
2009-06-23  Li Feng  <nemokingdom@gmail.com>

	* MAINTAINERS: Added my name to write-after-approval list.

From-SVN: r148831
2009-06-23 03:55:49 +00:00
Adam Nemet
28a5fb2ee6 combine.c (try_combine): Dump information about the insns we're combining.
* combine.c (try_combine): Dump information about the insns we're
	combining.

From-SVN: r148828
2009-06-23 00:35:24 +00:00
Adam Nemet
cfb8805e0f combine.c (combine_simplify_rtx): Remove TRULY_NOOP_TRUNCATION check when calling force_to_mode on TRUNCATE's operand.
* combine.c (combine_simplify_rtx): Remove TRULY_NOOP_TRUNCATION
	check when calling force_to_mode on TRUNCATE's operand.

testsuite/
	* gcc.target/mips/truncate-3.c: New test.

From-SVN: r148827
2009-06-23 00:31:44 +00:00
Jerry DeLisle
2fc61b4b32 Delete bad entry.
From-SVN: r148826
2009-06-23 00:17:06 +00:00
GCC Administrator
a0c579997d Daily bump.
From-SVN: r148825
2009-06-23 00:16:39 +00:00
Jerry DeLisle
573cbcb9c6 re PR fortran/40508 (memory leak in internal write of gfortran)
2009-06-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/40508
	* io/format.c: Don't save parsed format data for internal units.

From-SVN: r148823
2009-06-23 00:16:24 +00:00
Ian Lance Taylor
df4ba119d0 rs6000.opt: Move msched-epilog before msched-prolog.
* config/rs6000/rs6000.opt: Move msched-epilog before
	msched-prolog.

From-SVN: r148821
2009-06-22 22:27:06 +00:00
Janus Weil
6b1223b63a re PR fortran/37254 (Reject valid PROCEDURE statement with implicit interface)
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
2009-06-22 23:28:34 +02:00
Janus Weil
03bd096b3b re PR fortran/37254 (Reject valid PROCEDURE statement with implicit interface)
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
2009-06-22 23:02:19 +02:00
Uros Bizjak
34481f289c ChangeLog: Fixes.
* libgcc/ChangeLog: Fixes.
	* gcc/ChangeLog: Ditto.

From-SVN: r148815
2009-06-22 22:44:50 +02:00
Tobias Burnus
e5e85f2b81 re PR fortran/40472 (Simplification of spread intrinsic takes a long time)
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
2009-06-22 22:24:18 +02:00
Steven Bosscher
c986683bb0 arm.md (prologue_use): Set length of fake insn to 0.
* config/arm/arm.md (prologue_use): Set length of fake insn to 0.

From-SVN: r148813
2009-06-22 20:07:38 +00:00
Ralf Wildenhues
5c6927bd74 invoke.texi (Link Options): -nodefaultlibs and -nostdlib override library linkage flags such as...
gcc/
	* doc/invoke.texi (Link Options): -nodefaultlibs and -nostdlib
	override library linkage flags such as -static-libgcc or
	-shared-libgcc.

From-SVN: r148811
2009-06-22 19:23:49 +00:00
Maxim Kuvyrkov
19973be2be * config/m68k/m68k-devices.def: Add line for MCF5221x.
From-SVN: r148810
2009-06-22 18:40:20 +00:00
Paolo Carlini
c681c82917 testsuite_common_types.h (bitwise_operators, [...]): Initialize a and b.
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
2009-06-22 16:49:57 +00:00
Ian Lance Taylor
7a5d2eb861 linux.opt: Put mglibc ahead of muclibc.
./:	* 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
2009-06-22 16:49:03 +00:00
Matthias Klose
86e3c83a1c Makefile.in (install-plugin): Remove extra `/' after $(DESTDIR).
2009-06-22  Matthias Klose  <doko@ubuntu.com>

	* Makefile.in (install-plugin): Remove extra `/' after $(DESTDIR).

From-SVN: r148806
2009-06-22 15:20:34 +00:00
Matthias Klose
0a7d7dea56 re PR objc++/28050 (ICE on invalid initializer)
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
2009-06-22 15:18:38 +00:00
Paolo Carlini
b959d63702 1.cc: Mark test as possibly unused.
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
2009-06-22 14:57:23 +00:00
Rainer Orth
a77264d59f dwarf2out.c (dwarf2_debug_hooks): Initialize non-DWARF2_DEBUGGING_INFO version.
* dwarf2out.c (dwarf2_debug_hooks): Initialize
	non-DWARF2_DEBUGGING_INFO version.

From-SVN: r148800
2009-06-22 14:55:54 +00:00
Kai Tietz
54f549afdd Missed changelog entry.
From-SVN: r148799
2009-06-22 16:05:00 +02:00
Kai Tietz
f0375e7861 ChangeLog for gcc
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
2009-06-22 16:04:19 +02:00
H.J. Lu
3f53cdbe67 Add the missing g++.dg/torture/pr40492.C.
From-SVN: r148796
2009-06-22 06:52:40 -07:00
H.J. Lu
8e6e7620b3 re PR testsuite/40481 (gcc.dg/plugin/one_time-test-1.c doesn't work on ia64)
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
2009-06-22 06:36:37 -07:00
Arnaud Charlet
f61580d461 [multiple changes]
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
2009-06-22 15:28:59 +02:00
Arnaud Charlet
6823270cb9 [multiple changes]
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
2009-06-22 15:15:08 +02:00
Arnaud Charlet
c9e7bd8efb [multiple changes]
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
2009-06-22 15:09:00 +02:00
Ramana Radhakrishnan
7cea01df51 Fix target/40463
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
2009-06-22 12:43:23 +00:00
Ramana Radhakrishnan
3ce1475280 Disable caller and callee super interworking.
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
2009-06-22 12:40:37 +00:00
Arnaud Charlet
d88a51b1ca [multiple changes]
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
2009-06-22 14:24:57 +02:00
Nathan Sidwell
d58bc084b4 arm.c (arm_print_operand): Deal with HIGH.
* 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
2009-06-22 11:54:59 +00:00
Martin Jambor
ac6cb60cdf re PR tree-optimization/40492 (ice in create_tmp_var)
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
2009-06-22 12:54:16 +02:00
Shujing Zhao
481683e1d5 alias.c: Use REG_P...
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
2009-06-22 10:29:13 +00:00
Matthias Klose
eee37e909a libtool-version: Bump soversion.
2009-06-22  Matthias Klose  <doko@ubuntu.com>

        * libtool-version: Bump soversion.

From-SVN: r148785
2009-06-22 09:46:57 +00:00
Uros Bizjak
a6e8d911c0 dump-noaddr.x (dump_compare): Determine dumpbase file name from $src.
* 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
2009-06-22 11:27:04 +02:00
Matthias Klose
1407d6cf64 Makefile.in (install-plugin): Always use DESTDIR.
2009-06-22  Matthias Klose  <doko@ubuntu.com>

        * Makefile.in (install-plugin): Always use DESTDIR.

From-SVN: r148783
2009-06-22 09:21:56 +00:00
Arnaud Charlet
e7d72fb99d [multiple changes]
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
2009-06-22 11:21:53 +02:00
Arnaud Charlet
03456e44cf [multiple changes]
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
2009-06-22 11:11:52 +02:00