Commit Graph

95453 Commits

Author SHA1 Message Date
Arnaud Charlet 89c273b457 [multiple changes]
2009-08-17  Ed Schonberg  <schonberg@adacore.com>

	* sem_ch3.adb (Access_Definition): Do not create an Itype reference for
	an anonymous access type whose designated type is generic.

2009-08-17  Arnaud Charlet  <charlet@adacore.com>

	* comperr.adb (Compiler_Abort): Do not generate a bug box when in
	codepeer mode, friendlier.

From-SVN: r150824
2009-08-17 11:28:48 +02:00
Janus Weil b76e28c64d re PR fortran/40877 (memory leaks with gfc_charlen?)
2009-08-17  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/40877
	* array.c (gfc_resolve_character_array_constructor): Add NULL argument
	to gfc_new_charlen.
	* decl.c (add_init_expr_to_sym,variable_decl,match_char_spec,
	gfc_match_implicit): Ditto.
	* expr.c (simplify_const_ref): Fix memory leak.
	(gfc_simplify_expr): Add NULL argument to gfc_new_charlen.
	* gfortran.h (gfc_new_charlen): Modified prototype.
	* iresolve.c (check_charlen_present,gfc_resolve_char_achar): Add NULL
	argument to gfc_new_charlen.
	* module.c (mio_charlen): Ditto.
	* resolve.c (gfc_resolve_substring_charlen,
	gfc_resolve_character_operator,fixup_charlen): Ditto.
	(resolve_fl_derived,resolve_symbol): Add argument to gfc_charlen.
	* symbol.c (gfc_new_charlen): Add argument 'old_cl' (to make a copy of
	an existing charlen).
	(gfc_set_default_type,generate_isocbinding_symbol): Fix memory leak.
	(gfc_copy_formal_args_intr): Add NULL argument to gfc_new_charlen.
	* trans-decl.c (create_function_arglist): Fix memory leak.

From-SVN: r150823
2009-08-17 11:11:00 +02:00
Ben Elliston e9d9afef6f * config.sub, config.guess: Update from upstream sources.
From-SVN: r150822
2009-08-17 14:09:01 +10:00
Adam Nemet 4e9eeaad22 mips.exp: Add terminology section to comment at the top of the file.
* gcc.target/mips/mips.exp: Add terminology section to comment
	at the top of the file.  Fix typos.

From-SVN: r150821
2009-08-17 01:34:14 +00:00
GCC Administrator cd0d2becc6 Daily bump.
From-SVN: r150820
2009-08-17 00:16:39 +00:00
Richard Guenther fbe7af45be trans-expr.c (gfc_trans_scalar_assign): Replace hack with more proper hack.
2009-08-17  Richard Guenther  <rguenther@suse.de>

	* trans-expr.c (gfc_trans_scalar_assign): Replace hack with
	more proper hack.

From-SVN: r150817
2009-08-16 22:36:13 +00:00
H.J. Lu a6494e5388 Adding the missing ".c".
From-SVN: r150811
2009-08-16 13:07:14 -07:00
Douglas B Rupp dcad28fd05 Identical options to Alpha/VMS. Committed as obvious.
* doc/invoke.texi (Target options):
	Add new option list for IA-64/VMS.
	(menu): Add IA-64/VMS Options.
	(IA-64/VMS Options): Likewise.

From-SVN: r150808
2009-08-16 19:23:44 +00:00
Jason Merrill 15305a736f Make TREE_USED match the [basic.def.odr] concept for FUNCTION_DECL and VAR_DECL...
Make TREE_USED match the [basic.def.odr] concept for FUNCTION_DECL
	and VAR_DECL, so mark_used only has effect the first time.
	* decl2.c (mark_used): Just return if TREE_USED is already set.
	Don't set TREE_USED if cp_unevaluated_operand is set.
	(tree_used_ok): New fn.
	* init.c (build_offset_ref): Check it instead of TREE_USED.
	* call.c (build_call_a): Likewise.
	* cp-tree.h: Declare it.
	(DECL_NO_LINKAGE_CHECKED): No longer needed.
	(struct lang_decl_base): Remove no_linkage_checked bitfield.

