Commit Graph

87258 Commits

Author SHA1 Message Date
GCC Administrator
611a216888 Daily bump.
From-SVN: r135250
2008-05-13 00:17:49 +00:00
Arnaud Charlet
a476da2659 re PR ada/31808 (cross-built gnattools installs vxaddr2line regardless of target triplet)
PR ada/31808
* Makefile.in (gnattools-cross): Do not build vxaddr2line

From-SVN: r135239
2008-05-13 01:58:11 +02:00
Janis Johnson
2ba17291e1 pr11832.c: XFAIL for mips and powerpc-linux, then ignore ICE message to avoid a second failure.
* gcc.c-torture/compile/pr11832.c: XFAIL for mips and powerpc-linux,
	then ignore ICE message to avoid a second failure.
	* gcc.c-torture/compile/pr33009.c: Ditto.
	* lib/gcc-dg.exp: Explain in comment how to XFAIL an ICE.

From-SVN: r135238
2008-05-12 23:37:59 +00:00
Kaz Kojima
ef0a760748 sh.c (sh_expand_prologue): Don't clear RTX_FRAME_RELATED_P for push insns.
* config/sh/sh.c (sh_expand_prologue): Don't clear
	RTX_FRAME_RELATED_P for push insns.

From-SVN: r135237
2008-05-12 23:23:51 +00:00
Andy Hutchinson
597654af48 pr34457-1.c: Skip for target without trampolines.
* gcc.dg/pr34457-1.c: Skip for target without trampolines.
    * gcc.dg/20050607-1.c: Ditto.
    * gcc.dg/trampoline-1.c: Ditto.
    * gcc.dg/debug/debug-3.c: Ditto.
    * gcc.dg/debug/debug-5.c: Ditto.

From-SVN: r135235
2008-05-12 21:52:38 +00:00
Andy Hutchinson
9c218cfc4e * config/avr/avr.h (MAX_OFILE_ALIGNMENT): Define.
From-SVN: r135234
2008-05-12 21:37:41 +00:00
Anatoly Sokolov
4c75f70928 avr.h (machine_function): Add 'is_leaf' field.
* config/avr/avr.h (machine_function): Add 'is_leaf' field.
	* config/avr/avr.c (avr_regs_to_save): Compute 'machine->is_leaf'.
	Use 'machine->is_leaf' instead of 'leaf_func_p'.

From-SVN: r135231
2008-05-13 00:39:51 +04:00
Samuel Tardieu
ea0a7f390a sem_ch3.adb (Build_Derived_Record_Type): Accept statically matching constraint expressions.
gcc/ada/
	* sem_ch3.adb (Build_Derived_Record_Type): Accept statically matching
	constraint expressions.

    gcc/testsuite/
	* gnat.dg/specs/statically_matching.ads: New.

From-SVN: r135230
2008-05-12 20:34:31 +00:00
H.J. Lu
fcc9fe1e6a sse.md (*sse_concatv4sf): Renamed to ...
gcc/

2008-05-12  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/sse.md (*sse_concatv4sf): Renamed to ...
	(*vec_concatv4sf_sse): This.
	(*sse2_concatv2si): Renamed to ...
	(*vec_concatv2si_sse2): This.
	(*sse1_concatv2si): Renamed to ...
	(*vec_concatv2si_sse): This.
	(*vec_concatv2di_rex): Renamed to ...
	(*vec_concatv2di_rex64): This.
	(*vec_concatv2si_sse4_1): New.
	(*vec_concatv2di_rex64_sse4_1): Likewise.

gcc/testsuite

2008-05-12  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.target/i386/sse2-set-epi32-1.c: New.
	* gcc.target/i386/sse2-set-epi64x-1.c: Likewise.
	* gcc.target/i386/sse4_1-set-epi32-1.c: Likewise.
	* gcc.target/i386/sse4_1-set-epi64x-1.c: Likewise.

