Commit Graph

85393 Commits

Author SHA1 Message Date
Jerry DeLisle 565e50452f re PR libfortran/34540 (cshift, eoshift, kind=1 and kind=2 arguments...)
2007-12-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/34540
	* iresolve.c (gfc_resolve_cshift): Take optional dim path
	only if the argument is an optional itself.
	* iresolve.c (gfc_resolve_eoshift): Same.

From-SVN: r131133
2007-12-22 01:57:07 +00:00
John David Anglin 94919bd2bc pa.c (hppa_legitimize_address): Use INT14_OK_STRICT in mask selection.
* pa.c (hppa_legitimize_address): Use INT14_OK_STRICT in mask selection.

From-SVN: r131130
2007-12-22 00:17:43 +00:00
GCC Administrator a9ac35c8e8 Daily bump.
From-SVN: r131129
2007-12-22 00:17:41 +00:00
John David Anglin 7813231b94 re PR target/34525 (ICE in extract_insn, at recog.c:1990 on hppa)
PR target/34525
	* pa.c (legitimize_pic_address): Emit insn to load function label
	forced to memory.

From-SVN: r131126
2007-12-21 23:37:07 +00:00
Rask Ingemann Lambertsen b721df48de [multiple changes]
2007-12-13  Andrew Pinski  <pinskia@gmail.com>
	Rask Ingemann Lambertsen  <rask@sygehus.dk>

	PR target/8835
	* config/mcore/mcore.c (mcore_function_value): Call promote_mode
	instead of PROMOTE_MODE.

testsuite/
2007-12-13  Kazu Hirata  <kazu@codesourcery.com>

	PR target/8835
	* gcc.dg/pr8835-1.c: New.

From-SVN: r131125
2007-12-21 21:53:23 +00:00
Paul Thomas b7b184a86b re PR fortran/34438 (gfortran not compliant w.r.t default initialization of derived type component and implicit SAVE attribute)
2007-12-21  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/34438
	* trans-decl.c (gfc_finish_var_decl): Do not mark derived types
	with default initializers as TREE_STATIC unless they are in the
	main program scope.
	(gfc_get_symbol_decl): Pass derived types with a default
	initializer to gfc_defer_symbol_init.
	(init_default_dt): Apply default initializer to a derived type.
	(init_intent_out_dt): Call init_default_dt.
	(gfc_trans_deferred_vars): Ditto.

	* module.c (read_module): Check sym->module is there before
	using it in a string comparison.

2007-12-21  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/34438
	* gfortran.dg/default_initialization_3.f90: New test.

From-SVN: r131124
2007-12-21 21:20:38 +00:00
Sebastian Pop d7d20e1c12 lambda-code.c (lambda_loopnest_to_gcc_loopnest): Fix typo.
2007-12-21  Sebastian Pop  <sebastian.pop@amd.com>
 
	* lambda-code.c (lambda_loopnest_to_gcc_loopnest): Fix typo.

From-SVN: r131123
2007-12-21 19:12:32 +00:00
Sebastian Pop 33b30201b3 tree-data-ref.c (signed_type_for_types): New.
2007-12-21  Sebastian Pop  <sebastian.pop@amd.com>

	* tree-data-ref.c (signed_type_for_types): New.
	(affine_fn_op): Use signed_type_for_types and signed_type_for instead
	of long_integer_type_node.
	(analyze_ziv_subscript): Same.
	(analyze_siv_subscript_cst_affine): Same.
	(analyze_miv_subscript): Same.
	(omega_setup_subscript): Same.

From-SVN: r131121
2007-12-21 16:28:48 +00:00
Richard Sandiford f90dd02db5 mips.exp (setup_mips_tests): Fix _MIPS_SIM conditions.
gcc/testsuite/
	* gcc.target/mips/mips.exp (setup_mips_tests): Fix _MIPS_SIM
	conditions.
	(dg-mips-options): Treat -march=24k* as a 32-bit option.

From-SVN: r131119
2007-12-21 10:15:14 +00:00
Richard Sandiford 5557aad231 mips.c (mips_emit_loadgp): Replace gen_* calls with separate gen_*_si and gen_*_di calls.
gcc/
	* config/mips/mips.c (mips_emit_loadgp): Replace gen_* calls with
	separate gen_*_si and gen_*_di calls.  Pass pic_offset_table_rtx
	as the first argument.
	* config/mips/mips.md (loadgp_newabi, loadgp_absolute)
	(loadgp_rtp): Rename to...
	(loadgp_newabi_<mode>, loadgp_absolute<mode>, loadgp_rtp<mode>):
	...these.  Add modes to all operands.  Add the target register
	as an operand.  Combine loadgp_rtp<mode> with its splitter.