From-SVN: r150807
2009-08-16 13:42:56 -04:00
Jason Merrill d3ece023f3 * decl2.c (finish_static_data_member_decl): Don't set TREE_USED.
From-SVN: r150806
2009-08-16 13:42:48 -04:00
Jason Merrill b49bd3798d * decl2.c (mark_used): It's ok to synthesize for default args now.
From-SVN: r150805
2009-08-16 13:42:41 -04:00
Richard Sandiford 30fff3d8cb re PR target/38599 (There should be a Pmode == DImode version of the MIPS lwxs pattern)
gcc/
	PR target/38599
	* config/mips/mips.md (*lwxs): Use :P for pointer values.

gcc/testsuite/
	PR target/38599
	* gcc.target/mips/smartmips-lwxs.c: Remove -mlong32.

From-SVN: r150804
2009-08-16 17:30:45 +00:00
Richard Sandiford cf5fb4b0d5 mips-protos.h (mips_push_asm_switch): New function.
gcc/
	* config/mips/mips-protos.h (mips_push_asm_switch): New function.
	(mips_pop_asm_switch): Likewise.
	* config/mips/mips.c (set_noreorder, set_nomacro, set_noat): Replace
	with...
	(mips_noreorder, mips_nomacro, mips_noat): ...these new variables.
	(mips_push_asm_switch_1, mips_pop_asm_switch_1): New functions.
	(mips_push_asm_switch, mips_pop_asm_switch): Likewise.
	(mips_print_operand_punctuation): Use them.  Check mips_noreorder
	instead of set_noreorder.
	(mips_output_function_prologue): Use the new functions.
	(mips_output_function_epilogue): Likewise.
	(mips_need_noat_wrapper_p): New function, split out from...
	(mips_final_prescan_insn, mips_final_postscan_insn): ...here.
	Use mips_push_asm_switch and mips_pop_asm_switch.
	* config/mips/mips.h (FUNCTION_PROFILER): Use mips_push_asm_switch
	and mips_pop_asm_switch.
	(ASM_OUTPUT_REG_POP): Likewise.
	(DBR_OUTPUT_SEQEND): Remove boilerplate comment.
	Use mips_pop_asm_switch.
	(mips_asm_switch): New structure.
	(set_noreorder, set_nomacro): Replace with...
	(mips_noreorder, mips_nomacro, mips_noat): ...these new variables.
	* config/mips/mips.md (fix_truncdfsi2_macro): Use mips_nomacro
	instead of set_nomacro.
	(fix_truncsfsi2_macro): Likewise.
	(cprestore): Likewise.
	(hazard): Use mips_noreorder instead of set_noreorder.
	* config/mips/sdemtk.h (FUNCTION_PROFILER): As for mips.h.

From-SVN: r150803
2009-08-16 17:25:23 +00:00
Uros Bizjak 3eb96d01d4 alpha.c (alpha_and_function): Handle NULL_RTX returned from prev_active_insn.
* config/alpha/alpha.c (alpha_and_function): Handle NULL_RTX returned
	from prev_active_insn.

From-SVN: r150802
2009-08-16 19:00:30 +02:00
Anatoly Sokolov 164709cfe6 avr.h (AVR_HAVE_8BIT_SP): New macros.
* config/avr/avr.h (AVR_HAVE_8BIT_SP): New macros.
	* config/avr/avr.c (avr_override_options): Initialize
	avr_current_arch variable.
	(avr_cpu_cpp_builtins): Define __AVR_HAVE_8BIT_SP__ or
	__AVR_HAVE_16BIT_SP__ according to the device type.
	(expand_prologue, output_movhi): Use AVR_HAVE_8BIT_SP instead of
	TARGET_TINY_STACK.
	(expand_epilogue): Use correct QI mode frame pointer for tiny stack.
	Use AVR_HAVE_8BIT_SP instead of TARGET_TINY_STACK.