From-SVN: r135229
2008-05-12 13:29:37 -07:00
Uros Bizjak
162bfc7efa re PR rtl-optimization/36111 (GCC 4.4.0-20080501 failed to compile openmpi's malloc.c file.)
PR rtl-optimization/36111
	* recog.c (validate_replace_rtx_1): Unshare new RTL expression
	that was created for swappable operands.

testsuite/ChangeLog:

	PR rtl-optimization/36111
	* gcc.dg/pr36111.c: New test.

From-SVN: r135221
2008-05-12 18:55:43 +02:00
Samuel Tardieu
3d4e720adc re PR ada/36001 ($(GNATMAKE) not defined with 'cd gcc && make')
2008-05-12  Samuel Tardieu  <sam@rfc1149.net>
	    Paolo Bonzini  <bonzini@gnu.org>

	PR ada/36001
	* acx.m4: Add optional parameter to ACX_PROG_GNAT.

gcc:
2008-05-12  Samuel Tardieu  <sam@rfc1149.net>
	    Paolo Bonzini  <bonzini@gnu.org>

	PR ada/36001
	* Makefile.in: Substitute GNATMAKE and GNATBIND.
	* configure.ac: Add call to ACX_PROG_GNAT.


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

From-SVN: r135220
2008-05-12 16:25:07 +00:00
François-Xavier Coudert
b7d36ea3cc re PR fortran/36176 (TRANSFER of constant substrings)
PR fortran/36176

	* target-memory.c (gfc_target_expr_size): Correctly treat
	substrings.
	(gfc_target_encode_expr): Likewise.
	(gfc_interpret_complex): Whitespace change.

	* gfortran.dg/transfer_simplify_9.f90: New test.

From-SVN: r135219
2008-05-12 15:51:27 +00:00
Paolo Carlini
7d2f0ecd61 re PR c++/35331 (ICE with invalid specialization of variadic template)
/cp
2008-05-12  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/35331
        * semantics.c (begin_class_definition): Extend checks on the first
	argument.

/testsuite
2008-05-12  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/35331
        * g++.dg/cpp0x/vt-35331.C: New.	
	* g++.dg/cpp0x/pr32125.C: Adjust.
	* g++.dg/cpp0x/pr32126.C: Likewise.
	* g++.dg/cpp0x/pr31438.C: Likewise.
	* g++.dg/cpp0x/variadic81.C: Likewise.
	* g++.dg/cpp0x/vt-34055.C: Likewise.
	* g++.dg/cpp0x/vt-34606.C: Likewise.

From-SVN: r135216
2008-05-12 15:18:52 +00:00
Tomas Bily
751d1520c3 * utils2.c (known_alignment, contains_save_expr_p)
(gnat_mark_addressable): Use CASE_CONVERT.

        * decl.c (annotate_value): Likewise.

        * trans.c (maybe_stabilize_reference): Likewise.

        * utils2.c (build_binary_op): Use CONVERT_EXPR_P.

        * utils.c (rest_of_record_type_compilation): Likewise.

        * trans.c (protect_multiple_eval, Attribute_to_gnu)
        (protect_multiple_eval): Likewise.

From-SVN: r135215
2008-05-12 16:20:35 +02:00
Tomas Bily
63a906f02b typeck2.c (digest_init): Use CONVERT_EXPR_P.
* typeck2.c (digest_init): Use CONVERT_EXPR_P.

        * call.c (build_over_call): Likewise.

        * error.c (dump_expr): Use CASE_CONVERT.

        * class.c (fixed_type_or_null): Likewise.

From-SVN: r135213
2008-05-12 15:32:05 +02:00
Tomas Bily
dbd368da83 objc-act.c (objc_generate_write_barrier, [...]): Use CONVERT_EXPR_P.
* objc-act.c (objc_generate_write_barrier,
        objc_finish_message_expr): Use CONVERT_EXPR_P.

From-SVN: r135212
2008-05-12 15:08:27 +02:00
Ira Rosen
708b13b6ec ChangeLog: Fix the date.
* ChangeLog: Fix the date.

From-SVN: r135211
2008-05-12 12:15:17 +00:00
Ira Rosen
ba7267c265 pr36119.f: Rename to ...
* gfortran.dg/vect/pr36119.f: Rename to ...
        * gfortran.dg/vect/O3-pr36119.f90: ... this. Compile for all targets
        with -O3.

From-SVN: r135209
2008-05-12 11:03:11 +00:00
Stefano Soffia
2028b66d86 vector (vector<>::_M_requires_reallocation): Just use this->capacity().
2008-05-12  Stefano Soffia  <soffia@cs.unipr.it>
	    Paolo Carlini  <paolo.carlini@oracle.com>

	* include/debug/vector (vector<>::_M_requires_reallocation): Just
	use this->capacity().
	(vector<>::capacity): Move non-pedantic / pedantic logic here.
	* testsuite/23_containers/vector/
	debug_mode_requires_reallocation-2.cc: New.

	* testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
	Rename to debug_mode_requires_reallocation-1.cc

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

From-SVN: r135208
2008-05-12 10:15:34 +00:00
Adam Nemet
b3aaa29ac4 mips.exp: Move passing -DMIPS16=...
* gcc.target/mips/mips.exp: Move passing -DMIPS16=... from here ...
	* lib/target-supports.exp (add_options_for_mips16_attribute):
	... to here.

From-SVN: r135202
2008-05-12 02:07:56 +00:00
GCC Administrator
9c1180b7ca Daily bump.
From-SVN: r135200
2008-05-12 00:17:30 +00:00
Thomas Koenig
8f0aaee5db re PR fortran/35719 (pointer to zero sized array not associated)
2008-05-11  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/35719
	* trans.c (gfc_call_malloc): If size equals zero, allocate one
	byte; don't return a null pointer.

2008-05-11  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/35719
	* gfortran.dg/associated_5.f90:  New test.

From-SVN: r135187
2008-05-11 20:28:52 +00:00
Volker Reichelt
8ffb4ce0b0 parser.c (cp_parser_omp_clause_reduction): Add missing "expected" in error message.
* parser.c (cp_parser_omp_clause_reduction): Add missing "expected"
	in error message.
	(cp_parser_omp_clause_schedule): Remove superfluous "expected"
	in error message.

From-SVN: r135184
2008-05-11 19:52:18 +00:00
Volker Reichelt
fc54bc8478 * optc-gen.awk: Fix comment typo.
From-SVN: r135183
2008-05-11 19:43:00 +00:00
Jerry DeLisle
36afed5a79 re PR libfortran/36202 ([mingw] Namelist read fails with CRLF)
2008-05-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/36202
	* io/list_read (eat_separator): Handle the CR-LF case correctly.

From-SVN: r135177
2008-05-11 15:02:41 +00:00
Joseph Myers
68b28852e7 * zh_CN.po: Update.
From-SVN: r135173
2008-05-11 14:44:11 +01:00
Richard Sandiford
5a70ef5182 scc-1.c: Require mips16_attribute, and add the associated options.
gcc/testsuite/
	* gcc.target/mips/scc-1.c: Require mips16_attribute, and add
	the associated options.
	* gcc.target/mips/scc-3.c: Likewise.

From-SVN: r135172
2008-05-11 12:03:07 +00:00
Aaron W. LaFramboise
2a15770024 pretty-print.c (pp_integer_with_precision): Use HOST_LONG_LONG_FORMAT.
2008-05-11  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>

	* pretty-print.c (pp_integer_with_precision): Use
	HOST_LONG_LONG_FORMAT.

From-SVN: r135171
2008-05-11 04:06:57 -06:00
Francois-Xavier Coudert
e999ee5257 default_format_1.f90: Move denormals tests to gfortran.dg/default_format_denormal_1.f90.
* gfortran.dg/default_format_1.f90: Move denormals tests to
	gfortran.dg/default_format_denormal_1.f90.
	* gfortran.dg/default_format_denormal_1.f90: Added denormal tests.

From-SVN: r135170
2008-05-11 09:55:34 +00:00
GCC Administrator
1402079fbe Daily bump.
From-SVN: r135168
2008-05-11 00:17:58 +00:00
Francois-Xavier Coudert
cba928fb8f * gfortran.dg/nint_2.f90: XFAIL on mingw.
From-SVN: r135164
2008-05-10 22:30:17 +00:00
Francois-Xavier Coudert
e2c7c14dcb streamio_15.f90: Take care of Windows CRLF line terminator.
* gfortran.dg/streamio_15.f90: Take care of Windows CRLF line
	terminator.

From-SVN: r135162
2008-05-10 20:57:42 +00:00
Francois-Xavier Coudert
d97a4451be fseek.f90: Take care of Windows CRLF line terminator.
* gfortran.dg/fseek.f90: Take care of Windows CRLF line
	terminator.

From-SVN: r135161
2008-05-10 20:47:41 +00:00
Francois-Xavier Coudert
7b27fa7650 fmt_t_5.f90: Take care of Windows CRLF line terminator.
* gfortran.dg/fmt_t_5.f90: Take care of Windows CRLF line
	terminator.

From-SVN: r135160
2008-05-10 20:32:40 +00:00
Kenneth Zadeck
4e00d96036 re PR c++/36185 (wrong code with -O2 -fgcse-sm)
2008-05-10  Kenneth Zadeck  <zadeck@naturalbridge.com>

    * gcse.c (store_killed_in_insn): Negated call to RTL_CONST_CALL_P.
        
2008-05-10  Kenneth Zadeck  <zadeck@naturalbridge.com>

	PR rtl-optimization/36185
	* g++.dg/opt/pr36185.C

From-SVN: r135159
2008-05-10 20:28:19 +00:00
Francois-Xavier Coudert
6e90dc6b64 write_to_null.f90: Rename to write_to_null.F90.
* write_to_null.f90: Rename to write_to_null.F90.
	* write_to_null.F90: On Windows, "nul" is the equivalent of the
	Unix /dev/null.

From-SVN: r135158
2008-05-10 19:37:45 +00:00
Francois-Xavier Coudert
1ed5323bb8 re PR fortran/36197 ([4.4 Regressio]: gfortran.dg/initialization_12.f90)
PR fortran/36197
	* module.c (quote_string): Fix sprintf format.

From-SVN: r135154
2008-05-10 16:39:27 +00:00
Roberto Bagnara
36d6d97993 vector (vector<>::_M_requires_reallocation): Fix macro.
2008-05-10  Roberto Bagnara  <bagnara@cs.unipr.it>
	    Paolo Carlini  <paolo.carlini@oracle.com>

	* include/debug/vector (vector<>::_M_requires_reallocation): Fix macro.
	* testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
	New.

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

From-SVN: r135151
2008-05-10 15:02:34 +00:00
H.J. Lu
b282a8d3ec i386.c (bdesc_ptest): Removed.
2008-05-10  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.c (bdesc_ptest): Removed.
	(ix86_builtin_type): Add INT_FTYPE_V2DI_V2DI_PTEST.
	(bdesc_args): Add __builtin_ia32_ptestz128,
	__builtin_ia32_ptestc128 and __builtin_ia32_ptestnzc128.
	(ix86_init_mmx_sse_builtins): Updated.
	(ix86_expand_args_builtin): Handle INT_FTYPE_V2DI_V2DI_PTEST.
	(ix86_expand_builtin): Updated.

From-SVN: r135144
2008-05-10 05:56:45 -07:00
Richard Sandiford
17d23165ff tree-cfg.c (valid_fixed_convert_types_p): New function.
gcc/
	* tree-cfg.c (valid_fixed_convert_types_p): New function.
	(verify_gimple_expr): Handle FIXED_CONVERT_EXPR.

From-SVN: r135143
2008-05-10 12:18:24 +00:00
Richard Sandiford
0f418a86bd re PR rtl-optimization/33642 (unrecognizable insn for -frtl-abstract-sequences)
gcc/testsuite/
	PR rtl-optimization/33642
	* gcc.c-torture/compile/pr11832.c: Skip for MIPS.
	* gcc.c-torture/compile/pr33009.c: Likewise.

From-SVN: r135142
2008-05-10 12:00:37 +00:00
Uros Bizjak
d35910bf73 value-prof.c (interesting_stringop_to_profile): Do not return early for BUILT_IN_MEMPCPY.
* value-prof.c (interesting_stringop_to_profile): Do not
        return early for BUILT_IN_MEMPCPY.

From-SVN: r135141
2008-05-10 13:55:25 +02:00
Richard Sandiford
372b05fcbb * MAINTAINERS: Update my email address.
From-SVN: r135140
2008-05-10 11:37:47 +00:00
Paolo Carlini
f73e220083 MAINTAINERS: Update my email address.
2008-05-10  Paolo Carlini  <paolo.carlini@oracle.com>

	* MAINTAINERS: Update my email address.

From-SVN: r135137
2008-05-10 10:38:37 +00:00
Tom Tromey
3741ff5800 * gcc.dg/pr22231.c: Fix dg-error call.
From-SVN: r135136
2008-05-10 00:48:58 +00:00
H.J. Lu
17b29c0a17 calls.c (expand_call): Don't use callgraph to increase preferred_stack_boundary.
2008-05-09  H.J. Lu  <hongjiu.lu@intel.com>

	* calls.c (expand_call): Don't use callgraph to increase
	preferred_stack_boundary.

	* cgraph.h (cgraph_rtl_info): Use unsigned on
	preferred_incoming_stack_boundary.

	* final.c (rest_of_clean_state): Use unsigned on
	preferred_stack_boundary.

From-SVN: r135134
2008-05-09 17:41:39 -07:00
GCC Administrator
b0d2eb9a1a Daily bump.
From-SVN: r135132
2008-05-10 00:17:45 +00:00
Tom Tromey
4822e563a0 re PR preprocessor/22231 (-MG ignores missing headers even with -c)
gcc
	PR preprocessor/22231:
	* c-opts.c (sanitize_cpp_opts): Disallow -MG if compilation is
	proceeding.
gcc/testsuite
	PR preprocessor/22231:
	* gcc.dg/pr22231.c: New file.

From-SVN: r135128
2008-05-09 22:17:00 +00:00
Richard Biener
cc7f489c20 re PR tree-optimization/36187 (Partitioning problem with SFTs (again))
2008-05-09  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/36187
	* g++.dg/opt/pr36187.C: New testcase.

From-SVN: r135126
2008-05-09 20:04:57 +00:00
Uros Bizjak
53a8f70990 re PR tree-optimization/36129 (ICE with -fprofile-use)
PR tree-optimization/36129
        * tree-ssa-cpp.c: Include value-prof.h.
        (execute_fold_all_builtins): Call gimple_remove_stmt_histograms if
        built-in function was folded to a constant.
        * Makefile.in (tree-ssa-cpp.c): Depend on value-prof.h

From-SVN: r135123
2008-05-09 20:21:05 +02:00