From-SVN: r131118
2007-12-21 10:00:36 +00:00
Jack Howarth b27283df29 builtin-modf-1.c: Pass "-funsafe-math-optimizations -fsigned-zeros -fno-associative-math" on...
* gcc.dg/torture/builtin-modf-1.c: Pass "-funsafe-math-optimizations 
	-fsigned-zeros -fno-associative-math" on powerpc-*-darwin*.

--This line, and teose below, will be ignored--

M    testsuite/gcc.dg/torture/builtin-modf-1.c
M    testsuite/ChangeLog

From-SVN: r131117
2007-12-21 08:51:33 +01:00
Jason Merrill ad35761416 * gcc.dg/overload/arg[14].C: Remove expected errors.
From-SVN: r131116
2007-12-20 23:09:45 -05:00
GCC Administrator f1090323ba Daily bump.
From-SVN: r131112
2007-12-21 00:17:55 +00:00
Bob Wilson 7f0ee69424 xtensa.md (fix_return_addr): Remove.
* config/xtensa/xtensa.md (fix_return_addr): Remove.
	* config/xtensa/xtensa-protos.h (xtensa_initialize_trampoline): New.
	(xtensa_trampoline_template): New.
	* config/xtensa/xtensa.c (MIN_FRAME_SIZE): Moved here from xtensa.h.
	(xtensa_return_addr): Expand to standard Xtensa insns instead of
	fix_return_addr.  Get high bits from a local label.
	(xtensa_trampoline_template): New function with code moved from
	TRAMPOLINE_TEMPLATE in xtensa.h.  Use L32R instead of CALL0 except
	when using CONST16 or absolute-mode literals.
	(xtensa_initialize_trampoline): New function with code moved from
	INITIALIZE_TRAMPOLINE in xtensa.h.  Use different offsets depending
	on which trampoline version is used.
	* config/xtensa/lib2funcs.S (TRAMPOLINE_SIZE): Add comment.
	* config/xtensa/xtensa.h (TARGET_ABSOLUTE_LITERALS): Define.
	(MIN_FRAME_SIZE): Moved to xtensa.c.
	(TRAMPOLINE_TEMPLATE): Use xtensa_trampoline_template.
	(TRAMPOLINE_SIZE): Two versions of the trampoline have different sizes.
	(INITIALIZE_TRAMPOLINE): Use xtensa_initialize_trampoline.
	* config/xtensa/ieee754-df.S (XCHAL_NO_MUL): Define.
	(__muldf3): Use CALL12 instead of CALL0 to invoke .Lmul_mulsi3
	helper when not using the CALL0 ABI.  Change .Lmul_mulsi3 to match.
	* config/xtensa/lib1funcs.asm (__umulsidi3): Likewise.
	* config/xtensa/ieee754-sf.S (__mulsf3): Likewise.

From-SVN: r131108
2007-12-20 22:35:59 +00:00
Jason Merrill 4c12c8ea94 re PR c++/34111 (new overload resolution error)
PR c++/34111
        * call.c (standard_conversion): Derived-to-base is considered a
        standard conversion.

From-SVN: r131107
2007-12-20 17:16:19 -05:00
Alexandre Oliva ef833d3dc2 lang.c (java_classify_record): Don't return RECORD_IS_INTERFACE for now.
* lang.c (java_classify_record): Don't return
RECORD_IS_INTERFACE for now.

From-SVN: r131105
2007-12-20 17:18:10 +00:00
Jakub Jelinek 3ec1a7379f re PR c++/34459 (incorrect code when compiled with optimization (-O1))
PR c++/34459
	* tree-ssa-dse.c (dse_optimize_stmt): Don't eliminate store if
	USE_STMT not only stores into the same object as STMT, but might
	read it too.

	* gcc.c-torture/execute/20071219-1.c: New test.

From-SVN: r131101
2007-12-20 15:40:33 +01:00
Tobias Burnus 667e20459d re PR libfortran/34530 (namelist read broken when whitespace after &namelist)
2007-12-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34530
        * io/list_read.c (eat_line): Move up in the file.
        (eat_separator): In namelist mode, skip over comment lines.