From-SVN: r150801
2009-08-16 20:22:59 +04:00
Ralf Wildenhues 354ebf88ee Sync toplevel from src and merge.
/:
	Sync from src, merge:

	2009-07-02  Tristan Gingold  <gingold@adacore.com>

	* configure.ac: Do not exclude gas for i386-*-darwin.
	Add a case for x86_64-*-darwin.
	* configure: Regenerate.

From-SVN: r150800
2009-08-16 15:09:13 +00:00
Ralf Wildenhues c936f0d576 Sync config/ChangeLog from src.
From-SVN: r150799
2009-08-16 12:47:57 +00:00
Dodji Seketeli 52ac997de1 Mention PR number in my previous commit
From-SVN: r150798
2009-08-16 11:12:21 +02:00
Dodji Seketeli 5782bb7ab9 re PR debug/37801 (DWARF output for inlined functions doesn't always use DW_TAG_inlined_subroutine)
Fix for PR debug/37801

gcc/ChangeLog:
	* gcc/dwarf2out.c (gen_inlined_subroutine_die): Concentrate on
	generating inlined subroutine die only. We shouldn't be
	called for anything else.
	(gen_block_die): Don't generate inline subroutine debug info for
	abstract blocks.

gcc/testsuite/ChangeLog:
	* gcc/testsuite/gcc.dg/debug/20020224-1.c: Adjust the comment.
	Make sure to trigger inlining optimizations.
	* gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c: New test.

From-SVN: r150796
2009-08-16 11:02:25 +02:00
GCC Administrator e9dcb5db7d Daily bump.
From-SVN: r150795
2009-08-16 00:16:54 +00:00
Tobias Burnus 3a1e8ed569 re PR fortran/41080 (gfortran -dumpversion does not behave like gcc or g++)
2009-08-15  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41080
        * gfortranspec.c (lookup_option): Remove gfortran-specific
        version of -dumpversion.

From-SVN: r150792
2009-08-15 22:51:55 +02:00
Sebastian Pop 0763654384 Print PBB index.
2009-08-15  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-poly.c (print_pbb): Print PBB index.

From-SVN: r150790
2009-08-15 07:12:08 +00:00
Sebastian Pop f263917cbf Correct the use of ppl_Pointset_Powerset_C_Polyhedron_maximize.
2009-08-15  Sebastian Pop  <sebastian.pop@amd.com>

	PR middle-end/40981
	* graphite-interchange.c (ppl_max_for_le): Moved...
	* graphite-poly.c (pbb_number_of_iterations): Call ppl_max_for_le.
	* graphite-ppl.c (ppl_max_for_le): ... here.  Correct the use of
	ppl_Pointset_Powerset_C_Polyhedron_maximize.
	* graphite-ppl.h (ppl_max_for_le): Declared.

From-SVN: r150789
2009-08-15 07:10:20 +00:00
Ralf Wildenhues ae66da3ba5 configure.ac: Move guarded checks for CC and CXX ...
libstdc++-v3/
	* configure.ac: Move guarded checks for CC and CXX ...
	* acinclude.m4 (GLIBCXX_CONFIGURE): ... from here.
	* configure: Regenerate.

From-SVN: r150788
2009-08-15 07:02:33 +00:00
GCC Administrator dc869601f4 Daily bump.
From-SVN: r150786
2009-08-15 00:16:46 +00:00
Edward Smith-Rowland e192376912 re PR libstdc++/41061 (Compile of program using std random fails.)
2009-08-14  Edward Smith-Rowland  <3dw4rd@verizon.net>
	    Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/41061
	* include/bits/random.h (operator<<(std::basic_ostream<>&,
	const std::lognormal_distribution<>&), 
	operator>>(std::basic_istream<>&, std::lognormal_distribution<>&),
	operator<<(std::basic_ostream<>&, const std::gamma_distribution<>&),
	operator>>(std::basic_istream<>&, std::gamma_distribution<>&),
	operator<<(std::basic_ostream<>&,
	const std::chi_squared_distribution<>&),
	operator>>(std::basic_istream<>&, std::chi_squared_distribution<>&),
	operator<<(std::basic_ostream<>&,
	const std::fisher_f_distribution<>&),
	operator>>(std::basic_istream<>&, std::fisher_f_distribution<>&),
	operator<<(std::basic_ostream<>&,
	const std::student_t_distribution<>&),
	operator>>(std::basic_istream<>&, std::student_t_distribution<>&),
	operator<<(std::basic_ostream<>&,
	const std::negative_binomial_distribution<>&)): Declare friend.
	* testsuite/26_numerics/random/uniform_real_distribution/operators/
	serialize.cc: New.
	* testsuite/26_numerics/random/piecewise_constant_distribution/
	operators/serialize.cc: Likewise.
	* testsuite/26_numerics/random/chi_squared_distribution/operators/
	serialize.cc: Likewise.
	* testsuite/26_numerics/random/normal_distribution/operators/
	serialize.cc: Likewise.
	* testsuite/26_numerics/random/uniform_int_distribution/operators/
	serialize.cc: Likewise.
	* testsuite/26_numerics/random/poisson_distribution/operators/
	serialize.cc: Likewise.
	* testsuite/26_numerics/random/bernoulli_distribution/operators/
	serialize.cc: Likewise.
	* testsuite/26_numerics/random/discrete_distribution/operators/
	serialize.cc: Likewise.
	* testsuite/26_numerics/random/weibull_distribution/operators/
	serialize.cc: Likewise.
	* testsuite/26_numerics/random/negative_binomial_distribution/
	operators/serialize.cc: Likewise.
	* testsuite/26_numerics/random/cauchy_distribution/operators/
	serialize.cc: Likewise.
	* testsuite/26_numerics/random/gamma_distribution/operators/
	serialize.cc: Likewise.
	* testsuite/26_numerics/random/fisher_f_distribution/operators/
	serialize.cc: Likewise.
	* testsuite/26_numerics/random/exponential_distribution/operators/
	serialize.cc: Likewise.
	* testsuite/26_numerics/random/lognormal_distribution/operators/
	serialize.cc: Likewise.
	* testsuite/26_numerics/random/binomial_distribution/operators/
	serialize.cc: Likewise.
	* testsuite/26_numerics/random/extreme_value_distribution/operators/
	serialize.cc: Likewise.
	* testsuite/26_numerics/random/piecewise_linear_distribution/
	operators/serialize.cc
	* testsuite/26_numerics/random/student_t_distribution/operators/
	serialize.cc: Likewise.
	* testsuite/26_numerics/random/geometric_distribution/operators/
	serialize.cc: Likewise.

Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>

From-SVN: r150783
2009-08-14 23:33:27 +00:00
Janus Weil a2a0778d2d re PR fortran/41070 (Error: Components of structure constructor '' at (1) are PRIVATE)
2009-08-14  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/41070
	* resolve.c (resolve_structure_cons): Make sure that ts.u.derived is
	only used if type is BT_DERIVED.

2009-08-14  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/41070
	* gfortran.dg/structure_constructor_10.f90: New.

From-SVN: r150781
2009-08-15 00:02:45 +02:00
Olatunji Ruwase c54d7dc9ec extend.texi (Symbol-Renaming Pragmas): redefine_extname is supported on all platforms.
2009-08-14  Olatunji Ruwase <tjruwase@google.com>

        * doc/extend.texi (Symbol-Renaming Pragmas): redefine_extname is
        supported on all platforms.
        * target.h (struct gcc_target): Remove
        handle_pragma_redefine_extname.
        * c-cppbuiltin.c: Remove use of
        targetm.handle_pragma_redefine_extname.
        * c-pragma.c: Likewise.
        * target-def.h (TARGET_INITIALIZER): Remove
        TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME.
        * config/sol2.h: Remove use of
        TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME.

2009-08-14  Olatunji Ruwase <tjruwase@google.com>

        * gcc.dg/pragma-re-1.c: Supported on all platforms.
        * gcc.dg/pragma-re-2.c: Likewise.
        * gcc.dg/pragma-re-3.c: Likewise.
        * gcc.dg/pragma-re-4.c: Likewise.
        * g++.dg/other/pragma-re-1.C: Likewise.
        * g++.dg/other/pragma-re-2.C: Likewise.

From-SVN: r150780
2009-08-14 17:25:48 -04:00
Jerry DeLisle 37d1bbbc62 re PR libfortran/32784 ([win32] Using 'CONOUT$', 'CONIN$', or 'CONERR$' as assigned file generates Fortran runtime error: Bad file descriptor)
2009-08-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/32784
	io/unix.c (regular_file): Add support for CONIO on mingw.

From-SVN: r150779
2009-08-14 21:10:06 +00:00
Douglas B Rupp b874a90d6d fde-vms.c: New file.
2009-08-14  Douglas B Rupp  <rupp@gnat.com>

	* config/ia64/fde-vms.c: New file.
	* config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Add dummy arg.
	* config/ia64/unwind-ia64.c (UNW_ accessors): Move to unwind-ia64.h
	(MD_UNW_COMPATIBLE_PERSONALITY_P): Provide default.
	(uw_frame_state_for): Only register a personality routine if it is
	known to be compatible with our expectations.
	(_Unwind_FindEnclosingFunction, uw_frame_state_for):
	Declare unw_table_entry stack variable and
	mod all calls to _Unwind_FindTableEntry to add arg.
	* config/ia64/unwind-ia64.h (UNW_ accessors): Move here.
	(_Unwind_FindTableEntry): Add arg to prototype.

From-SVN: r150778
2009-08-14 20:56:31 +00:00
Eric Botcazou ac77b88e52 unwind-ia64.c (struct _Unwind_Context): Add new field 'signal_pfs_loc'.
* config/ia64/unwind-ia64.c (struct _Unwind_Context): Add new
	field 'signal_pfs_loc'.
	(uw_frame_state_for): Remove duplicate code dealing with leaf
	procedures without unwind info.
	If in the frame after unwinding through a signal handler, restore
	the AR.PFS register instead of the CFM if AR.PFS has not been saved.
	* config/ia64/linux-unwind.h (ia64_fallback_frame_state): Do not set
	'pfs_loc' to the AR.PFS location in the signal context; instead
	set 'signal_pfs_loc'.
	Manually generate the unwind info for the AR.PFS register.
	(ABI_MARKER_OLD_LINUX_SIGTRAMP, ABI_MARKER_OLD_LINUX_INTERRUPT,
	ABI_MARKER_LINUX_SIGTRAMP, ABI_MARKER_LINUX_INTERRUPT): Define.
	(ia64_handle_unwabi): Test 'fs->unwabi' against them.
	Do not set 'pfs_loc' to the AR.PFS location in the signal context;
	instead set 'signal_pfs_loc'.
	Remove code preventing the AR.PFS register from being restored
	from the signal context.

From-SVN: r150777
2009-08-14 20:49:40 +00:00
Douglas B Rupp c24db30451 config.gcc (ia64-hp-*vms*): Insert ia64/t-ia64 in tmake_file.
* config.gcc (ia64-hp-*vms*): Insert ia64/t-ia64 in tmake_file.
	* config/ia64/t-vms: New file.
	* config/ia64/vms64.h: New file.
	* config/ia64/vms.h: New file.
	* config/ia64/vms-crtinit.asm: New file.
	* config/ia64/vms_symvec_libgcc_s.opt: New file.
	* config/ia64/vms-unwind.h: New file.


Co-Authored-By: Tristan Gingold <gingold@adacore.com>

From-SVN: r150776
2009-08-14 20:38:36 +00:00
Kai Tietz 9d3458531a string_intrinsics_inc.c (string_len_trim): Use __INTPTR_TYPE__ to cast from pointer to scalar integer...
2009-08-15  Kai Tietz  <kai.tietz@onevision.com>

        * intrinsics/string_intrinsics_inc.c (string_len_trim): Use
        __INTPTR_TYPE__ to cast from pointer to scalar integer, if
        __INTPTR_TYPE is defined.

From-SVN: r150774
2009-08-14 21:30:13 +02:00
Uros Bizjak 387c39e1ec alpha.c (alpha_emit_conditional_move): Handle TFmode compares.
* config/alpha/alpha.c (alpha_emit_conditional_move): Handle
	TFmode compares.

From-SVN: r150773
2009-08-14 20:54:48 +02:00
Edward Smith-Rowland c105751c46 stl_tree.h: Make erase return iterator as per DR 130.
2009-08-14  Edward Smith-Rowland  <3dw4rd@verizon.net>

	* include/bits/stl_tree.h: Make erase return iterator as per DR 130.
	* include/bits/stl_set.h: Same.
	* include/bits/stl_multiset.h: Same.
	* include/bits/stl_map.h: Same.
	* include/bits/stl_multimap.h: Same.
	* doc/xml/manual/intro.xml: Document.
	* testsuite/23_containers/set/dr130.cc: New.
	* testsuite/23_containers/multiset/dr130.cc: New.
	* testsuite/23_containers/map/dr130.cc: New.
	* testsuite/23_containers/multimap/dr130.cc: New.

From-SVN: r150768
2009-08-14 17:54:44 +00:00
Janne Blomqvist 0942c722b3 Add comment saying file is deprecated
From-SVN: r150767
2009-08-14 20:54:27 +03:00
Kai Tietz 9827445421 natVMSecureRandomWin32.cc: Add include of java/lang/UnsupportedOperationException.h file.
2009-08-14  Kai Tietz  <kai.tietz@onevision.com>

        * gnu/java/security/jce/prng/natVMSecureRandomWin32.cc: Add include of
        java/lang/UnsupportedOperationException.h file.

From-SVN: r150766
2009-08-14 19:49:21 +02:00
Janne Blomqvist 20e0d7f89b PR libfortran/40863 Fix r150107 moving new symbols to C99_1.1 node
From-SVN: r150765
2009-08-14 20:44:50 +03:00
Steve Ellcey 03c5794895 inclhack.def (hpux_imaginary_i): New fix.
2009-08-14  Steve Ellcey  <sje@cup.hp.com>

	* inclhack.def (hpux_imaginary_i): New fix.
	* fixincl.x: Regenerate.
	* tests/base/complex.h: New file.

From-SVN: r150764
2009-08-14 17:20:30 +00:00
Benjamin Kosnik 938cfa0f3d pointer.h: Add pragma system_header, use _GLIBCXX_USE_LONG_LONG, macro cleanup.
2009-08-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/ext/pointer.h: Add pragma system_header, use
	_GLIBCXX_USE_LONG_LONG, macro cleanup.

From-SVN: r150763
2009-08-14 16:54:48 +00:00
Benjamin Kosnik b4d6477637 pointer.h: Add pragma system_header, use _GLIBCXX_USE_LONG_LONG, macro cleanup.
2009-08-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/ext/pointer.h: Add pragma system_header, use
	_GLIBCXX_USE_LONG_LONG, macro cleanup.

From-SVN: r150762
2009-08-14 16:51:01 +00:00
Kaveh R. Ghazi 2f440f6aba re PR middle-end/30789 (complex folding inexact)
PR middle-end/30789

	* builtins.c (do_mpc_arg2): Make extern, define for any MPC
	version.  Move declaration...
	* real.h (do_mpc_arg2): ... here.
	* fold-const.c (const_binop): Use MPC for complex MULT_EXPR
	and RDIV_EXPR.

testsuite:
	* gcc.dg/torture/builtin-math-7.c: New.

From-SVN: r150760
2009-08-14 16:44:36 +00:00
Rafael Avila de Espindola fe83055dfa final.c (add_debug_prefix_map): Don't use GC memory for old_prefix and new_prefix.
2009-08-14  Rafael Avila de Espindola  <espindola@google.com>

        * final.c (add_debug_prefix_map): Don't use GC memory for
        old_prefix and new_prefix.

From-SVN: r150759
2009-08-14 15:39:15 +00:00
Richard Guenther 1a15bfdcdc ipa-prop.c (compute_complex_pass_through): If we cannot compute a non-varying offset for IPA_JF_ANCESTOR punt.
2009-08-14  Richard Guenther  <rguenther@suse.de>

	* ipa-prop.c (compute_complex_pass_through): If we cannot
	compute a non-varying offset for IPA_JF_ANCESTOR punt.

	* gcc.c-torture/execute/20090814-1.c: New testcase.

From-SVN: r150757
2009-08-14 15:07:43 +00:00
Ulrich Weigand 065312cfdd c-lex.c (c_lex_with_flags): Increase size of local variable to avoid memory clobber.
* c-lex.c (c_lex_with_flags): Increase size of local variable
	to avoid memory clobber.

From-SVN: r150756
2009-08-14 14:38:24 +00:00
David Edelsohn 8cac884c9a graphite_autopar: Move to libgomp testsuite.
gcc/testsuite/
        * gcc.dg/graphite/graphite_autopar: Move to libgomp testsuite.

libgomp/
        * testsuite/libgomp.graphite: Move from gcc.dg/graphite.
        * testsuite/libgomp.graphite/graphite_autopar.exp: Delete.
        * testsuite/libgomp.graphite/graphite.exp: New.

From-SVN: r150755
2009-08-14 10:02:43 -04:00
Paolo Bonzini 371015a84a re PR target/40934 (ICE in get_hard_regnum, at reg-stack.c:741)
2009-08-14  Paolo Bonzini  <bonzini@gnu.org>

	PR target/40934
	* config/i386/i386.c (ix86_fp_comparison_strategy):
	Only enable/disable sahf at function granularity. 

gcc/testsuite:
2009-08-14  Paolo Bonzini  <bonzini@gnu.org>

	PR target/40934
	* gcc.target/i386/pr40934.c: New.

From-SVN: r150754
2009-08-14 12:14:04 +00:00
Hans-Peter Nilsson 94aca67aaf re PR rtl-optimization/41064 (build breakage for cris-elf building newlib, ICE in extract_insn, from r150726)
PR rtl-optimization/41064
	* reload1.c (reload_as_needed): Don't call extract_insn
	for known invalid replacements after calling
	validate_replace_rtx_group and verify_changes.

From-SVN: r150751
2009-08-14 11:36:45 +00:00
Uros Bizjak 1262fd02b6 re PR target/41019 (Vector conditional move produces wrong code with -O3.)
PR target/41019
	* config/i386/sse.md (SSEMODE124C8): New mode iterator.
	(vcond<SSEMODEF2P:mode>): Assert that operation is supported by
	ix86_expand_fp_vcond.
	(vcond<SSEMODE124C8:mode>): Use SSEMODE124C8 instead of SSEMODE124.
	Assert that operation is supported by ix86_expand_int_vcond.
	(vcondu<SSEMODE124C8:mode>): Ditto.

testsuite/ChangeLog:

	PR target/41019
	* gcc.target/i386/pr41019.c: New test.

From-SVN: r150738
2009-08-14 12:31:09 +02:00
Uros Bizjak 34d3575322 compatibility-ldbl.cc: Include cmath.
* src/compatibility-ldbl.cc: Include cmath.

From-SVN: r150736
2009-08-14 10:35:55 +02:00