2007-12-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34530
        * gfortran.dg/namelist_44.f90: New.

From-SVN: r131099
2007-12-20 09:16:48 +01:00
Tobias Burnus c7abc45c7f re PR fortran/34482 (FAIL: gfortran.dg/nan_4.f90 -O tests for errors)
2007-12-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34482
        * gfortran.texi (BOZ): Document behavior for complex
        numbers.
        * target-memory.h (gfc_convert_boz): Update prototype.
        * target-memory.c (gfc_convert_boz): Add error check
        and convert BOZ to smallest possible bit size.
        * resolve.c (resolve_ordinary_assign): Check return value.
        * expr.c (gfc_check_assign): Ditto.
        * simplify.c (simplify_cmplx, gfc_simplify_dble,
        gfc_simplify_float, gfc_simplify_real): Ditto.

2007-12-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34482
        * gfortran.dg/boz_8.f90: Add error-check check.
        * gfortran.dg/boz_9.f90: Shorten BOZ where needed, replace
        stop by call abort.

From-SVN: r131098
2007-12-20 09:13:09 +01:00
Sebastian Pop f411364823 re PR tree-optimization/34413 (gfortran.dg/ltrans-7.f90 doesn't work)
2007-12-19  Sebastian Pop  <sebastian.pop@amd.com>

	PR tree-optimization/34413
	* tree-data-ref.c (affine_fn_op, analyze_ziv_subscript,
	analyze_siv_subscript_cst_affine, analyze_miv_subscript,
	omega_setup_subscript): Use long_integer_type_node instead of
	integer_type_node.

From-SVN: r131097
2007-12-20 03:42:17 +00:00
John David Anglin f946206c0e re PR target/34525 (ICE in extract_insn, at recog.c:1990 on hppa)
PR target/34525
	* pa.c (legitimize_pic_address): Force function labels into memory.

From-SVN: r131096
2007-12-20 01:17:57 +00:00
GCC Administrator ec871836a4 Daily bump.
From-SVN: r131094
2007-12-20 00:17:51 +00:00
Arnaud Charlet 44914a04db Add Sam's email for last sem_ch6.adb/sem_ch3.adb change.
From-SVN: r131089
2007-12-19 17:50:42 +01:00
Arnaud Charlet 7469b7bcb4 Resync.
From-SVN: r131088
2007-12-19 17:47:36 +01:00
Arnaud Charlet 5ce4352251 Update error message.
From-SVN: r131087
2007-12-19 17:27:18 +01:00
Robert Dewar 482434dcf0 gnat_rm.texi, [...]: Update documentation of -gnatw.o Fix name of Wide_Wide_Latin_1/9 file names Add...
2007-12-19  Robert Dewar  <dewar@adacore.com>

	* gnat_rm.texi, gnat_ugn.texi: Update documentation of -gnatw.o
	Fix name of Wide_Wide_Latin_1/9 file names
	Add documentation for Ada.Exceptions.Last_Chance_Handler (a-elchha.ads)
	Add missing documentation for Ada.Wide_[Wide_]Characters.Unicode
	Add missing documentation for Ada.Command_Line.Response_File
	Update list of warning letters for Warnings pragma
	Add documentation for pragma Unmodified

From-SVN: r131086
2007-12-19 17:26:20 +01:00
Vincent Celier d71cdcc585 makegpr.adb (Check_Compilation_Needed): Normalize C_Source_Path so that the source path name is always found in the...
2007-12-19  Vincent Celier  <celier@adacore.com>

	* makegpr.adb (Check_Compilation_Needed): Normalize C_Source_Path so
	that the source path name is always found in the dependencies.

From-SVN: r131085
2007-12-19 17:26:08 +01:00
Thomas Quinot 9b0b4cbe20 Part of PR ada/33688
2007-12-19  Thomas Quinot  <quinot@adacore.com>

	Part of PR ada/33688
	* gen-soccon.c: Add constant IP_PKTINFO to allow getting ancillary
	datagram info on Linux.

From-SVN: r131084
2007-12-19 17:25:58 +01:00
Tristan Gingold 916549397d utils.c (create_var_decl_1): call rest_of_decl_compilation only for global variable.
2007-12-19  Tristan Gingold  <gingold@adacore.com>

	* utils.c (create_var_decl_1): call rest_of_decl_compilation only for
	global variable.

From-SVN: r131083
2007-12-19 17:25:33 +01:00
Gary Dismukes 20e8cdd795 re PR ada/34149 (GNAT crash - deeply inrerited function)
2007-12-19  Gary Dismukes  <dismukes@adacore.com>

	PR ada/34149
	* sem_disp.adb (Check_Dispatching_Call): Augment existing test for
	presence of a statically tagged operand (Present (Static_Tag)) with
	test for Indeterm_Ancestor_Call when determining whether to propagate
	the static tag to tag-indeterminate operands (which forces dispatching
	on such calls).
	(Check_Controlling_Formals): Ada2005, access parameters can have
	defaults.
	(Add_Dispatching_Operation, Check_Operation_From_Private_View): do
	not insert subprogram in list of primitive operations if already there.

From-SVN: r131082
2007-12-19 17:25:18 +01:00
Ed Schonberg 90067a1585 sem_ch8.adb (Analyze_Subprogram_Renaming): Diagnose illegal renamings whose renamed entity is a subprogram that requires...
2007-12-19  Ed Schonberg  <schonberg@adacore.com>
	    Gary Dismukes  <dismukes@adacore.com>

	* sem_ch8.adb (Analyze_Subprogram_Renaming): Diagnose illegal renamings
	whose renamed entity is a subprogram that requires overriding.
	(Premature_Usage): Test for the case of N_Full_Type_Declaration when
	issuing an error for premature usage and issue a message that says
	'type' rather than 'object'.

From-SVN: r131081
2007-12-19 17:24:55 +01:00
Bob Duff fe39cf209f sem_ch4.adb (Analyze_Concatenation_Rest): New procedure.
2007-12-19  Bob Duff  <duff@adacore.com>

	* sem_ch4.adb (Analyze_Concatenation_Rest): New procedure.
	(Analyze_Concatenation): Use iteration instead of recursion in order
	to avoid running out of stack space for deeply nested concatenations.

From-SVN: r131080
2007-12-19 17:24:44 +01:00
Ed Schonberg f29b857f30 PR ada/15803, ada/15805
2007-12-19  Ed Schonberg  <schonberg@adacore.com>
	    Gary Dismukes  <dismukes@adacore.com>

	PR ada/15803, ada/15805
	* sem_ch6.adb, sem_ch3.adb (Constrain_Access): In Ada2005, diagnose
	illegal access subtypes when there is a constrained partial view.
	(Check_For_Premature_Usage): New procedure inside
	Access_Subprogram_Declaration for checking that an access-to-subprogram
	type doesn't reference its own name within any formal parameters or
	result type (including within nested anonymous access types).
	(Access_Subprogram_Declaration): Add call to Check_For_Premature_Usage.
	(Sem_Ch3.Analyze_Object_Declaration, Sem_ch6.Process_Formals): if the
	context is an access_to_variable, the expression cannot be an
	access_to_constant.

From-SVN: r131079
2007-12-19 17:24:34 +01:00
Vincent Celier ce914b984f prj-attr.adb (Package_Node_Id_Of): Returns Unknown_Package when package is not known
2007-12-19  Vincent Celier  <celier@adacore.com>

	* prj-attr.adb (Package_Node_Id_Of): Returns Unknown_Package when
	package is not known

	* prj-attr.ads (Unknown_Package): New constant
	Do not crash when an unknown package is in several projects

	* prj-dect.adb (Parse_Package_Declaration): Mark an unknown package as
	ignored

	* prj-nmsc.adb (Check): Remove obsolete code related to no longer
	existing package Language_Processing.

From-SVN: r131078
2007-12-19 17:24:17 +01:00
Ed Schonberg 1c0ecdd46a par-ch3.adb (P_Record_Declaration): Guard against cascaded errors in mangled declaration
2007-12-19  Ed Schonberg  <schonberg@adacore.com>

	* par-ch3.adb (P_Record_Declaration): Guard against cascaded errors in
	mangled declaration
	(P_Type_Declaration): Diagnose misuse of "abstract" in untagged record
	declarations.
	(P_Variant_Part): Cleaner patch for parenthesized discriminant

From-SVN: r131077
2007-12-19 17:24:06 +01:00
Ed Schonberg 32c760e6bd freeze.adb (Freeze_Record_Type, [...]): Implement properly the Ada2005 rules concerning when...
2007-12-19  Ed Schonberg  <schonberg@adacore.com>

	* freeze.adb (Freeze_Record_Type, Check_Current_Instance): Implement
	properly the Ada2005 rules concerning when the current instance of a
	record type is aliased.

From-SVN: r131076
2007-12-19 17:23:55 +01:00
Robert Dewar e5aa8dd31e exp_pakd.adb (Expand_Bit_Packed_Element_Set): Fix packed array type in complex case where array is Volatile.
2007-12-19  Robert Dewar  <dewar@adacore.com>

	* exp_pakd.adb (Expand_Bit_Packed_Element_Set): Fix packed array type
	in complex case where array is Volatile.

From-SVN: r131075
2007-12-19 17:23:43 +01:00
Robert Dewar 6625fbd0cb exp_ch9.adb (Null_Statements): Moved to library level
2007-12-19  Robert Dewar  <dewar@adacore.com>

	* exp_ch9.adb (Null_Statements): Moved to library level
	(Trivial_Accept_OK): New function
	(Expand_Accept_Declaration): Use Trivial_Accept_OK
	(Expand_N_Accept_Statement): Use Trivial_Accept_OK

From-SVN: r131074
2007-12-19 17:23:32 +01:00
Javier Miranda 5be0911d7d exp_ch3.adb (Expand_N_Object_Declaration): Complete the circuitry that forces the construction of static dispatch tables...
2007-12-19  Javier Miranda  <miranda@adacore.com>

	* exp_ch3.adb (Expand_N_Object_Declaration): Complete the circuitry
	that forces the construction of static dispatch tables in case of
	record subtypes.

From-SVN: r131073
2007-12-19 17:23:21 +01:00
Robert Dewar cf284c756a exp_attr.adb (Expand_N_Attribute_Reference, case Size): Fix error in handling compile time known size of record or array (case of front...
2007-12-19  Robert Dewar  <dewar@adacore.com>

	* exp_attr.adb (Expand_N_Attribute_Reference, case Size): Fix error in
	handling compile time known size of record or array (case of front end
	layout active, e.g. in GNAAMP).

From-SVN: r131072
2007-12-19 17:23:09 +01:00
Ed Schonberg 4a76b687c4 exp_aggr.adb (Not_OK_For_Backend): A component of a private type with discriminants forces expansion of the...
2007-12-19  Ed Schonberg  <schonberg@adacore.com>

	* exp_aggr.adb (Not_OK_For_Backend): A component of a private type with
	discriminants forces expansion of the aggregate into assignments.
	(Init_Record_Controller):  If the type of the aggregate is untagged and
	is not inherently limited, the record controller is not limited either.

From-SVN: r131071
2007-12-19 17:22:56 +01:00
Bob Duff 10303118b3 atree.ads, atree.adb (Traverse_Func): Walk Field2 last, and eliminate the resulting tail recursion by hand.
2007-12-19  Bob Duff  <duff@adacore.com>

	* atree.ads, atree.adb (Traverse_Func): Walk Field2 last, and eliminate
	the resulting tail recursion by hand. This prevents running out of
	memory on deeply nested concatenations, since Field2 is where the left
	operand of concatenations is stored.
	Fix bug (was returning OK_Orig in some cases). Fix return subtype to
	clarify that it can only return OK or Abandon.

	* sem_res.adb (Resolve_Op_Concat): Replace the recursion on the left
	operand by iteration, in order to avoid running out of memory on
	deeply-nested concatenations. Use the Parent pointer to get back up the
	tree.
	(Resolve_Op_Concat_Arg, Resolve_Op_Concat_First,
	 Resolve_Op_Concat_Rest): New procedures split out of
	Resolve_Op_Concat, so the iterative algorithm in Resolve_Op_Concat is
	clearer.

	* checks.adb (Remove_Checks): Use Traverse_Proc instead of
	Traverse_Func, because the former already takes care of discarding the
	result.

	* errout.adb (First_Node): Use Traverse_Proc instead of Traverse_Func,
	because the former already takes care of discarding the result.
	(Remove_Warning_Messages): Use appropriate subtype for Status and
	Discard

From-SVN: r131070
2007-12-19 17:22:40 +01:00
Eric Botcazou 160df97907 2007-12-19 Eric Botcazou <ebotcazou@adacore.com>
* targparm.adb, targparm.ads, system.ads, system-darwin-ppc.ads,
	system-vxworks-x86.ads, system-linux-ppc.ads, system-linux-hppa.ads,
	system-hpux-ia64.ads, system-vxworks-arm.ads, system-darwin-x86.ads,
	system-vms_64.ads, system-vms-ia64.ads, system-linux-ia64.ads,
	system-freebsd-x86.ads, system-linux-x86_64.ads, system-tru64.ads,
	system-aix.ads, system-vxworks-sparcv9.ads, system-solaris-x86.ads,
	system-irix-o32.ads, system-irix-n32.ads, system-hpux.ads,
	system-vxworks-m68k.ads, system-linux-x86.ads, system-vxworks-mips.ads,
	system-solaris-sparc.ads, system-solaris-sparcv9.ads, system-vms.ads,
	system-mingw.ads, system-vms-zcx.ads, system-vxworks-ppc.ads
	(Dynamic_Trampolines_Used): Delete.

	* system-lynxos-x86.ads, system-lynxos-ppc.ads: Ditto.
	Turn on stack probing mechanism on LynxOS.

From-SVN: r131069
2007-12-19 17:22:26 +01:00
Robert Dewar 9d77af56e7 g-expect-vms.adb, [...]: Add pragma Warnings (Off) for unassigned IN OUT arguments
2007-12-19  Robert Dewar  <dewar@adacore.com>

	* g-expect-vms.adb, g-expect.adb, s-poosiz.adb: 
	Add pragma Warnings (Off) for unassigned IN OUT arguments

	* sem_warn.adb (Output_Reference): Suppress messages for internal names
	(Check_References): Extensive changes to tune up warnings
	(Output_Non_Modifed_In_Out_Warnings): Changes to tune up warnings
	(Has_Pragma_Unmodifed_Check_Spec): New function
	(Check_References): Implement pragma Unmodified
	(Warn_On_Unassigned_Out_Parameter): Implement pragma Unmodified

	* par-prag.adb: Dummy entry for pragma Unmodified

	* sem_prag.adb: Implement pragma Unmodified

	* einfo.ads, einfo.adb: (Has_Pragma_Unmodified): New flag
	(Proc_Next_Component_Or_Discriminant): Fix typo.
	Update comments.

	* sem_util.adb (Note_Possible_Modification): Add processinng for pragma
	Unmodified.
	(Reset_Analyzed_Flags): Use Traverse_Proc instead of Traverse_Func,
	because the former already takes care of discarding the result.
	(Mark_Coextensions): Remove ununused initial value from Is_Dynamic.
	Add comment.

	* snames.h, snames.ads, snames.adb: Add entry for pragma Unmodified

From-SVN: r131068
2007-12-19 17:22:02 +01:00
Arnaud Charlet 41d4f4a794 Make type limited as per Ada 2005 rules.
From-SVN: r131067
2007-12-19 17:17:40 +01:00
Arnaud Charlet 1a52e5650a Update test to follow Ada 2005 rules.
From-SVN: r131066
2007-12-19 17:16:28 +01:00
Paolo Bonzini 8460ef76d3 insert missing entry for r128341 into ChangeLog, taken from svn log
From-SVN: r131065
2007-12-19 15:47:13 +00:00
Zdenek Dvorak 068e1875cd omp-low.c (build_omp_regions_1): Recognition of combined parallels moved ...
* omp-low.c (build_omp_regions_1): Recognition of combined parallels
	moved ...
	(expand_omp): ... here.
	* gcc.dg/gomp/combined-1.c: New test.

From-SVN: r131064
2007-12-19 15:07:01 +00:00
Zdenek Dvorak 8a171a5948 re PR tree-optimization/34355 (ICE: invariant not recomputed when ADDR_EXPR changed with -ftree-parallelize-loops)
PR tree-optimization/34355
	* tree-parloops.c (take_address_of): Handle expresions
	instead of just variables.
	(eliminate_local_variables_1): Force whole invariant
	address to ssa name.

	* g++.dg/tree-ssa/pr34355.C: New test.

From-SVN: r131063
2007-12-19 15:01:19 +00:00
Etsushi Kato 89deeaffbb re PR target/30572 (target libraries links against /libgcc_s.1.dylib instead of $(prefix)/lib/libgcc_s.1.dylib)
2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
	    Paolo Bonzini  <bonzini@gnu.org>

	PR target/30572
	* Makefile.in: Use @shlib_slibdir@ substitution to get correct install name
	on darwin.
	* config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
				

Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>

From-SVN: r131062
2007-12-19 14:28:32 +00:00