Compare commits

...

1347 Commits

Author SHA1 Message Date
GCC Administrator
d26749d6ab Mark as release
From-SVN: r158894
2010-04-29 07:53:13 +00:00
GCC Administrator
dfc810d72d Mark ChangeLog
From-SVN: r158893
2010-04-29 07:53:05 +00:00
GCC Administrator
5a334137f0 Mark ChangeLog
From-SVN: r158892
2010-04-29 07:52:58 +00:00
GCC Administrator
d9f3df8afc Mark ChangeLog
From-SVN: r158891
2010-04-29 07:52:51 +00:00
GCC Administrator
43945c5c5b Mark ChangeLog
From-SVN: r158890
2010-04-29 07:52:45 +00:00
GCC Administrator
1133700846 Mark ChangeLog
From-SVN: r158889
2010-04-29 07:52:39 +00:00
GCC Administrator
32866debd8 Mark ChangeLog
From-SVN: r158888
2010-04-29 07:52:33 +00:00
GCC Administrator
bed15fe8cc Mark ChangeLog
From-SVN: r158887
2010-04-29 07:52:27 +00:00
GCC Administrator
568087d0f0 Mark ChangeLog
From-SVN: r158886
2010-04-29 07:52:20 +00:00
GCC Administrator
6d9801548f Mark ChangeLog
From-SVN: r158885
2010-04-29 07:52:14 +00:00
GCC Administrator
5c881c5a70 Mark ChangeLog
From-SVN: r158884
2010-04-29 07:52:07 +00:00
GCC Administrator
4f60abb984 Mark ChangeLog
From-SVN: r158883
2010-04-29 07:52:00 +00:00
GCC Administrator
ec4916cfba Mark ChangeLog
From-SVN: r158882
2010-04-29 07:51:48 +00:00
GCC Administrator
0ece5f09e0 Mark ChangeLog
From-SVN: r158881
2010-04-29 07:51:40 +00:00
GCC Administrator
5ca1fa3b57 Mark ChangeLog
From-SVN: r158880
2010-04-29 07:51:33 +00:00
GCC Administrator
c35cb28024 Mark ChangeLog
From-SVN: r158879
2010-04-29 07:51:26 +00:00
GCC Administrator
1aaaea2129 Mark ChangeLog
From-SVN: r158878
2010-04-29 07:51:20 +00:00
GCC Administrator
1a1a9f55bf Mark ChangeLog
From-SVN: r158877
2010-04-29 07:51:13 +00:00
GCC Administrator
613a3ec6c4 Mark ChangeLog
From-SVN: r158876
2010-04-29 07:51:07 +00:00
GCC Administrator
ae13fc9d66 Mark ChangeLog
From-SVN: r158875
2010-04-29 07:51:00 +00:00
GCC Administrator
92c42d9303 Mark ChangeLog
From-SVN: r158874
2010-04-29 07:50:54 +00:00
GCC Administrator
c26a38b5ec Mark ChangeLog
From-SVN: r158873
2010-04-29 07:50:43 +00:00
GCC Administrator
19bd986db1 Mark ChangeLog
From-SVN: r158872
2010-04-29 07:50:33 +00:00
GCC Administrator
864cedb813 Mark ChangeLog
From-SVN: r158871
2010-04-29 07:50:25 +00:00
GCC Administrator
d54a093238 Mark ChangeLog
From-SVN: r158870
2010-04-29 07:50:17 +00:00
GCC Administrator
d1aa77a090 Mark ChangeLog
From-SVN: r158869
2010-04-29 07:50:09 +00:00
GCC Administrator
8701a0cbe1 Mark ChangeLog
From-SVN: r158868
2010-04-29 07:50:01 +00:00
GCC Administrator
7d4afad65b Mark ChangeLog
From-SVN: r158867
2010-04-29 07:49:48 +00:00
GCC Administrator
fc0c336360 Mark ChangeLog
From-SVN: r158866
2010-04-29 07:49:35 +00:00
GCC Administrator
e1ac798a7a Mark ChangeLog
From-SVN: r158865
2010-04-29 07:49:29 +00:00
GCC Administrator
9b29e1e126 Mark ChangeLog
From-SVN: r158864
2010-04-29 07:49:21 +00:00
GCC Administrator
ec7fa1081c Mark ChangeLog
From-SVN: r158863
2010-04-29 07:49:15 +00:00
GCC Administrator
add9bb6c4c Mark ChangeLog
From-SVN: r158862
2010-04-29 07:49:06 +00:00
GCC Administrator
a06443554f Mark ChangeLog
From-SVN: r158861
2010-04-29 07:48:53 +00:00
GCC Administrator
3369381306 Mark ChangeLog
From-SVN: r158860
2010-04-29 07:48:44 +00:00
GCC Administrator
95b8d9f8fa Mark ChangeLog
From-SVN: r158859
2010-04-29 07:48:38 +00:00
GCC Administrator
5cf3357f5f Mark ChangeLog
From-SVN: r158858
2010-04-29 07:48:31 +00:00
GCC Administrator
7977907337 Mark ChangeLog
From-SVN: r158857
2010-04-29 07:48:24 +00:00
GCC Administrator
c762a84063 Mark ChangeLog
From-SVN: r158856
2010-04-29 07:48:16 +00:00
GCC Administrator
d9224f4ed5 Mark ChangeLog
From-SVN: r158855
2010-04-29 07:48:06 +00:00
GCC Administrator
96b5514f58 Daily bump.
From-SVN: r158848
2010-04-29 00:16:42 +00:00
GCC Administrator
40971532a9 Daily bump.
From-SVN: r158819
2010-04-28 00:18:02 +00:00
GCC Administrator
503fe010c1 Daily bump.
From-SVN: r158754
2010-04-27 00:19:44 +00:00
GCC Administrator
083bb4c05d Daily bump.
From-SVN: r158715
2010-04-26 00:17:17 +00:00
GCC Administrator
da07b1d336 Daily bump.
From-SVN: r158695
2010-04-25 00:17:03 +00:00
GCC Administrator
12b1c3fbee Daily bump.
From-SVN: r158678
2010-04-24 00:16:46 +00:00
GCC Administrator
6bd9d0286d Daily bump.
From-SVN: r158658
2010-04-23 00:16:46 +00:00
GCC Administrator
ec3e00f19b Daily bump.
From-SVN: r158626
2010-04-22 00:17:21 +00:00
Jakub Jelinek
110303ba43 re PR fortran/43836 (ice with -fexceptions and -fopenmp)
PR fortran/43836
	* f95-lang.c (gfc_define_builtin): Set TREE_NOTHROW on
	the decl.

	* gfortran.dg/gomp/pr43836.f90: New test.

From-SVN: r158621
2010-04-21 23:26:11 +02:00
Andrew Haley
fcc4c42256 re PR libgcj/40860 (regressions in libjava testsuite on arm-linux)
2010-04-19  Andrew Haley  <aph@redhat.com>

        PR libgcj/40860
        * configure.ac: Handle --no-merge-exidx-entries.

From-SVN: r158614
2010-04-21 17:04:42 +00:00
Jakub Jelinek
2e1fdf999d re PR middle-end/43570 (OpenMP: Invalid read of size 1 (libgomp.fortran/vla6.f90))
PR middle-end/43570
	* omp-low.c (scan_sharing_clauses): Don't scan_omp_op
	OMP_CLAUSE_DECL for OMP_CLAUSE_COPYPRIVATE.
	(lower_copyprivate_clauses): Use private var in outer
	context instead of original var.  Make sure the types
	are correct for VLAs.

	* testsuite/libgomp.fortran/vla8.f90: New test.

From-SVN: r158603
2010-04-21 16:02:39 +02:00
Jakub Jelinek
9ac63df893 re PR libgomp/43706 (scheduling two threads on one core leads to starvation)
PR libgomp/43706
	* config/linux/affinity.c (gomp_init_affinity): Decrease
	gomp_available_cpus if affinity mask confines the process to fewer
	CPUs.
	* config/linux/proc.c (get_num_procs): If gomp_cpu_affinity is
	non-NULL, just return gomp_available_cpus.

From-SVN: r158601
2010-04-21 16:00:10 +02:00
Jakub Jelinek
7662eaba51 re PR libgomp/43569 (libgomp: Conditional jump or move depends on uninitialised value)
PR libgomp/43569
	* sections.c (gomp_sections_init): Initialize ws->mode.

From-SVN: r158599
2010-04-21 15:58:59 +02:00
GCC Administrator
44d283bc23 Daily bump.
From-SVN: r158581
2010-04-21 00:16:51 +00:00
Harald Anlauf
66785dd0e9 intrinsic.c (sort_actual): Remove 'is' in error message.
2010-04-20  Harald Anlauf  <anlauf@gmx.de>

	* intrinsic.c (sort_actual): Remove 'is' in error message.

From-SVN: r158579
2010-04-20 21:29:39 +00:00
Jakub Jelinek
034ecd9c14 re PR fortran/43339 (Incorrect output for pgm checking data sharing attributes)
PR fortran/43339
	* openmp.c (gfc_resolve_do_iterator): Only make iteration vars for
	sequential loops private in the innermost containing task region.

	* gfortran.dg/gomp/sharing-2.f90: Adjust for iteration vars
	of sequential loops being private only in the innermost containing
	task region.

From-SVN: r158547
2010-04-20 10:41:02 +02:00
Jakub Jelinek
15fe33eb5d re PR middle-end/43337 (ICE: in lookup_decl_in_outer_ctx, at omp-low.c:2103)
PR middle-end/43337
	* tree-nested.c (convert_nonlocal_omp_clauses): OMP_CLAUSE_PRIVATE
	with non-local decl doesn't need chain.

	* gfortran.dg/gomp/pr43337.f90: New test.

From-SVN: r158545
2010-04-20 10:37:12 +02:00
GCC Administrator
b6e7800942 Daily bump.
From-SVN: r158535
2010-04-20 00:18:14 +00:00
Jie Zhang
54d1c7b60e re PR target/43662 (ICE in insert_save with ms_abi attribute)
PR target/43662
	* reginfo.c (reinit_regs): Set caller_save_initialized_p
	to false.

	testsuite/
	PR target/43662
	* gcc.target/i386/pr43662.c: New test.

From-SVN: r158511
2010-04-19 10:06:13 +00:00
Ira Rosen
eacbe066c4 re PR tree-optimization/43771 (ICE on valid when compiling ParMetis with gcc 4.5.0 and -O3)
PR tree-optimization/43771
	* tree-vect-analyze.c (vect_supported_load_permutation_p): Check
	that load permutation doesn't have gaps.

From-SVN: r158504
2010-04-19 06:17:56 +00:00
GCC Administrator
16f876ee37 Daily bump.
From-SVN: r158499
2010-04-19 00:16:55 +00:00
Eric Botcazou
5ce2c432fc re PR tree-optimization/43769 (ICE in bitfield_overlaps_p, at tree-sra.c:2937)
PR tree-optimization/43769
	* tree-sra.c (bitfield_overlaps_p): If the length of the element is
	self-referential, try to compute an upper bound.

From-SVN: r158490
2010-04-18 15:56:32 +00:00
GCC Administrator
4bcfb2cf3b Daily bump.
From-SVN: r158479
2010-04-18 00:16:41 +00:00
GCC Administrator
159facc0c3 Daily bump.
From-SVN: r158455
2010-04-17 00:16:57 +00:00
Steven G. Kargl
160f3bc493 Remove previous ChangeLog entry.
Remove previous ChangeLog entry.  It was committed to the
wrong branch.

From-SVN: r158433
2010-04-16 15:54:38 +00:00
Steven G. Kargl
775cd74f92 re PR fortran/30073 (Array out of bounds gives name of RHS array not LHS array)
2010-04-16  Steven G. Kargl  <kargl@gcc.gnu.org>

    PR fortran/30073
    * trans-array.c (gfc_trans_array_bound_check): Eliminate a redundant
    block of code.  Set name to the variable associated with the descriptor.

From-SVN: r158431
2010-04-16 15:48:40 +00:00
GCC Administrator
d5793a8f69 Daily bump.
From-SVN: r158395
2010-04-16 00:17:17 +00:00
GCC Administrator
475ddbc7e0 Daily bump.
From-SVN: r158363
2010-04-15 00:17:11 +00:00
GCC Administrator
6b7f72118b Daily bump.
From-SVN: r158287
2010-04-14 00:16:42 +00:00
GCC Administrator
fc83def0cf Daily bump.
From-SVN: r158250
2010-04-13 00:16:43 +00:00
Jakub Jelinek
0cc7389cbd re PR tree-optimization/43560 (possible wrong code bug)
PR tree-optimization/43560
	* gcc.c-torture/execute/pr43560.c: New test.

From-SVN: r158222
2010-04-12 12:25:11 +02:00
GCC Administrator
390ff82c49 Daily bump.
From-SVN: r158210
2010-04-12 00:16:43 +00:00
GCC Administrator
7d8689b8cc Daily bump.
From-SVN: r158197
2010-04-11 00:16:39 +00:00
Jie Zhang
7e2af6fbeb re PR target/43417 (SH: 4.4 ICE in final_scan_insn, at final.c:2604)
PR target/43417
	* gcc.target/sh/pr43417.c: New test.

From-SVN: r158193
2010-04-10 15:14:13 +00:00
Jonathan Wakely
807a5c26fa backport: re PR libstdc++/40518 (data races when calling std::string::erase() on empty string)
2010-04-10  Jonathan Wakely  <jwakely.gcc@gmail.com>

	Backport:
	2009-06-23  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/40518
	* include/bits/basic_string.h (basic_string<>::_Rep::
	_M_set_length_and_sharable): Do not write the empty rep.
	(basic_string<>::erase(iterator, iterator)): Likewise,
	move out of line...
	* include/bits/basic_string.tcc: ... here.

From-SVN: r158190
2010-04-10 14:46:25 +01:00
GCC Administrator
d7180e3af5 Daily bump.
From-SVN: r158179
2010-04-10 00:16:38 +00:00
John David Anglin
e28bf9671c backport: re PR ada/41912 (FAIL: gnat.dg/null_pointer_deref1.adb execution test)
Backport from mainline:
	2009-12-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	PR ada/41912
	* pa/linux-unwind.h (pa32_fallback_frame_state): Set fs->signal_frame
	for signal frames.
	* pa/hpux-unwind.h (pa32_fallback_frame_state): Likewise.

From-SVN: r158146
2010-04-09 01:40:47 +00:00
John David Anglin
c420a2ce0e Backport:
2009-12-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	* include/pa-signal.h: Do not include ucontext.h.
	(SIGNAL_HANDLER): Add __attribute__ ((unused)) to signal handler
	arguments.
	(MAKE_THROW_FRAME): Do not adjust program counter.
	* include/hppa-signal.h: Do not include sys/types.h, sys/syscall.h and
	unistd.h.
	(MAKE_THROW_FRAME): Do not adjust program counter.
	(HANDLE_FPE): Define.
	(INIT_SEGV, INIT_FPE): Revise indentation.

From-SVN: r158145
2010-04-09 01:37:42 +00:00
John David Anglin
b8e3f5811e re PR target/43458 (c99_classification_macros_c.cc fails on hppa*-*-hpux*)
PR target/43458
	* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
	Xfail hppa*-*-hpux*.

From-SVN: r158144
2010-04-09 00:26:41 +00:00
GCC Administrator
af3c20fa1f Daily bump.
From-SVN: r158141
2010-04-09 00:16:45 +00:00
Rainer Orth
f54e78e2a0 re PR target/43643 (gcc -m64 -pg corrupts %rdx / %rcx register)
gcc:
	PR target/43643
	* config/i386/gmon-sol2.c [__x86_64__]: Properly restore %rcx.

	gcc/testsuite:
	PR target/43643
	* gcc.dg/pr43643.c: New test.

	gcc:
	Backport from mainline:
	2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR target/38085
	* config/i386/i386.c (x86_function_profiler)
	[!NO_PROFILE_COUNTERS]: Fix typo.
	* config/i386/gmon-sol2.c (_mcleanup) [__x86_64__]: Use call
	instead of callq.

	libgcc:
	Backport from mainline:
	2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR target/38085
	* config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
	MULTILIB_CFLAGS.
	($(T)gcrt1.o): Likewise.
	($(T)crt1.o): Likewise.
	($(T)crti.o): Likewise.
	($(T)crtn.o): Likewise.

From-SVN: r158133
2010-04-08 15:09:17 +00:00
Richard Guenther
aae1d7ccf9 re PR tree-optimization/42956 (internal compiler error: Segmentation fault with -O1)
2010-04-08  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42956
	* gimplify.c (gimple_fold_indirect_ref): Avoid generating
	new ARRAY_REFs on variable size element or minimal index arrays.
	* tree-ssa-loop-ivopts.c (find_interesting_uses_address): Use
	gimple_fold_indirect_ref.

	* gcc.c-torture/compile/pr42956.c: New testcase.

From-SVN: r158123
2010-04-08 11:47:13 +00:00
Wolfgang Gellerich
ee516e9680 s390.c (override_options): Adjust the z10 defaults for max-unroll-times...
2010-04-08  Wolfgang Gellerich  <gellerich@de.ibm.com>

	* config/s390/s390.c (override_options): Adjust the z10
          defaults for max-unroll-times, max-completely-peeled-insns
          and max-completely-peel-times.

From-SVN: r158121
2010-04-08 11:42:59 +00:00
Wolfgang Gellerich
4d43fa7878 s390.c (override_options): Set default of max-pending-list-length to 256
2010-04-08  Wolfgang Gellerich  <gellerich@de.ibm.com>

	* config/s390/s390.c (override_options): Set
	default of max-pending-list-length to 256

From-SVN: r158120
2010-04-08 11:36:14 +00:00
Jakub Jelinek
8c7fb12a1e backport: re PR tree-optimization/43560 (possible wrong code bug)
Backport from mainline:
	2010-03-29  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43560
	* tree-ssa-loop-im.c (ref_always_accessed_p): Add store_p
	parameter.
	(can_sm_ref_p): Treat stores to readonly locations as
	trapping.

	* gcc.dg/torture/pr43560.c: New testcase.

From-SVN: r158119
2010-04-08 13:31:00 +02:00
Jakub Jelinek
e87cb2f08b backport: re PR tree-optimization/43607 (ICE in gimple_op, at gimple.h:1633 with -fipa-type-escape)
Backport from mainline:
	2010-04-01  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43607
	* ipa-type-escape.c (check_call): Do not access non-existing
	arguments.

From-SVN: r158118
2010-04-08 13:29:28 +02:00
Jakub Jelinek
717c55b331 backport: re PR tree-optimization/43614 (ice in gimple_rhs_has_side_effects, at gimple.c:2248)
Backport from mainline:
	2010-04-01  Richard Guenther  <rguenther@suse.de>

	PR middle-end/43614
	* tree-ssa-address.c (copy_mem_ref_info): Copy TREE_SIDE_EFFECTS
	and TREE_THIS_VOLATILE.
	(copy_ref_info): Likewise.
	* tree-ssa-operands.c (get_tmr_operands): Check TREE_THIS_VOLATILE.
	* tree.c (build7_stat): Ignore side-effects of all but arg5
	for TARGET_MEM_REF.  Set TREE_THIS_VOLATILE from arg5 of
	TARGET_MEM_REF.

	* gcc.c-torture/compile/pr43614.c: New testcase.

From-SVN: r158117
2010-04-08 13:28:06 +02:00
Richard Guenther
d0e0f7f7bd re PR tree-optimization/43186 (A loop in tree_unroll_loops_completely never ends)
2010-04-08  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43186
	* params.def (PARAM_MAX_UNROLL_ITERATIONS): New param.
	* doc/invoke.texi (max-completely-peel-loop-nest-depth): Document.
	* tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely): Limit
	unroller iterations.

	* gcc.c-torture/compile/pr43186.c: New testcase.

From-SVN: r158114
2010-04-08 10:46:46 +00:00
GCC Administrator
e76f9bce0a Daily bump.
From-SVN: r158101
2010-04-08 00:17:08 +00:00
H.J. Lu
f90164ae09 Fix ChangeLog entries.
From-SVN: r158094
2010-04-07 14:59:26 -07:00
H.J. Lu
23f6eb89d7 Align stack to 16byte for FP register save area.
gcc/

2010-04-06  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/43668
	* config/i386/i386.c (setup_incoming_varargs_64): Align stack to
	16byte for FP register save area.

gcc/testsuite/

2010-04-06  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/43668
	* gcc.target/i386/pr43668.c: New.

From-SVN: r158092
2010-04-07 14:48:51 -07:00
Janne Blomqvist
4d0c5bd26c PR fortran/40539 Document LOGICAL representation
From-SVN: r158081
2010-04-07 21:07:48 +03:00
Richard Guenther
247bc1c03f re PR tree-optimization/43629 (Struct to register optimization fails)
2010-04-07  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43629
	* tree-ssa-ccp.c (likely_value): Properly look for constant
	values.  Reset all_undefined_operands if we have seen a
	constant value.

	* gcc.c-torture/execute/pr43629.c: New testcase.

From-SVN: r158070
2010-04-07 15:40:43 +00:00
GCC Administrator
7454e02cc5 Daily bump.
From-SVN: r158036
2010-04-07 00:18:30 +00:00
Jakub Jelinek
bed2fa9523 re PR target/43638 (Internal compiler error with inline asm)
PR target/43638
	* config/i386/i386.c (print_operand): Remove 'e' and 'E' code
	handling.

	* gcc.target/i386/pr43638.c: New test.

From-SVN: r157988
2010-04-06 13:07:09 +02:00
Jakub Jelinek
fca839ce6e * gcc.target/s390/stackcheck1.c: Add dg-warning.
From-SVN: r157981
2010-04-06 09:15:03 +02:00
GCC Administrator
be1fa640d4 Daily bump.
From-SVN: r157973
2010-04-06 00:18:46 +00:00
GCC Administrator
6bea88ec58 Daily bump.
From-SVN: r157961
2010-04-05 00:18:20 +00:00
GCC Administrator
8800a60e98 Daily bump.
From-SVN: r157957
2010-04-04 00:18:22 +00:00
GCC Administrator
c8514a9828 Daily bump.
From-SVN: r157952
2010-04-03 00:18:32 +00:00
GCC Administrator
3631389e24 Daily bump.
From-SVN: r157935
2010-04-02 00:20:30 +00:00
Janne Blomqvist
7bc098c305 PR libfortran/43605 FTELL intrinsic, take 2.
Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr>

From-SVN: r157933
2010-04-01 23:59:15 +03:00
Janne Blomqvist
59591399a2 PR libfortran/43605 FTELL incorrect for formatted files.
Co-Authored-By: Manfred Schwarb <manfred99@gmx.ch>

From-SVN: r157915
2010-04-01 19:31:01 +03:00
GCC Administrator
da61eddda9 Daily bump.
From-SVN: r157898
2010-04-01 00:17:17 +00:00
Uros Bizjak
3b9c9e45f9 backport: re PR tree-optimization/43528 (ICE: in tree_low_cst, at tree.c:6198 with -mms-bitfields at x86_64-linux)
Backport from mainline:
	2010-03-27  Uros Bizjak  <ubizjak@gmail.com>

	PR tree-optimization/43528
	* stor-layout.c (place_field): Check that constant fits into
	unsigned HWI when skipping calculation of MS bitfield layout.

	2010-03-26  Uros Bizjak  <ubizjak@gmail.com>

	PR target/43524
	* config/i386/i386.c (ix86_expand_prologue) [TARGET_STACK_PROBE]:
	Remove invalid assert and wrong comment.

testsuite/ChangeLog:

	Backport from mainline:
	2010-03-27  Uros Bizjak  <ubizjak@gmail.com>

	PR tree-optimization/43528
	* gcc.target/i386/pr43528.c: New test.

	2010-03-26  Uros Bizjak  <ubizjak@gmail.com>

	PR target/43524
	* gcc.target/i386/pr43524.c: New test.

From-SVN: r157880
2010-03-31 20:09:04 +02:00
Joseph Myers
96b34070c0 gcc_release (build_tarfiles): Make directories mode 755, not 777.
* gcc_release (build_tarfiles): Make directories mode 755, not
	777.

From-SVN: r157875
2010-03-31 17:26:49 +01:00
Richard Guenther
867bfb091a re PR middle-end/43600 (Segmentation fault for large C file (24MB))
2010-03-31  Richard Guenther  <rguenther@suse.de>

	PR middle-end/43600
	* cgraphunit.c (cgraph_output_in_order): Do not allocate
	temporary data on stack.

From-SVN: r157868
2010-03-31 13:23:17 +00:00
Jie Zhang
aa0124e552 re PR other/43562 (GCC ICE on optimize attribute)
PR 43562
	* reload.h (caller_save_initialized_p): Declare.
	* toplev.c (backend_init_target): Don't call
	init_caller_save but set caller_save_initialized_p
	to false.
	* caller-save.c (caller_save_initialized_p): Define.
	(init_caller_save): Check caller_save_initialized_p.
	* ira.c (ira): Call init_caller_save if flag_caller_saves.

	testsuite/
	PR 43562
	* gcc.dg/pr43562.c: New test.

From-SVN: r157850
2010-03-31 02:51:31 +00:00
Jerry DeLisle
c107e8519a re PR fortran/43409 (I/O: INQUIRE for SIZE does not work.)
2010-03-30  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/43409
	* gfortran.dg/inquire_size.f90: New test.

From-SVN: r157848
2010-03-31 02:05:56 +00:00
Jerry DeLisle
7388f57e88 re PR fortran/43409 (I/O: INQUIRE for SIZE does not work.)
2010-03-30  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/43409
	Back port from trunk.
	* io/io.h: Fix type of size in st_parameter_inquire structure.
	Add prototype for new function to return file size.
	* io/unix.c (file_size): New function.
	* io/inquire.c (inquire_via_unit): Use new function.
	(inquire_via_filename): Use new function.

From-SVN: r157847
2010-03-31 02:00:51 +00:00
Jerry DeLisle
48751b70e4 re PR fortran/43409 (I/O: INQUIRE for SIZE does not work.)
2010-03-30  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/43409
	Back port from trunk.
	* ioparm.def: Change inquire size variable to type pointer to
	GFC_IO_INT type.

From-SVN: r157846
2010-03-31 01:59:52 +00:00
GCC Administrator
8a416c344e Daily bump.
From-SVN: r157844
2010-03-31 00:16:51 +00:00
Jason Merrill
bdd7743a39 re PR c++/41185 (size of array ... has non-integral type ...)
PR c++/41185
	PR c++/41786
	* parser.c (cp_parser_direct_declarator): Don't allow VLAs in
	function parameter context.  Don't print an error if parsing
	tentatively.

From-SVN: r157839
2010-03-30 17:20:58 -04:00
Andreas Krebbel
65a5da932c s390.c (s390_emit_prologue): Omit issuing a dynamic stack check if the mask would be zero.
2010-03-30  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.c (s390_emit_prologue): Omit issuing a dynamic
	stack check if the mask would be zero.

2010-03-30  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* gcc.target/s390/stackcheck1.c: New testcase.

From-SVN: r157823
2010-03-30 13:19:50 +00:00
Jerry DeLisle
ded08389a6 re PR fortran/43265 (No EOF condition if reading with '(x)' from an empty file)
2010-03-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/43265
	* gfortran.dg/read_eof_8.f90: New test.

From-SVN: r157813
2010-03-30 03:56:08 +00:00
Jerry DeLisle
f61e9ed97b re PR fortran/43265 (No EOF condition if reading with '(x)' from an empty file)
2010-03-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/43265
	* io/transfer.c (next_record_r): Only call hit_eof for specific
	conditions when an EOF is encountered.

From-SVN: r157812
2010-03-30 03:54:36 +00:00
GCC Administrator
5185f87f1a Daily bump.
From-SVN: r157808
2010-03-30 00:17:00 +00:00
Tobias Burnus
a46fcb3f25 re PR libfortran/43551 (Buffered direct I/O reads wrong record)
2010-03-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/43551
        * io/unix.c (buf_write): Set physical_offset after lseek.

2010-03-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/43551
        * gfortran.dg/direct_io_12.f90: New test.

From-SVN: r157793
2010-03-29 08:18:16 +02:00
GCC Administrator
ede56e6177 Daily bump.
From-SVN: r157788
2010-03-29 00:16:25 +00:00
GCC Administrator
8541522618 Daily bump.
From-SVN: r157782
2010-03-28 00:16:34 +00:00
Kaveh R. Ghazi
0523c835ba Backport:
2009-06-16  J"orn Rennecke  <joern.rennecke@arc.com>
		    Janis Johnson  <janis187@us.ibm.com>

	PR target/39254
	* config/rs6000/rs6000.c (rs6000_emit_move): Don't emit a USE
	for the symbol ref of a constant that is the source of a move
	- nor for any other not-obvious-label-ref constants.

From-SVN: r157780
2010-03-27 18:56:08 +00:00
Uros Bizjak
b732aef992 re PR target/42113 (Internal Compiler error with -O3, breaking commit known)
PR target/42113
	* config/alpha/alpha.md (*cmp_sadd_si): Change mode
	of scratch register to DImode.  Split to DImode comparison operator.
	Use SImode subreg of scratch register in the multiplication.
	(*cmp_sadd_sidi): Ditto.
	(*cmp_ssub_si): Ditto.
	(*cmp_ssub_sidi): Ditto.

From-SVN: r157774
2010-03-27 13:09:24 +01:00
Joseph Myers
5a29b6b3f1 re PR c/43381 (infinite loop in gcc.dg/parm-impl-decl-1.c with -g)
PR c/43381
	* c-decl.c (get_parm_info): Assert that decl going in OTHERS has a
	nested binding iff it is a FUNCTION_DECL.
	(store_parm_decls_newstyle): Pass nested=true to bind for
	FUNCTION_DECLs amongst parameters.

testsuite:
	* gcc.dg/parm-impl-decl-3.c: New test.

From-SVN: r157772
2010-03-27 11:46:07 +00:00
GCC Administrator
1ea5877b1f Daily bump.
From-SVN: r157768
2010-03-27 00:16:32 +00:00
Volker Reichelt
63ec8edc67 re PR c++/43024 (ICE on template code with -O2 or -O3, regression from 4.4.2)
2010-03-26  Volker Reichelt  <reichelt@gcc.gnu.org>

	PR c++/43024
	* g++.dg/opt/ice1.C: New.

From-SVN: r157750
2010-03-26 14:30:49 +00:00
Jerry DeLisle
5e4517aba1 re PR fortran/43517 (spurious end-of-file condition when namelist read follows formatted read)
2010-03-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/43517
	* gfortran.dg/read_eof_7.f90: New test.

From-SVN: r157740
2010-03-26 04:58:45 +00:00
Jerry DeLisle
82b4ee5735 re PR fortran/43517 (spurious end-of-file condition when namelist read follows formatted read)
2010-03-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/43517
	* io/read.c (read_x): Return if seen EOR condition.

From-SVN: r157739
2010-03-26 04:56:51 +00:00
GCC Administrator
c064b4a492 Daily bump.
From-SVN: r157734
2010-03-26 00:16:37 +00:00
H.J. Lu
e46d28ef80 Backport regression testcases from mainline.
2010-03-25  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2010-03-22  Jason Merrill  <jason@redhat.com>

	PR c++/43333
	* g++.dg/ext/is_pod_98.C: New.

	2010-03-22  Michael Matz  <matz@suse.de>

	PR middle-end/43475
	* gfortran.dg/pr43475.f90: New testcase.

	2010-03-22  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43390
	* gfortran.fortran-torture/execute/pr43390.f90: New testcase.

	2010-03-20  Dodji Seketeli  <dodji@redhat.com>

	PR c++/43375
	* g++.dg/abi/mangle42.C: New test.

	2010-03-19  Andrew Pinski  <andrew_pinski@caviumnetworks.com>

	PR C/43211
	* gcc.dg/pr43211.c: New test.

	2010-03-18  Martin Jambor  <mjambor@suse.cz>

	PR middle-end/42450
	* g++.dg/torture/pr42450.C: New test.

	2010-03-18  Michael Matz  <matz@suse.de>

	PR tree-optimization/43402
	* gcc.dg/pr43402.c: New testcase.

	2010-03-17  Peter Bergner  <bergner@vnet.ibm.com>

	PR target/42427
	* gcc.dg/pr42427.c: New test.

	2010-03-16  Richard Guenther  <rguenther@suse.de>

	PR middle-end/43379
	* gcc.dg/pr43379.c: New testcase.

	2010-03-15  Michael Matz  <matz@suse.de>

	PR middle-end/43300
	* gcc.dg/pr43300.c: New testcase.

	2010-03-15  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43367
	* gcc.c-torture/compile/pr43367.c: New testcase.

From-SVN: r157726
2010-03-25 09:39:51 -07:00
Jakub Jelinek
052d293cb7 re PR c/43385 (glibc regex testsuite failures)
PR c/43385
	* gimplify.c (gimple_boolify): Only recurse on __builtin_expect
	argument if the argument is truth_value_p.

	* gcc.c-torture/execute/pr43385.c: New test.

From-SVN: r157722
2010-03-25 12:55:08 +01:00
GCC Administrator
49bce18499 Daily bump.
From-SVN: r157719
2010-03-25 00:16:35 +00:00
GCC Administrator
7033c3ca01 Daily bump.
From-SVN: r157687
2010-03-24 00:16:45 +00:00
Kaz Kojima
22c1574939 backport: sh.c (sh_expand_epilogue): Fix interrupt handler register popping order.
Backport from mainline:
	2010-01-08  DJ Delorie  <dj@redhat.com>

	* config/sh/sh.c (sh_expand_epilogue): Fix interrupt handler
	register popping order.

From-SVN: r157683
2010-03-23 23:04:39 +00:00
James E. Wilson
e3a168b42c re PR target/43348 (ICE in final_scan_insn, at final.c:2604)
PR target/43348
* ia64.md (call_nogp, call_value_nogp, sibcall_nogp, call_gp,
call_value_gp,sibcall_gp): Use 's' constraint not 'i'.

From-SVN: r157659
2010-03-22 18:16:10 -07:00
GCC Administrator
f88eb6cffb Daily bump.
From-SVN: r157657
2010-03-23 00:16:35 +00:00
Johannes Singler
065ce15605 numeric (inner_product, [...]): Precede subsequent call with _GLIBCXX_STD_P:: to avoid ambiguity between...
2010-03-22  Johannes Singler  <singler@kit.edu>

        * include/parallel/numeric (inner_product, partial_sum):
        Precede subsequent call with _GLIBCXX_STD_P:: to avoid ambiguity
        between __gnu_parallel:: and std::
        * include/parallel/algobase.h (equal): Likewise.
        * include/parallel/algo.h (find_first_of, search_n, merge, nth_element,
        partial_sort, max_element, min_element): Likewise.
        * include/parallel/partial_sum.h (parallel_partial_sum_linear):
        Qualify accumulate call with __gnu_parallel::.

From-SVN: r157644
2010-03-22 17:09:57 +00:00
Richard Guenther
3da6032696 backport: re PR tree-optimization/43415 (Consumes large amounts of memory and time in PRE at -O3)
2010-03-22  Richard Guenther  <rguenther@suse.de>

	Backport from mainline:
	2010-03-19  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43415
	* tree-ssa-pre.c (phi_translate): Split out worker to ...
	(phi_translate_1): ... this.
	(phi_translate): Move all caching here.  Cache all NARY
	and REFERENCE translations.

	* gcc.c-torture/compile/pr43415.c: New testcase.

From-SVN: r157641
2010-03-22 16:32:58 +00:00
Jakub Jelinek
6023588775 re PR libgomp/42942 (OpenMP omp_set_max_active_levels(0) isn't resetting value)
PR libgomp/42942
	* env.c (parse_unsigned_long): Add ALLOW_ZERO argument.
	(initialize_env): Adjust callers.
	(omp_set_max_active_levels): Set gomp_max_active_levels_var even
	when the argument is 0.

	* testsuite/libgomp.c/pr42942.c: New test.

From-SVN: r157636
2010-03-22 16:22:31 +01:00
Jakub Jelinek
a41d163c75 backport: re PR rtl-optimization/43438 (possible wrong code bug)
Backport from mainline:
	2010-03-20  Richard Guenther  <rguenther@suse.de>

	PR rtl-optimization/43438
	* combine.c (make_extraction): Properly zero-/sign-extend an
	extraction of the low part of a CONST_INT.  Also handle
	CONST_DOUBLE.

	* gcc.c-torture/execute/pr43438.c: New testcase.

From-SVN: r157634
2010-03-22 16:05:46 +01:00
Jakub Jelinek
c2c70960cc backport: re PR c++/43116 (ICE when using attributes in a function alias declaration)
Backport from mainline:
	2010-03-19  Michael Matz  <matz@suse.de>

	PR c++/43116
	* attribs.c (decl_attributes): When rebuilding a function pointer
	type use the same qualifiers as the original pointer type.

	* g++.dg/other/pr43116.C: New testcase.

From-SVN: r157633
2010-03-22 16:03:45 +01:00
Jakub Jelinek
af609ea4b7 backport: re PR target/43305 (ICE: in emit_unop_insn, at optabs.c:3838 with -Os -ffast-math and ilogbl())
Backport from mainline:
	2010-03-19  Michael Matz  <matz@suse.de>

	PR target/43305
	* builtins.c (expand_builtin_interclass_mathfn,
	expand_builtin_signbit): Use maybe_emit_unop_insn, emit libcalls
	if that fails.

	* gcc.dg/pr43305.c: New testcase.

From-SVN: r157632
2010-03-22 16:00:20 +01:00
Jakub Jelinek
e327219929 backport: re PR middle-end/43419 (gcc replaces pow(x, 0.5) by sqrt(x), invalid when x is -0)
Backport from mainline:
	2010-03-18  Michael Matz  <matz@suse.de>

	PR middle-end/43419
	* builtins.c (expand_builtin_pow): Don't transform pow(x, 0.5)
	into sqrt(x) if we need to preserve signed zeros.

	* gcc.dg/pr43419.c: New testcase.

From-SVN: r157631
2010-03-22 15:58:00 +01:00
John David Anglin
5e53d3f6ef re PR middle-end/42718 (FAIL: gcc.c-torture/compile/pr42559.c at -O1 and above)
PR middle-end/42718
	* pa.md (movmemsi): Set align to one if zero.
	(movmemdi): Likewise.

From-SVN: r157615
2010-03-22 01:02:42 +00:00
GCC Administrator
d54aa51def Daily bump.
From-SVN: r157612
2010-03-22 00:16:38 +00:00
Kaz Kojima
e9b4ea5886 backport: re PR target/43417 (SH: 4.4 ICE in final_scan_insn, at final.c:2604)
Backport from mainline:
	2009-05-12  Paolo Bonzini  <bonzini@gnu.org>

	PR target/43417
	* config/sh/sh.md (cbranchdi4_i): Use an "I08" constraint
	instead of "i" constraint.

From-SVN: r157610
2010-03-21 22:29:19 +00:00
Kaveh R. Ghazi
8c39d4cc2a ppc-sdata-1.c: Require nonpic.
* gcc.target/powerpc/ppc-sdata-1.c: Require nonpic.
	* gcc.target/powerpc/ppc-sdata-2.c: Likewise.

From-SVN: r157607
2010-03-21 19:41:58 +00:00
GCC Administrator
a6aa44b984 Daily bump.
From-SVN: r157599
2010-03-21 00:16:37 +00:00
GCC Administrator
1f3780d0c9 Daily bump.
From-SVN: r157587
2010-03-20 00:16:27 +00:00
GCC Administrator
df38d2c82a Daily bump.
From-SVN: r157555
2010-03-19 00:16:30 +00:00
H.J. Lu
183b6bb937 Remove the REG_EQUAL note if we don't know its invariant status.
gcc/

2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2010-03-18  Steven Bosscher  <steven@gcc.gnu.org>
		    Eric Botcazou  <ebotcazou@adacore.com>

	PR rtl-optimization/43360
	* loop-invariant.c (move_invariant_reg): Remove the REG_EQUAL
	note if we don't know its invariant status.

gcc/testsuite/

2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>

	PR rtl-optimization/43360
	* gcc.dg/torture/pr43360.c: New.

From-SVN: r157541
2010-03-18 06:15:21 -07:00
Paolo Carlini
dc6879571f hash_map: Use consistently the _BACKWARD_* prefix for the include guard.
2010-03-18  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/backward/hash_map: Use consistently the _BACKWARD_*
	prefix for the include guard.
	* include/backward/hash_fun.h: Likewise.
	* include/backward/hashtable.h: Likewise.
	* include/backward/auto_ptr.h: Likewise.
	* include/backward/strstream: Likewise.
	* include/backward/binders.h: Likewise.
	* include/backward/hash_set: Likewise.

From-SVN: r157535
2010-03-18 10:50:00 +00:00
Jerry DeLisle
1a22a56cf2 re PR fortran/43265 (No EOF condition if reading with '(x)' from an empty file)
2010-03-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/43265
	*gfortran.dg/read_empty_file.f: New test.
	*gfortran.dg/read_eof_all.f90: New test.
	*gfortran.dg/namelist_27.f90: Eliminate infinite loop posibility.
	*gfortran.dg/namelist_28.f90: Eliminate infinite loop posibility.

From-SVN: r157533
2010-03-18 03:55:52 +00:00
Jerry DeLisle
ee878d8858 re PR fortran/43265 (No EOF condition if reading with '(x)' from an empty file)
2010-03-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/43265
	* io/io.h: Delete prototype for read_sf, making it static.
	* io/read.c (read_x): Modify to call hit_eof if PAD="no".
	* io/transfer.c (read_sf_internal): New static function extracted from
	read_sf for use on internal units only. Handle empty string case.
	(read_sf): New factoring of this function, make it static.  Add special
	conditions for EOF based on ADVANCE="no", PAD="no", and whether any
	bytes have been previously read from the record.
	(read_block_form): Modify to call read_sf or read_sf_internal.
	(next_record_r): Add a done flag similar to next_record_w. Call hit_eof
	if internal array unit next record returns finished, meaning an EOF was
	found and not done, ie not the last record expected.  For external
	units call hit_eof if item_count is 1 or there are no pending spaces.
	(next_record): Update call to next_record_r.

From-SVN: r157532
2010-03-18 03:51:43 +00:00
GCC Administrator
a8c8a2fea3 Daily bump.
From-SVN: r157522
2010-03-18 00:16:30 +00:00
GCC Administrator
6ea9fba92b Daily bump.
From-SVN: r157502
2010-03-17 00:16:27 +00:00
David S. Miller
63228c3c66 pass54-frag.c: Add explicit return from main.
* testsuite/libmudflap.c/pass54-frag.c: Add explicit return from
	main.

From-SVN: r157473
2010-03-15 21:04:14 -07:00
GCC Administrator
1bc000debc Daily bump.
From-SVN: r157469
2010-03-16 00:16:33 +00:00
GCC Administrator
78d4d34912 Daily bump.
From-SVN: r157451
2010-03-15 00:16:28 +00:00
GCC Administrator
06889a411d Daily bump.
From-SVN: r157444
2010-03-14 00:16:31 +00:00
H.J. Lu
d4b2958245 Backport PRs 42859, 43107, 43164, 43165, 43166, 43180, 43188, 43191, 43209, 43229 and more
Backport testcases from mainline.

2010-03-13  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2010-03-11  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/43257
	* g++.dg/torture/pr43257.C: New test.

	2010-03-11  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43255
	* gcc.c-torture/compile/pr43255.c: New testcase.

	2010-03-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* gcc.dg/pr43280.c: New testcase.

	2010-03-10  Jan Hubicka   <jh@suse.cz>

	* gcc.c-torture/compile/pr43288.c: New test.

	2010-03-10  Andrey Belevantsev  <abel@ispras.ru>

	PR middle-end/42859
	* g++.dg/eh/pr42859.C: New test.

	2010-03-09  Jakub Jelinek  <jakub@redhat.com>

	PR debug/43299
	* gcc.dg/pr43299.c: New test.

	2010-03-08  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43269
	* gcc.c-torture/execute/pr43269.c: New testcase.

	2010-03-04  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/43164
	PR tree-optimization/43191
	* gcc.c-torture/compile/pr43164.c: New test.
	* gcc.c-torture/compile/pr43191.c: Likewise.

	2010-03-04  Changpeng Fang  <changpeng.fang@amd.com>

	PR middle-end/43209
	* gcc.dg/tree-ssa/ivopts-4.c: New.

	2010-03-03  Jakub Jelinek  <jakub@redhat.com>

	PR debug/43229
	* gfortran.dg/pr43229.f90: New test.

	PR debug/43237
	* gcc.dg/debug/dwarf2/pr43237.c: New test.

	2010-03-02  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/43180
	* gfortran.dg/internal_pack_10.f90: New test.

	2010-02-26  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43188
	* gcc.c-torture/compile/pr43188.c: New testcase.

	2010-02-25  Jakub Jelinek  <jakub@redhat.com>

	PR debug/43166
	* gfortran.dg/debug/pr43166.f: New test.

	PR debug/43165
	* gcc.dg/torture/pr43165.c: New test.

	2010-02-23  Jakub Jelinek  <jakub@redhat.com>

	PR target/43107
	* gcc.target/i386/pr43107.c: New test.

From-SVN: r157426
2010-03-13 08:58:19 -08:00
Kaveh R. Ghazi
29e6823978 sibcall-1.c: Allow PLT to appear with pic code.
* gcc.target/arm/sibcall-1.c: Allow PLT to appear with pic code.

From-SVN: r157417
2010-03-13 01:56:15 +00:00
GCC Administrator
b7b5e02b8a Daily bump.
From-SVN: r157413
2010-03-13 00:16:30 +00:00
Jerry DeLisle
7e85c2fd2e re PR libfortran/43320 (200.sixtrack fails setup)
2010-03-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/43320
	PR libfortran/43265
	* gfortran.dg/read_eof_6.f: New test
	* gfortran.dg/read_x_eof.f90: New test.
	* gfortran.dg/read_x_past.f: Update test.

From-SVN: r157405
2010-03-12 14:36:16 +00:00
Jerry DeLisle
bcb8daaee9 re PR fortran/43265 (No EOF condition if reading with '(x)' from an empty file)
2010-03-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/43265
	Backport from trunk.
	* io/read.c (read_x): Replace the use of read_sf with equivalent lower
	level I/O, eliminating unneeded code and handling EOF and EOR
	conditions.
	* io/io.h: Revise prototype for read_sf.
	* io/transfer.c (read_sf): Delete no_error parameter and all uses of it.
	Set eof and eor condition flags. (read_block_form): Likewise.
	(next_record_r): Add condition to call to hit_eof.

From-SVN: r157404
2010-03-12 14:32:39 +00:00
GCC Administrator
73d24935c2 Daily bump.
From-SVN: r157395
2010-03-12 00:16:51 +00:00
Tobias Burnus
4cc74feaf8 re PR fortran/43228 (NAMELIST I/O: Reading at 2 dimensions (rank) array values.)
2010-03-11  Tobias Burnus  <burnus@net-b.de>

        PR fortran/43228
        * io/list_read.c (nml_parse_qualifier): Disable expanded_read
        for array sections.

2010-03-11  Tobias Burnus  <burnus@net-b.de>

        PR fortran/43228
        * gfortran.dg/namelist_61.f90: New test.

From-SVN: r157391
2010-03-11 20:48:11 +01:00
Janis Johnson
cdd16cd5ec target-supports-dg.exp (check-flags): Provide defaults for include-opts and exclude-opts...
* lib/target-supports-dg.exp (check-flags): Provide defaults for
	include-opts and exclude-opts; skip checking the flags if arguments
	are the same as the defaults.
	(dg-xfail-if): Verify the number of arguments, supply defaults
	for unspecified optional arguments.
	(dg-skip-if, dg-xfail-run-if): Verify the number of arguments.

From-SVN: r157390
2010-03-11 17:32:39 +00:00
Tobias Burnus
c5d8838685 re PR fortran/43303 (ICE with C_ASSOCIATED)
2010-03-11  Tobias Burnus  <burnus@net-b.de

        PR fortran/43303
        * symbol.c (get_iso_c_sym): Set sym->result.

2010-03-11  Tobias Burnus  <burnus@net-b.de

        PR fortran/43303
        * gfortran.dg/c_assoc_3.f90: New test.

From-SVN: r157383
2010-03-11 12:10:37 +01:00
GCC Administrator
adf8aa2bf8 Daily bump.
From-SVN: r157375
2010-03-11 00:16:46 +00:00
Kaveh R. Ghazi
1b5d8815e7 asm1.C: Don't detect pic via looking for the -fpic/-fPIC flags.
* g++.old-deja/g++.pt/asm1.C: Don't detect pic via looking for the
	-fpic/-fPIC flags.
	* g++.old-deja/g++.pt/asm2.C: Likewise.
	* gcc.c-torture/compile/20000804-1.c: Likewise.
	* gcc.target/i386/clobbers.c: Likewise.

From-SVN: r157368
2010-03-10 20:35:31 +00:00
GCC Administrator
62360b628b Daily bump.
From-SVN: r157330
2010-03-10 00:16:31 +00:00
GCC Administrator
4ba2260af8 Daily bump.
From-SVN: r157296
2010-03-09 00:16:30 +00:00
Jakub Jelinek
e89435e13e backport: re PR c/43248 (ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at tree-ssa.c:1233)
Backport from mainline:
	2010-03-04  Andrew Pinski  <andrew_pinski@caviumnetworks.com>

	PR c/43248
	* c-decl.c (build_compound_literal): Return early if init is
	an error_mark_node.

	* gcc.dg/compound-literal-1.c: New testcase.

From-SVN: r157275
2010-03-08 12:54:11 +01:00
Jakub Jelinek
193b61c914 re PR middle-end/42233 (c++ builtin_expect code generation regression)
PR middle-end/42233
	* dojump.c (do_jump) <case TRUTH_NOT_EXPR>: Invert priority.

	PR bootstrap/43121
	* except.c (sjlj_emit_function_enter): Don't call
	add_reg_br_prob_note, instead add REG_BR_PROB note to the last insn
	directly.
	* rtl.h (add_reg_br_prob_note): Remove prototype.

	PR middle-end/42233
	* loop-doloop.c (add_test): Adjust do_compare_rtx_and_jump caller.

	PR middle-end/42233
	* expr.h (jumpifnot, jumpifnot_1, jumpif, jumpif_1, do_jump,
	do_jump_1, do_compare_rtx_and_jump): Add PROB argument.
	* dojump.c: Include output.h.
	(inv): New inline function.
	(jumpifnot, jumpifnot_1, jumpif, jumpif_1, do_jump_1, do_jump,
	do_jump_by_parts_greater_rtx, do_jump_by_parts_greater,
	do_jump_by_parts_zero_rtx, do_jump_by_parts_equality_rtx,
	do_jump_by_parts_equality, do_compare_and_jump): Add PROB
	argument, pass it down to other calls.
	(do_compare_rtx_and_jump): Likewise.  If PROB is not -1,
	add REG_BR_PROB note to the conditional jump.
	* cfgexpand.c (add_reg_br_prob_note): Removed.
	(expand_gimple_cond): Don't call it, add the probability
	as last argument to jumpif_1/jumpifnot_1.
	* Makefile.in (dojump.o): Depend on output.h.
	* builtins.c (expand_errno_check): Adjust do_compare_rtx_and_jump
	callers.
	* expmed.c (emit_store_flag_force, do_cmp_and_jump): Likewise.
	* stmt.c (do_jump_if_equal): Likewise.
	* cfgrtl.c (rtl_lv_add_condition_to_bb): Likewise.
	* loop-unswitch.c (compare_and_jump_seq): Likewise.
	* config/rs6000/rs6000.c (rs6000_aix_emit_builtin_unwind_init):
	Likewise.
	* optabs.c (expand_doubleword_shift, expand_abs): Likewise.
	* expr.c (expand_expr_real_1): Adjust do_jump, jumpifnot and
	jumpifnot_1 callers.
	(expand_expr_real_2): Adjust jumpifnot_1 and do_compare_rtx_and_jump
	callers.
	(store_expr): Adjust jumpifnot caller.
	(store_constructor): Adjust jumpif caller.

	PR middle-end/42233
	* gimplify.c (gimple_boolify): For __builtin_expect call
	gimple_boolify also on its first argument.

From-SVN: r157274
2010-03-08 12:46:28 +01:00
GCC Administrator
4348c57085 Daily bump.
From-SVN: r157268
2010-03-08 00:16:22 +00:00
GCC Administrator
0938288abf Daily bump.
From-SVN: r157261
2010-03-07 00:16:28 +00:00
Kaveh R. Ghazi
b44d38edc0 backport: target-supports.exp (add_options_for_bind_pic_locally): New.
Backport:
	2009-10-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
	* lib/target-supports.exp (add_options_for_bind_pic_locally): New.
	
	2009-10-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
	* g++.dg/ipa/iinline-1.C: Use dg-add-options bind_pic_locally.
	* g++.dg/other/first-global.C: Likewise.
	* g++.dg/parse/attr-externally-visible-1.C: Likewise.
	* g++.dg/tree-ssa/nothrow-1.C: Likewise.
	* gcc.dg/inline-33.c: Likewise.
	* gcc.dg/ipa/ipa-1.c: Likewise.
	* gcc.dg/ipa/ipa-2.c: Likewise.
	* gcc.dg/ipa/ipa-3.c: Likewise.
	* gcc.dg/ipa/ipa-4.c: Likewise.
	* gcc.dg/ipa/ipa-5.c: Likewise.
	* gcc.dg/ipa/ipa-7.c: Likewise.
	* gcc.dg/ipa/ipacost-2.c: Likewise.
	
	2010-02-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
	* gcc.dg/tree-ssa/inline-4.c: Bind pic locally.

From-SVN: r157253
2010-03-06 02:29:14 +00:00
GCC Administrator
0e0facc818 Daily bump.
From-SVN: r157251
2010-03-06 00:16:41 +00:00
Rainer Orth
1826e2fbc1 gnat.exp (gnat_init): Remove GNAT_UNDER_TEST_ORIG.
* lib/gnat.exp (gnat_init): Remove GNAT_UNDER_TEST_ORIG.
	(gnat_target_compile): Likewise.
	Reinitialize GNAT_UNDER_TEST if target changes.
	Set ADA_INCLUDE_PATH, ADA_OBJECTS_PATH in environment.
	(local_find_gnatmake): Pass full --GCC to gnatlink.
	Remove --LINK.

From-SVN: r157243
2010-03-05 15:21:41 +00:00
GCC Administrator
af8c120529 Daily bump.
From-SVN: r157235
2010-03-05 00:17:38 +00:00
GCC Administrator
c703cbe7b6 Daily bump.
From-SVN: r157212
2010-03-04 00:16:34 +00:00
GCC Administrator
aa4b8ef0a1 Daily bump.
From-SVN: r157183
2010-03-03 00:17:18 +00:00
Uros Bizjak
d92026a331 alpha.c (override_options): Fix -mtune error message.
* config/alpha/alpha.c (override_options): Fix -mtune error message.

From-SVN: r157170
2010-03-02 20:25:27 +01:00
Jakub Jelinek
8ac3f9d455 backport: re PR tree-optimization/43220 (Paritially optimized __builtin_save_stack/__builtin_restore_stack causes segmentation fault)
Backport from mainline:
	2010-03-01  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43220
	* tree-ssa-ccp.c (optimize_stack_restore): Do not optimize
	BUILT_IN_STACK_{SAVE,RESTORE} around alloca.

	* gcc.c-torture/execute/pr43220.c: New testcase.

From-SVN: r157160
2010-03-02 08:44:03 +01:00
GCC Administrator
654acabf55 Daily bump.
From-SVN: r157156
2010-03-02 00:16:47 +00:00
GCC Administrator
542d495c7e Daily bump.
From-SVN: r157130
2010-03-01 00:16:39 +00:00
GCC Administrator
7bd72c8f85 Daily bump.
From-SVN: r157116
2010-02-28 00:16:47 +00:00
Eric Botcazou
bdb6926ca7 re PR ada/42253 (run time crash on null for thin pointers)
PR ada/42253
	* gcc-interface/utils2.c (build_binary_op) <EQ_EXPR>: Assert that fat
	pointer base types are variant of each other.  Apply special treatment
	for null to fat pointer types in all cases.

From-SVN: r157108
2010-02-27 14:30:12 +00:00
GCC Administrator
1fd09b6146 Daily bump.
From-SVN: r157104
2010-02-27 00:16:50 +00:00
GCC Administrator
5dc84d01f3 Daily bump.
From-SVN: r157077
2010-02-26 00:16:45 +00:00
GCC Administrator
7bff932163 Daily bump.
From-SVN: r157057
2010-02-25 00:16:49 +00:00
Ramana Radhakrishnan
de9438741f backport: thumb2.md (thumb2_cbz): Correct computation of length attribute.
Backport from trunk
        2009-07-10  Mark Mitchell  <mark@codesourcery.com>
        * config/arm/thumb2.md (thumb2_cbz): Correct computation of
length attribute.
        (thumb2_cbnz): Likewise.

2010-02-24  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        * gcc.target/arm/thumb2-cbnz.c: New test.

From-SVN: r157044
2010-02-24 14:50:43 +00:00
GCC Administrator
e8ff7048e8 Daily bump.
From-SVN: r157025
2010-02-24 00:16:30 +00:00
H.J. Lu
1a65eeb345 Add missing ChangeLog entries.
From-SVN: r157016
2010-02-23 10:37:58 -08:00
H.J. Lu
744814ace3 Backport PRs 42742, 42749, 42824, 42870, 42998, 42999, 43000, 43007, 43008, 43017 and more
Backport testcases from mainline.

2010-02-23  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2010-02-22  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42749
	* gcc.c-torture/compile/pr42749.c: New testcase.

	2010-02-21  Dodji Seketeli  <dodji@redhat.com>

	PR c++/42824
	* g++.dg/template/memclass4.C: New test.

	2010-02-20  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/43111
	* gfortran.dg/internal_pack_8.f90: New test.

	2010-02-18  Jason Merrill  <jason@redhat.com>

	PR c++/43109
	* g++.dg/parse/namespace12.C: New.

	2010-02-18  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/43066
	* gcc.c-torture/compile/pr43066.c: New test.

	2010-02-17  Jason Merrill  <jason@redhat.com>

	PR c++/43069
	* g++.dg/parse/namespace11.C: New.

	PR c++/43093
	* g++.dg/ext/attrib37.C: New.

	PR c++/43079
	* g++.dg/template/ptrmem20.C: New.

	2010-02-16  Jason Merrill  <jason@redhat.com>

	PR c++/43031
	* g++.dg/ext/attrib36.C: New.

	2010-02-15  Richard Guenther  <rguenther@suse.de>

	PR middle-end/43068
	* g++.dg/torture/pr43068.C: New testcase.

	2010-02-11  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42998
	* gcc.c-torture/compile/pr42998.c: New testcase.

	2010-02-10  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43017
	* gcc.dg/torture/pr43017.c: New testcase.

	2010-02-10  Richard Guenther  <rguenther@suse.de>

	PR c/43007
	* gcc.c-torture/execute/20100209-1.c: New testcase.
	* gcc.dg/fold-div-3.c: Likewise.

	2010-02-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/42999
	* gfortran.dg/array_constructor_35.f90: New test.

	2010-02-09  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43008
	* gcc.c-torture/execute/pr43008.c: New testcase.

	2010-02-09  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43000
	* gcc.dg/torture/pr43000.c: New testcase.
	* gcc.dg/torture/pr43002.c: Likewise.

	2010-02-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/42742
	* gfortran.dg/fmt_cache_2.f: New test.

	2010-02-03  Jason Merrill  <jason@redhat.com>

	PR c++/42870
	* g++.dg/ext/dllexport3.C: New.

From-SVN: r157010
2010-02-23 09:02:26 -08:00
Kaveh R. Ghazi
dbc6fd953f Backport:
2010-01-20  Janis Johnson  <janis187@us.ibm.com>
		    Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/21769
	* testsuite/lib/dg-options.exp (add_options_for_no_pch): Add.
	* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
	Use it.

From-SVN: r156990
2010-02-23 08:12:35 +00:00
GCC Administrator
e30d9b3d1f Daily bump.
From-SVN: r156984
2010-02-23 00:16:49 +00:00
Andreas Krebbel
5158bd40f6 s390.md ("movqi"): Re-add the mem->mem alternative.
2010-02-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.md ("movqi"): Re-add the mem->mem alternative.
	(QI to BLKmode splitter): New splitter.

From-SVN: r156954
2010-02-22 11:32:39 +00:00
GCC Administrator
53277fa92c Daily bump.
From-SVN: r156944
2010-02-22 00:16:31 +00:00
GCC Administrator
ffa603ccf6 Daily bump.
From-SVN: r156931
2010-02-21 00:16:33 +00:00
GCC Administrator
e2e82214bd Daily bump.
From-SVN: r156916
2010-02-20 00:16:33 +00:00
Ulrich Weigand
52e5442871 spu-c.c (spu_resolve_overloaded_builtin): Call lang_hooks.types_compatible_p instead of comptypes.
* config/spu/spu-c.c (spu_resolve_overloaded_builtin): Call
	lang_hooks.types_compatible_p instead of comptypes.

From-SVN: r156897
2010-02-19 15:34:36 +00:00
GCC Administrator
933c040ffc Daily bump.
From-SVN: r156882
2010-02-19 00:16:29 +00:00
Ramana Radhakrishnan
3907cd2364 re PR target/40887 (GCC generates suboptimal code for indirect function calls on ARM)
PR target/40887
        Backport from trunk.
        2009-12-24  Julian Brown  <julian@codesourcery.com>
                    Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        * config/arm/arm.c (output_call_mem): Remove armv5 support.
        * config/arm/arm.md (*call_mem): Disable for armv5. Add note.
        (*call_value_mem): Likewise.
 
       PR target/40887
        Backport from trunk.
        2009-12-24  Julian Brown  <julian@codesourcery.com>
                    Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        * gcc.target/arm/pr40887.c: New test.

From-SVN: r156862
2010-02-18 13:13:03 +00:00
Mikael Pettersson
cad5e05fc7 gas.h: New file.
2010-02-17  Mikael Pettersson  <mikpe@it.uu.se>

	* config/sparc/gas.h: New file.  Restore
	TARGET_ASM_NAMED_SECTION to its ELF default.
	* config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Do not
	check !HAVE_GNU_AS.
	* config/sparc/sparc.c (sparc_elf_asm_named_section):
	Likewise.  Add ATTRIBUTE_UNUSED to prototype.
	* config.gcc (sparc*-*-linux*): Include sparc/gas.h
	after sparc/sysv4.h.

From-SVN: r156858
2010-02-17 20:24:04 -08:00
GCC Administrator
ebf7d43224 Daily bump.
From-SVN: r156844
2010-02-18 00:16:45 +00:00
Ramana Radhakrishnan
edfd8a78b1 backport: constraints.md (Ps, Pt): New constraint letters.
2010-02-17  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        Backport from trunk.
        2009-12-07  Julian Brown  <julian@codesourcery.com>

        * config/arm/constraints.md (Ps, Pt): New constraint letters.
        * config/arm/thumb2.md (*thumb2_addsi_short): Tighten constraints.

From-SVN: r156833
2010-02-17 16:16:16 +00:00
GCC Administrator
d87746f6a3 Daily bump.
From-SVN: r156818
2010-02-17 00:16:30 +00:00
Ira Rosen
972e6a5a49 re PR tree-optimization/43074 (ICE in vectorizable_reduction, at tree-vect-loop.c:3491)
PR tree-optimization/43074
	* tree-vect-analyze.c (vect_detect_hybrid_slp_stmts): Add
	vectorizable cycles in hybrid SLP check.

From-SVN: r156802
2010-02-16 11:41:55 +00:00
Tobias Burnus
995390d03c [multiple changes]
2010-02-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/41869
        * module.c (fix_mio_expr): Fix for private generic procedures.

2010-02-16  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41869
        * gfortran.dg/module_write_1.f90: New test.

From-SVN: r156799
2010-02-16 11:50:56 +01:00
GCC Administrator
48e52328d0 Daily bump.
From-SVN: r156788
2010-02-16 00:16:53 +00:00
Matthias Klose
0dd350c9c5 sysv.S (__ARM_ARCH__): Define for processor __ARM_ARCH_7EM__.
2010-02-15  Matthias Klose  <doko@ubuntu.com>

        * src/arm/sysv.S (__ARM_ARCH__): Define for processor
        __ARM_ARCH_7EM__.

From-SVN: r156772
2010-02-15 15:20:18 +00:00
GCC Administrator
9261df12b7 Daily bump.
From-SVN: r156764
2010-02-15 00:16:36 +00:00
Andreas Krebbel
32ca6b4185 s390.c (s390_sched_init): New function.
2010-02-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.c (s390_sched_init): New function.
	(TARGET_SCHED_INIT): Target hook defined.

From-SVN: r156756
2010-02-14 08:31:36 +00:00
GCC Administrator
0f1a6479c1 Daily bump.
From-SVN: r156753
2010-02-14 00:16:42 +00:00
Richard Guenther
1a18412b99 re PR tree-optimization/42871 (g++: Internal error: Segmentation fault (program cc1plus))
2010-02-13  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42871
	* tree-ssa-pre.c (phi_translate_set): Make sure to retain
	leaders.

	* g++.dg/torture/pr42871.C: New testcase.

From-SVN: r156750
2010-02-13 14:50:50 +00:00
GCC Administrator
6e86cd0e0a Daily bump.
From-SVN: r156744
2010-02-13 00:16:42 +00:00
Jason Merrill
1c8d9a1ff4 re PR c++/43024 (ICE on template code with -O2 or -O3, regression from 4.4.2)
PR c++/43024
	* name-lookup.h (current_binding_level): Check for null
	cp_function_chain.

From-SVN: r156740
2010-02-12 17:27:04 -05:00
Jakub Jelinek
16013fea58 re PR c++/43033 (--enable-checking=valgrind C++ failures)
PR c++/43033
	* name-lookup.c (pushdecl_maybe_friend): Check default args of t
	instead of x.

	* g++.dg/other/default3.C: Xfail g4 test.

From-SVN: r156735
2010-02-12 18:27:33 +01:00
GCC Administrator
db0c207bb3 Daily bump.
From-SVN: r156729
2010-02-12 00:16:39 +00:00
Jakub Jelinek
c47bdf6f51 init.c (read_original_filename): Don't call read_original_directory if _cpp_handle_directive returns 0.
* init.c (read_original_filename): Don't call read_original_directory
	if _cpp_handle_directive returns 0.

From-SVN: r156721
2010-02-11 20:51:07 +01:00
Jakub Jelinek
de848f1808 re PR fortran/43030 (Conditional jump or move depends on uninitialised value on eoshift_2.f90)
PR fortran/43030
	* resolve.c (gfc_resolve_dim_arg): Call gfc_clear_ts.

From-SVN: r156719
2010-02-11 20:48:24 +01:00
Jakub Jelinek
d6aa013afd re PR fortran/43029 (enum_5.f90 ICE under valgrind)
PR fortran/43029
	* decl.c (enumerator_decl): Don't call gfc_free_enum_history
	here.
	(gfc_match_enumerator_def): But here whenever enumerator_decl returns
	MATCH_ERROR.

From-SVN: r156710
2010-02-11 20:35:12 +01:00
GCC Administrator
59d639dc3a Daily bump.
From-SVN: r156676
2010-02-11 00:17:08 +00:00
Daniel Gutson
773494141b lib1funcs.asm (__ARM_ARCH__): __ARM_ARCH_7EM__ added to the preprocessor condition.
2010-02-10  Daniel Gutson  <dgutson@codesourcery.com>

        * config/arm/lib1funcs.asm (__ARM_ARCH__): __ARM_ARCH_7EM__
        added to the preprocessor condition.

From-SVN: r156669
2010-02-10 20:41:55 +00:00
Jakub Jelinek
8ce8557350 re PR fortran/42309 (Problem with a pointer array passed to a subroutine)
PR fortran/42309
	* trans-expr.c (gfc_conv_subref_array_arg): Avoid accessing
	info->dimen after info has been freed.

From-SVN: r156660
2010-02-10 16:11:30 +01:00
Jakub Jelinek
cdaa27b170 re PR debug/43010 (ICE with -femit-struct-debug-baseonly)
PR debug/43010
	* dwarf2out.c (retry_incomplete_types): Don't call gen_type_die
	if no debug info should be emitted for it.

	* g++.dg/debug/pr43010.C: New test.

From-SVN: r156658
2010-02-10 16:09:06 +01:00
GCC Administrator
19a711c413 Daily bump.
From-SVN: r156639
2010-02-10 00:16:43 +00:00
Kaveh R. Ghazi
6b7a58e855 inline-4.c: Bind pic locally.
* gcc.dg/tree-ssa/inline-4.c: Bind pic locally.

From-SVN: r156637
2010-02-10 00:15:06 +00:00
Jakub Jelinek
28515c7f16 backport: re PR tree-optimization/42705 (verify_flow_info failed with -O)
Backport from mainline:
	2010-01-13  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42705
	* tree-ssa-reassoc.c (build_and_add_sum): Insert stmts after
	labels.

From-SVN: r156619
2010-02-09 11:36:22 +01:00
GCC Administrator
222bed3c39 Daily bump.
From-SVN: r156614
2010-02-09 00:16:47 +00:00
Jakub Jelinek
fe872b6f64 re PR tree-optimization/42890 (Crash in type_like_member_ptr_p in ipa-prop.c:382)
PR tree-optimization/42890
	* tree-inline.c (delete_unreachable_blocks_update_callgraph): New
	function backported from the trunk.
	(tree_function_versioning): Call it instead of
	delete_unreachable_blocks.

	* g++.dg/torture/pr42890.C: New test.

From-SVN: r156605
2010-02-08 16:50:59 +01:00
Jakub Jelinek
64604c32af re PR tree-optimization/42931 (-ftree-loop-linear - valgrind warns about using uninitialized variable)
PR tree-optimization/42931
	* tree-loop-linear.c (try_interchange_loops): Don't call
	double_int_mul if estimated_loop_iterations failed.

From-SVN: r156603
2010-02-08 16:48:01 +01:00
Richard Guenther
4bfb83866d backport: [multiple changes]
2010-02-08  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42995
	* tree-inline.c (estimate_move_cost): Assert we are not called
	with a void type.
	(estimate_num_insns): Do not count the terminating void_type_node
	of a function argument type list.

	Backport from mainline:
	2010-01-06  Richard Guenther  <rguenther@suse.de>

	* ipa-inline.c (cgraph_decide_inlining_incrementally): Do
	not inline regular functions into always-inline functions.

	2010-01-05  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/42462
	* ipa-inline.c (compute_inline_parameters): Pass node->decl instead of
	current_function_decl to helper functions and macros.

	* gcc.dg/tree-ssa/inline-4.c: New testcase.
	* gcc.dg/Wunreachable-2.c: Remove.

From-SVN: r156601
2010-02-08 14:10:15 +00:00
H.J. Lu
2e4d36b06c Remove gcc.dg/ipa/pr42706.c.
2010-02-08  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.dg/ipa/pr42706.c: Removed.

From-SVN: r156600
2010-02-08 05:45:29 -08:00
GCC Administrator
d9d0fa5410 Daily bump.
From-SVN: r156591
2010-02-08 00:19:39 +00:00
H.J. Lu
fc44d197fc Backport PRs 40138, 42248, 42250, 42294, 42336, 42363, 42388, 42395, 42512, 42585 and more
Backport testcases from mainline to 4.4.

2010-02-06  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2010-02-05  Dodji Seketeli  <dodji@redhat.com>

	PR c++/42915
	* g++.dg/other/crash-9.C: New test.

	2010-02-03  Jason Merrill  <jason@redhat.com>

	PR c++/40138
	* g++.dg/ext/builtin11.C: New.

	2010-02-03  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42944
	* gcc.dg/errno-1.c: New testcase.

	2010-02-03  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42927
	* gcc.c-torture/compile/pr42927.c: New testcase.

	2010-01-29  Dodji Seketeli  <dodji@redhat.com>

	PR c++/42758
	PR c++/42634
	PR c++/42336
	PR c++/42797
	PR c++/42880
	* g++.dg/other/crash-5.C: New test.
	* g++.dg/other/crash-7.C: New test.
	* g++.dg/other/crash-8.C: New test.

	2010-01-28  Uros Bizjak  <ubizjak@gmail.com>

	PR target/42891
	* gcc.target/i386/pr42891.c: New test.

	2010-01-28  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42883
	* g++.dg/torture/pr42883.C: New testcase.

	2010-01-28  Michael Matz  <matz@suse.de>

	* gcc.target/i386/pr42881.c: New test.

	2010-01-28  Dodji Seketeli  <dodji@redhat.com>

	PR c++/42713
	PR c++/42820
	* g++.dg/template/typedef27.C: New test case.
	* g++.dg/template/typedef28.C: New test case.

	2010-01-27  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/42874
	* gcc.dg/vla-22.c: New test.

	2010-01-26  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42250
	* gcc.dg/pr42250.c: New testcase.

	2010-01-25  Tobias Burnus  <burnus@net-b.de>

	PR fortran/42858
	* gfortran.dg/generic_21.f90: New test.

	2010-01-21  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/42585
	* gcc.dg/tree-ssa/pr42585.c: New test.

	2010-01-20  Alexandre Oliva  <aoliva@redhat.com>

	PR debug/42715
	* gcc.dg/pr42715.c: New.

	2010-01-20  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42717
	* gcc.c-torture/compile/pr42717.c: New testcase.

	2010-01-19  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/42783
	* gfortran.dg/bounds_check_15.f90 : New test.

	2010-01-18  Dodji Seketeli  <dodji@redhat.com>

	PR c++/42766
	* g++.dg/conversion/op6.C: New test.

	2010-01-18  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42781
	* gfortran.fortran-torture/compile/pr42781.f90: New testcase.

	2010-01-17  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42248
	* gcc.c-torture/execute/pr42248.c: New testcase.

	2010-01-17  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/42677
	* gfortran.dg/interface_assignment_5.f90: New test.

	2010-01-15  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42739
	* g++.dg/torture/pr42739.C: New testcase.

	2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>

	PR fortran/42684
	* gfortran.dg/interface_31.f90: New test.

	2010-01-14  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/42706
	* gcc.dg/ipa/pr42706.c: New testcase.

	2010-01-14  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/42714
	* g++.dg/torture/pr42714.C: New test.

	2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

	PR rtl-optimization/42388
	* gcc.dg/pr42388.c: New.

	2010-01-14  Alexander Monakov <amonakov@ispras.ru>

	PR rtl-optimization/42294
	* gfortran.dg/pr42294.f: New.

	2010-01-14  Ira Rosen  <irar@il.ibm.com>

	PR tree-optimization/42709
	* gcc.dg/vect/pr42709.c: New test.

	2010-01-13  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42730
	* gcc.c-torture/compile/pr42730.c: New testcase.

	2010-01-13  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/42704
	* g++.dg/torture/pr42704.C: New test.

	2010-01-13  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/42703
	* gcc.c-torture/compile/pr42703.c: New test.

	2010-01-13  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42705
	* gcc.c-torture/compile/pr42705.c: New testcase.

	2010-01-13  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42716
	* gcc.c-torture/compile/pr42716.c: New testcase.

	2010-01-12  Joseph Myers  <joseph@codesourcery.com>

	PR c/42708
	* gcc.c-torture/compile/pr42708-1.c: New test.

	2010-01-09  Alexandre Oliva  <aoliva@redhat.com>

	PR middle-end/42363
	* gcc.dg/torture/pr42363.c: New.

	2010-01-09  Alexandre Oliva  <aoliva@redhat.com>

	PR debug/42604
	PR debug/42395
	* gcc.dg/vect/pr42604.c: New.
	* gcc.dg/vect/pr42395.c: New.

	2010-01-09  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42512
	* gcc.c-torture/execute/pr42512.c: New testcase.

From-SVN: r156562
2010-02-06 20:41:22 -08:00
GCC Administrator
dcc8c4e254 Daily bump.
From-SVN: r156559
2010-02-07 00:16:33 +00:00
Paul Thomas
27ce53747e re PR fortran/42309 (Problem with a pointer array passed to a subroutine)
2010-02-06  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/42309
	* trans-expr.c (gfc_conv_subref_array_arg): Add new argument
	'formal_ptr'. If this is true, give returned descriptor unity
	lbounds, in all dimensions, and the appropriate offset.
	(gfc_conv_procedure_call); If formal is a pointer, set the last
	argument of gfc_conv_subref_array_arg to true.
	* trans.h : Add last argument for gfc_conv_subref_array_arg.
	* trans-io.c (set_internal_unit, gfc_trans_transfer): Set the
	new arg of gfc_conv_subref_array_arg to false.
	* trans-stmt.c (forall_make_variable_temp): The same.

2010-02-06  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/42309
	* gfortran.dg/subref_array_pointer_4.f90 : New test.

From-SVN: r156554
2010-02-06 19:44:41 +00:00
GCC Administrator
50e020739a Daily bump.
From-SVN: r156532
2010-02-06 00:16:37 +00:00
Jerry DeLisle
2a081e8b47 re PR fortran/42901 (reading array of structures from namelist fails)
2010-02-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/42901
	*gfortran.dg/namelist_60.f90: New test.
	*gfortran.dg/namelist_59.f90: New test.

From-SVN: r156508
2010-02-05 04:50:53 +00:00
Jerry DeLisle
19c6b16e93 re PR fortran/42901 (reading array of structures from namelist fails)
2010-02-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/42901
	* io/list_read.c (nml_get_obj_data): Add new qualifier flag, clean up
	code, and adjust logic to set namelist info pointer correctly for array
	qualifiers of derived type components.

From-SVN: r156507
2010-02-05 04:47:12 +00:00
GCC Administrator
15234f94a0 Daily bump.
From-SVN: r156505
2010-02-05 00:16:34 +00:00
Richard Guenther
ef21095d90 re PR rtl-optimization/42952 (possible integer wrong code bug)
2010-02-04  Richard Guenther  <rguenther@suse.de>

	PR rtl-optimization/42952
	* dse.c (const_or_frame_p): Remove MEM handling.

	* gcc.dg/torture/pr42952.c: New testcase.

From-SVN: r156495
2010-02-04 16:18:01 +00:00
GCC Administrator
555e62b7e5 Daily bump.
From-SVN: r156485
2010-02-04 00:16:34 +00:00
GCC Administrator
01876dca21 Daily bump.
From-SVN: r156457
2010-02-03 00:16:45 +00:00
Tobias Burnus
ea2fbdb819 re PR fortran/42650 (F90: DT function with in-line DT definition and RESULT is rejected)
2010-02-02  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42650
        * parse.c (decode_specification_statement): Use sym->result not
        * sym.

2010-02-02  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42650
        * gfortran.dg/func_result_5.f90: New test.

From-SVN: r156450
2010-02-02 15:27:24 +01:00
GCC Administrator
96700ac0ba Daily bump.
From-SVN: r156439
2010-02-02 00:16:52 +00:00
Uros Bizjak
8c20092e5f backport: forward-1.x: XFAIL for -fgnu-runtime on x86_64-*-darwin*...
Backport from mainline:
	2009-12-17  Uros Bizjak  <ubizjak@gmail.com>

	* objc/execute/forward-1.x: XFAIL for -fgnu-runtime on
	x86_64-*-darwin*, powerpc*-*-darwin* and alpha*-*-linux* targets.

From-SVN: r156425
2010-02-01 14:10:09 +01:00
GCC Administrator
2d783c9e39 Daily bump.
From-SVN: r156421
2010-02-01 00:16:29 +00:00
Eric Botcazou
61e53d13e6 re PR middle-end/42898 (volatile structures and compound literal initializers)
PR middle-end/42898
	Backport from mainline:
	2009-04-23  Eric Botcazou  <ebotcazou@adacore.com>

	* gimplify.c (gimplify_modify_expr_rhs) <VAR_DECL>: Do not do a direct
	assignment from the constructor either if the target is volatile.

From-SVN: r156415
2010-01-31 21:06:20 +00:00
Richard Guenther
a3c66ee4f8 re PR middle-end/42898 (volatile structures and compound literal initializers)
2010-01-31  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42898
	* gimplify.c (gimplify_init_constructor): For volatile LHS
	initialize a temporary.

	* gcc.dg/torture/pr42898.c: New testcase.

From-SVN: r156405
2010-01-31 17:04:29 +00:00
Paul Thomas
c80d1f1506 re PR fortran/38324 (Wrong lbound given to allocatable components)
2010-01-31  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/38324
	* expr.c (gfc_get_full_arrayspec_from_expr): New function.
	* gfortran.h : Add prototype for above.
        * trans-expr.c (gfc_trans_alloc_subarray_assign): New function.
	(gfc_trans_subcomponent_assign): Call new function to replace
	the code to deal with allocatable components.
	* trans-intrinsic.c (gfc_conv_intrinsic_bound): Call
	gfc_get_full_arrayspec_from_expr to replace existing code.

2010-01-31  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/38324
        * gfortran.dg/alloc_comp_basics_1.f90: Remove option -O2.
        * gfortran.dg/alloc_comp_bounds_1.f90: New test.

From-SVN: r156401
2010-01-31 14:57:13 +00:00
GCC Administrator
ccfdaa06c3 Daily bump.
From-SVN: r156391
2010-01-31 00:16:37 +00:00
Paul Thomas
8c834225ef re PR fortran/41044 (internal compiler error: in gfc_conv_intrinsic_function)
2010-01-30  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/41044
	PR fortran/41167
	* expr.c (remove_subobject_ref): If the constructor is NULL use
	the expression as the source.
	(simplify_const_ref): Change the type of expression if
	there are component references.  Allow for substring to be at
	the end of an arbitrarily long chain of references.  If an
	element is found that is not in an EXPR_ARRAY, assume that this
	is scalar initialization of array. Call remove_subobject_ref in
	this case with NULL second argument.

2010-01-30  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/41044
	* gfortran.dg/parameter_array_ref_2.f90 : New test.

	PR fortran/41167
	* gfortran.dg/char_array_arg_1.f90 : New test.

	* gfortran.dg/pr25923.f90 : Remove XFAIL.

From-SVN: r156389
2010-01-30 21:12:59 +00:00
GCC Administrator
61aa9ca565 Daily bump.
From-SVN: r156374
2010-01-30 00:16:41 +00:00
GCC Administrator
bdb3b8c55f Daily bump.
From-SVN: r156338
2010-01-29 00:16:35 +00:00
GCC Administrator
6ca436d355 Daily bump.
From-SVN: r156309
2010-01-28 00:16:31 +00:00
Paul Thomas
a3ddebd73d re PR fortran/42736 (Wrong-code with allocatable or pointer components in elemental functions)
2010-01-27  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/42736
	* trans-stmt.c (gfc_conv_elemental_dependencies): If temporary
	is required, turn any trailing array elements after a range
	into ranges so that offsets can be calculated.

2010-01-27  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/42736
	* gfortran.dg/dependency_25.f90 : New test.

From-SVN: r156302
2010-01-27 20:06:08 +00:00
Rainer Orth
587dbc6353 sparc.c (sparc_elf_asm_named_section): Test for HAVE_GNU_AS value.
* config/sparc/sparc.c (sparc_elf_asm_named_section): Test for
	HAVE_GNU_AS value.
	* config/sparc/sysv4.h [HAVE_GNU_AS] (TARGET_ASM_NAMED_SECTION):
	Test for HAVE_GNU_AS value.

From-SVN: r156273
2010-01-27 09:10:27 +01:00
GCC Administrator
21be2424f3 Daily bump.
From-SVN: r156267
2010-01-27 00:16:25 +00:00
Jakub Jelinek
ca2d2b777f run_all.sh: Make sure norun.lst is sorted using the current collation.
* ada/acats/run_all.sh: Make sure norun.lst is sorted using the
	current collation.

	Backport from mainline:
	2009-12-17  Arnaud Charlet  <charlet@adacore.com>

	* ada/acats/run_all.sh: Strip comments from norun.lst.

From-SVN: r156256
2010-01-26 18:25:40 +01:00
Jakub Jelinek
2a4ce597f1 re PR fortran/42866 (ICE for REDUCTION with ALLOCATABLE array as variable on SECTIONS)
PR fortran/42866
	* omp-low.c (expand_omp_sections): Only use single_pred if
	l2_bb is single_pred_p.

	* testsuite/libgomp.fortran/allocatable5.f90: New test.

From-SVN: r156236
2010-01-26 10:51:23 +01:00
Christian Bruel
035d61a840 fix PR target/42841
From-SVN: r156230
2010-01-26 08:21:57 +01:00
Ian Lance Taylor
3309111df1 cp-demangle.c (cplus_demangle_type): Check for invalid type after "DF".
* cp-demangle.c (cplus_demangle_type): Check for invalid type
	after "DF".
	* testsuite/demangle-expected: Add test.

From-SVN: r156227
2010-01-26 04:09:43 +00:00
GCC Administrator
3b61a2be9d Daily bump.
From-SVN: r156223
2010-01-26 00:16:35 +00:00
Ramana Radhakrishnan
9d2e95fef7 Backport target/38697
Backport from trunk.

       2010-01-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
       PR target/38697
       * config/arm/neon-testgen.m (emit_automatics): New parameter
	features. Adjust for Fixed_return_reg feature.
	(test_intrinsic): Call emit_automatics with new feature.
       * config/arm/neon.ml: Update copyright years.
	(features): New Fixed_return_reg feature.
	(ops): Update feature for Vget_low.

	Backport from mainline.
	2010-01-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	PR target/38697.
	* gcc.target/arm/neon/vget_lowf32.c: Regenerate.
	* gcc.target/arm/neon/vget_lowp16.c: Likewise.
	* gcc.target/arm/neon/vget_lowp8.c:  Likewise.
	* gcc.target/arm/neon/vget_lows16.c: Likewise.
	* gcc.target/arm/neon/vget_lows32.c: Likewise.
	* gcc.target/arm/neon/vget_lows64.c: Likewise.
	* gcc.target/arm/neon/vget_lows8.c: Likewise.
	* gcc.target/arm/neon/vget_lowu16.c: Likewise.
	* gcc.target/arm/neon/vget_lowu32.c: Likewise.
	* gcc.target/arm/neon/vget_lowu64.c: Likewise.
	* gcc.target/arm/neon/vget_lowu8.c: Likewise.

From-SVN: r156206
2010-01-25 12:29:25 +00:00
David S. Miller
b939f3ba7f sysv4.h (TARGET_ASM_NAMED_SECTION): Only define if not using GAS.
2010-01-24  David S. Miller  <davem@davemloft.net>

	* gcc/config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Only
	define if not using GAS.
	* gcc/config/sparc/sparc.c (sparc_elf_asm_named_section):
	Likewise.  Delete SECTION_MERGE code, which is only applicable
	when using GAS.

From-SVN: r156205
2010-01-25 02:42:47 -08:00
GCC Administrator
475fde7a35 Daily bump.
From-SVN: r156200
2010-01-25 00:16:39 +00:00
GCC Administrator
7debcdd3ee Daily bump.
From-SVN: r156193
2010-01-24 00:16:32 +00:00
GCC Administrator
8c2f0997f4 Daily bump.
From-SVN: r156183
2010-01-23 00:16:32 +00:00
GCC Administrator
3d5d263240 Daily bump.
From-SVN: r156163
2010-01-22 00:16:35 +00:00
Felyza Wishbringer
fabd2c1797 re PR bootstrap/42786 (Athlon SSE3 and Fx processors not supported by configure)
PR bootstrap/42786
	* config.gcc (i[34567]86-*-*): Fix handling of athlon64 and athlon-fx
	cpu types.  Add support for *-sse3 cpu types.
	(x86_64-*-*): Ditto.

From-SVN: r156159
2010-01-21 21:03:55 +01:00
Jakub Jelinek
6a4be7d33a BASE-VER: Set to 4.4.4.
* BASE-VER: Set to 4.4.4.
	* DEV-PHASE: Set to prerelease.

From-SVN: r156153
2010-01-21 13:55:56 +01:00
GCC Administrator
cc084f96ff Mark as release
From-SVN: r156150
2010-01-21 09:39:15 +00:00
GCC Administrator
f8ddf8ec5e Mark ChangeLog
From-SVN: r156149
2010-01-21 09:39:08 +00:00
GCC Administrator
c3bc811a08 Mark ChangeLog
From-SVN: r156148
2010-01-21 09:39:03 +00:00
GCC Administrator
95f1a15f9e Mark ChangeLog
From-SVN: r156147
2010-01-21 09:38:58 +00:00
GCC Administrator
5a8a4b819c Mark ChangeLog
From-SVN: r156146
2010-01-21 09:38:52 +00:00
GCC Administrator
fe3c7d7f24 Mark ChangeLog
From-SVN: r156145
2010-01-21 09:38:45 +00:00
GCC Administrator
bef4238e7b Mark ChangeLog
From-SVN: r156144
2010-01-21 09:38:39 +00:00
GCC Administrator
6ff2312f66 Mark ChangeLog
From-SVN: r156143
2010-01-21 09:38:34 +00:00
GCC Administrator
81edb51b92 Mark ChangeLog
From-SVN: r156142
2010-01-21 09:38:28 +00:00
GCC Administrator
06c9888432 Mark ChangeLog
From-SVN: r156141
2010-01-21 09:38:23 +00:00
GCC Administrator
ad18ccb086 Mark ChangeLog
From-SVN: r156140
2010-01-21 09:38:18 +00:00
GCC Administrator
355f761df0 Mark ChangeLog
From-SVN: r156139
2010-01-21 09:38:12 +00:00
GCC Administrator
5f234bd8a5 Mark ChangeLog
From-SVN: r156138
2010-01-21 09:38:06 +00:00
GCC Administrator
4242561408 Mark ChangeLog
From-SVN: r156137
2010-01-21 09:38:00 +00:00
GCC Administrator
9fefda4cdb Mark ChangeLog
From-SVN: r156136
2010-01-21 09:37:54 +00:00
GCC Administrator
ca6b0d0785 Mark ChangeLog
From-SVN: r156135
2010-01-21 09:37:48 +00:00
GCC Administrator
eefeff6e23 Mark ChangeLog
From-SVN: r156134
2010-01-21 09:37:43 +00:00
GCC Administrator
9a7c6f146a Mark ChangeLog
From-SVN: r156133
2010-01-21 09:37:38 +00:00
GCC Administrator
49a79ead32 Mark ChangeLog
From-SVN: r156132
2010-01-21 09:37:33 +00:00
GCC Administrator
be864b8421 Mark ChangeLog
From-SVN: r156131
2010-01-21 09:37:28 +00:00
GCC Administrator
4b4f34b83b Mark ChangeLog
From-SVN: r156130
2010-01-21 09:37:23 +00:00
GCC Administrator
6e7337057e Mark ChangeLog
From-SVN: r156129
2010-01-21 09:37:18 +00:00
GCC Administrator
d0d6bb6957 Mark ChangeLog
From-SVN: r156128
2010-01-21 09:37:13 +00:00
GCC Administrator
bef16bd03a Mark ChangeLog
From-SVN: r156127
2010-01-21 09:37:07 +00:00
GCC Administrator
bc53e05507 Mark ChangeLog
From-SVN: r156126
2010-01-21 09:37:02 +00:00
GCC Administrator
e799019b63 Mark ChangeLog
From-SVN: r156125
2010-01-21 09:36:57 +00:00
GCC Administrator
35dffff783 Mark ChangeLog
From-SVN: r156124
2010-01-21 09:36:51 +00:00
GCC Administrator
a2637ddd2b Mark ChangeLog
From-SVN: r156123
2010-01-21 09:36:47 +00:00
GCC Administrator
95f8e84e86 Mark ChangeLog
From-SVN: r156122
2010-01-21 09:36:41 +00:00
GCC Administrator
874ee8ae00 Mark ChangeLog
From-SVN: r156121
2010-01-21 09:36:36 +00:00
GCC Administrator
67985228cf Mark ChangeLog
From-SVN: r156120
2010-01-21 09:36:30 +00:00
GCC Administrator
f5bdaa152d Mark ChangeLog
From-SVN: r156119
2010-01-21 09:36:24 +00:00
GCC Administrator
ca23239260 Mark ChangeLog
From-SVN: r156118
2010-01-21 09:36:17 +00:00
GCC Administrator
1170bc494f Mark ChangeLog
From-SVN: r156117
2010-01-21 09:36:12 +00:00
GCC Administrator
3c8396fd83 Mark ChangeLog
From-SVN: r156116
2010-01-21 09:36:07 +00:00
GCC Administrator
632c7c5b87 Mark ChangeLog
From-SVN: r156115
2010-01-21 09:36:01 +00:00
GCC Administrator
ad99c10922 Mark ChangeLog
From-SVN: r156114
2010-01-21 09:35:57 +00:00
GCC Administrator
73d483d98d Mark ChangeLog
From-SVN: r156113
2010-01-21 09:35:51 +00:00
GCC Administrator
ee079e9706 Mark ChangeLog
From-SVN: r156112
2010-01-21 09:35:47 +00:00
GCC Administrator
a9785fdfb5 Mark ChangeLog
From-SVN: r156111
2010-01-21 09:35:40 +00:00
GCC Administrator
1e6ec22774 Daily bump.
From-SVN: r156099
2010-01-21 00:16:35 +00:00
Richard Guenther
d6eb3374e3 re PR tree-optimization/41826 (invalid read in get_constraint_for_ptr_offset)
2010-01-20  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/41826
	* tree-ssa-structalias.c (get_constraint_for_ptr_offset): Avoid
	access to re-allocated vector fields.

From-SVN: r156078
2010-01-20 13:06:40 +00:00
Jakub Jelinek
66c57cb805 re PR middle-end/42803 (c++ compilation hang)
PR middle-end/42803
	* varasm.c (narrowing_initializer_constant_valid_p): Add CACHE
	argument, call initializer_constant_valid_p_1 instead of
	initializer_constant_valid_p, pass CACHE to it, return NULL
	immediately if first call returns NULL.
	(initializer_constant_valid_p_1): New function.
	(initializer_constant_valid_p): Use it.

	* g++.dg/parse/limits-initializer1.C: New test.

From-SVN: r156070
2010-01-20 12:27:49 +01:00
Jakub Jelinek
e3079365b6 dwarf2out.c (loc_descriptor_from_tree_1): Don't handle unsigned division.
* dwarf2out.c (loc_descriptor_from_tree_1): Don't handle unsigned
	division.  Handle signed modulo using DW_OP_{over,over,div,mul,minus}.
	* unwind-dw2.c (execute_stack_op): Handle DW_OP_mod using unsigned
	modulo instead of signed.

	* gcc.dg/cleanup-13.c: Expect DW_OP_mod to do unsigned modulo instead
	of signed, add a few new tests.

From-SVN: r156065
2010-01-20 09:39:18 +01:00
GCC Administrator
6388d3ace2 Daily bump.
From-SVN: r156052
2010-01-20 00:16:41 +00:00
Matthias Klose
eb5eebb85f 2010-01-19 Matthias Klose <doko@ubuntu.com>
* Regenerate .class files.

From-SVN: r156045
2010-01-19 16:46:14 +00:00
GCC Administrator
0c7a946646 Daily bump.
From-SVN: r156029
2010-01-19 00:17:06 +00:00
Uros Bizjak
d2ad176d60 re PR target/42774 (ICE in get_aligned_mem, at config/alpha/alpha.c:1484)
PR target/42774
	* config/alpha/predicates.md (aligned_memory_operand): Return 0 for
	memory references with unaligned offsets.  Remove CQImode handling.
	(unaligned_memory_operand): Return 1 for memory references with
	unaligned offsets.  Remove CQImode handling.

testsuite/ChangeLog:

	PR target/42774
	* gcc.target/alpha/pr42774.c: New test.

From-SVN: r156014
2010-01-18 18:04:29 +01:00
GCC Administrator
8d829cb717 Daily bump.
From-SVN: r155996
2010-01-18 00:16:30 +00:00
H.J. Lu
ff1bcfda6b Backport ia64 fix for PR target/42542 from mainline.
gcc/

2010-01-17  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2010-01-13  Steve Ellcey  <sje@cup.hp.com>

	PR target/42542
	* config/ia64/ia64.c (ia64_expand_vecint_compare): Convert GTU to GT
	for V2SI by subtracting (-(INT MAX) - 1) from both operands to make
	them signed.

gcc/testsuite/

2010-01-17  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2010-01-13  Steve Ellcey  <sje@cup.hp.com>

	PR target/42542
	* gcc.target/ia64/pr42542-1.c: New.
	* gcc.target/ia64/pr42542-2.c: New.
	* gcc.target/ia64/pr42542-3.c: New.

From-SVN: r155990
2010-01-17 10:57:33 -08:00
Richard Guenther
273281e07b re PR tree-optimization/42773 (ICE with g++ from 4.4.3 20100112 (prerelease))
2010-01-17  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42773
	* tree-ssa-pre.c (phi_translate_set): Fix check for PHI node existence.
	(compute_antic_aux): Likewise.
	(compute_partial_antic_aux): Likewise.

	* g++.dg/torture/pr42773.C: New testcase.

From-SVN: r155981
2010-01-17 15:50:53 +00:00
GCC Administrator
5335c15b7d Daily bump.
From-SVN: r155969
2010-01-17 00:16:38 +00:00
Jakub Jelinek
5ecfb05d10 re PR middle-end/42760 (ICE in convert_move)
PR middle-end/42760
	Backport from trunk
	2009-06-17  Steve Ellcey  <sje@cup.hp.com>

	* expr.c (expand_assignment): Change complex type check.

	* g++.dg/torture/pr42760.C: New test.

From-SVN: r155959
2010-01-16 10:44:57 +01:00
GCC Administrator
7966bada05 Daily bump.
From-SVN: r155954
2010-01-16 00:16:33 +00:00
Jing Yu
49b6b0ccb5 backport: re PR rtl-optimization/42691 (problematic REG_EQUAL note added to SUBREG)
Backport from mainline(4.5) to fix a regression bug.

2010-01-15  Jing Yu  <jingyu@google.com>

	PR rtl-optimization/42691
	* combine.c (try_combine): Set changed_i3_dest to 1 when I2 and I3 set
	a pseudo to a constant and are merged, and adjust comments.

	2010-01-15  Jing Yu  <jingyu@google.com>

	PR rtl-optimization/42691
	* gcc.c-torture/execute/pr42691.c: New.

From-SVN: r155949
2010-01-15 22:11:43 +00:00
Jing Yu
c8a3bae3e0 Revert revision 155945 due to the broken test case.
From-SVN: r155947
2010-01-15 21:42:50 +00:00
Jing Yu
083a78158f backport: re PR rtl-optimization/42691 (problematic REG_EQUAL note added to SUBREG)
Backport from mainline(4.5) to fix a regression bug.

2010-01-15  Jing Yu  <jingyu@google.com>

	PR rtl-optimization/42691
	* combine.c (try_combine): Set changed_i3_dest to 1 when I2 and I3 set
	a pseudo to a constant and are merged, and adjust comments.

2010-01-15  Jing Yu  <jingyu@google.com>

	PR rtl-optimization/42691
	* gcc.c-torture/execute/pr42691.c: New.

From-SVN: r155945
2010-01-15 19:08:53 +00:00
Richard Guenther
e3aaa97199 tree-ssa-loop-im.c (gen_lsm_tmp_name): Fix bogus fallthru.
2010-01-15  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-loop-im.c (gen_lsm_tmp_name): Fix bogus fallthru.

From-SVN: r155935
2010-01-15 10:50:56 +00:00
GCC Administrator
c2b84b52bd Daily bump.
From-SVN: r155927
2010-01-15 00:18:59 +00:00
Jakub Jelinek
350dd84512 re PR middle-end/42674 (Bogus "no return statement in function returning non-void" warning)
PR middle-end/42674
	* c-decl.c (finish_function): Don't emit -Wreturn-type warnings in
	functions with noreturn attribute.

	* decl.c (finish_function): Don't emit -Wreturn-type warnings in
	functions with noreturn attribute.

	* c-c++-common/pr42674.c: New test.

From-SVN: r155922
2010-01-14 23:49:17 +01:00
Jakub Jelinek
0a4d38f60b re PR c++/42608 (Undefined reference not reported in case of explicit template instantiation)
PR c++/42608
	* varasm.c (declare_weak): Add weak attribute to decl if it
	doesn't have one already.
	(assemble_external): Only add decls to weak_decls if they also
	have weak attribute.

	* g++.dg/template/instantiate11.C: New test.

From-SVN: r155921
2010-01-14 23:46:43 +01:00
Jason Merrill
726e741e2e re PR c++/42655 (! causes the qualified types for rvalue)
PR c++/42655
	* call.c (convert_like_real): Do full decay_conversion for ck_rvalue.

From-SVN: r155915
2010-01-14 15:42:16 -05:00
Jakub Jelinek
2109cd6f1a re PR c/42721 (possible integer wrong code bug)
PR c/42721
	Port from no-undefined-overflow branch
	2009-03-09  Richard Guenther  <rguenther@suse.de>

	* fold-const.c (add_double_with_sign): Fix unsigned overflow
	detection.

	* gcc.c-torture/execute/pr42721.c: New test.

From-SVN: r155888
2010-01-14 10:48:01 +01:00
Jakub Jelinek
4a39377b5e backport: re PR middle-end/42667 (internal compiler error: in insert_into_preds_of_block, at tree-ssa-pre.c:3146)
Backport from mainline
	2010-01-10  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42667
	* builtins.c (fold_builtin_strlen): Add type argument and
	convert the resulting length to it.
	(fold_builtin_1): Adjust.

	* gcc.dg/torture/pr42667.c: New testcase.

From-SVN: r155886
2010-01-14 10:46:04 +01:00
GCC Administrator
e4358a0a58 Daily bump.
From-SVN: r155874
2010-01-14 00:17:22 +00:00
Sebastian Pop
66ea910579 re PR middle-end/40281 (-fprefetch-loop-arrays: ICE: in initialize_matrix_A, at tree-data-ref.c:1887)
2010-01-13  Sebastian Pop  <sebastian.pop@amd.com>

	PR middle-end/40281
	* tree-scalar-evolution.c (instantiate_scev_1): Base and stride
	evolutions should not variate in inner loops.

	* gcc.dg/graphite/pr40281.c: New.

From-SVN: r155851
2010-01-13 07:58:50 +00:00
GCC Administrator
2a43fba7eb Daily bump.
From-SVN: r155848
2010-01-13 00:17:20 +00:00
Matthias Klose
68a0157a81 [multiple changes]
2010-01-12  Matthias Klose  <doko@ubuntu.com>

        PR libjava/40859, backported from:

        2009-08-12  Andrew Haley  <aph@redhat.com>
        * configure.host (arm*-linux*): Add -Wno-abi to cxxflags.
        (testsuite/libjava.jvmti/jvmti-interp.exp): Likewise.
        (testsuite/libjava.jvmti/jvmti.exp): Likewise.
        (testsuite/libjava.jni/jni.exp): Likewise.

From-SVN: r155840
2010-01-12 17:14:15 +00:00
Ramana Radhakrishnan
c2ad0dddbb Fix Neon Scheduler ocaml description.
Backport from mainline.

2010-01-12  Julian Brown  <julian@codesourcery.com>

        * config/arm/neon-schedgen.ml (Utils): Don't try to
        open missing module.
        (find_with_result): New.

From-SVN: r155836
2010-01-12 11:57:58 +00:00
Jakub Jelinek
cebb4ea5a4 re PR debug/42662 (invalid rtl sharing found in the insn)
PR debug/42662
	* simplify-rtx.c (simplify_relational_operation_1): Avoid invalid rtx
	sharing when canonicalizing ({lt,ge}u (plus a b) b).

	* gcc.dg/pr42662.c: New test.

From-SVN: r155832
2010-01-12 10:47:07 +01:00
GCC Administrator
a0bd4a3a86 Daily bump.
From-SVN: r155823
2010-01-12 00:16:39 +00:00
Uros Bizjak
3ca20665f5 asm-support.S (snapshot_ret): Preserve stack alignment.
* gcc.target/x86_64/abi/avx/asm-support.S (snapshot_ret): Preserve
	stack alignment.

From-SVN: r155815
2010-01-11 20:02:02 +01:00
GCC Administrator
5072b9f684 Daily bump.
From-SVN: r155798
2010-01-11 00:16:50 +00:00
GCC Administrator
e285e9bfe5 Daily bump.
From-SVN: r155783
2010-01-10 00:16:31 +00:00
GCC Administrator
140737b587 Daily bump.
From-SVN: r155752
2010-01-09 00:16:38 +00:00
Jakub Jelinek
536fb268dd gcc.c (process_command): Update copyright notice dates.
* gcc.c (process_command): Update copyright notice dates.
	* gcov.c (print_version): Likewise.
	* gcov-dump.c (print_version): Likewise.
	* mips-tfile.c (main): Likewise.
	* mips-tdump.c (main): Likewise.

	* gfortranspec.c (lang_specific_driver): Update copyright notice
	dates.

	* jcf-dump.c (version): Update copyright notice dates.

	* mf-runtime.c (__mf_usage): Update copyright notice dates.

	* gnu/gcj/convert/Convert.java (version): Update copyright notice
	dates.
	* gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise.

	* gnu/java/rmi/registry/RegistryImpl.java (version): Update
	copyright notice dates.
	* tools/gnu/classpath/tools/orbd/Main.java (run): Likewise.

From-SVN: r155750
2010-01-09 01:05:06 +01:00
H.J. Lu
141dbc98f5 Remove g++.dg/opt/pr42508.C
From-SVN: r155726
2010-01-07 21:30:59 -08:00
GCC Administrator
9f9e5dd7df Daily bump.
From-SVN: r155716
2010-01-08 00:18:18 +00:00
H.J. Lu
1b42dd98f0 Backport PRs 42398, 42439, 42447, 42462, 42508, 42555, 42559, 42570
Backport tests from mainline

2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2010-01-06  Richard Guenther  <rguenther@suse.de>

	* gcc.c-torture/compile/pr42632.c: New testcase.

	2010-01-05  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/42462
	* g++.dg/torture/pr42462.C: New test.

	2010-01-05  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/42508
	* g++.dg/opt/pr42508.C: New test.

	2010-01-04  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/42398
	* gcc.c-torture/compile/pr42398.c: New test.

	2010-01-04  Jason Merrill  <jason@redhat.com>

	PR c++/42555
	* g++.dg/ext/attrib35.C: New.

	2010-01-01  Richard Guenther  <rguenther@suse.de>

	PR c/42570
	* gcc.c-torture/execute/pr42570.c: New testcase.

	2010-01-01  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42559
	* gcc.c-torture/compile/pr42559.c: New testcase.

	2009-12-30  Joseph Myers  <joseph@codesourcery.com>

	PR c/42439
	* gcc.dg/bitfld-19.c: New test.

	2009-12-28  Jason Merrill  <jason@redhat.com>

	PR c++/42447
	* g++.dg/template/array21.C: New.

From-SVN: r155713
2010-01-07 14:22:32 -08:00
H.J. Lu
8e3f0db6c2 Properly convert GTU to GT for V4SI and V2DI
gcc/

2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline
	2010-01-05  Paolo Bonzini  <bonzinI@gnu.rg>
		    H.J. Lu  <hongjiu.lu@intel.com>

	PR target/42542
	* config/i386/i386.c (ix86_expand_int_vcond): Convert GTU to GT
	for V4SI and V2DI by subtracting (-(INT MAX) - 1) from both
	operands to make them signed.

gcc/testsuite/

2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline
	2010-01-05  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/42542
	* gcc.target/i386/pr42542-1.c: New.
	* gcc.target/i386/pr42542-1a.c: Likewise.
	* gcc.target/i386/pr42542-1b.c: Likewise.
	* gcc.target/i386/pr42542-2.c: Likewise.
	* gcc.target/i386/pr42542-2a.c: Likewise.
	* gcc.target/i386/pr42542-2b.c: Likewise.
	* gcc.target/i386/pr42542-3.c: Likewise.
	* gcc.target/i386/pr42542-3a.c: Likewise.

From-SVN: r155707
2010-01-07 11:55:44 -08:00
Uros Bizjak
2e3dce632f re PR rtl-optimization/42511 (bootstrap error in stage3 on alpha-linux-gnu)
* ifcvt.c (if_convert): Output slim multiple dumps with TDF_SLIM.

	PR target/42511
	* ifcvt.c (dead_or_predicable): Also remove REG_EQUAL note when
	note itself is not function_invariant_p.

From-SVN: r155693
2010-01-07 15:59:59 +01:00
GCC Administrator
472bb1ca33 Daily bump.
From-SVN: r155683
2010-01-07 00:16:49 +00:00
GCC Administrator
e9b2a5a3b8 Daily bump.
From-SVN: r155668
2010-01-06 00:17:15 +00:00
Eric Botcazou
17598865fe re PR target/42564 (unrecognizable insn with -O -fPIC)
PR target/42564
	* config/sparc/sparc.h (SPARC_SYMBOL_REF_TLS_P): Delete.
	* config/sparc/sparc-protos.h (legitimize_pic_address): Likewise.
	(legitimize_tls_address): Likewise.
	(sparc_tls_referenced_p): Likewise.
	* config/sparc/sparc.c (sparc_expand_move): Use legitimize_tls_address
	and adjust calls to legitimize_pic_address.
	(legitimate_constant_p) Use sparc_tls_referenced_p.
	(legitimate_pic_operand_p): Likewise.
	(sparc_legitimate_address_p): Do not use SPARC_SYMBOL_REF_TLS_P.
	(sparc_tls_symbol_ref_1): Delete.
	(sparc_tls_referenced_p): Make static, recognize specific patterns.
	(legitimize_tls_address): Make static, handle CONST patterns.
	(legitimize_pic_address): Make static, remove unused parameter and
	adjust recursive calls.
	(sparc_legitimize_address): Make static, use sparc_tls_referenced_p
	and adjust call to legitimize_pic_address.
	(sparc_output_mi_thunk): Likewise.

From-SVN: r155663
2010-01-05 22:32:25 +00:00
Richard Guenther
8a54e826ed re PR tree-optimization/42614 (FRE optimizes away valid code after IPA inlining)
2010-01-05  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42614
	* tree-ssa-alias.c (compute_flow_insensitive_aliasing):
	Compute SMT aliases before symbol aliases.

	* gcc.c-torture/execute/pr42614.c: New testcase.

From-SVN: r155646
2010-01-05 13:41:41 +00:00
Jakub Jelinek
e33bc1dd10 re PR other/42611 (ICE in tree_low_cst, at tree.c:5014)
PR other/42611
	* cfgexpand.c (expand_one_var): Diagnose too large variables.

	* gcc.dg/pr42611.c: New test.

From-SVN: r155642
2010-01-05 09:56:30 +01:00
GCC Administrator
b41efe5be1 Daily bump.
From-SVN: r155637
2010-01-05 00:16:32 +00:00
Mikael Pettersson
7188391371 backport: [multiple changes]
2010-01-04  Mikael Pettersson  <mikpe@it.uu.se>

        PR target/42503

        Backport from mainline:

        2009-09-09  Jakub Jelinek  <jakub@redhat.com>

        * config/t-slibgcc-elf-ver (SHLIB_MAKE_SOLINK, SHLIB_INSTALL_SOLINK):
        New variables.
        (SHLIB_LINK, SHLIB_INSTALL): Use them.
        * config/t-slibgcc-libgcc: New file.

        2009-10-19  Matthias Klose  <doko@ubuntu.com>

        PR target/40134
        * config.gcc (arm*-*-linux-*eabi): Use config/t-slibgcc-libgcc.

From-SVN: r155617
2010-01-04 15:13:08 +00:00
Ira Rosen
deca952548 re PR tree-optimization/41956 (Segfault in vectorizer)
PR tree-optimization/41956
	* tree-vect-analyze.c (vect_supported_load_permutation_p): Add check
	that the load indices differ.

From-SVN: r155614
2010-01-04 12:45:46 +00:00
GCC Administrator
dcf553531f Daily bump.
From-SVN: r155599
2010-01-04 00:16:41 +00:00
GCC Administrator
33a919de4b Daily bump.
From-SVN: r155580
2010-01-03 00:16:31 +00:00
Richard Guenther
eae23e2eb9 backport: [multiple changes]
2010-01-02  Richard Guenther  <rguenther@suse.de>

	Backport from mainline
	2009-12-10  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42337
	* tree-ssa-pre.c (seen_during_translate): Remove.
	(phi_translate_1): Collapse into ...
	(phi_translate): ... this.  Remove seen parameter and
	adjust recursive calls.

	Backport from mainline
	2009-12-09  Xinliang David Li  <davidxl@google.com>

	PR tree-optimization/42337
	* g++.dg/tree-ssa/pr42337.C: New test.

From-SVN: r155573
2010-01-02 17:12:15 +00:00
Uros Bizjak
3e0c794aea re PR target/42448 (Wrong code with _Complex char in structure)
PR target/42448
	* config/alpha/predicates.md (aligned_memory_operand): Return false
	for CQImode.
	(unaligned_memory_operand): Return true for CQImode.
	* config/alpha/alpha.c (get_aligned_mem): Assert that location
	doesn not cross aligned SImode word boundary.

testsuite/ChangeLog:

	PR target/42448
	* gcc.target/alpha/pr42448-1.c: New test.
	* gcc.target/alpha/pr42448-2.c: Ditto.

From-SVN: r155567
2010-01-02 15:28:25 +01:00
GCC Administrator
881a3ffad1 Daily bump.
From-SVN: r155561
2010-01-02 00:16:38 +00:00
GCC Administrator
a1080551e3 Daily bump.
From-SVN: r155542
2010-01-01 00:16:43 +00:00
GCC Administrator
b2c166b3f2 Daily bump.
From-SVN: r155532
2009-12-31 00:16:43 +00:00
Ian Lance Taylor
166fae488e re PR middle-end/42099 (Error in 64-bit division for 32-bit target)
gcc/:
	PR middle-end/42099
	* expmed.c (expand_divmod): Don't shift HOST_WIDE_INT value more
	than HOST_BITS_PER_WIDE_INT.
gcc/testsuite/:
	PR middle-end/42099
	* gcc.c-torture/execute/20091229-1.c: New test.

From-SVN: r155524
2009-12-30 19:42:03 +00:00
Uros Bizjak
e0fae0c0d5 re PR target/42549 (Incorrect 3DNow! code generated)
PR target/42549
	* config/i386/mmx.md (*mmx_subv2sf3): Fix insn operand number for
	alternative 1.

testsuite/ChangeLog:

	PR target/42549
	* gcc.target/i386/mmx-3dnow-check.h: New file.
	* gcc.target/i386/pr42549.c: New test.

From-SVN: r155521
2009-12-30 12:34:57 +01:00
GCC Administrator
96c64a577d Daily bump.
From-SVN: r155513
2009-12-30 00:16:41 +00:00
GCC Administrator
b6509a1bef Daily bump.
From-SVN: r155496
2009-12-29 00:16:46 +00:00
H.J. Lu
83f8267169 backport: re PR c++/41305 (Infinite recursion with g++ at -O0)
2009-12-28  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-12-24  Jason Merrill  <jason@redhat.com>

	PR c++/41305
	* g++.dg/lookup/koenig10.C: New test.
	* g++.dg/lookup/koenig11.C: New test.
	* g++.dg/lookup/koenig12.C: New test.

From-SVN: r155491
2009-12-28 09:18:22 -08:00
H.J. Lu
c1f3b5d1d9 backport: re PR middle-end/41344 (ICE / Bus error on OpenMP compile)
Backport from mainline: Handle GIMPLE_COND in diagnose_sb_2.

gcc/

2009-12-28  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-12-28  H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/41344
	* omp-low.c (diagnose_sb_2): Handle GIMPLE_COND.

gcc/testsuite/

2009-12-28  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-12-28  H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/41344
	* gfortran.dg/gomp/pr41344.f: New.

From-SVN: r155489
2009-12-28 08:46:11 -08:00
GCC Administrator
a213120942 Daily bump.
From-SVN: r155483
2009-12-28 00:16:26 +00:00
Martin Jambor
c9f8846db8 re PR tree-optimization/42231 (Wrong generated code when using a callback function (possible callback function inlining bug ?))
2009-12-27  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/42231
	* ipa-cp.c (ipcp_update_cloned_node): Add missing edges manually
	instead of relying on rebuild_cgraph_edges and mark them as
	indirect calls.
	(ipcp_update_callgraph): Always redirect indirect edges.

	* testsuite/gcc.c-torture/execute/pr42231.c: New test.

From-SVN: r155481
2009-12-27 23:39:58 +01:00
GCC Administrator
ce63852143 Daily bump.
From-SVN: r155477
2009-12-27 00:16:46 +00:00
Jason Merrill
f6ef7726f2 re PR c++/42331 (ICE with invalid array initializer)
PR c++/42331
	* typeck.c (cp_build_modify_expr): Fix thinko.

From-SVN: r155474
2009-12-26 11:24:53 -05:00
GCC Administrator
816c175350 Daily bump.
From-SVN: r155467
2009-12-26 00:16:49 +00:00
GCC Administrator
e3d24d7a98 Daily bump.
From-SVN: r155463
2009-12-25 00:16:34 +00:00
GCC Administrator
78a035cd6e Daily bump.
From-SVN: r155446
2009-12-24 00:16:39 +00:00
Jakub Jelinek
37d00b277c re PR rtl-optimization/42475 (ICE at -O1 and above: internal compiler error: in simplify_subreg, at simplify-rtx.c:4954)
PR rtl-optimization/42475
	* combine.c (make_compound_operation) <case SUBREG>: Use mode of
	SUBREG_REG (x) instead of tem's mode.

	* gcc.dg/pr42475.c: New test.

From-SVN: r155431
2009-12-23 18:07:04 +01:00
GCC Administrator
e9ede1fe85 Daily bump.
From-SVN: r155413
2009-12-23 00:16:43 +00:00
H.J. Lu
23caa7cb62 Backport PRs 42225, 42357, 42358, 42386
Backport testcases from mainline.

2009-12-22  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-12-19  Dodji Seketeli  <dodji@redhat.com>

	PR c++/42225
	* g++.dg/template/typedef26.C: New test.

	2009-12-17  Jakub Jelinek  <jakub@redhat.com>

	PR c++/42386
	* g++.dg/opt/dtor3.C: New test.

	2009-12-15  Jason Merrill  <jason@redhat.com>

	PR c++/42358
	* g++.dg/cpp0x/variadic98.C: New.

	2009-12-13  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42357
	* g++.dg/torture/pr42357.C: New testcase.

From-SVN: r155403
2009-12-22 10:17:53 -08:00
Jason Merrill
e5408216a1 mangle.c (write_member_name): Move abi-version=1 code back to...
* mangle.c (write_member_name): Move abi-version=1 code back to...
	(write_expression): ...here.

From-SVN: r155398
2009-12-22 09:28:55 -05:00
GCC Administrator
54700aa6c9 Daily bump.
From-SVN: r155385
2009-12-22 00:16:57 +00:00
Thomas Koenig
e1610cb45e PR libfortran/PR42422
2009-12-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/PR42422
	* gfortran.dg/list_read_10.f90:  New test.

From-SVN: r155381
2009-12-21 23:14:06 +00:00
Jakub Jelinek
8de0c218e4 re PR rtl-optimization/42429 (Miscompilation of 2fish on s390)
PR rtl-optimization/42429
	* reload.c (find_reloads_subreg_address): When adjusting mode of
	MEM, update also MEM_SIZE if it is set.

From-SVN: r155375
2009-12-21 17:34:26 +01:00
GCC Administrator
65c4d69165 Daily bump.
From-SVN: r155370
2009-12-21 00:16:45 +00:00
GCC Administrator
29144fd4bc Daily bump.
From-SVN: r155365
2009-12-20 00:16:44 +00:00
GCC Administrator
ef78ef6dbf Daily bump.
From-SVN: r155352
2009-12-19 00:16:32 +00:00
Dave Korn
defbe06db1 cygwin.h (LINK_SPEC): Add -tsaware flag if !mno-cygwin.
* config/i386/cygwin.h (LINK_SPEC): Add -tsaware flag if !mno-cygwin.

From-SVN: r155341
2009-12-18 09:22:39 +00:00
GCC Administrator
50075509d1 Daily bump.
From-SVN: r155330
2009-12-18 00:16:40 +00:00
GCC Administrator
bbd709d58f Daily bump.
From-SVN: r155300
2009-12-17 00:16:49 +00:00
Jason Merrill
9d8bad45a2 re PR c++/42387 (ICE with new expression in class template)
PR c++/42387
	* decl.c (compute_array_index_type): Mark a VLA as dependent.

From-SVN: r155293
2009-12-16 13:02:38 -05:00
GCC Administrator
2184887895 Daily bump.
From-SVN: r155279
2009-12-16 00:16:34 +00:00
Jakub Jelinek
5eb770f88c re PR c++/41183 (ICE compiling chromium)
PR c++/41183
	* cp-tree.h (current_class_ptr): Give NULL even when cfun
	has NULL cfun->language.

	* g++.dg/torture/pr41183.C: New test.

From-SVN: r155255
2009-12-15 16:14:59 +01:00
GCC Administrator
98e78bdea2 Daily bump.
From-SVN: r155243
2009-12-15 00:16:38 +00:00
GCC Administrator
b8e27c0355 Daily bump.
From-SVN: r155202
2009-12-14 00:16:30 +00:00
Ramana Radhakrishnan
ca35e94016 Commit testcase for pr42263, omitted from the original backport
2009-12-11  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        Backport from mainline:
        2009-08-11  Andrew Haley  <aph@redhat.com>
        * gcc.target/arm/synchronize.c: New file.

From-SVN: r155192
2009-12-12 02:46:22 +00:00
H.J. Lu
0ce1262438 Backport PRs 42166, 42215, 42234, 42269, 42299
Backport testcases from trunk.

2009-12-11  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-12-07  Richard Henderson  <rth@redhat.com>

	PR rtl-opt/42269
	* gcc.c-torture/execute/pr42269-2.c: New.

	2009-12-07  Richard Henderson  <rth@redhat.com>

	PR debug/42299
	PR debug/42166
	* gcc.c-torture/compile/pr42299.c: New.
	* gfortran.dg/pr42166.f90: Likewise.

	2009-12-06  Richard Henderson  <rth@redhat.com>

	PR debug/42234
	* gcc.c-torture/compile/pr42234.c: New.

	2009-12-02  Richard Henderson  <rth@redhat.com>

	PR tree-opt/42215
	* gcc.dg/pr42215.c: New.

From-SVN: r155191
2009-12-11 17:45:12 -08:00
GCC Administrator
ea50055503 Daily bump.
From-SVN: r155187
2009-12-12 00:16:33 +00:00
H.J. Lu
ae74d56cf2 Backport PRs 41611, 41905, 41906, 41961, 42006, 42025, 42057, 42069, 42078, 42084 and more
Backport testcases from trunk.

2009-12-11  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-12-11  Dodji Seketeli  <dodji@redhat.com>

	PR c++/42225
	* g++.dg/template/typedef24.C: New test.
	* g++.dg/template/typedef25.C: New test.

	2009-12-11  Dodji Seketeli  <dodji@redhat.com>

	PR c++/42251
	* g++.dg/template/const3.C: New test.

	2009-12-10  Jakub Jelinek  <jakub@redhat.com>

	PR c++/42317
	* g++.dg/opt/dtor2.C: New test.
	* g++.dg/opt/dtor2.h: New file.
	* g++.dg/opt/dtor2-aux.cc: New file.

	2009-12-10  Jan Hubicka  <jh@suse.cz>

	PR middle-end/42110
	* g++.dg/torture/pr42110.C: new file.

	2009-12-07  Jakub Jelinek  <jakub@redhat.com>

	PR debug/42244
	* gcc.dg/debug/pr42244.c: New test.

	2009-12-04  David Daney  <ddaney@caviumnetworks.com>

	PR rtl-optimization/42164
	* gcc.c-torture/compile/pr42164.c: New test.

	2009-12-03  Jason Merrill  <jason@redhat.com>

	PR c++/41611
	* g++.dg/abi/guard2.C: New.

	2009-12-03  Dodji Seketeli  <dodji@redhat.com>

	PR c++/42217
	* g++.dg/other/bitfield4.C: New test.

	2009-12-03  Jakub Jelinek  <jakub@redhat.com>

	PR c++/42256
	* g++.dg/inherit/thunk11.C: New test.
	* g++.dg/inherit/thunk11.h: New file.
	* g++.dg/inherit/thunk11-aux.cc: New file.

	2009-12-01  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/42237
	* gcc.c-torture/compile/pr42237.c: New test.

	2009-12-01  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/42057
	* g++.dg/parse/crash54.C: New.

	2009-11-30  Martin Jambor  <mjambor@suse.cz>

	PR middle-end/42196
	* gcc.c-torture/compile/pr42196-1.c: New test.
	* gcc.c-torture/compile/pr42196-2.c: New test.
	* gcc.c-torture/compile/pr42196-3.c: New test.

	2009-11-30  Dodji Seketeli  <dodji@redhat.com>

	PR c++/42069
	* g++.dg/template/typedef23.C: New test.

	2009-11-29  H.J. Lu  <hongjiu.lu@intel.com>

	PR tree-optimization/41961
	* g++.dg/tree-ssa/pr41961.C: New.

	2009-11-29  Ira Rosen  <irar@il.ibm.com>

	PR tree-optimization/42193
	* gcc.dg/vect/pr42193.c: New test.

	2009-11-28  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42183
	* g++.dg/torture/pr42183.C: New testcase.

	2009-11-27  Martin Jambor  <mjambor@suse.cz>

	PR middle-end/42006
	* gcc.c-torture/execute/pr42006.c: New test.

	2009-11-27  Michael Matz  <matz@suse.de>

	PR rtl-optimization/42084
	* gcc.dg/pr42084.c: New test.

	2009-11-27  Michael Matz  <matz@suse.de>

	PR c++/41906
	* g++.dg/tree-ssa/pr41906.C: New testcase.

	2009-11-26  Michael Matz  <matz@suse.de>

	PR tree-optimization/41905
	* g++.dg/tree-ssa/pr41905.C: New testcase.

	2009-11-24  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42142
	* gcc.c-torture/execute/pr42142.c: New testcase.

	2009-11-24  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/42154
	* gcc.c-torture/execute/pr42154.c: New test.

	2009-11-21  Martin Jambor  <mjambor@suse.cz>

	PR middle-end/42025
	* gcc.c-torture/compile/pr42025-1.c: New test.
	* gcc.c-torture/compile/pr42025-2.c: New test.

	2009-11-21  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/42078
	* gcc.dg/pr42078.c: New test.

From-SVN: r155184
2009-12-11 15:36:24 -08:00
Ramana Radhakrishnan
0e92367f61 re PR target/42263 (Wrong code bugs in SMP support)
2009-12-11  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	PR target/42263
	Backport from mainline

	2009-12-03  Richard Earnshaw  <rearnsha@arm.com>

	* arm/linux-atomic.c (SYNC_LOCK_RELEASE): Place memory barrier
	before the lock release.

From-SVN: r155172
2009-12-11 17:45:32 +00:00
Ramana Radhakrishnan
09d9097264 [multiple changes]
2009-12-11  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	PR target/42263
	2009-08-11  Andrew Haley  <aph@redhat.com>
	* config/arm/arm.c (arm_init_libfuncs): Add __sync_synchronize.

From-SVN: r155171
2009-12-11 17:37:34 +00:00
Ramana Radhakrishnan
a5feed798a Fix target/41196
2009-12-11  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
 
       PR target/41196
       2009-10-14  Daniel Gutson  <dgutson@codesourcery.com>

       * config/arm/neon.md (neon_vshll_n<mode>): Checking Bounds
       fixed.

 2009-12-11  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
 
       PR target/41196
       2009-10-14  Daniel Gutson  <dgutson@codesourcery.com>
       * testsuite/gcc.target/arm/neon/vfp-shift-a2t2.c: New test case.

From-SVN: r155158
2009-12-11 11:53:46 +00:00
Ramana Radhakrishnan
c2f2791fc5 Fix PR41574 on 4.4 branch.
2009-12-11  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	2009-10-05  Doug Kwan  <dougkwan@google.com>

	PR rtl-optimization/41574
	* combine.c (distribute_and_simplify_rtx): Quit if RTX mode is
	floating point and we are not doing unsafe math optimizations.


2009-12-11  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	2009-10-08  Doug Kwan  <dougkwan@google.com>

	PR rtl-optimization/41574
	* gcc.dg/pr41574.c: New test.

From-SVN: r155157
2009-12-11 11:21:33 +00:00
Ramana Radhakrishnan
1c8b0b14e3 re PR target/41939 (EABI violation in accessing values below the stack.)
2009-12-11  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	PR target/41939
	Backport from mainline:
	2009-06-05  Julian Brown  <julian@codesourcery.com>

	* config/arm/ieee754-df.S (cmpdf2): Avoid writing below SP.
	* config/arm/ieee754-sf.S (cmpsf2): Likewise.

From-SVN: r155154
2009-12-11 10:31:13 +00:00
Jason Merrill
302e39e5a8 re PR c++/27425 (ICE with invalid template-template-parameter)
PR c++/27425
	PR c++/34274
	PR c++/42301
	* pt.c (expand_template_argument_pack): Handle null arg gracefully.
	(convert_template_argument): Use %T for type.

From-SVN: r155149
2009-12-11 00:26:51 -05:00
GCC Administrator
b1faa8d9ca Daily bump.
From-SVN: r155147
2009-12-11 00:16:39 +00:00
Janus Weil
84899e7df6 re PR fortran/42268 (derived type segfault with pack)
libgfortran/
2009-12-10  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/42268
	* intrinsics/pack_generic.c (pack): Add safety checks for the case that
	'vector' is NULL.


gcc/testsuite/
2009-12-10  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/42268
	* gfortran.dg/intrinsic_pack_5.f90: New test.

From-SVN: r155139
2009-12-10 21:28:57 +01:00
Paolo Carlini
278d4b3b33 revert: re PR libstdc++/42261 (infinite recursion from string(string::size_type(6), string::size_type('f')))
2009-12-10  Paolo Carlini  <paolo.carlini@oracle.com>

	Revert:
        2009-12-04  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/42261
	* include/bits/basic_string.h (_S_construct_aux(_Integer, _Integer,
	const _Alloc&, __true_type)): Cast the second argument to value_type.
	* include/ext/sso_string_base.h (_M_construct_aux(_Integer, _Integer,
	std::__true_type)): Likewise.
	* include/ext/rc_string_base.h (_S_construct_aux(_Integer, _Integer,
	const _Alloc&, std::__true_type)): Likewise.
	* testsuite/21_strings/basic_string/cons/char/42261.cc: New.
	* testsuite/21_strings/basic_string/cons/wchar_t/42261.cc: Likewise.

From-SVN: r155133
2009-12-10 17:18:00 +00:00
GCC Administrator
d31ba1654d Daily bump.
From-SVN: r155120
2009-12-10 00:16:40 +00:00
Roman Odaisky
d6bd84d5ba re PR libstdc++/42273 (atomic_2.h:111: = instead of == in if)
2009-12-09  Roman Odaisky  <to.roma.from.bugcc@qwertty.com>

	PR libstdc++/42273
	* include/bits/atomic_2.h: Fix typo.

From-SVN: r155118
2009-12-09 22:38:57 +00:00
Bryce McKinlay
798d6d9a57 re PR java/41991 (gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9)
2009-12-09  Bryce McKinlay  <bmckinlay@gmail.com>

        PR java/41991  
        * configure.ac (SYSTEMSPEC): Pass -allow_stack_execute to Darwin
        linker.
        * Makefile.am (gij_LDFLAGS): Remove extra_gij_ldflags.
        * configure: Regenerate.  
        * Makefile.in: Regenerate.

From-SVN: r155114
2009-12-09 18:46:11 +00:00
Andreas Krebbel
2dcb31ed61 s390.md ("copysign<mode>3"): Pattern removed.
2009-12-09  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.md ("copysign<mode>3"): Pattern removed.

From-SVN: r155105
2009-12-09 12:21:01 +00:00
GCC Administrator
4b2e36871a Daily bump.
From-SVN: r155097
2009-12-09 00:16:33 +00:00
GCC Administrator
ca5ba6867b Daily bump.
From-SVN: r155068
2009-12-08 00:16:43 +00:00
Uros Bizjak
0afc7723ed i386.md (*iorqi_ext_2): Fix insn mnemonic typo.
* config/i386/i386.md (*iorqi_ext_2): Fix insn mnemonic typo.

From-SVN: r155038
2009-12-07 15:44:18 +01:00
Richard Henderson
434907bc5d tree-ssa-dom.c (degenerate_phi_result): Check for NULL phi argument earlier.
* tree-ssa-dom.c (degenerate_phi_result): Check for NULL phi
        argument earlier.

From-SVN: r155030
2009-12-06 16:52:55 -08:00
GCC Administrator
98c73b2d4d Daily bump.
From-SVN: r155027
2009-12-07 00:16:36 +00:00
GCC Administrator
fb573a09f2 Daily bump.
From-SVN: r155019
2009-12-06 00:17:32 +00:00
GCC Administrator
188cee2b35 Daily bump.
From-SVN: r155005
2009-12-05 00:17:32 +00:00
Ulrich Weigand
52e2c30da1 backport: spu-protos.h (aligned_mem_p, [...]): Remove.
gcc/
	Backport from mainline:

	2009-05-22  Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>

	* config/spu/spu-protos.h (aligned_mem_p, spu_valid_mov): Remove.
	(spu_split_load, spu_split_store): Change return type to int.
	(spu_split_convert): Declare.
	* config/spu/predicates.md (spu_mem_operand): Remove.
	(spu_mov_operand): Update.
	(spu_dest_operand, shiftrt_operator, extend_operator): Define.
	* config/spu/spu.c (regno_aligned_for_load): Remove.
	(reg_aligned_for_addr, spu_expand_load): Define.
	(spu_expand_extv): Reimplement and handle MEM.
	(spu_expand_insv): Handle MEM.
	(spu_sched_reorder): Handle insn's with length 0.
	(spu_legitimate_address): Reimplement.
	(store_with_one_insn_p): Return TRUE for any mode with size
	larger than 16 bytes.
	(address_needs_split): Define.
	(spu_expand_mov): Call spu_split_load and spu_split_store for MEM
	operands.
	(spu_convert_move): Define.
	(spu_split_load): Use spu_expand_load and change all MEM's to
	TImode.
	(spu_split_store): Change all MEM's to TImode.
	(spu_init_expanders): Preallocate registers that correspond to
	LAST_VIRTUAL_REG+1 and LAST_VIRTUAL_REG+2 and set them with
	mark_reg_pointer.
	(spu_split_convert): Define.
	* config/spu/spu.md (QHSI, QHSDI): New mode iterators.
	(_move<mode>, _movdi, _movti): Update predicate and condition.
	(load, store): Change to define_split.
	(extendqiti2, extendhiti2, extendsiti2, extendditi2): Simplify to
	extend<mode>ti2.
	(zero_extendqiti2, zero_extendhiti2, <v>lshr<mode>3_imm): Define.
	(lshr<mode>3, lshr<mode>3_imm, lshr<mode>3_re): Simplify to one
	define_insn_and_split of lshr<mode>3.
	(shrqbybi_<mode>, shrqby_<mode>): Simplify to define_expand.
	(<v>ashr<mode>3_imm): Define.
	(extv, extzv, insv): Allow MEM operands.
	(trunc_shr_ti<mode>, trunc_shr_tidi, shl_ext_<mode>ti,
	shl_ext_diti, sext_trunc_lshr_tiqisi, zext_trunc_lshr_tiqisi,
	sext_trunc_lshr_tihisi, zext_trunc_lshr_tihisi): Define for combine.
	(_spu_convert2): Change to define_insn_and_split and remove the
	corresponding define_peephole2.
	(stack_protect_set, stack_protect_test, stack_protect_test_si):
	Change predicates to memory_operand.

	2009-04-27  Trevor Smigiel <trevor_smigiel@playstation.sony.com>

	* spu.c (spu_machine_dependent_reorg): Make sure branch label on hint
	instruction is correct.

	2009-04-27  Trevor Smigiel <trevor_smigiel@playstation.sony.com>

	Allow non-constant arguments to conversion intrinsics.
	* spu-protos.h (exp2_immediate_p, spu_gen_exp2): Declare.
	* predicates.md (spu_inv_exp2_operand, spu_exp2_operand): New.
	* spu.c (print_operand): Handle 'v' and 'w'.
	(exp2_immediate_p, spu_gen_exp2): Define.
	* spu-builtins.def (spu_convts, spu_convtu, spu_convtf_0,
	spu_convtf_1): Update parameter descriptions.
	* spu-builtins.md (spu_csflt, spu_cuflt, spu_cflts, spu_cfltu):
	Update.
	* constraints.md ('v', 'w'): New.
	* spu.md (UNSPEC_CSFLT, UNSPEC_CFLTS, UNSPEC_CUFLT, UNSPEC_CFLTU):
	Remove.
	(i2f, I2F): New define_mode_attr.
	(floatsisf2, floatv4siv4sf2, fix_truncsfsi2, fix_truncv4sfv4si2,
	floatunssisf2, floatunsv4siv4sf2, fixuns_truncsfsi2,
	fixuns_truncv4sfv4si2):  Update to use mode attribute.
	(float<mode><i2f>2_mul, float<mode><i2f>2_div,
	fix_trunc<mode><f2i>2_mul, floatuns<mode><i2f>2_mul,
	floatuns<mode><i2f>2_div, fixuns_trunc<mode><f2i>2_mul): New
	patterns for combine.

gcc/testsuite/

	Backport from mainline:

	2009-04-27  Trevor Smigiel <trevor_smigiel@playstation.sony.com>

	Allow non-constant arguments to conversion intrinsics.
	* gcc.target/spu/intrinsics-3.c: Update tests.

From-SVN: r154991
2009-12-04 19:52:42 +00:00
Paolo Carlini
5e4f037eb7 re PR libstdc++/42261 (infinite recursion from string(string::size_type(6), string::size_type('f')))
2009-12-04  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/42261
	* include/bits/basic_string.h (_S_construct_aux(_Integer, _Integer,
	const _Alloc&, __true_type)): Cast the second argument to value_type.
	* include/ext/sso_string_base.h (_M_construct_aux(_Integer, _Integer,
	std::__true_type)): Likewise.
	* include/ext/rc_string_base.h (_S_construct_aux(_Integer, _Integer,
	const _Alloc&, std::__true_type)): Likewise.
	* testsuite/21_strings/basic_string/cons/char/42261.cc: New.
	* testsuite/21_strings/basic_string/cons/wchar_t/42261.cc: Likewise.

From-SVN: r154975
2009-12-04 09:20:58 +00:00
GCC Administrator
b98000a855 Daily bump.
From-SVN: r154962
2009-12-04 00:16:37 +00:00
Jakub Jelinek
97544f8232 acinclude.m4: Regenerated to pick: 2007-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* acinclude.m4: Regenerated to pick:
	2007-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

	* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]:
	Ignore lines in ld.so.conf starting with 'hwcap '.

	* configure: Regenerated.

	2009-11-24  Peter O'Gorman  <peter@pogma.com>

	Backport of libltdl changes from the 2.26b release.
	* ltdl.c: Backport changes.

From-SVN: r154959
2009-12-04 00:25:50 +01:00
Jakub Jelinek
27199d736e re PR middle-end/42049 (ICE with -O2 - internal compiler error: in expand_expr_real_1, at expr.c:9314)
PR middle-end/42049
	* builtins.c (expand_builtin_strcpy_args): Handle COMPOUND_EXPRs
	potentially returned from folding strcpy.

	* gcc.c-torture/compile/pr42049.c: New test.

From-SVN: r154951
2009-12-03 16:33:18 +01:00
GCC Administrator
34d6410f92 Daily bump.
From-SVN: r154930
2009-12-03 00:16:26 +00:00
Chao-ying Fu
01e992fb7c backport: dsp-lhx.c: New test.
2009-12-02  Chao-ying Fu  <fu@mips.com>

	Backport from mainline
	2009-11-30  Chao-ying Fu  <fu@mips.com>

	* gcc.target/mips/dsp-lhx.c: New test.
	* gcc.target/mips/dsp-no-lhx.c: New test.

From-SVN: r154928
2009-12-02 23:32:22 +00:00
Chao-ying Fu
e11c2389f4 backport: mips-dsp.md (mips_lhx_<mode>): Use sign_extend.
2009-12-02  Chao-ying Fu  <fu@mips.com>

	Backport from mainline
	2009-11-30  Chao-ying Fu  <fu@mips.com>

	* config/mips/mips-dsp.md (mips_lhx_<mode>): Use sign_extend.

From-SVN: r154927
2009-12-02 23:26:42 +00:00
Richard Earnshaw
2f23103dba thumb2.md (thumb_andsi_not_shiftsi_si): Final condition should be TARGET_THUMB2.
* arm/thumb2.md (thumb_andsi_not_shiftsi_si): Final condition should
	be TARGET_THUMB2.

From-SVN: r154906
2009-12-02 11:30:38 +00:00
GCC Administrator
fd0713e349 Daily bump.
From-SVN: r154888
2009-12-02 00:16:30 +00:00
Jakub Jelinek
d709285d6f re PR debug/42234 (internal compiler error: verify_ssa failed)
PR c++/42234
	* tree-cfgcleanup.c (cleanup_omp_return): Don't ICE if control_bb
	contains no statements.

	* g++.dg/gomp/pr42234.C: New test.

From-SVN: r154879
2009-12-01 20:44:34 +01:00
Jerry DeLisle
a05492f185 re PR fortran/41278 (internal compiler error related to matmul and transpose)
2009-11-30  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/41278
	* gfortran.dg/array_function_5.f90: New test.

From-SVN: r154864
2009-12-01 04:40:14 +00:00
Jerry DeLisle
52f21f0ec9 re PR fortran/41278 (internal compiler error related to matmul and transpose)
2009-11-30  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/41278
	Backport from mainline.
	* trans-array.c (gfc_conv_array_transpose): Delete unnecessary assert.

From-SVN: r154863
2009-12-01 04:36:30 +00:00
GCC Administrator
23c0c6ef64 Daily bump.
From-SVN: r154858
2009-12-01 00:16:33 +00:00
GCC Administrator
e59cb1d5d0 Daily bump.
From-SVN: r154745
2009-11-30 00:16:45 +00:00
GCC Administrator
6f3b2deed0 Daily bump.
From-SVN: r154733
2009-11-29 00:16:40 +00:00
GCC Administrator
b1b053c462 Daily bump.
From-SVN: r154717
2009-11-28 00:16:35 +00:00
Andreas Krebbel
3e524ccbad s390.c (last_scheduled_insn): New variable.
2009-11-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.c (last_scheduled_insn): New variable.
	(s390_fpload_toreg, s390_z10_prevent_earlyload_conflicts): New
	functions.
	(s390_sched_reorder, s390_sched_variable_issue): New functions.
	(TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_REORDER): Target hooks
	defined.

From-SVN: r154706
2009-11-27 13:13:59 +00:00
Jakub Jelinek
5bbcbaa67e opts.c (decode_options): If optimize is bigger than 255, set it to 255.
* opts.c (decode_options): If optimize is bigger than 255,
	set it to 255.

	* gcc.dg/O16384.c: New test.

From-SVN: r154700
2009-11-27 12:34:32 +01:00
GCC Administrator
dad8f2106e Daily bump.
From-SVN: r154696
2009-11-27 00:16:38 +00:00
Jerry DeLisle
10a9b00ca0 re PR fortran/41807 (data statement with nested type constructors)
2009-11-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/41807
	* gfortran.dg/data_value_1.f90: Update test.
	* gfortran.dg/array_constructor_32.f90: New test.

From-SVN: r154692
2009-11-26 22:18:36 +00:00
Jerry DeLisle
c3b2e4773f re PR fortran/41807 (data statement with nested type constructors)
2009-11-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/41807
	Backport from mainline.
	* trans-const.c (gfc_conv_const): Fix typo in comment. Replace assert
	with error message if not constant. Set se->expr to a constant on error.
	* resolve.c (next_data_value): Delete check for constant.

From-SVN: r154691
2009-11-26 21:57:32 +00:00
GCC Administrator
af30b8fff6 Daily bump.
From-SVN: r154663
2009-11-26 00:16:42 +00:00
Jakub Jelinek
abbfa72a26 re PR fortran/42162 (OpenMP: ICE: tree check in omp_add_variable, at gimplify.c:5282)
PR fortran/42162
	* trans-openmp.c (gfc_trans_omp_do): When dovar isn't a VAR_DECL,
	don't use simple loop and handle clauses properly.

	* testsuite/libgomp.fortran/pr42162.f90: New test.

From-SVN: r154656
2009-11-25 22:01:47 +01:00
Jakub Jelinek
239130b7a8 re PR target/42165 (-masm=intel doesn't know how to print AVX instructions)
PR target/42165
	* config/i386/i386.c (print_operand): For 32-byte memory use
	YMMWORD in -masm=intel mode.  Use TBYTE instead of XWORD.
	* config/i386/i386.md (crc32modesuffix): Expand to nothing
	in -masm=intel mode.
	(sse4_2_crc32di): Print just crc32 instead of crc32q in
	-masm=intel mode.
	* config/i386/mmx.md (*mmx_pinsrw): Print correct size of
	memory operand in -masm=intel mode.
	* config/i386/sse.md (*avx_pinsr<ssevecsize>, *sse4_1_pinsrb,
	*sse2_pinsrw): Likewise.
	(sse_cvtss2siq, sse_cvtss2siq_2, sse_cvttss2siq): Don't print
	q suffix in -masm=intel mode.

From-SVN: r154655
2009-11-25 21:54:12 +01:00
John David Anglin
eebe23c290 pa.c (output_call): Only use sr4 for long interspace calls if call binds local and generating non...
* pa.c (output_call): Only use sr4 for long interspace calls if
	call binds local and generating non PIC code.
	(attr_length_call): Adjust length calculation for above.

From-SVN: r154528
2009-11-25 00:35:16 +00:00
GCC Administrator
329033b5f5 Daily bump.
From-SVN: r154525
2009-11-25 00:16:33 +00:00
Wolfgang Gellerich
418a7e8c3a s390.md: Added agen condition to operand forwarding bypasses.
2009-11-24  Wolfgang Gellerich  <gellerich@de.ibm.com>

	* config/s390/s390.md: Added agen condition to operand
	forwarding bypasses. 
	Added bypass for early address generation use of int results.
	Updated comments.

From-SVN: r154490
2009-11-24 08:10:27 +00:00
GCC Administrator
2305243402 Daily bump.
From-SVN: r154484
2009-11-24 00:16:38 +00:00
Uros Bizjak
0f9fc698ad re PR target/42113 (Internal Compiler error with -O3, breaking commit known)
PR target/42113
	* config/alpha/alpha.md (*cmp_sadd_si): Change mode
	of scratch register to SImode.
	(*cmp_sadd_sidi): Ditto.
	(*cmp_ssub_si): Ditto.
	(*cmp_ssub_sidi): Ditto.

testsuite/ChangeLog:

	PR target/42113
	* gcc.target/alpha/pr42113.c: New test.

From-SVN: r154464
2009-11-23 22:14:32 +01:00
GCC Administrator
f185dd245f Daily bump.
From-SVN: r154429
2009-11-23 00:16:36 +00:00
Ben Elliston
0423c63689 * config.sub, config.guess: Update from upstream sources.
From-SVN: r154426
2009-11-23 10:09:41 +11:00
GCC Administrator
19a44d640e Daily bump.
From-SVN: r154416
2009-11-22 00:16:33 +00:00
GCC Administrator
eedca5d34b Daily bump.
From-SVN: r154390
2009-11-21 00:16:39 +00:00
H.J. Lu
de31360209 pr41935.c: Removed.
2009-11-20  H.J. Lu  <hongjiu.lu@intel.com>

	* c-c++-common/pr41935.c: Removed.
	* g++.dg/template/crash92.C: Likewise.
	* gfortran.dg/missing_optional_dummy_6.f90: Likewise.

From-SVN: r154376
2009-11-20 10:53:27 -08:00
H.J. Lu
73bebbac89 Remove testsuite/ from pathname.
From-SVN: r154367
2009-11-20 06:52:09 -08:00
H.J. Lu
1ffc418056 Backport PRs 41750, 41841, 41907, 41919, 41926, 41928, 41935, 42055
2009-11-20  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-11-18  Alexandre Oliva  <aoliva@redhat.com>

	PR debug/41926
	* gcc.dg/vect/vect-debug-pr41926.c: New.

	2009-11-16  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/42055
	* g++.dg/template/crash92.C: New.

	2009-11-08  Richard Guenther  <rguenther@suse.de>

	PR rtl-optimization/41928
	* gfortran.dg/pr41928.f90: New testcase.

	2009-11-06  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/41935
	* gcc.dg/pr41935.c: New test.
	* c-c++-common/pr41935.c: New test.
	* gcc.c-torture/execute/pr41935.c: New test.

	2009-11-04  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/41919
	* gcc.c-torture/execute/pr41919.c: New testcase.

	2009-11-03  Tobias Burnus  <burnus@net-b.de>

	PR fortran/41907
	* gfortran.dg/missing_optional_dummy_6.f90: New test.

	2009-11-02  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/41750
	* gcc.c-torture/execute/pr41750.c: New test.

	2009-11-02  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/41841
	* gcc.dg/pr41841.c: New test.

From-SVN: r154366
2009-11-20 06:49:22 -08:00
Jerry DeLisle
3330318df3 re PR fortran/42090 (I/O: Problems when reading partial records in formatted direct access files)
2009-11-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/42090
	* gfortran.dg/direct_io_11.f90: New test.

From-SVN: r154356
2009-11-20 04:02:33 +00:00
Jerry DeLisle
41b915a6ac re PR fortran/42090 (I/O: Problems when reading partial records in formatted direct access files)
2009-11-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/42090
	Backport from trunk.
	* io/transfer.c (skip_record): Set bytes_left_subrecord to zero after
	skipping the remaining bytes in the record.
	(next_record_r): Call skip_record with the number of bytes_left to be
	skipped.

From-SVN: r154355
2009-11-20 04:00:03 +00:00
GCC Administrator
7ea0684894 Daily bump.
From-SVN: r154352
2009-11-20 00:16:54 +00:00
Johannes Singler
c05ee13ce2 partition.h (__parallel_partition): Correctly initialize chunk size.
2009-11-19  Johannes Singler  <singler@kit.edu>

        * include/parallel/partition.h (__parallel_partition): Correctly
        initialize chunk size.
        (__parallel_nth_element): Respect nth_element_minimal_n.  Use
        sequential nth_element as base case, instead of sequential sort.

From-SVN: r154334
2009-11-19 16:44:33 +00:00
Matthias Klose
c613855826 config.gcc: Update ARM --with-fpu option list.
2009-11-18  Matthias Klose  <doko@ubuntu.com>

        * config.gcc: Update ARM --with-fpu option list.

From-SVN: r154312
2009-11-19 00:33:32 +00:00
GCC Administrator
711169e131 Daily bump.
From-SVN: r154310
2009-11-19 00:16:52 +00:00
Andrew Haley
57cb0fc9a1 posix-threads.cc (park): Rewrite code to handle time.
2009-11-17  Andrew Haley  <aph@redhat.com>

        * posix-threads.cc (park): Rewrite code to handle time.
        Move mutex lock before the call to compare_and_swap to avoid a
        race condition.
        Add some assertions.
        (unpark): Add an assertion.
        (init): Move here from posix-threads.h.
        * include/posix-threads.h (destroy): removed.

From-SVN: r154294
2009-11-18 14:10:07 +00:00
GCC Administrator
44d95ec41b Daily bump.
From-SVN: r154275
2009-11-18 00:17:01 +00:00
Ulrich Weigand
7a683fc2b7 spu.c (get_pic_reg): Use LAST_ARG_REGNUM as PIC registers in leaf functions if possible.
* config/spu/spu.c (get_pic_reg): Use LAST_ARG_REGNUM as PIC
	registers in leaf functions if possible.

From-SVN: r154247
2009-11-17 13:31:11 +00:00
Jakub Jelinek
90657f0d79 re PR c++/42061 ([c++0x] ICE with invalid initializer list for reference)
PR c++/42061
	* call.c (reference_binding): Return NULL for initializer list with
	error operand inside of it.

	* g++.dg/cpp0x/initlist27.C: New test.

From-SVN: r154240
2009-11-17 08:26:52 +01:00
Jakub Jelinek
a7a77d0221 re PR c++/42059 ([c++0x] ICE with initializer list for VLA)
PR c++/42059
	* typeck.c (cp_build_modify_expr): For initializer list call
	check_array_initializer to make sure lhs isn't a VLA.

	* g++.dg/cpp0x/initlist26.C: New test.

From-SVN: r154239
2009-11-17 08:21:43 +01:00
GCC Administrator
2a871b3cb0 Daily bump.
From-SVN: r154231
2009-11-17 00:16:33 +00:00
GCC Administrator
e6c560f8f5 Daily bump.
From-SVN: r154194
2009-11-16 00:16:33 +00:00
GCC Administrator
bac90d3ecf Daily bump.
From-SVN: r154186
2009-11-15 00:16:35 +00:00
Uros Bizjak
ab21388182 predicates.md (call_register_no_elim_operand): New predicate.
* config/i386/predicates.md (call_register_no_elim_operand):
	New predicate.  Reject stack register as valid call operand
	for 32bit targets.
	(call_insn_operand): Use call_register_no_elim_operand.

From-SVN: r154183
2009-11-14 19:53:09 +01:00
GCC Administrator
c92f63d4e5 Daily bump.
From-SVN: r154176
2009-11-14 00:16:34 +00:00
Richard Henderson
46cc0cba50 function.c (stack_protect_prologue): Don't bypass expand_expr for stack_protect_guard and guard_decl.
* function.c (stack_protect_prologue): Don't bypass expand_expr
        for stack_protect_guard and guard_decl.
        (stack_protect_epilogue): Likewise.

From-SVN: r154172
2009-11-13 11:57:51 -08:00
Uros Bizjak
155110b804 * config/i386/i386.md: Add missing comment.
From-SVN: r154170
2009-11-13 20:16:32 +01:00
Uros Bizjak
2582811f48 re PR target/41900 (call *%esp shouldn't be generated because of CPU errata)
2009-11-13  Uros Bizjak  <ubizjak@gmail.com>

	PR target/41900
	(*call_pop_1, *call_1, *call_value_pop_1, *call_value_1): Use "lsm"
	as operand 1 constraint.
	* config/i386/predicates.md (call_insn_operand): Depend on
	index_register_operand to avoid %esp register.

2009-11-13  Uros Bizjak  <ubizjak@gmail.com>

	Revert:
	2009-11-04  Uros Bizjak  <ubizjak@gmail.com>

	PR target/41900
	* config/i386/i386.h (ix86_arch_indices) <X86_ARCH_CALL_ESP>: New.
	(TARGET_CALL_ESP): New define.
	* config/i386/i386.c (initial_ix86_tune_features): Initialize
	X86_ARCH_CALL_ESP.
	* config/i386/i386.md (*call_pop_1_esp, *call_1_esp,
	*call_value_pop_1_esp, *call_value_1_esp): Rename from *call_pop_1,
	*call_1, *call_value_pop_1 and *call_value_1.  Depend on
	TARGET_CALL_ESP.
	(*call_pop_1, *call_1, *call_value_pop_1, *call_value_1):
	New patterns, use "lsm" as operand 1 constraint.
	* config/i386/predicates.md (call_insn_operand): Depend on
	index_register_operand for !TARGET_CALL_ESP to avoid %esp register.

From-SVN: r154169
2009-11-13 20:13:16 +01:00
Jakub Jelinek
54ef1db76c re PR middle-end/42029 (ICE with complex data type and openmp for reduction clause)
PR middle-end/42029
	* gimplify.c (gimplify_omp_atomic): Set DECL_GIMPLE_REG_P on
	tmp_load if needed.

	* libgomp.c/pr42029.c: New test.

From-SVN: r154162
2009-11-13 19:42:32 +01:00
Jason Merrill
8e2f53ef6e PR c++/21008, DR 515
PR c++/21008, DR 515
	* semantics.c (finish_non_static_data_member): Don't check
	derivation in a template.

From-SVN: r154158
2009-11-13 13:03:31 -05:00
GCC Administrator
5a1a0d9d6f Daily bump.
From-SVN: r154137
2009-11-13 00:16:29 +00:00
Jason Merrill
69f8109dd8 re PR c++/37037 (ICE on template class member function definition after explicit template class instantation)
PR c++/37037
	* decl.c (grokdeclarator): Don't generate a void PARM_DECL.

From-SVN: r154134
2009-11-12 18:21:55 -05:00
GCC Administrator
5bab7ad989 Daily bump.
From-SVN: r154110
2009-11-12 00:16:28 +00:00
Kai Tietz
be7852ec24 ChangeLog for libcpp
2009-11-11  Kai Tietz  <kai.tietz@onevision.com>

	Backported from trunk
	* directives.c (do_pragma_push_macro): New pragma handler.
	(do_pragma_pop_macro): Likewise.
	(_cpp_init_internal_pragmas): Add push_macro and
	pop_macro handler to internal pragmas.
	(lex_macro_node_from_str): Removed.
	(cpp_push_definition): Replace lex_macro_node_from_str
	by _cpp_lex_identifier.
	(cpp_pop_definition): Likewise.
	* internal.h (_cpp_lex_identifier): New prototype.
	(def_pragma_macro): New structure.
	(cpp_reader): New member pushed_macros.
	* lex.c (_cpp_lex_identifier): New function.
	(lex_identifier_intern): New function.
	* init.c (cpp_create_reader): Initialize pushed_macros
	member.
	(cpp_destroy): Free elements in pushed_macros member.
	* pch.c (_cpp_save_pushed_macros): New function.
	(_cpp_restore_pushed_macros): Likewise.
	(_cpp_restore_pushed_macros): Use _cpp_save_pushed_macros.
	(cpp_read_state): Use _cpp_restore_pushed_macros.

ChangeLog for gcc

2009-11-11  Kai Tietz  <kai.tietz@onevision.com>

	Backported from trunk
	* config/i386/cygming.h (HANDLE_PRAGMA_PUSH_POP_MACRO):
	Removed.
	* c-pragma.c (def_pragma_macro_value): Likewise.
	(def_pragma_macro): Likewise.
	(pushed_macro_table): Likewise.
	(HANDLE_PRAGMA_PUSH_POP_MACRO): Remove guarded
	code.
	* doc/tm.texi (HANDLE_PRAGMA_PUSH_POP_MACRO):
	Removed.

ChangeLog for gcc/testsuite

2009-11-11  Kai Tietz  <kai.tietz@onevision.com>

	Backported from trunk
	* g++.dg/torture/pushpop_macro.C: New testcase.
	* gcc.c-torture/execute/pushpop_macro.c: New testcase.
	* gcc.dg/cpp/pragma-pop_macro-1.c: Allow test for all
	targets.

From-SVN: r154103
2009-11-11 21:21:14 +01:00
GCC Administrator
1c6136e432 Daily bump.
From-SVN: r154086
2009-11-11 00:16:34 +00:00
Chao-ying Fu
bbf1202ece backport: mips.c (mips_emit_unary, [...]): New functions.
2009-11-10  Chao-ying Fu  <fu@mips.com>

	Backport from mainline
	2009-10-29  Chao-ying Fu  <fu@mips.com>

	* config/mips/mips.c (mips_emit_unary, mips_force_unary): New
	functions.
	(mips_expand_synci_loop):  Use the length rtx to control the
	synci loop from the begin rtx that points to the first byte of
	the cache line.

From-SVN: r154080
2009-11-10 22:35:18 +00:00
Joseph Myers
e67657e678 * id.po: Update.
From-SVN: r154078
2009-11-10 20:17:48 +00:00
Eric Botcazou
c5c3f27a93 vect-multitypes-5.c: XFAIL on SPARC 32-bit.
* gcc.dg/vect/vect-multitypes-5.c: XFAIL on SPARC 32-bit.
	* gcc.dg/vect/vect-multitypes-6.c: Likewise.
	* gcc.dg/vect/vect-multitypes-12.c: Likewise.
	* gcc.dg/vect/slp-multitypes-3.c: Likewise.

From-SVN: r154071
2009-11-10 18:01:37 +00:00
GCC Administrator
58f8613a32 Daily bump.
From-SVN: r154057
2009-11-10 00:16:34 +00:00
Jason Merrill
c6bc9698ba re PR c++/41972 (nondependent static member function as a reference template parameter fails)
PR c++/41972
	* parser.c (cp_parser_template_argument): Accept SCOPE_REF around
	VAR_DECL.

From-SVN: r154050
2009-11-09 15:28:18 -05:00
Jason Merrill
7c2d8153fa re PR c++/41994 (ICE with &A::operator T)
PR c++/41994
	* pt.c (tsubst_baselink): tsubst the name.

From-SVN: r154049
2009-11-09 15:28:11 -05:00
Jason Merrill
b886e7fbde * g++.dg/abi/regparm1.C: Fix execute test.
From-SVN: r154048
2009-11-09 15:28:04 -05:00
Jakub Jelinek
09399dec30 re PR middle-end/40946 (Spurious array subscript is above bounds warning)
PR middle-end/40946
	Backport from mainline
	2009-09-09  Richard Guenther  <rguenther@suse.de>

	PR middle-end/41317
	* tree-ssa-ccp.c (maybe_fold_offset_to_component_ref): Remove
	code dealing with plain pointer bases.
	(maybe_fold_offset_to_reference): Likewise.
	(maybe_fold_stmt_addition): Adjust.

	PR middle-end/40946
	* gcc.dg/pr40946.c: New test.

	Backport from mainline
	2009-09-09  Richard Guenther  <rguenther@suse.de>

	PR middle-end/41317
	* gcc.c-torture/execute/pr41317.c: New testcase.

From-SVN: r154046
2009-11-09 20:38:29 +01:00
GCC Administrator
456910e1fb Daily bump.
From-SVN: r154023
2009-11-09 00:16:55 +00:00
Uros Bizjak
7b90635051 backport: re PR middle-end/41963 (177.mesa in SPEC CPU 2K is miscompiled)
Backport from mainline:
	2009-11-06  Michael Matz  <matz@suse.de>

	PR middle-end/41963
	* tree-ssa-math-opts.c (execute_cse_reciprocals): Check all uses
	of a potential reciprocal to really be reciprocals.

testsuite/ChangeLog:

	Backport from mainline:
	2009-11-06  Michael Matz  <matz@suse.de>

	PR middle-end/41963
	* gcc.target/i386/pr41963.c: New test.

From-SVN: r154011
2009-11-08 19:10:10 +01:00
GCC Administrator
f5f11aa77a Daily bump.
From-SVN: r154004
2009-11-08 00:16:37 +00:00
Jason Merrill
5ca4325837 re PR c++/9381 (attribute on member function pointer have no effect)
PR c++/9381
	* decl2.c (build_memfn_type): Preserve attributes.
	* tree.c (canonical_type_variant): Likewise.
	* call.c (standard_conversion): Use build_memfn_type.
	* pt.c (tsubst): Likewise.
	* decl.c (build_ptrmem_type): Likewise

From-SVN: r153998
2009-11-07 14:45:56 -05:00
Jakub Jelinek
ea61a28777 re PR tree-optimization/41643 (ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce)
PR tree-optimization/41643
	Backport from mainline
	2009-04-03  Richard Guenther  <rguenther@suse.de>

	* tree-tailcall.c (tree_optimize_tail_calls_1): Also split the
	edge from the entry block if we have degenerate PHI nodes in
	the first basic block.

	* gcc.dg/pr41643.c: New test.

From-SVN: r153996
2009-11-07 18:39:48 +01:00
Jerry DeLisle
c6bcb25b27 re PR fortran/41909 (ICE with "call foo" in "program foo")
2009-11-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/41909
	* gfortran.dg/recursive_check_15.f90: New test.

From-SVN: r153992
2009-11-07 04:33:06 +00:00
Jerry DeLisle
bfdccf4284 re PR fortran/41909 (ICE with "call foo" in "program foo")
2009-11-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/41909
	* resolve.c (is_illegal_recursion): Return false if sym is program.

From-SVN: r153991
2009-11-07 04:31:02 +00:00
GCC Administrator
da0c82429d Daily bump.
From-SVN: r153984
2009-11-07 00:16:42 +00:00
Jakub Jelinek
07c4dc47ca re PR c++/41967 (gcc get into endless loop when compiling an openmp program)
PR c++/41967
	* parser.c (cp_parser_omp_for_loop): After diagnosing not perfectly
	nested loop and parsing statements, don't cp_parser_require }, instead
	exit the loop if next token is CPP_EOF.

	* g++.dg/gomp/pr41967.C: New test.

From-SVN: r153973
2009-11-06 18:55:08 +01:00
GCC Administrator
60c81ebb9e Daily bump.
From-SVN: r153955
2009-11-06 00:16:42 +00:00
Jakub Jelinek
57385b2bc2 c-common.c (fold_offsetof_1): Revert the recently added -Warray-bounds checking of offsetof arguments.
* c-common.c (fold_offsetof_1): Revert the recently added
	-Warray-bounds checking of offsetof arguments.

	* c-c++-common/builtin-offset.c: Renamed to ...
	* c-c++-common/builtin-offsetof.c: ... this.  Don't expect a warning
	on offsetof (struct B, p[10]).

From-SVN: r153944
2009-11-05 15:57:57 +01:00
Jason Merrill
7a337da374 re PR c++/36912 (ICE with "-frounding-math -g")
PR c++/36912
	* varasm.c (initializer_constant_valid_p): A PLUS_EXPR
	or MINUS_EXPR of REAL_TYPE is not a valid constant initializer.
	(output_constant): Avoid crash after error.

From-SVN: r153941
2009-11-05 09:47:24 -05:00
GCC Administrator
0ba1ffe500 Daily bump.
From-SVN: r153927
2009-11-05 00:16:29 +00:00
Jason Merrill
ed19fcbc73 re PR c++/35067 (multiple definition of virtual thunk)
PR c++/35067
	* method.c (use_thunk): Check DECL_WEAK as well as
	DECL_ONE_ONLY.

From-SVN: r153912
2009-11-04 14:55:56 -05:00
Uros Bizjak
dd214bf45e * testsuite/ChangeLog: Fix last entry.
From-SVN: r153898
2009-11-04 15:52:56 +01:00
Uros Bizjak
139ffe66e5 re PR target/41900 (call *%esp shouldn't be generated because of CPU errata)
PR target/41900
	* config/i386/i386.h (ix86_arch_indices) <X86_ARCH_CALL_ESP>: New.
	(TARGET_CALL_ESP): New define.
	* config/i386/i386.c (initial_ix86_tune_features): Initialize
	X86_ARCH_CALL_ESP.
	* config/i386/i386.md 
	(*call_pop_1_esp, *call_1_esp, *call_value_pop_1_esp,
	*call_value_1_esp): Rename from *call_pop_1, *call_1,
	*call_value_pop_1 and *call_value_1.  Depend on TARGET_CALL_ESP.
	(*call_pop_1, *call_1, *call_value_pop_1, *call_value_1):
	New patterns, use "lsm" as operand 1 constraint.
	* config/i386/predicates.md (call_insn_operand): Depend on 
	index_register_operand for !TARGET_CALL_ESP to avoid %esp register.

testsuite/ChangeLog:

	PR target/41900
	* gcc.target/i386/pr41900.c: New test.

From-SVN: r153896
2009-11-04 15:14:49 +01:00
Jakub Jelinek
8a8d72bed8 c-common.c (fold_offsetof_1): Use %wd instead of HOST_WIDE_INT_PRINT_DEC.
* c-common.c (fold_offsetof_1): Use %wd instead of
	HOST_WIDE_INT_PRINT_DEC.

From-SVN: r153888
2009-11-04 08:29:29 +01:00
GCC Administrator
036b44539a Daily bump.
From-SVN: r153885
2009-11-04 00:16:40 +00:00
Jason Merrill
9259b8526e re PR c++/36959 (C++ front-end causing a static inline function to be emitted)
PR c++/36959
	* decl2.c (cxx_callgraph_analyze_expr): Don't reference a function
	just because a static variable in it is needed unless -frepo.

From-SVN: r153881
2009-11-03 18:49:07 -05:00
Jakub Jelinek
dba7b0d7e6 re PR rtl-optimization/41917 (Strange athrithmetic result with -O3)
PR rtl-optimization/41917
	* rtlanal.c (num_sign_bit_copies1) <case UMOD>: If sign bit of second
	operand isn't known to be 0, return 1.

	* gcc.c-torture/execute/pr41917.c: New test.

From-SVN: r153875
2009-11-03 23:40:08 +01:00
Jason Merrill
f3cb5dc06f re PR c++/41876 (Parse problems with catch)
PR c++/41876
	* parser.c (cp_parser_exception_declaration): Pass true to
	is_condition parm of cp_parser_type_specifier_seq.
	(cp_parser_omp_for_loop): Likewise.

	PR c++/39786, Core issue 812, 861
	* name-lookup.c (qualified_lookup_using_namespace): Overhaul.

From-SVN: r153872
2009-11-03 16:33:55 -05:00
Dodji Seketeli
548f865e33 Port c-c++-common support from 4.5
* g++.dg/dg.exp: Port c-c++-common support from 4.5.
	* gcc.dg/dfp/dfp.exp: Likewise.
	* gcc.dg/dg.exp: Likewise.
	* gcc/testsuite/lib/target-supports.exp: Likewise.

From-SVN: r153859
2009-11-03 18:59:43 +01:00
Dodji Seketeli
7faff37381 re PR testsuite/41856 (g++.dg/lookup/extern-c-redecl[3,4] .C should be target specific)
Fix PR c++/41856

	PR c++/41856
	* g++.dg/lookup/extern-c-redecl3.C: Make the test x86 only.
	* g++.dg/lookup/extern-c-redecl4.C: Likewise.

From-SVN: r153851
2009-11-03 14:46:46 +01:00
Dodji Seketeli
1028c12b62 Forgot to update ChangeLog in previous commit.
* c-c++-common/dfp/builtin-offsetof.c: Moved this ...
	* c-c++-common/builtin-offsetof.c: ... here.

From-SVN: r153850
2009-11-03 14:26:11 +01:00
Dodji Seketeli
c8939491fd Move builtin-offsetof.c out of dfp subdirectory
* c-c++-common/dfp/builtin-offsetof.c: Move ...
	* c-c++-common/builtin-offsetof.c: ... here.

From-SVN: r153849
2009-11-03 14:21:53 +01:00
Dodji Seketeli
c666673bec Fix bootstrap
* c-common.c (fold_offsetof_1): Use HOST_WIDE_INT_PRINT_DEC.

From-SVN: r153847
2009-11-03 13:05:39 +01:00
Dodji Seketeli
0ebe71e647 re PR c++/38699 (ICE using offsetof with pointer and array accesses)
Fix PR c++/38699

gcc/ChangeLog:

	PR c++/38699
	* c-common.c (fold_offsetof_1): Issue errors when the member designator of
	the offsetoff expression is not legitimate.

gcc/testsuite/ChangeLog:

	* c-c++-common/dfp/builtin-offsetof.c: New test.
	* g++.dg/other/offsetof6.C: Likewise.

From-SVN: r153844
2009-11-03 11:46:00 +01:00
GCC Administrator
62c5f254d0 Daily bump.
From-SVN: r153831
2009-11-03 00:16:27 +00:00
Dodji Seketeli
5d9a6f46dd re PR c++/37093 (ICE with pointer to member template parameters)
Fix PR c++/37093

gcc/cp/ChangeLog:

	PR c++/37093
	* pt.c (check_valid_ptrmem_cst_expr): New function.
	(convert_nontype_argument): Use it to output an error for
	illegal pointer to member expressions used as template arguments.

gcc/testsuite/ChangeLog:

      PR c++/37093
	* g++.dg/other/ptrmem10.C: New test.
	* g++.dg/other/ptrmem11.C: Likewise.

From-SVN: r153823
2009-11-02 20:58:57 +01:00
Paul Thomas
83a23d296d re PR fortran/41772 (Wrong code due to TRANSFER of EMPTY array section)
2009-11-02  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/41772
        * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Stop'extent'
        from going negative.

2009-11-02  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/41772
        * gfortran.dg/transfer_intrinsic_3.f90.

From-SVN: r153817
2009-11-02 17:30:48 +01:00
GCC Administrator
5f9553aa1a Daily bump.
From-SVN: r153798
2009-11-02 00:16:40 +00:00
Tobias Burnus
c478cae2ec re PR fortran/41850 (Wrong-code with optional allocatable arrays)
2009-11-01  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41850
        * trans-expr.c (gfc_conv_procedure_call): Deallocate intent-out
        variables only when present.

2009-11-01  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41850
        * gfortran.dg/intent_out_6.f90: New testcase.

From-SVN: r153794
2009-11-01 15:35:40 +01:00
Jason Merrill
97a9378fd2 re PR c++/41754 (initializer list internal compiler segfault)
PR c++/41754
        * call.c (compare_ics): Avoid bad union use when
        comparing two ck_lists.

From-SVN: r153791
2009-11-01 01:27:04 -04:00
GCC Administrator
5f46e42271 Daily bump.
From-SVN: r153785
2009-11-01 00:16:37 +00:00
H.J. Lu
1a27e95846 pr41345.c: Removed.
2009-10-31  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.dg/pr41345.c: Removed.

From-SVN: r153778
2009-10-31 09:02:28 -07:00
GCC Administrator
b87ca02b30 Daily bump.
From-SVN: r153771
2009-10-31 00:17:57 +00:00
H.J. Lu
fa9f1e1404 Backport PRs 40033, 41020, 41345, 41497, 41673, 41775, 41785, 41801, 41863
2009-10-30  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-10-30  Dodji Seketeli  <dodji@redhat.com>

	PR c++/41863
	* g++.dg/template/sizeof12.C: New test.

	2009-10-29  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/41775
	* g++.dg/torture/pr41775.C: New testcase.

	2009-10-28  Jakub Jelinek  <jakub@redhat.com>

	PR debug/41801
	* g++.dg/ext/sync-3.C: New test.

	2009-10-27  Jakub Jelinek  <jakub@redhat.com>

	PR c++/41020
	* g++.dg/lookup/extern-c-redecl5.C: Fix up regexp.

	2009-10-26  Jakub Jelinek  <jakub@redhat.com>

	PR bootstrap/41345
	* gcc.dg/pr41345.c: New test.

	2009-10-26  Dodji Seketeli  <dodji@redhat.com>

	PR c++/41785
	* g++.dg/cpp0x/variadic96.C: New test.

	2009-10-26  Dodji Seketeli  <dodji@redhat.com>

	PR c++/41020
	* g++.dg/lookup/extern-c-redecl2.C: New test.
	* g++.dg/lookup/extern-c-redecl3.C: Likewise.
	* g++.dg/lookup/extern-c-redecl4.C: Likewise.
	* g++.dg/lookup/extern-c-redecl5.C: Likewise.

	2009-10-23  Joseph Myers  <joseph@codesourcery.com>

	PR c/40033
	* gcc.dg/noncompile/pr40033-1.c: New test.

	2009-10-23  Joseph Myers  <joseph@codesourcery.com>

	PR c/41673
	* gcc.dg/Wstrict-aliasing-bogus-vla-1.c: New test.

	2009-10-21  Sebastian Pop  <sebastian.pop@amd.com>

	PR tree-optimization/41497
	* gcc.dg/tree-ssa/pr41497.c: New.

From-SVN: r153759
2009-10-30 09:04:41 -07:00
Tobias Burnus
b5a0520c21 re PR fortran/41777 (Wrong-code with POINTER-returning GENERIC function)
2009-10-30  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41777
        * trans-expr.c
        * (gfc_conv_procedure_call,gfc_conv_expr_reference):
        Use for generic EXPR_FUNCTION the attributes of the specific
        function.

2009-10-30  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41777
        gfortran.dg/associated_target_3.f90: New testcase.

From-SVN: r153756
2009-10-30 16:18:09 +01:00
GCC Administrator
086537862e Daily bump.
From-SVN: r153730
2009-10-30 00:16:31 +00:00
GCC Administrator
21e8668a5d Daily bump.
From-SVN: r153693
2009-10-29 00:16:56 +00:00
Jakub Jelinek
9b675bb492 re PR target/41762 (internal compiler error when compiling xorg-server)
PR target/41762
	* config/i386/i386.c (ix86_pic_register_p): Don't call
	rtx_equal_for_cselib_p for VALUEs discarded as useless.

	* gcc.dg/pr41762.c: New test.

From-SVN: r153668
2009-10-28 15:41:24 +01:00
Johannes Singler
d5948b2e42 re PR libstdc++/40852 ([parallel-mode] parallel sort run time increases ~10 fold when vector size gets over ~4*10^9)
2009-10-28  Johannes Singler  <singler@kit.edu>

        PR libstdc++/40852
        * include/parallel/multiseq_selection.h
        (multiseq_partition, multiseq_selection):  Avoid intermediate
        values exceeding the integer type range for very large inputs.

From-SVN: r153649
2009-10-28 10:04:35 +00:00
GCC Administrator
e095750ccb Daily bump.
From-SVN: r153620
2009-10-28 00:16:45 +00:00
Eric Botcazou
793cb5cdbe raise-gcc (db_region_for): Use _Unwind_GetIPInfo instead of _Unwind_GetIP if HAVE_GETIPINFO is defined.
* raise-gcc (db_region_for): Use _Unwind_GetIPInfo instead of
	_Unwind_GetIP if HAVE_GETIPINFO is defined.
	(db_action_for): Likewise.

From-SVN: r153614
2009-10-27 19:42:17 +00:00
Jakub Jelinek
1d17baa6a5 re PR c/41842 (ICE on invalid variable length array declaration)
PR c/41842
	* c-typeck.c (convert_arguments): Return -1 if any of the arguments is
	error_mark_node.

	* gcc.dg/pr41842.c: New test.

From-SVN: r153602
2009-10-27 17:05:36 +01:00
Kai Tietz
9d29e098d9 backport: cygming.h (DWARF_FRAME_REGNUM): Add enclosing parens.
2009-10-27  Kai Tietz  <kai.tietz@onevision.com>

        Backport from mainline:
        2009-10-20  Pascal Obry  <obry@adacore.com>
            Eric Botcazou  <ebotcazou@adacore.com>

        * config/i386/cygming.h (DWARF_FRAME_REGNUM): Add enclosing parens.

From-SVN: r153585
2009-10-27 10:48:07 +01:00
GCC Administrator
32940d03f9 Daily bump.
From-SVN: r153579
2009-10-27 00:17:13 +00:00
GCC Administrator
28f9b1cd4c Daily bump.
From-SVN: r153545
2009-10-26 00:17:01 +00:00
GCC Administrator
a138ba56ca Daily bump.
From-SVN: r153536
2009-10-25 00:16:57 +00:00
Eric Botcazou
915a2cb543 Fix entries
From-SVN: r153527
2009-10-24 11:01:13 +00:00
Eric Botcazou
42bd491003 Makefile.in (GNATLIBCFLAGS_FOR_C): New variable.
libada/
	* Makefile.in (GNATLIBCFLAGS_FOR_C): New variable.
	(LIBADA_FLAGS_TO_PASS): Add GNATLIBCFLAGS_FOR_C.
	* configure.ac: Include config/unwind_ipinfo.m4.
	Check for _Unwind_GetIPInfo.
	* configure: Regenerate.

gcc/ada/
	* init.c (__gnat_adjust_context_for_raise): Mention _Unwind_GetIPInfo.
	* gcc-interface/Makefile.in (GNATLIBCFLAGS_FOR_C): Add HAVE_GETIPINFO.
	Pass GNATLIBCFLAGS_FOR_C to recursive invocations.

From-SVN: r153526
2009-10-24 10:58:53 +00:00
GCC Administrator
62a0b2fde7 Daily bump.
From-SVN: r153520
2009-10-24 00:16:34 +00:00
Dodji Seketeli
f010c455f0 re PR c++/40808 (member template specialization causes ICE)
Fix for PR c++/40808

gcc/cp/ChangeLog:

	PR c++/40808
	* mangle.c (write_template_args): Allow mangling of empty template
	argument list. Updated function comments.

gcc/testsuite/ChangeLog:

	PR c++/40808
	* g++.dg/abi/mangle33.C: New test

From-SVN: r153516
2009-10-23 23:32:35 +02:00
John David Anglin
121e863d1d backport: pa.md (reload_inhi, [...]): New patterns.
Backport from mainline:
	2009-08-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	* pa.md (reload_inhi, reload_outhi, reload_inqi, reload_outqi): New
	patterns.
	* pa.c (emit_move_sequence): Check if address of operand1 is valid
	for mode mode of operand0 when doing secondary reload for SAR.

From-SVN: r153513
2009-10-23 20:13:15 +00:00
Mikael Pettersson
f9d5da8f3e pr11832.c: Delete.
2009-10-23  Mikael Pettersson  <mikpe@it.uu.se>

	* gcc.c-torture/compile/pr11832.c: Delete.
	* gcc.c-torture/compile/pr33009.c: Likewise.

From-SVN: r153505
2009-10-23 17:24:58 +00:00
GCC Administrator
732016971a Daily bump.
From-SVN: r153485
2009-10-23 00:17:06 +00:00
Richard Guenther
f456e029fd re PR cp-tools/39177 (trunk revision 144128 - jar: internal error: java.lang.NullPointerException)
2009-10-22  Richard Guenther  <rguenther@suse.de>

        PR cp-tools/39177
        * tools/gnu/classpath/tools/jar/Creator.java (writeCommandLineEntries):
        Do not use uninitialized manifest.
        * tools/classes/gnu/classpath/tools/jar/Creator.class: Re-generated.

From-SVN: r153462
2009-10-22 15:50:46 +00:00
GCC Administrator
3af343dc8a Daily bump.
From-SVN: r153443
2009-10-22 00:16:50 +00:00
H.J. Lu
e5c80fe84c [multiple changes]
2009-10-21  H.J. Lu  <hongjiu.lu@intel.com>

	2009-10-16  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/41728
	* gcc.c-torture/compile/pr41728.c: New testcase.

	2009-10-15  Jakub Jelinek  <jakub@redhat.com>

	PR debug/41717
	* gcc.dg/debug/pr41717.c: New test.

From-SVN: r153063
2009-10-21 09:05:31 -07:00
Jakub Jelinek
3bad788fb5 backport: invoke.texi: Add missing option -Wp,OPTION in list, fix index entry for -Xpreprocessor.
Backport from mainline:
	2009-06-13  Joerg Sonnenberger  <joerg@britannica.bec.de>

	* doc/invoke.texi: Add missing option -Wp,OPTION in list,
	fix index entry for -Xpreprocessor.

From-SVN: r153062
2009-10-21 17:44:23 +02:00
Jakub Jelinek
2a8dad374b mangle.c (finish_mangling_get_identifier): Use obstack_base (mangle_obstack) instead of name_base.
* mangle.c (finish_mangling_get_identifier): Use
	obstack_base (mangle_obstack) instead of name_base.

	* g++.dg/abi/mangle33.C: New test.

From-SVN: r153061
2009-10-21 17:17:12 +02:00
GCC Administrator
e071bc3048 Daily bump.
From-SVN: r153046
2009-10-21 00:16:39 +00:00
John David Anglin
ccabc2287e backport: re PR target/41702 (FAIL: abi/demangle/abi_text/09.cc execution test)
Backport from mainline:
	2009-10-15  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	PR target/41702
	* pa.md (casesi): Use sign extended index in call to
	gen_casesi64p.
	(casesi64p): Update pattern to reflect above.

From-SVN: r153042
2009-10-20 22:44:08 +00:00
Joseph Myers
0d96f9b849 arm.c (output_move_neon): Use DImode in call to adjust_address.
* config/arm/arm.c (output_move_neon): Use DImode in call to
	adjust_address.

testsuite:
	* gcc.target/arm/neon-thumb2-move.c: New test.

From-SVN: r153016
2009-10-20 15:41:01 +01:00
GCC Administrator
61c49b5a3a Daily bump.
From-SVN: r153001
2009-10-20 00:16:54 +00:00
Jakub Jelinek
86d7843075 re PR fortran/41755 (Segfault on invalid code)
PR fortran/41755
	* symbol.c (gfc_undo_symbols): Add NULL check.
	* match.c (gfc_match_equivalence): Add check for
	missing comma.

	PR fortran/41755
	* gfortran.dg/equiv_8.f90: New test.

From-SVN: r152999
2009-10-20 00:24:28 +02:00
Jakub Jelinek
0993d7d2b6 unwind-dw2.c (execute_stack_op): Fix operand order for DW_OP_le, DW_OP_ge, DW_OP_lt and DW_OP_gt.
* unwind-dw2.c (execute_stack_op): Fix operand order for
	DW_OP_le, DW_OP_ge, DW_OP_lt and DW_OP_gt.

	* gcc.dg/cleanup-13.c: New test.

From-SVN: r152990
2009-10-19 21:56:57 +02:00
Tobias Burnus
69bed0e60b re PR fortran/41755 (Segfault on invalid code)
2009-10-19  Tobias Burnus  <burnus@net-b.de>
            Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/41755
        * symbol.c (gfc_undo_symbols): Add NULL check.
        * match.c (gfc_match_equivalence): Add check for
        missing comma.

2009-10-19  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41755
        * gfortran.dg/equiv_8.f90: New test.


Co-Authored-By: Steven G. Kargl <kargl@gcc.gnu.org>

From-SVN: r152987
2009-10-19 21:18:12 +02:00
Andreas Krebbel
16fd3ccfbd s390.c (s390_z10_optimize_cmp): Don't touch FP compares.
2009-10-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.c (s390_z10_optimize_cmp): Don't touch FP compares.

From-SVN: r152981
2009-10-19 15:49:16 +00:00
Andreas Krebbel
ae3efc3166 s390.c (s390_z10_optimize_cmp): Skip notes and debug insns when investigating previous or next insns.
2009-10-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.c (s390_z10_optimize_cmp): Skip notes and debug
	insns when investigating previous or next insns.

From-SVN: r152980
2009-10-19 15:48:01 +00:00
Jakub Jelinek
82c7452fb9 backport: re PR debug/40521 (-g causes GCC to generate .eh_frame)
Backport from mainline:
	2009-10-16  Jakub Jelinek  <jakub@redhat.com>

	PR debug/40521
	* debug.h (struct gcc_debug_hooks): Add assembly_start hook.
	* cgraphunit.c (cgraph_optimize): Call it.
	* dwarf2out.c (dwarf2out_init): Move .cfi_sections printing into...
	(dwarf2out_assembly_start): ... here.  New hook.
	(dwarf2out_debug_hooks): Add dwarf2out_assembly_start.
	* debug.c (do_nothing_debug_hooks): Do nothing for assembly_start
	hook.
	* dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise.
	* sdbout.c (sdb_debug_hooks): Likewise.
	* vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_assembly_start.
	(vmsdbgout_assembly_start): New hook.

	2009-10-09  Jakub Jelinek  <jakub@redhat.com>

	PR debug/40521
	* dwarf2out.c (dwarf2out_init): Test whether
	HAVE_GAS_CFI_SECTIONS_DIRECTIVE is non-zero instead of checking
	it is defined.

	2009-10-02  Jakub Jelinek  <jakub@redhat.com>

	PR debug/40521
	* configure.ac (HAVE_GAS_CFI_SECTIONS_DIRECTIVE): New test.
	* configure: Regenerated.
	* config.in: Regenerated.
	* dwarf2out.c (dwarf2out_do_cfi_asm): Return false if
	!HAVE_GAS_CFI_SECTIONS_DIRECTIVE and not emitting .eh_frame.
	(dwarf2out_init): If HAVE_GAS_CFI_SECTIONS_DIRECTIVE and
	not emitting .eh_frame, emit .cfi_sections .debug_frame
	directive.

From-SVN: r152974
2009-10-19 14:15:27 +02:00
Jason Merrill
38122002df only compile for now
From-SVN: r152971
2009-10-19 03:39:13 -04:00
GCC Administrator
c72cee9c65 Daily bump.
From-SVN: r152969
2009-10-19 00:16:37 +00:00
Jason Merrill
4d8220df55 re PR c++/38798 ([c++0x] Trouble with struct/class/enum keyword in late return types)
PR c++/38798
	* parser.c (CP_PARSER_FLAGS_NO_TYPE_DEFINITIONS): New.
	(cp_parser_type_specifier): Don't try to parse a class-specifier
	or enum-specifier in that case.
	(cp_parser_trailing_type_id): New.
	(cp_parser_late_return_type_opt): Call it.
	(cp_parser_type_id_1): Add is_trailing_return parm.
	(cp_parser_type_specifier_seq): Likewise.

	PR c++/40092
	* tree.c (cp_tree_equal): Add test for TEMPLATE_PARM_PARAMETER_PACK
	equality.

	PR c++/37875
	* parser.c (cp_parser_decltype): Set greater_than_is_operator_p.

	PR c++/37766
	* pt.c (type_unification_real): Call convert_template_argument
	for function default template arguments.
	(check_default_tmpl_args): Suggest -std=c++0x when function default
	template args seen in C++98 mode.

	PR c++/37204
	* typeck.c (build_reinterpret_cast_1): Handle rvalue refs
	properly.

From-SVN: r152966
2009-10-18 01:13:05 -04:00
Benjamin Kosnik
599e5f2642 [multiple changes]
2009-10-16  Benjamin Kosnik  <bkoz@redhat.com>

        * include/c_compatibility/stdatomic.h: Include cstdatomic if
        __cplusplus.

2009-10-15  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/40654
        PR libstdc++/40826
        * src/atomic.cc (atomic_flag_test_and_set_explicit): Add
        static_cast from base to derived.
        (atomic_flag_clear_explicit): Same.
        * include/bits/atomic_2.h (__atomic2::atomic_flag): Public derivation.
        Remove value type constructor.
        * include/bits/atomic_0.h (__atomic0::atomic_flag): Same.
        * include/std/future (_Future_state): Use ATOMIC_FLAG_INIT to
        initialized the atomic_flag member.

From-SVN: r152965
2009-10-18 03:30:03 +00:00
GCC Administrator
58ce5dd074 Daily bump.
From-SVN: r152963
2009-10-18 00:16:35 +00:00
GCC Administrator
00370e1618 Daily bump.
From-SVN: r152922
2009-10-17 00:16:51 +00:00
H.J. Lu
c845765a2c template-params-7.C: Removed.
2009-10-16  H.J. Lu  <hongjiu.lu@intel.com>

	* g++.dg/debug/dwarf2/template-params-7.C: Removed.
	* gfortran.dg/fmt_error_9.f: Likewise.

From-SVN: r152901
2009-10-16 06:44:50 -07:00
GCC Administrator
49b42d8539 Daily bump.
From-SVN: r152886
2009-10-16 00:16:39 +00:00
John David Anglin
7af1c0f787 backport: re PR target/40913 (hppa-hpux: libgcc_s.sl does not have the 'internal name' (=soname) set)
2009-10-15  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	Backport from mainline
	2009-09-17  Michael Haubenwallner  <michael.haubenwallner@salomon.at>

	PR target/40913
	* config/pa/t-hpux-shlib: Set soname in libgcc_s.sl.

From-SVN: r152883
2009-10-16 00:04:11 +00:00
John David Anglin
ba7dd97b3d backport: linux-atomic.c: Eliminate conditional include of errno.h on non-LP64 systems to simplify build...
Backport from mainline
	2009-05-05  Ben Elliston  <bje@au.ibm.com>

	* config/pa/linux-atomic.c: Eliminate conditional include of
	errno.h on non-LP64 systems to simplify build requirements.

From-SVN: r152878
2009-10-15 23:00:37 +00:00
H.J. Lu
f18a6f46b4 Backport PRs 41182, 41555, 41570, 41573, 41634, 41683
2009-10-15  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-10-13  Martin Jambor  <mjambor@suse.cz>

	* gcc.c-torture/compile/pr41661.c: New test.

	2009-10-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/41683
	* gfortran.dg/fmt_error_9.f: Add check for repeat count after P.

	2009-10-12  Dodji Seketeli  <dodji@redhat.com>

	PR c++/41570
	* g++.dg/debug/dwarf2/template-params-7.C: New test.

	2009-10-11  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/41555
	* gcc.dg/torture/pr41555.c: New testcase.

	2009-10-09  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/41634
	* gcc.c-torture/compile/pr41634.c: New testcase.

	2009-10-08  Michael Matz  <matz@suse.de>

	PR middle-end/41573
	* gcc.dg/pr41573.c: New test.

	2009-10-07  Joseph Myers  <joseph@codesourcery.com>

	PR c/41182
	* gcc.c-torture/compile/pr41182-1.c: New.

From-SVN: r152870
2009-10-15 14:17:36 -07:00
Uros Bizjak
aa7faccef6 backport: re PR middle-end/22072 (bizarre code for int*int/2 for -Os)
Backport from mainline:
        2009-10-07  Vladimir Makarov  <vmakarov@redhat.com>

        PR middle-end/22072
        * ira-lives.c (check_and_make_def_conflict): Process all operands.

From-SVN: r152856
2009-10-15 20:03:20 +02:00
H.J. Lu
398b11a4d1 backport: re PR target/41665 (Typo in addsi_1_zext?)
2009-10-15  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-10-11  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/41665
	* config/i386/i386.md (addsi_1_zext): Get the proper second
	operand for lea.

From-SVN: r152845
2009-10-15 07:00:57 -07:00
Jakub Jelinek
7cd3aebe9a BASE-VER: Set to 4.4.3.
* BASE-VER: Set to 4.4.3.
	* DEV-PHASE: Set to prerelease.

From-SVN: r152843
2009-10-15 14:10:23 +02:00
GCC Administrator
31ff3ca163 Mark as release
From-SVN: r152839
2009-10-15 07:41:51 +00:00
GCC Administrator
cd99b30c7c Mark ChangeLog
From-SVN: r152838
2009-10-15 07:41:45 +00:00
GCC Administrator
7fa4688f71 Mark ChangeLog
From-SVN: r152837
2009-10-15 07:41:40 +00:00
GCC Administrator
1cf418bd42 Mark ChangeLog
From-SVN: r152836
2009-10-15 07:41:34 +00:00
GCC Administrator
d2ba0fec53 Mark ChangeLog
From-SVN: r152835
2009-10-15 07:41:27 +00:00
GCC Administrator
ce20b6be0e Mark ChangeLog
From-SVN: r152834
2009-10-15 07:41:21 +00:00
GCC Administrator
0e8cd128b8 Mark ChangeLog
From-SVN: r152833
2009-10-15 07:41:16 +00:00
GCC Administrator
74a15bb9eb Mark ChangeLog
From-SVN: r152832
2009-10-15 07:41:11 +00:00
GCC Administrator
1913fdd0ff Mark ChangeLog
From-SVN: r152831
2009-10-15 07:41:06 +00:00
GCC Administrator
804a4daa9f Mark ChangeLog
From-SVN: r152830
2009-10-15 07:41:00 +00:00
GCC Administrator
105f9dc985 Mark ChangeLog
From-SVN: r152829
2009-10-15 07:40:55 +00:00
GCC Administrator
864a859dd8 Mark ChangeLog
From-SVN: r152828
2009-10-15 07:40:49 +00:00
GCC Administrator
c69c27e488 Mark ChangeLog
From-SVN: r152827
2009-10-15 07:40:43 +00:00
GCC Administrator
18da50290f Mark ChangeLog
From-SVN: r152826
2009-10-15 07:40:36 +00:00
GCC Administrator
c98b8adc05 Mark ChangeLog
From-SVN: r152825
2009-10-15 07:40:31 +00:00
GCC Administrator
7f986815a3 Mark ChangeLog
From-SVN: r152824
2009-10-15 07:40:25 +00:00
GCC Administrator
c6fccf220c Mark ChangeLog
From-SVN: r152823
2009-10-15 07:40:19 +00:00
GCC Administrator
7fcdc21c51 Mark ChangeLog
From-SVN: r152822
2009-10-15 07:40:14 +00:00
GCC Administrator
1491928e0f Mark ChangeLog
From-SVN: r152821
2009-10-15 07:40:09 +00:00
GCC Administrator
84d7efc41a Mark ChangeLog
From-SVN: r152820
2009-10-15 07:40:04 +00:00
GCC Administrator
4efa891f9d Mark ChangeLog
From-SVN: r152819
2009-10-15 07:39:58 +00:00
GCC Administrator
10caebc2a8 Mark ChangeLog
From-SVN: r152818
2009-10-15 07:39:53 +00:00
GCC Administrator
2ea9868cc4 Mark ChangeLog
From-SVN: r152817
2009-10-15 07:39:48 +00:00
GCC Administrator
e89387bfab Mark ChangeLog
From-SVN: r152816
2009-10-15 07:39:43 +00:00
GCC Administrator
2b09d4eb49 Mark ChangeLog
From-SVN: r152815
2009-10-15 07:39:37 +00:00
GCC Administrator
222f41d2d1 Mark ChangeLog
From-SVN: r152814
2009-10-15 07:39:33 +00:00
GCC Administrator
d14db89493 Mark ChangeLog
From-SVN: r152813
2009-10-15 07:39:27 +00:00
GCC Administrator
76b91f0526 Mark ChangeLog
From-SVN: r152812
2009-10-15 07:39:22 +00:00
GCC Administrator
42a9f8ba3b Mark ChangeLog
From-SVN: r152811
2009-10-15 07:39:17 +00:00
GCC Administrator
590842ce04 Mark ChangeLog
From-SVN: r152810
2009-10-15 07:39:12 +00:00
GCC Administrator
b6deec3a44 Mark ChangeLog
From-SVN: r152809
2009-10-15 07:39:07 +00:00
GCC Administrator
748436bd8a Mark ChangeLog
From-SVN: r152808
2009-10-15 07:39:02 +00:00
GCC Administrator
bf1e9e298b Mark ChangeLog
From-SVN: r152807
2009-10-15 07:38:57 +00:00
GCC Administrator
f8e841618c Mark ChangeLog
From-SVN: r152806
2009-10-15 07:38:52 +00:00
GCC Administrator
ee4d77d8f6 Mark ChangeLog
From-SVN: r152805
2009-10-15 07:38:47 +00:00
GCC Administrator
4d324437fd Mark ChangeLog
From-SVN: r152804
2009-10-15 07:38:42 +00:00
GCC Administrator
2eb5a59dd8 Mark ChangeLog
From-SVN: r152803
2009-10-15 07:38:37 +00:00
GCC Administrator
c2684617c1 Mark ChangeLog
From-SVN: r152802
2009-10-15 07:38:32 +00:00
GCC Administrator
b0dec4b2c8 Mark ChangeLog
From-SVN: r152801
2009-10-15 07:38:27 +00:00
GCC Administrator
5f9d3c9179 Mark ChangeLog
From-SVN: r152800
2009-10-15 07:38:23 +00:00
GCC Administrator
64d8986996 Daily bump.
From-SVN: r152792
2009-10-15 00:16:51 +00:00
GCC Administrator
50ed46f564 Daily bump.
From-SVN: r152743
2009-10-14 00:16:47 +00:00
Hans-Peter Nilsson
0cdab85e29 re PR rtl-optimization/38948 (unrecognizable insn, postreload.c:395)
PR target/38948
	* gcc.dg/torture/pr38948.c: New test.

From-SVN: r152739
2009-10-13 23:53:55 +00:00
Hans-Peter Nilsson
2e9f32728a re PR rtl-optimization/38948 (unrecognizable insn, postreload.c:395)
PR target/38948
	* config/cris/cris.h (SECONDARY_RELOAD_CLASS): Handle reload
	requests between special registers.

From-SVN: r152738
2009-10-13 23:53:20 +00:00
Andreas Krebbel
751cf9544f s390.c (s390_encode_section_info): Handle BLKmode properly.
2009-10-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.c (s390_encode_section_info): Handle BLKmode
	properly.

From-SVN: r152714
2009-10-13 16:11:50 +00:00
GCC Administrator
ee7f0d78f8 Daily bump.
From-SVN: r152693
2009-10-13 00:16:50 +00:00
Hans-Peter Nilsson
352cace6cc re PR target/26515 (peephole2 causes unrecognized insn, zero_extending non-general register)
PR target/26515
	* gcc.dg/torture/pr26515.c: New test.

From-SVN: r152680
2009-10-12 18:00:15 +00:00
Hans-Peter Nilsson
0452f0e7f1 re PR target/26515 (peephole2 causes unrecognized insn, zero_extending non-general register)
PR target/26515
	* config/cris/cris.md (andu): Check that operand 1 is one of the
	general registers.  Fix typo in head comment.

From-SVN: r152679
2009-10-12 17:59:16 +00:00
Jakub Jelinek
9f9a8f7dec re PR target/41680 (ICE in trunc_int_for_mode)
PR target/41680
	* config/i386/i386.md (split after *testqi_ext_3_rex64): Only narrow
	paradoxical subregs to prevent partial register stalls if the inner
	mode is integer mode.

	* g++.dg/torture/pr41680.C: New test.

From-SVN: r152667
2009-10-12 15:40:17 +02:00
Jakub Jelinek
b2da4dbb1d re PR rtl-optimization/41646 (Reload ICE due to combiner extending life time of a hard register)
PR rtl-optimization/41646
	* calls.c (expand_call): For BLKmode types returned in registers
	avoid likely spilled hard regs in copy_blkmode_from_reg generated
	insns.

	* gcc.c-torture/compile/pr41646.c: New test.

From-SVN: r152666
2009-10-12 15:38:29 +02:00
GCC Administrator
0c5ebc57b0 Daily bump.
From-SVN: r152655
2009-10-12 00:16:33 +00:00
GCC Administrator
9e9788fae3 Daily bump.
From-SVN: r152634
2009-10-11 00:16:40 +00:00
GCC Administrator
13a826ee5c Daily bump.
From-SVN: r152610
2009-10-10 00:16:30 +00:00
Andreas Krebbel
876c720593 s390.md ("prefetch"): Remove stcmh for prefetching.
2009-10-09  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.md ("prefetch"): Remove stcmh for prefetching.

From-SVN: r152593
2009-10-09 15:49:22 +00:00
GCC Administrator
104abed875 Daily bump.
From-SVN: r152582
2009-10-09 00:16:30 +00:00
GCC Administrator
4573955cb3 Daily bump.
From-SVN: r152546
2009-10-08 00:16:38 +00:00
Jason Merrill
59c42b41bc re PR c++/39863 ([c++0x] variadic templates : wrong error "mismatched argument pack lengths")
PR c++/39863
	* pt.c (tsubst_pack_expansion): Don't do anything now if we
	have incomplete packs of different lengths.

	PR c++/41038
	* tree.c (build_qualified_name): Call convert_from_reference.

	* pt.c (register_specialization): Push DECL_SOURCE_LOCATION to the
	clones.

	* decl.c (grok_special_member_properties): Only adjust
	TYPE_HAS_COMPLEX_* if the function is defaulted in the class body.
	(cp_finish_decl): Push DECL_DELETED_FN/DECL_DEFAULTED_FN to the
	clones.

From-SVN: r152538
2009-10-07 15:31:56 -04:00
Andreas Krebbel
161c68fd74 tpf.h (TARGET_DEFAULT): Remove MASK_HARD_FLOAT and add MASK_HARD_DFP.
2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/tpf.h (TARGET_DEFAULT): Remove MASK_HARD_FLOAT and
	add MASK_HARD_DFP.

From-SVN: r152518
2009-10-07 08:52:57 +00:00
GCC Administrator
69f3187040 Daily bump.
From-SVN: r152505
2009-10-07 00:16:24 +00:00
GCC Administrator
10054490cc Daily bump.
From-SVN: r152479
2009-10-06 00:16:44 +00:00
Ramana Radhakrishnan
60db1da645 backport: arm.c (arm_override_options): Really initialize flag_dwarf2_cfi_asm to 0.
2009-10-05  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	Backport from mainline.
        * config/arm/arm.c (arm_override_options): Really initialize
        flag_dwarf2_cfi_asm to 0.

From-SVN: r152447
2009-10-05 09:41:43 +00:00
Tobias Burnus
0c05b956ef re PR fortran/41479 (intent(out) for types with default initialization)
2009-10-05  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41479
        (init_intent_out_dt): Call gfc_init_default_dt
        for all derived types with initializers.

2009-10-05  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41479
        * gfortran.dg/intent_out_5.f90: New test.

From-SVN: r152444
2009-10-05 11:19:13 +02:00
GCC Administrator
ddc90f8f09 Daily bump.
From-SVN: r152441
2009-10-05 00:16:33 +00:00
GCC Administrator
4e815fa082 Daily bump.
From-SVN: r152436
2009-10-04 00:16:47 +00:00
GCC Administrator
d19f89a383 Daily bump.
From-SVN: r152427
2009-10-03 00:17:22 +00:00
Ramana Radhakrishnan
354ffdef3c backport: arm.c (arm_override_options): Turn off flag_dwarf2_cfi_asm for AAPCS variants.
2009-10-02  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	Backport from Trunk

	2009-10-01  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* config/arm/arm.c (arm_override_options): Turn off
	flag_dwarf2_cfi_asm for AAPCS variants.

From-SVN: r152397
2009-10-02 08:25:22 +00:00
GCC Administrator
a445b63364 Daily bump.
From-SVN: r152391
2009-10-02 00:16:35 +00:00
Tobias Burnus
a19345a9bd re PR fortran/41515 (PARAMETER statement in module subroutines)
2009-10-01  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41515
        * decl.c (do_parm): Call add_init_expr_to_sym.

2009-10-01  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41515
        * gfortran.dg/parameter_array_init_5.f90: New test.

From-SVN: r152378
2009-10-01 18:09:13 +02:00
GCC Administrator
ce0c7f21fc Daily bump.
From-SVN: r152352
2009-10-01 00:16:43 +00:00
H.J. Lu
0c1e4fb855 proc_ptr_comp_21.f90: Removed.
2009-09-30  H.J. Lu  <hongjiu.lu@intel.com>

	* gfortran.dg/proc_ptr_comp_21.f90: Removed.

From-SVN: r152348
2009-09-30 15:34:32 -07:00
Uros Bizjak
916f964b5b re PR target/22093 (Unaligned access to HI values causes unrecognizable insn error)
PR target/22093
	* config/alpha/alpha.md (unaligned_storehi_be): Force operand
	of plus RTX into register.

testsuite/ChangeLog:

	PR target/22093
	* gcc.target/alpha/pr22093.c: New test.

From-SVN: r152343
2009-09-30 20:03:17 +02:00
Andreas Krebbel
9332b7a302 fixdfdi.h: Add Runtime Library Exception wording to the License text.
2009-09-30  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/fixdfdi.h: Add Runtime Library Exception wording to
	the License text.

From-SVN: r152325
2009-09-30 10:41:26 +00:00
GCC Administrator
bc182fe0fd Daily bump.
From-SVN: r152313
2009-09-30 00:16:40 +00:00
GCC Administrator
28481f0ffa Daily bump.
From-SVN: r152260
2009-09-29 00:16:36 +00:00
Olivier Hainque
bc027126fb re PR ada/41100 (Unchecked_Deallocation causes wrong free errors)
PR ada/41100

        ada/
        * gcc-interface/targtyps.c
        * (get_target_default_allocator_alignment):
        Account for observable alignments out of default allocators.

        testsuite/
        * gnat.dg (tagged_alloc_free.adb): New testcase.

From-SVN: r152255
2009-09-28 21:55:54 +00:00
H.J. Lu
c2ed3e6e48 Backport PRs 40642, 40758, 41212, 41242, 41248, 41275, 41295, 41347, 41470, 41476
2009-09-28  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-09-26  Andreas Schwab  <schwab@linux-m68k.org>

	PR c/41476
	* gcc.dg/cond-constqual-1.c: New test.

	2009-09-26  Michael Matz  <matz@suse.de>

	PR lto/40758
	PR middle-end/41470
	* gcc.dg/pr41470.c: New test.

	2009-09-23  Alexandre Oliva  <aoliva@redhat.com>

	PR debug/41248
	* gcc.dg/pr41248.c: New.

	2009-09-22  Alexandre Oliva  <aoliva@redhat.com>

	PR debug/41295
	* gcc.dg/pr41295.c: New.

	2009-09-20  Andrew Pinski  <pinskia@gcc.gnu.org>

	PR middle-end/40642
	* g++.dg/torture/pr40642.C: New testcase.

	2009-09-17  Michael Matz  <matz@suse.de>

	PR middle-end/41347
	* gfortran.dg/pr41347.f90: New test.

	2009-09-16  Michael Matz  <matz@suse.de>

	PR fortran/41212
	* gfortran.dg/pr41212.f90: New test.

	2009-09-11  Michael Matz  <matz@suse.de>

	PR middle-end/41275
	* g++.dg/tree-ssa/pr41275.C: New test.

	2009-09-11  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/41242
	* gfortran.dg/proc_ptr_comp_21.f90: New.

From-SVN: r152250
2009-09-28 13:38:53 -07:00
GCC Administrator
db74cb693c Daily bump.
From-SVN: r152229
2009-09-28 00:16:50 +00:00
GCC Administrator
4dd28be7af Daily bump.
From-SVN: r152210
2009-09-27 00:16:26 +00:00
GCC Administrator
0e6926d7d3 Daily bump.
From-SVN: r152191
2009-09-26 00:16:45 +00:00
Jakub Jelinek
f011dd7988 tree-vect-transform.c (vectorizable_call): Call mark_symbols_for_renaming after vect_finish_stmt_generation.
* tree-vect-transform.c (vectorizable_call): Call
	mark_symbols_for_renaming after vect_finish_stmt_generation.

From-SVN: r152174
2009-09-25 16:28:42 +02:00
GCC Administrator
5b045b2bfc Daily bump.
From-SVN: r152152
2009-09-25 00:16:41 +00:00
Alan Modra
50a3c1777e rs6000.md (load_toc_v4_PIC_3c): Correct POWER form of instruction.
* config/rs6000/rs6000.md (load_toc_v4_PIC_3c): Correct POWER
	form of instruction.

From-SVN: r152149
2009-09-25 09:30:01 +09:30
Kai Tietz
ea2218b44b libgcc2.c (L_trampoline): Prototype for getpagesize and mprotect in WINNT case.
2009-09-24  Kai Tietz  <kai.tietz@onevision.com>

	* libgcc2.c (L_trampoline): Prototype for getpagesize
	and mprotect in WINNT case.

From-SVN: r152138
2009-09-24 21:00:44 +02:00
Jason Merrill
44f68928b4 remove unused variable
From-SVN: r152118
2009-09-24 08:49:25 -04:00
GCC Administrator
6c6988658a Daily bump.
From-SVN: r152108
2009-09-24 00:16:41 +00:00
Alan Modra
1217f0f4d4 re PR target/40473 (-mno-sched-prolog breaks function parameter debug location lists)
PR target/40473
	* config/rs6000/rs6000.c (rs6000_output_function_prologue): Don't
	call final to emit non-scheduled prologue, instead insert at entry.

From-SVN: r152103
2009-09-24 07:49:05 +09:30
Matthias Klose
1391187a34 PR libffi/40242, PR libffi/41443
2009-09-23  Matthias Klose  <doko@ubuntu.com>

        PR libffi/40242, PR libffi/41443
        * src/arm/sysv.S (__ARM_ARCH__): Define for processors
        __ARM_ARCH_6T2__, __ARM_ARCH_6M__, __ARM_ARCH_7__,
        __ARM_ARCH_7A__, __ARM_ARCH_7R__, __ARM_ARCH_7M__.
        Change the conditionals to __SOFTFP__ || __ARM_EABI__
        for -mfloat-abi=softfp to work.

From-SVN: r152078
2009-09-23 15:08:02 +00:00
Dodji Seketeli
08553c06e0 re PR debug/41065 (DW_TAG_enumeration_type+DW_TAG_enumerator is sometimes missing)
Fix PR debug/41065

gcc/ChangeLog:
	PR debug/41065
	* function.h (types_used_by_vars_hash): Declare new hash table.
	(types_used_by_vars_eq, types_used_by_var_decl_insert): Declare
	equality and hash function for the hash table.
	(types_used_by_cur_var_decl): Declare a new global chained list.
	(types_used_by_var_decl_insert): Declare new function.
	* function.c (types_used_by_vars_hash): Define the hashtable ...
	(types_used_by_vars_eq, types_used_by_vars_do_hash): ... as well as
	its equality and hash functions.
	(hash_types_used_by_vars_entry): New hash helper.
	(types_used_by_cur_var_decl): Define the global chained list.
	(used_types_insert): Update the list of types used by the global
	variable being parsed.
	(types_used_by_var_decl_insert): Define new function.
	* c-common.h (record_types_used_by_current_var_decl): Declare ...
	* c-common.c (record_types_used_by_current_var_decl): ... new
	function.
	* c-decl.c (finish_decl): Record the types used by the global
	variable declaration we've just parsed.
	* dwarf2out.c (premark_used_types): Insert a new line between
	comment and function.
	(premark_used_types_helper): Fix comment.
	(premark_types_used_by_global_vars_helper,
	premark_types_used_by_global_vars): New functions.
	(prune_unused_types): Do not prune types used by global variables.

gcc/cp/ChangeLog:
	PR debug/41065
	* decl.c (cp_finish_decl): Record the types used by the global
	variable declaration we've just parsed.

gcc/testsuite/ChangeLog:
	PR debug/41065
	* gcc.dg/debug/dwarf2/global-used-types.c: New test.

From-SVN: r152077
2009-09-23 16:58:58 +02:00
Uros Bizjak
e8f8fdbb6c re PR c/39779 (ICE shifting byte to the right with constant > 7FFFFFFF)
PR c/39779
	* c-typeck.c (build_binary_op) <short_shift>: Check that integer
	constant is more than zero.

testsuite/ChangeLog:

	PR c/39779
	* gcc.c-torture/compile/pr39779.c: New test.

From-SVN: r152064
2009-09-23 11:37:25 +02:00
GCC Administrator
bcd4fd64e6 Daily bump.
From-SVN: r152054
2009-09-23 00:16:47 +00:00
GCC Administrator
212ff306dd Daily bump.
From-SVN: r151956
2009-09-22 00:16:39 +00:00
Richard Sandiford
2199a16a11 mips.c (mips_override_options): Force flag_dwarf2_cfi_asm to zero.
gcc/
	* config/mips/mips.c (mips_override_options): Force flag_dwarf2_cfi_asm
	to zero.

From-SVN: r151940
2009-09-21 19:33:38 +00:00
Kai Tietz
51d9646bbc i386.c (ix86_expand_epilogue): Adjust offset for xmm register restore.
2009-09-21  Kai Tietz  <kai.tietz@onevision.com>

	* config/i386/i386.c (ix86_expand_epilogue): Adjust offset for
	xmm register restore.

2009-09-21  Kai Tietz  <kai.tietz@onevision.com>

	* gcc.dg/torture/calleesave-sse.c: New.

From-SVN: r151920
2009-09-21 16:22:40 +02:00
GCC Administrator
caa27d9afb Daily bump.
From-SVN: r151910
2009-09-21 00:16:53 +00:00
Kai Tietz
ab99fcd2c8 backport: unwind-dw2-fde.c (classify_object_over_fdes): Cast the constant 1 to _Unwind_Ptr.
2009-09-20  Kai Tietz  <kai.tietz@onevision.com>
            Pascal Obry  <obry@adacore.com>

        Backport from mainline
        * unwind-dw2-fde.c (classify_object_over_fdes):
        Cast the constant 1 to _Unwind_Ptr.
        (add_fdes): Likewise.
        (linear_search_fdes): Likewise.


Co-Authored-By: Pascal Obry <obry@adacore.com>

From-SVN: r151900
2009-09-20 13:07:05 +02:00
GCC Administrator
0cf61c157a Daily bump.
From-SVN: r151892
2009-09-20 00:16:43 +00:00
Jerry DeLisle
19f2e57751 re PR fortran/41328 (bad iostat when reading DOS file in a character array (non-advancing))
2009-09-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/41328
	* gfortran.dg/cr_lf.f90: New test.

From-SVN: r151884
2009-09-19 17:23:43 +00:00
Jerry DeLisle
d72e3374fe backport: re PR fortran/41328 (bad iostat when reading DOS file in a character array (non-advancing))
2009-09-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	Backport from mainline:
	PR libgfortran/41328
	* io/transfer.c (read_sf): Adjust fbuf position and do proper fbuf reads
	to traverse CR, CR-LF, and LF style line ends.Set at_eof flag on short
	read if any characters were successfully read so that EOF condition with
	no EOR marker succeeds.

From-SVN: r151883
2009-09-19 17:21:20 +00:00
Joseph Myers
1f6e6a50dd * vi.po: Update.
From-SVN: r151882
2009-09-19 13:30:56 +01:00
GCC Administrator
7e88a9070b Daily bump.
From-SVN: r151875
2009-09-19 00:17:25 +00:00
Jason Merrill
ab97a3f096 c.opt: Add -fno-deduce-init-list.
* c.opt: Add -fno-deduce-init-list.
    	* pt.c (get_pattern_parm): New.
    	(listify): Split out from...
    	(listify_autos): ...here.
    	(unify): Deduce std::initializer_list for T.
    	* call.c (build_over_call): Warn about it.

From-SVN: r151869
2009-09-18 17:53:23 -04:00
Jack Howarth
9e3b62fa8d re PR testsuite/41288 (gcc.target/x86_64/abi/test_struct_returning.c regressions on *-apple-darwin* at -m64)
PR testsuite/41288
	* gcc.target/x86_64/abi/asm-support-darwin.s (snapshot_ret): Preserve
	stack alignment.

From-SVN: r151858
2009-09-18 19:11:57 +02:00
Janis Johnson
9c329a08be re PR c/41049 (conversion from integer to decimal float loses trailing zeros)
PR c/41049
	* real.c decimal_from_integer, decimal_integer_string): New.
	(real_from_integer): Use them as special case for decimal float.
	* config/dfp-bit.c (_si_to_sd, _usi_to_sd): Use default rounding.
	(_di_to_sd, _di_to_dd, _di_to_td, _udi_to_sd, _udi_to_dd, _udi_to_td):
	Do not append zero after the decimal point in string to convert.
	* dfp/pr41049.c: New test.

From-SVN: r151857
2009-09-18 17:03:55 +00:00
GCC Administrator
52050b1e8f Daily bump.
From-SVN: r151828
2009-09-18 00:16:49 +00:00
GCC Administrator
86705001f0 Daily bump.
From-SVN: r151784
2009-09-17 00:16:43 +00:00
Uros Bizjak
c873210eb1 default_format_denormal_2.f90: Add ieee options.
* gfortran.dg/default_format_denormal_2.f90: Add ieee options.
	* gfortran.dg/default_format_denormal_1.f90: Ditto.  Remove
	alpha*-*-* target from XFAIL list.

From-SVN: r151768
2009-09-16 19:47:57 +02:00
Eric Botcazou
414b4281c4 trans.c (Attribute_to_gnu): Strip conversions between original and packable version of types from the...
* gcc-interface/trans.c (Attribute_to_gnu) <Attr_Size>: Strip
	conversions between original and packable version of types from
	the expression.

From-SVN: r151758
2009-09-16 15:03:14 +00:00
Richard Guenther
286885cdbb backport: re PR tree-optimization/41101 (ICE in compute_antic, at tree-ssa-pre.c:2419)
2009-09-16  Richard Guenther  <rguenther@suse.de>

	Backport from mainline
	2009-09-09  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/41101
	* tree-ssa-pre.c (maximal_set): Remove.
	(compute_antic_aux): Treat the maximal set as implicitly all ones.
	Defer all blocks we didn't visit at least one successor.
	(add_to_exp_gen): Do not add to the maximal set.
	(make_values_for_phi): Likewise.
	(compute_avail): Likewise.
	(init_pre): Do not allocate the maximal set.
	(execute_pre): Do not dump it.

	* gcc.c-torture/compile/pr41101.c: New testcase.

From-SVN: r151744
2009-09-16 11:56:31 +00:00
GCC Administrator
7f4f8e90cc Daily bump.
From-SVN: r151733
2009-09-16 00:16:38 +00:00
GCC Administrator
b3e447475c Daily bump.
From-SVN: r151706
2009-09-15 00:16:44 +00:00
Uros Bizjak
d3f00967b3 alpha.md (smaxsf3): Disable for IEEE mode.
* config/alpha/alpha.md (smaxsf3): Disable for IEEE mode.
	(sminsf3): Ditto.

From-SVN: r151694
2009-09-14 20:38:19 +02:00
GCC Administrator
0137e3e109 Daily bump.
From-SVN: r151678
2009-09-14 00:16:44 +00:00
Kai Tietz
3cb893e669 config.host: Set for x64 mingw the option use_long_long_for_widest_fast_int to yes.
2009-09-13  Kai Tietz  <kai.tietz@onevision.com>

        * config.host: Set for x64 mingw the option
        use_long_long_for_widest_fast_int to yes.

From-SVN: r151675
2009-09-13 19:02:50 +02:00
Kai Tietz
e3eecd5eed config.gcc (i?86-*-mingw* andx86_64-*-mingw*): Set need_64bit_hwint for x64 case to yes.
2009-09-13  Kai Tietz  <kai.tietz@onevision.com>

        * config.gcc (i?86-*-mingw* andx86_64-*-mingw*): Set
        need_64bit_hwint for x64 case to yes.
        * config.host: Set for x86/x64 mingw the
        option use_long_long_for_widest_fast_int to yes.

From-SVN: r151671
2009-09-13 15:01:13 +02:00
GCC Administrator
1ddc6397fd Daily bump.
From-SVN: r151663
2009-09-13 00:16:36 +00:00
Gerald Pfeifer
1b5657c628 * doc/install.texi (avr): Remove obsolete reference site.
From-SVN: r151659
2009-09-12 18:57:06 +00:00
Gerald Pfeifer
e89dac48ca * doc/install.texi (Binaries): Adjust AIX link.
From-SVN: r151657
2009-09-12 16:56:10 +00:00
Akim Demaille
309f4ad8e5 invoke.texi (-fstrict-aliasing): Correct two examples.
* doc/invoke.texi (-fstrict-aliasing): Correct two examples.
	Use an imperative sentence.

From-SVN: r151655
2009-09-12 15:46:57 +00:00
GCC Administrator
7310df68bf Daily bump.
From-SVN: r151648
2009-09-12 00:16:45 +00:00
Steven G. Kargl
12a5a989ea backport: re PR fortran/39876 (module procedure name that collides with the GNU intrinsic)
2009-09-11 Steven G. Kargl  <kargl@gcc.gnu.org>

	Backport from mainline, r147279:

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

	PR fortran/39876
	* intrinsic.c (gfc_is_intrinsic): Do not add the EXTERNAL attribute if
	the symbol is a module procedure.

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

	PR fortran/39876
	* gfortran.dg/intrinsic_3.f90: New.

From-SVN: r151645
2009-09-11 22:11:06 +00:00
Johannes Singler
a34c530475 2009-09-11 Johannes Singler <singler@ira.uka.de>
* include/parallel/multiway_merge.h
        (multiway_merge_exact_splitting): Deallocate borders correctly.
        (parallel_multiway_merge): Remove unnecessarily complicated
        allocation, random access iterators are default-constructible;
        deallocate ne_seqs correctly.

From-SVN: r151641
2009-09-11 16:36:00 +00:00
GCC Administrator
faa51ea14d Daily bump.
From-SVN: r151623
2009-09-11 00:16:30 +00:00
H.J. Lu
b1f7e31692 pr41241.c: Removed.
2009-09-10  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.dg/pr41241.c: Removed.

From-SVN: r151621
2009-09-10 15:55:17 -07:00
H.J. Lu
b84e9a4056 Backport PRs 41112, 41144, 41181, 41225, 41229, 41232, 41241, 41257, 41261, 41273 and more
2009-09-10  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-09-10  Richard Guenther  <rguenther@suse.de>

	PR middle-end/41257
	* g++.dg/torture/pr41257-2.C: New testcase.

	2009-09-08  Alexandre Oliva  <aoliva@redhat.com>

	PR debug/41229
	PR debug/41291
	PR debug/41300
	* gfortran.dg/pr41229.f90: New.

	2009-09-08  Alexandre Oliva  <aoliva@redhat.com>

	PR debug/41232
	* gcc.dg/pr41232.c: New.

	2009-09-07  Martin Jambor  <mjambor@suse.cz>

	PR middle-end/41282
	* gcc.c-torture/compile/pr41282.c: New test.

	2009-09-06  Jakub Jelinek  <jakub@redhat.com>

	PR bootstrap/41241
	* gcc.dg/pr41241.c: New test.

	2009-09-06  Richard Guenther  <rguenther@suse.de>

	PR middle-end/41144
	* g++.dg/torture/pr41144.C: New testcase.

	2009-09-06  Richard Guenther  <rguenther@suse.de>

	PR middle-end/41261
	* gcc.dg/torture/pr41261.c: New testcase.

	2009-09-05  Richard Guenther  <rguenther@suse.de>

	PR middle-end/41181
	* gcc.c-torture/compile/pr41181.c: New testcase.

	2009-09-05  Richard Guenther  <rguenther@suse.de>

	PR debug/41273
	* g++.dg/torture/pr41273.C: New testcase.

	2009-09-04  Alexandre Oliva  <aoliva@redhat.com>

	PR debug/41225
	* gfortran.dg/pr41225.f90: New.

	2009-09-04  Richard Guenther  <rguenther@suse.de>

	PR middle-end/41257
	* g++.dg/torture/pr41257.C: New testcase.

	2009-09-04  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/41112
	* gnat.dg/array8.adb: New test.

From-SVN: r151611
2009-09-10 11:57:46 -07:00
H.J. Lu
691614a84e Reformat.
From-SVN: r151609
2009-09-10 11:38:26 -07:00
GCC Administrator
74dbc3cfcc Daily bump.
From-SVN: r151583
2009-09-10 00:17:21 +00:00
Kai Tietz
ada0042779 Fix unnecessary comparison
From-SVN: r151571
2009-09-09 21:08:31 +02:00
Kai Tietz
b6e4cc41bc i386.c (ix86_can_use_return_insn_p): Check for padding0, too.
2009-09-09  Kai Tietz  <kai.tietz@onevision.com>

        PR/41315
        * config/i386.c (ix86_can_use_return_insn_p): Check for
        padding0, too.
        (ix86_expand_prologue): Take frame.padding0 into logic of
        to_allocate checks.
        (ix86_expand_epilogue): Likewise.

From-SVN: r151569
2009-09-09 21:00:16 +02:00
François-Xavier Coudert
6d4992f02f * ChangeLog: Fix last entry.
From-SVN: r151556
2009-09-09 09:14:37 +00:00
Jack Howarth
4fd3d4eab6 re PR bootstrap/41180 (can not build gcc 4.4.1 on Snow Leopard Mac OS X 10.6)
PR bootstrap/41180
	* gcc/cp/Make-lang.in: Remove redundant code from linkage
	for darwin10.

From-SVN: r151555
2009-09-09 08:46:32 +00:00
GCC Administrator
9e788c1632 Daily bump.
From-SVN: r151541
2009-09-09 00:16:40 +00:00
Ozkan Sezer
9167949c93 large-size-array-2.c: Fix target requirement.
2009-09-08  Ozkan Sezer  <sezeroz@gmail.com>

        * gcc.dg/large-size-array-2.c: Fix target requirement.
        * gcc.dg/large-size-array-4.c: Likewise.
        * gcc.dg/c99-const-expr-2.c: Define ZERO as 0LL for _WIN64.
        * gcc.dg/c90-const-expr-2.c: Likewise.
        * gcc.dg/torture/pr39074.c: Use intptr_t typedef'ed as __PTRDIFF_TYPE__
        instead of long.
        * gcc.dg/tree-ssa/pr33920.c: Likewise.
        * gcc.dg/vect/pr33846.c: Likewise.
        * gcc.dg/vect/pr33833.c: Use uintptr_t, typedef'ed as unsigned
        __PTRDIFF_TYPE__, instead of unsigned long.
        * gcc.dg/vect/O1-pr33854.c: Use __SIZE_TYPE__ instead of unsigned long.

From-SVN: r151532
2009-09-08 21:10:43 +02:00
Joseph Myers
207c99a14a * id.po: Update.
From-SVN: r151509
2009-09-08 13:16:08 +01:00
GCC Administrator
191eb4831b Daily bump.
From-SVN: r151493
2009-09-08 00:16:53 +00:00
Uros Bizjak
217d1d0a22 backport: re PR rtl-optimization/40861 (ICE in simplify_subreg, at simplify-rtx.c:4981)
Backport from mainline:
	2009-08-27  Uros Bizjak  <ubizjak@gmail.com>

	PR rtl-optimization/40861
	* simplify-rtx.c (simplify_subreg): Do not call simplify_gen_subreg to
	extract word from a multi-word subreg for negative byte positions.

testsuite/ChangeLog:

	Backport from mainline:
	2009-08-27  Uros Bizjak  <ubizjak@gmail.com>

	PR rtl-optimization/40861
	* gcc.dg/pr40861.c: New test.

From-SVN: r151489
2009-09-07 22:25:52 +02:00
GCC Administrator
b04e3391f5 Daily bump.
From-SVN: r151465
2009-09-07 00:16:46 +00:00
GCC Administrator
0f4a22bdb3 Daily bump.
From-SVN: r151457
2009-09-06 00:16:39 +00:00
Paul Thomas
6d1e02179e re PR fortran/41258 (internal compiler error: in find_typebound_proc_uop, at fortran/symbol.c:4575)
2009-09-05  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/41258
	* primary.c (gfc_match_varspec): Do not look for typebound
	procedures unless the derived type has a f2k_derived namespace.

2009-09-05  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/41258
	* gfortran.dg/typebound_proc_12.f90 : New test.

From-SVN: r151452
2009-09-05 14:25:39 +00:00
GCC Administrator
f324f2ab50 Daily bump.
From-SVN: r151443
2009-09-05 00:16:39 +00:00
Wolfgang Gellerich
e2bd7d2e3c 2097.md: Removed two incorrect bypasses.
2009-09-04  Wolfgang Gellerich  <gellerich@de.ibm.com>

	* config/s390/2097.md: Removed two incorrect bypasses.
	(z10_fsimpdf): Fixed latency.
	(z10_fhex): New insn_reservation.
	(z10_floaddf): Fixed latency.
	(z10_floadsf): Fixed latency.
	(z10_ftrunctf): Fixed latency.
	(z10_ftruncdf): Fixed latency.
	* config/s390/s390.c (z10_cost): Fixed values.
	(s390_adjust_priority): Added z10 path.
	* config/s390/s390.md (type): Added fhex.
	(*mov<mode>_64dfp): Updated type attribute.
	(*mov<mode>_64): Updated type attribute.
	(*mov<mode>_31): Updated type attribute.
	(*mov<mode>"): Likewise.
	* config/s390/2084.md (x_fsimpdf): Updated condition.

From-SVN: r151418
2009-09-04 10:05:45 +00:00
GCC Administrator
462ca0114b Daily bump.
From-SVN: r151398
2009-09-04 00:17:22 +00:00
Joseph Myers
d5b663da42 * fi.po: Update.
From-SVN: r151390
2009-09-03 20:23:19 +01:00
Jakub Jelinek
79a08cf40f proc_ptr_comp_18.f90: Removed.
* gfortran.dg/proc_ptr_comp_18.f90: Removed.
	* gfortran.dg/proc_ptr_comp_19.f90: Removed.

From-SVN: r151370
2009-09-03 09:16:29 +02:00
GCC Administrator
7307864690 Daily bump.
From-SVN: r151357
2009-09-03 00:16:25 +00:00
Ian Lance Taylor
a30d561cee macro.c (stringify_arg): Escape CPP_WCHAR tokens.
libcpp/:
	* macro.c (stringify_arg): Escape CPP_WCHAR tokens.
gcc/testsuite/:
	* gcc.dg/20090902-1.c: New test.

From-SVN: r151347
2009-09-02 18:47:29 +00:00
Joseph Myers
f2f909e76f * es.po: Update.
From-SVN: r151338
2009-09-02 17:40:52 +01:00
GCC Administrator
10315f6f13 Daily bump.
From-SVN: r151307
2009-09-02 00:16:37 +00:00
Chris Demetriou
c858092d8a i386.c (ix86_vectorize_builtin_conversion): Never vectorize if not TARGET_SSE2.
* config/i386/i386.c (ix86_vectorize_builtin_conversion): Never
	vectorize if not TARGET_SSE2.

From-SVN: r151275
2009-09-01 18:41:37 +02:00
GCC Administrator
24b80e90da Daily bump.
From-SVN: r151255
2009-09-01 00:16:43 +00:00
Joseph Myers
360fc07145 * sv.po: Update.
From-SVN: r151253
2009-09-01 00:31:01 +01:00
Jason Merrill
ea434efe28 re PR c++/41127 (unnamed bitfield declaration parser regression)
PR c++/41127
	* parser.c (cp_parser_enum_specifier): Make sure the : is followed by a
	type-specifier-seq before we commit.

From-SVN: r151247
2009-08-31 17:20:07 -04:00
Gerald Pfeifer
3b05dfb75b install.texi (Final install): Adjust reference on where to order printed manuals.
* doc/install.texi (Final install): Adjust reference on where to
	order printed manuals.

From-SVN: r151239
2009-08-31 09:09:29 +00:00
GCC Administrator
a7d2063cd9 Daily bump.
From-SVN: r151237
2009-08-31 00:16:33 +00:00
Gerald Pfeifer
05c79b77d2 builtins-config.h (HAVE_C99_RUNTIME): Do not define for FreeBSD.
* gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Do not define
	for FreeBSD.

From-SVN: r151233
2009-08-30 22:45:18 +00:00
H.J. Lu
400b315ac7 Backport PRs 41120, 41121, 41126, 41139, 41162, 41163
2009-08-29  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-08-26  H.J. Lu  <hongjiu.lu@intel.com>

	PR fortran/41162
	* gfortran.dg/pr41162.f: New.

	2009-08-26  Richard Guenther  <rguenther@suse.de>

	PR middle-end/41163
	* gcc.c-torture/compile/pr41163.c: New testcase.

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

	PR fortran/41139
	* gfortran.dg/proc_ptr_25.f90: New.
	* gfortran.dg/proc_ptr_comp_18.f90: New.
	* gfortran.dg/proc_ptr_comp_19.f90: New.

	2009-08-20  Michael Matz  <matz@suse.de>

	PR fortran/41126
	* gfortran.dg/pr41126.f90: New test.

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

	PR fortran/41121
	* gfortran.dg/intrinsic_5.f90: New.

	2009-08-19  Jason Merrill  <jason@redhat.com>

	PR c++/41120
	* g++.dg/other/gc4.C: New.

From-SVN: r151218
2009-08-29 19:06:32 -07:00
GCC Administrator
0b4570a38b Daily bump.
From-SVN: r151215
2009-08-30 00:16:40 +00:00
Kai Tietz
d7dd9404ee re PR c/41184 (wrong optimise code, epilogue code adjust wrong rsp before pop)
2009-08-29  Kai Tietz<kai.tietz@onevision.com>

        PR/41184
        * config/i386.c (ix86_expand_epilogue): Correct stack adjustment for
        padding.

From-SVN: r151203
2009-08-29 19:54:54 +02:00
GCC Administrator
7c4558544b Daily bump.
From-SVN: r151198
2009-08-29 00:16:40 +00:00
Jan Beulich
0d605e5000 netware.c: Include langhooks.h.
2009-08-28  Jan Beulich  <jbeulich@novell.com>

	* config/i386/netware.c: Include langhooks.h.
	(i386_nlm_encode_section_info): Simplify.
	(netware_override_options): Delete.
	* config/i386/netware.h (netware_override_options): Delete
	declaration.
	(OVERRIDE_OPTIONS): Delete definition.
	(SUBTARGET_OVERRIDE_OPTIONS): Define.
	(ASM_COMMENT_START): Define.
	* config/i386/nwld.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Define.

From-SVN: r151166
2009-08-28 15:40:31 +00:00
Uros Bizjak
e17e06f81a backport: sync.md: Update comment about unpredictable LL/SC lock clearing by a taken branch.
Backport from mainline:
	2009-08-26  Uros Bizjak  <ubizjak@gmail.com>

	* config/alpha/sync.md: Update comment about unpredictable LL/SC lock
	clearing by a taken branch.
	(sync_<fetchop_name><mode>): Split when epilogue_completed is set,
	effectively after bbro pass.
	(sync_nand<mode>): Ditto.
	(sync_old_<fetchop_name><mode>): Ditto.
	(sync_old_nand<mode>): Ditto.
	(sync_new_<fetchop_name><mode>): Dito.
	(sync_new_nand<mode>): Ditto.
	(sync_compare_and_swap<mode>_1): Ditto.
	(*sync_compare_and_swap<mode>): Ditto.
	(sync_lock_test_and_set<mode>_1): Ditto.
	("sync_lock_test_and_set<mode>): Ditto.

	2009-08-25  Uros Bizjak  <ubizjak@gmail.com>

	* config/alpha/alpha.md (*cmpdf_ieee_ext[123]): Remove.
	(*cmpdf_internal): Enable for all ALPHA_FPTM levels.
	(*movdfcc_ext[1234]): Disable for IEEE mode.

	2009-08-16  Uros Bizjak  <ubizjak@gmail.com>

	* config/alpha/alpha.c (alpha_end_function): Handle NULL_RTX returned
	from prev_active_insn.

testsuite/ChangeLog:

	Backport from mainline:
	2009-08-25  Uros Bizjak  <ubizjak@gmail.com>

	* gcc.c-torture/compile/limits-fndefn.c: Add dg-timeout-factor.

	2009-08-18  Uros Bizjak  <ubizjak@gmail.com>

	* g++.dg/cdce3.C: Add -mieee for alpha*-*-* targets.

	2009-08-17  Uros Bizjak  <ubizjak@gmail.com>

	* lib/target-supports.exp
	(check_effective_target_vect_cmdline_needed): Add alpha to the list
	of targets that do not need command line argument to enable SIMD.

From-SVN: r151158
2009-08-28 11:57:51 +02:00
GCC Administrator
069deb2b3e Daily bump.
From-SVN: r151155
2009-08-28 00:16:38 +00:00
Gerald Pfeifer
f3ccfd840c * doc/service.texi (service directory): Update URL.
From-SVN: r151153
2009-08-28 00:01:08 +00:00
GCC Administrator
fa31535b55 Daily bump.
From-SVN: r151134
2009-08-27 00:16:27 +00:00
Anatoly Sokolov
3b0adad957 invoke.texi (AVR Options): Remove documentation of -minit-stack switch.
* doc/invoke.texi (AVR Options): Remove documentation of -minit-stack
	switch.

From-SVN: r151131
2009-08-27 01:04:20 +04:00
Jonathan Wakely
78c579f5db re PR libstdc++/41005 ([C++0x] Unable to link fstream open and ctor with std::string argument.)
2009-08-26  Jonathan Wakely  <jwakely.gcc@gmail.com>

	PR libstdc++/41005
	* configure.ac: Bump libtool_VERSION to 6:13:0.
	* configure: Regenerate.
	* src/Makefile.am: Compile fstream-inst.cc as C++0x.
	* src/Makefile.in: Regenerate.
	* config/abi/pre/gnu.ver: Add new symbols and disambiguate old ones.
	* testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.13 version.

From-SVN: r151127
2009-08-26 20:04:11 +01:00
GCC Administrator
f2ab6050d1 Daily bump.
From-SVN: r151110
2009-08-26 00:16:23 +00:00
Anatoly Sokolov
a7bb95a5aa re PR target/34412 (ICE in extract_insn, at recog.c:1990)
PR target/34412
	* config/avr/avr.c (expand_epilogue): Use correct QI mode frame
	pointer for tiny stack.

From-SVN: r151094
2009-08-25 23:03:53 +04:00
Paul Thomas
8853e45ee6 re PR fortran/41062 (ICE in gfc_trans_use_stmts, at fortran/trans-decl.c:3438)
2008-08-25  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/41062
        * trans-decl.c (gfc_trans_use_stmts):  Keep going through use
        list if symbol is not use associated.

2008-08-25  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/41062
        * gfortran.dg/use_only_4.f90: New test.

From-SVN: r151092
2009-08-25 18:54:58 +00:00
Steven G. Kargl
e3e4c3200c re PR libfortran/41157 (dtime not consistent in times reported)
2009-08-24  Steven G. Kargl  <kargl@gcc.gnu.org>

    PR fortran/41157
    * dtime.c (dtime_sub): Fix computing time increment.
    * time_1.h: Add <sys/types.h> header.  Use RUSAGE_SELF macro instead
    of a hardcoded 0.

From-SVN: r151073
2009-08-25 03:30:25 +00:00
GCC Administrator
452f1dde96 Daily bump.
From-SVN: r151067
2009-08-25 00:16:37 +00:00
Richard Guenther
eaa34b960c re PR middle-end/41094 (Erroneous optimization of pow() with -ffast-math)
2009-08-24  Richard Guenther  <rguenther@suse.de>

	PR middle-end/41094
	* builtins.c (fold_builtin_pow): Fold pow(pow(x,y),z) to
	pow(x,y*z) only if x is nonnegative.

	* gcc.dg/torture/pr41094.c: New testcase.
	* gcc.dg/torture/builtin-power-1.c: Adjust.
	* gcc.dg/builtins-10.c: Likewise.

From-SVN: r151051
2009-08-24 09:52:03 +00:00
GCC Administrator
791749ce04 Daily bump.
From-SVN: r151041
2009-08-24 00:16:39 +00:00
Uros Bizjak
ecfca7d10c * config/i386.md (*sibcall_value_pop_1): Fix typo.
From-SVN: r151032
2009-08-23 14:47:57 +02:00
Uros Bizjak
bfed70ad5c re PR target/40718 (Invalid code produced with -foptimize-sibling-calls)
PR target/40718
	* config/i386/i386.c (*call_pop_1): Disable for sibling calls.
	(*call_value_pop_1): Ditto.
	(*sibcall_pop_1): New insn pattern.
	(*sibcall_value_pop_1): Ditto.

testsuite/ChangeLog:

	PR target/40718
	* gcc.target/i386/pr40718.c: New test.

From-SVN: r151030
2009-08-23 14:37:53 +02:00
GCC Administrator
8d27698831 Daily bump.
From-SVN: r151019
2009-08-23 00:16:46 +00:00
GCC Administrator
1ce98d46dc Daily bump.
From-SVN: r151007
2009-08-22 00:16:42 +00:00
Jakub Jelinek
964c8e25cc re PR c++/41131 (non-lvalue in unary `&' wrongly accepted)
PR c++/41131
	* tree.c (lvalue_p_1) <case CONST_DECL>: Return clk_none if
	not TREE_STATIC.

	* g++.dg/expr/unary3.C: New test.

From-SVN: r150986
2009-08-21 09:10:36 +02:00
GCC Administrator
516a319d6e Daily bump.
From-SVN: r150981
2009-08-21 00:16:56 +00:00
Thomas Koenig
84f8f6942c re PR fortran/40962 (Conversion problem for f-allocatable -> cptr -> fptr -> f-allocatable)
2009-08-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/40962
	* iso_c_binding.c (c_f_pointer_u0):  Multiply stride by
	previous stride.

2009-08-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/40962
	* c_f_pointer_tests_4.f90:  New test.

From-SVN: r150975
2009-08-20 20:42:38 +00:00
Andreas Krebbel
5a6ac0b1f0 s390.c (Z10_PREDICT_DISTANCE): New macro.
2009-08-20  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.c (Z10_PREDICT_DISTANCE): New macro.
	(s390_z10_fix_long_loop_prediction): New function.
	(s390_z10_optimize_cmp): INSN walk moved to callee - s390_reorg.
	(s390_reorg): Walk over the INSNs and invoke
	s390_z10_fix_long_loop_prediction and s390_z10_optimize_cmp.

From-SVN: r150956
2009-08-20 09:28:25 +00:00
GCC Administrator
7c87e7ef1c Daily bump.
From-SVN: r150949
2009-08-20 00:16:31 +00:00
Jakub Jelinek
dafa64b680 re PR middle-end/41123 (ICE in expand_expr_real_1)
PR middle-end/41123
	* expr.c (expand_expr_real_1) <normal_inner_ref>: Handle all kinds
	of CONCAT, not just bitpos 0 bitsize size of the whole CONCAT.

	* gcc.dg/pr41123.c: New test.

From-SVN: r150947
2009-08-20 00:52:11 +02:00
Tobias Burnus
583f5815be re PR fortran/41102 (Ease error checking of included files located in the SYSTEM_INCLUDE_DIR/ending in .h)
2009-08-19  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41102
        omp_lib.h.in: Fix -std=f95 errors.

From-SVN: r150933
2009-08-19 09:11:43 +02:00
GCC Administrator
aaeae88451 Daily bump.
From-SVN: r150924
2009-08-19 00:16:46 +00:00
Alexandre Oliva
afe674379c compare-debug: Don't fail just because of .eh_frame differences.
* compare-debug: Don't fail just because of .eh_frame
differences.  Drop .eh_frame relocations too.

From-SVN: r150902
2009-08-18 19:46:20 +00:00
H.J. Lu
526ec7713c pr41011.f: Removed.
2009-08-18  H.J. Lu  <hongjiu.lu@intel.com>

	* gfortran.dg/pr41011.f: Removed.

From-SVN: r150879
2009-08-18 09:48:04 -07:00
Jakub Jelinek
f5e05b9552 re PR target/40971 (ICE in memory_address)
PR target/40971
	* config/rs6000/rs6000.c (rs6000_legitimize_address): For
	[DT][FDI]mode ensure the offset isn't 4/8/12 bytes below 0x8000.

	* gcc.dg/pr40971.c: New test.

From-SVN: r150870
2009-08-18 13:43:16 +02:00
GCC Administrator
9cfa50655c Daily bump.
From-SVN: r150865
2009-08-18 00:16:38 +00:00
Dodji Seketeli
8a2bec30c3 Unbreak testsuite/gcc.dg/debug/dwarf2/inline2.c
From-SVN: r150833
2009-08-17 12:04:21 +02:00
GCC Administrator
c68311b706 Daily bump.
From-SVN: r150819
2009-08-17 00:16:29 +00:00
H.J. Lu
612a2aaed1 Backport PRs 40866, 40934, 40957, 40964, 40991, 40995, 41006, 41008, 41011, 41047 and more
2009-08-16  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-08-14  Janus Weil  <janus@gcc.gnu.org>

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

	2009-08-14  Paolo Bonzini  <bonzini@gnu.org>

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

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

	PR fortran/40995
	* gfortran.dg/intrinsic_4.f90: New.

	2009-08-13  Richard Guenther  <rguenther@suse.de>

	PR middle-end/41047
	* gcc.dg/tree-ssa/ssa-ccp-27.c: New testcase.

	2009-08-12  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/41011
	* gfortran.dg/pr41011.f: New testcase.

	2009-08-10  Richard Guenther  <rguenther@suse.de>

	PR middle-end/41006
	* gcc.c-torture/compile/pr41006-1.c: New testcase.
	* gcc.c-torture/compile/pr41006-2.c: Likewise.

	2009-08-10  Dodji Seketeli  <dodji@redhat.com>

	PR c++/40866
	* g++.dg/expr/stmt-expr-1.C: New test.

	2009-08-09  Ira Rosen  <irar@il.ibm.com>

	PR tree-optimization/41008
	* gcc.dg/vect/O1-pr41008.c: New test.

	2009-08-08  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/40991
	* g++.dg/torture/pr40991.C: New testcase.

	2009-08-06  Uros Bizjak  <ubizjak@gmail.com>
		    H.J. Lu  <hongjiu.lu@intel.com>

	PR target/40957
	* gcc.target/i386/pr40957.c: New test.

	2009-08-06  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/40964
	* gcc.c-torture/compile/pr40964.c: New testcase.

From-SVN: r150812
2009-08-16 13:23:57 -07:00
Paul Thomas
9e890a553d re PR fortran/40847 (segfault & bogus warning)
2009-08-16  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/40847
	* iresolve.c (gfc_resolve_transfer): Correct error in 'mold'
	character length for case where length expresson is NULL.

2009-08-16  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/40847
	* gfortran.dg/transfer_resolve_1.f90 : New test.

From-SVN: r150810
2009-08-16 20:04:40 +00:00
Uros Bizjak
95feb896a7 backport: re PR target/41019 (Vector conditional move produces wrong code with -O3.)
Backport from mainline:
	2009-08-14  Uros Bizjak  <ubizjak@gmail.com>

	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:

	Backport from mainline:
	2009-08-14  Uros Bizjak  <ubizjak@gmail.com>

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

From-SVN: r150809
2009-08-16 21:34:49 +02:00
Dodji Seketeli
7aa575b2ea 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: r150797
2009-08-16 11:07:40 +02:00
GCC Administrator
ded6e54c22 Daily bump.
From-SVN: r150794
2009-08-16 00:16:39 +00:00
GCC Administrator
301e738fa4 Daily bump.
From-SVN: r150785
2009-08-15 00:16:35 +00:00
GCC Administrator
a71a21dfa0 Daily bump.
From-SVN: r150729
2009-08-14 00:16:55 +00:00
Uros Bizjak
e4e9e32692 re PR target/8603 ([Alpha] s?addl pattern doesn't work)
PR target/8603
	* config/alpha/alpha.md (addsi3): Remove expander.
	(addsi3): Rename from *addsi3_internal insn pattern.
	(subsi3): Remove expander.
	(subsi3): Rename from *subsi3_internal insn pattern.

From-SVN: r150723
2009-08-13 20:57:15 +02:00
Janis Johnson
5b3551c7a3 re PR c/41046 (decNumber leaves printf call in libgcc)
PR c/41046
	* decCommon.c ( decFloatShow): Define function only for DECCHECK
	or DECTRACE.

From-SVN: r150721
2009-08-13 16:58:06 +00:00
Andrey Belevantsev
ba675ba19a [multiple changes]
2009-08-12  Andrey Belevantsev  <abel@ispras.ru>

    PR rtl-optimization/41033
    * alias.c (nonoverlapping_component_refs_p): Punt if strict aliasing is disabled.

2009-08-12  Richard Guenther  <rguenther@suse.de>

    PR rtl-optimization/41033
    * gcc.dg/pr41033.c: New test.

From-SVN: r150713
2009-08-13 10:28:28 +04:00
GCC Administrator
537514a7d3 Daily bump.
From-SVN: r150711
2009-08-13 00:17:01 +00:00
Dodji Seketeli
188c747e11 re PR debug/40990 (bad .debug_pubnames entry from gcj)
Fix PR debug/40990

	PR debug/40990
	* lang.c (put_decl_node): Outputs different level of information
	depending on the verbosity level.

From-SVN: r150677
2009-08-12 11:02:17 +02:00
GCC Administrator
a4eaf75d60 Daily bump.
From-SVN: r150670
2009-08-12 00:16:49 +00:00
SUGIOKA Toshinobu
f5ab1cc690 backport: re PR target/41015 (SH: miscompilation for sh4-linux)
Backport from mainline:
	2009-08-10  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>

	PR target/41015
	* longlong.h [__sh__] (udiv_qrnnd): Add T register to clobber list.
	(sub_ddmmss): Likewise.

From-SVN: r150667
2009-08-11 22:36:56 +00:00
GCC Administrator
a0519aa3f2 Daily bump.
From-SVN: r150638
2009-08-11 00:16:26 +00:00
Andreas Tobler
94552f0e1a re PR bootstrap/41018 (bootstrap broken on FreeBSD powerpc)
2009-08-10  Andreas Tobler  <a.tobler@schweiz.org>

	PR bootstrap/41018
	* config/rs6000/freebsd.h: Define SVR4_ASM_SPEC. Adjust copyright
	year.

From-SVN: r150631
2009-08-10 20:22:22 +02:00
Kaveh R. Ghazi
c7894e2436 Backport:
2009-04-30  Adam Nemet  <anemet@caviumnetworks.com>

	* gcc.dg/ssp-1.c (__stack_chk_fail): Remove static.

From-SVN: r150628
2009-08-10 17:35:05 +00:00
GCC Administrator
2983a9bc9e Daily bump.
From-SVN: r150602
2009-08-10 00:16:34 +00:00
Richard Guenther
a93d87a765 re PR tree-optimization/41016 (ICE in build_int_cst_wide with -O1)
2009-08-09  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/41016
	* tree-ssa-ifcombine.c (get_name_for_bit_test): Fix tuplification
	bug.
	(operand_precision): Remove.
	(integral_operand_p): Likewise.
	(recognize_single_bit_test): Adjust.

	* gcc.c-torture/compile/pr41016.c: New testcase.

From-SVN: r150598
2009-08-09 21:39:19 +00:00
GCC Administrator
50f7d41f57 Daily bump.
From-SVN: r150583
2009-08-09 00:16:54 +00:00
Laurent GUERBY
d4aef082c0 impdef.a: Tweak timing constants.
2009-08-08  Laurent GUERBY  <laurent@guerby.net>

        * ada/acats/support/impdef.a: Tweak timing constants. Add
        Long_Minimum_Task_Switch and Long_Switch_To_New_Task.
        * ada/acats/tests/c9/c940005.a: Use new timing constants.
        * ada/acats/tests/c9/c940007.a: Likewise.
        * ada/acats/tests/c9/c94001c.ada: Likewise.
        * ada/acats/tests/c9/c94006a.ada: Likewise.
        * ada/acats/tests/c9/c94008c.ada: Likewise.
        * ada/acats/tests/c9/c951002.a: Likewise.
        * ada/acats/tests/c9/c954a01.a: Likewise.
        * ada/acats/tests/c9/c96001a.ada: Likewise.
        * ada/acats/tests/c9/c97307a.ada: Likewise.

From-SVN: r150581
2009-08-08 18:30:24 +00:00
GCC Administrator
ad1213f3b8 Daily bump.
From-SVN: r150576
2009-08-08 00:16:41 +00:00
Dodji Seketeli
19814a6bb0 re PR c++/39987 (Rejects default argument that is a template via access failure)
2009-08-07  Dodji Seketeli  <dodji@redhat.com>

	PR c++/39987
	* gcc/testsuite/g++.dg/overload/defarg4.C: Oops, I foorgot to add this.

From-SVN: r150569
2009-08-07 15:15:43 +02:00
GCC Administrator
54f623ab41 Daily bump.
From-SVN: r150549
2009-08-07 00:16:56 +00:00
Jason Merrill
0fec384489 re PR c++/40948 (ICE in lower_stmt, at gimple-low.c:408)
PR c++/40948
	* init.c (build_vec_init): Evaluate the initializer before
	starting the initialization try block.

From-SVN: r150533
2009-08-06 13:22:19 -04:00
Joseph Myers
edebb4df8c * es.po: Update.
From-SVN: r150516
2009-08-06 12:03:08 +01:00
GCC Administrator
8abe6086ce Daily bump.
From-SVN: r150507
2009-08-06 00:16:31 +00:00
Uros Bizjak
da8e1be4ba re PR target/40906 (Wrong code generated for push of long double)
PR target/40906
	* config/i386/i386.c (ix86_split_long_move): Fix push of multi-part
	source operand.

testsuite/ChangeLog:

	PR target/40906
	* gcc.target/i386/pr40906-1.c: New test.
	* gcc.target/i386/pr40906-2.c: Ditto.
	* gcc.target/i386/pr40906-3.c: Ditto.


Co-Authored-By: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>

From-SVN: r150497
2009-08-05 20:04:42 +02:00
Richard Earnshaw
634fa58f77 * arm.md (movdi2): Copy non-reg values to DImode registers.
From-SVN: r150494
2009-08-05 16:11:25 +00:00
H.J. Lu
62964ed384 Correct date.
From-SVN: r150490
2009-08-05 07:59:36 -07:00
H.J. Lu
fcb9d7e164 backport: [multiple changes]
2009-07-28  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-07-30  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/40570
	* gcc.c-torture/compile/pr40570.c: New test.

	2009-07-29  Richard Guenther  <rguenther@suse.de>

	PR c++/40834
	* g++.dg/torture/pr40834.C: New testcase.

From-SVN: r150487
2009-08-05 07:45:15 -07:00
Jakub Jelinek
4c0fa9f589 re PR rtl-optimization/40924 (miscompiles with -O3 (seemingly related to attribute may_alias))
PR rtl-optimization/40924
	* dse.c (canon_address): Before calling cselib_expand_value_rtx
	make sure canon_rtx (mem_address) isn't simpler than
	canon_rtx (expanded_mem_address).

	* g++.dg/torture/pr40924.C: New test.

From-SVN: r150484
2009-08-05 14:54:21 +02:00
Jerry DeLisle
1df75b8c55 re PR fortran/40853 (I/O: Namelist read error)
2009-08-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/40853
	* gfortran.dg/namelist_40.f90: Update error output.
	* gfortran.dg/namelist_47.f90: Update error output.
	* gfortran.dg/namelist_58.f90: New test.

From-SVN: r150477
2009-08-05 03:17:52 +00:00
Jerry DeLisle
451a2c55e3 re PR fortran/40853 (I/O: Namelist read error)
2009-08-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/40853
	* io/list_read.c (nml_get_obj_data): Do not set nl
	pointer to first_nl if nl->next is NULL.

From-SVN: r150476
2009-08-05 03:15:18 +00:00
GCC Administrator
0b7b30ff0a Daily bump.
From-SVN: r150473
2009-08-05 00:16:33 +00:00
Dodji Seketeli
0a41d310ba re PR c++/39987 (Rejects default argument that is a template via access failure)
2009-08-04  Dodji Seketeli  <dodji@redhat.com>

gcc/cp/ChangeLog:
	PR c++/39987
	* pt.c (tsubst_default_argument): Let access checks of the
	default argument happen in the context of the current function.

gcc/testsuite/ChangeLog:
	PR c++/39987
	* g++.dg/overload/defarg4.C: New test.

From-SVN: r150468
2009-08-04 21:59:48 +02:00
Joseph Myers
b02ee3cdb2 * es.po: Update.
From-SVN: r150459
2009-08-04 15:57:43 +01:00
Dodji Seketeli
e1e55b4816 re PR debug/39706 (namespaces represented incorrectly in debug_pubnames)
2009-08-04  Dodji Seketeli  <dodji@redhat.com>

gcc/cp/ChangeLog:
	PR debug/39706
	* error.c (lang_decl_name): Print qualified names for decls
	in  namespace scope.

gcc/testsuite/ChangeLog:
	PR debug/39706
	* g++.dg/debug/dwarf2/pubnames-1.C: New test.

From-SVN: r150453
2009-08-04 14:28:27 +02:00
Jason Merrill
d1a8dfc009 re PR c++/40948 (ICE in lower_stmt, at gimple-low.c:408)
PR c++/40948
	* init.c (build_vec_init): Look through a TARGET_EXPR around a
	CONSTRUCTOR.


Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r150395
2009-08-03 22:26:34 -04:00
GCC Administrator
47d31402e9 Daily bump.
From-SVN: r150392
2009-08-04 00:16:52 +00:00
Janis Johnson
808deb18a4 re PR c/39902 (x * 1.0DF gets wrong value)
PR c/39902
	* simplify-rtx.c (simplify_binary_operation_1): Disable
	simplifications for decimal float operations.
	* gcc.target/powerpc/pr39902-2.c: New test.

From-SVN: r150384
2009-08-03 21:43:32 +00:00
Jakub Jelinek
23e6696f9f re PR middle-end/40943 (Uninitialized warning is missed when dereferencing uninitialized pointers)
PR middle-end/40943
	* tree-ssa.c (warn_uninitialized_var): Even on LHS warn for
	operand of INDIRECT_REF.

	* gcc.dg/uninit-6.c: Re-add XFAIL.
	* gcc.dg/uninit-6-O0.c: Likewise.
	* gcc.dg/uninit-pr40943.c: New test.

From-SVN: r150380
2009-08-03 21:27:32 +02:00
Uros Bizjak
30a9629875 alpha.c (alpha_legitimate_constant_p): Reject CONST constants referencing TLS symbols.
* config/alpha/alpha.c (alpha_legitimate_constant_p): Reject CONST
	constants referencing TLS symbols.

From-SVN: r150373
2009-08-03 18:09:19 +02:00
GCC Administrator
e9b193b8fb Daily bump.
From-SVN: r150363
2009-08-03 00:16:41 +00:00
GCC Administrator
5bfd26dfc7 Daily bump.
From-SVN: r150338
2009-08-02 00:16:35 +00:00
GCC Administrator
ff4cca3eab Daily bump.
From-SVN: r150322
2009-08-01 00:16:32 +00:00
GCC Administrator
5eb7653c28 Daily bump.
From-SVN: r150285
2009-07-31 00:16:41 +00:00
Janis Johnson
6105babd70 re PR c/39902 (x * 1.0DF gets wrong value)
PR c/39902
	* gcc.dg/dfp/pr39902.c: Fix typos in constant suffixes.

From-SVN: r150266
2009-07-30 17:08:09 +00:00
Andreas Krebbel
87da295a83 s390.c (override_options): Default max-unrolled-insns to 100 for z10 tuning.
2009-07-30  Andreas Krebbel  <krebbel1@de.ibm.com>
	
	* config/s390/s390.c (override_options): Default
	max-unrolled-insns to 100 for z10 tuning.

From-SVN: r150259
2009-07-30 12:33:16 +00:00
Andreas Krebbel
7b1ec08bf3 constraints.md (ZQ, ZR, ZS, ZT): New constraints.
2009-07-30  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/constraints.md (ZQ, ZR, ZS, ZT): New constraints.
	(U, W): Constraints are now deprecated and will be removed if we
	run out of letters.	
	* config/s390/s390.md (U, W): Replaced with ZQZR, ZSZT throughout
	the file.
	("prefetch"): Add the stcmh instruction for prefetching.
	* config/s390/s390.c (s390_symref_operand_p): Function moved. No
	changes.
	(s390_short_displacement): Return always true if compiling for
	machines not providing the long displacement facility.
	(s390_mem_constraint): Support the new constraint letter Z.
	(s390_check_qrst_address): New function.

From-SVN: r150258
2009-07-30 12:32:19 +00:00
Uros Bizjak
06ce9d7f21 re PR target/40577 (ICE on valid code: in extract_insn)
PR target/40577
	* config/alpha/alpha.c (alpha_expand_unaligned_store): Convert src
	to DImode when generating insq_le insn.

From-SVN: r150249
2009-07-30 09:45:26 +02:00
GCC Administrator
f267a58d64 Daily bump.
From-SVN: r150232
2009-07-30 00:16:58 +00:00
Joseph Myers
f3be37eb37 * sv.po: Update.
From-SVN: r150226
2009-07-29 21:44:42 +01:00
Tobias Burnus
cc1d5eecc7 re PR fortran/40851 ([4.3/4.4/4.5] problem with deallocation of pointers)
2009-07-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/40851
        * resolve.c (resolve_symbol): Do not initialize pointer
        * derived-types.
        * trans-decl.c (init_intent_out_dt): Ditto.
        (generate_local_decl): No need to set attr.referenced for DT pointers.

2009-07-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/40851
        * gfortran.dg/derived_init_3.f90: New test.

From-SVN: r150203
2009-07-29 11:35:15 +02:00
GCC Administrator
2263bee196 Daily bump.
From-SVN: r150191
2009-07-29 00:16:40 +00:00
H.J. Lu
f8e63c1a58 backport: [multiple changes]
2009-07-28  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-07-27  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/40848
	* gfortran.dg/altreturn_7.f90: New.

	2009-07-27  Simon Baldwin  <simonb@google.com>

	PR testsuite/40829
	* gcc.dg/vect/no-scevccp-noreassoc-outer-2.c: Extended array 'a'
	so that indexing no longer runs off array end.

	2009-07-24  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/40822
	* gfortran.dg/char_length_16.f90: New.

From-SVN: r150169
2009-07-28 09:51:19 -07:00
Jakub Jelinek
ed74509c15 re PR fortran/40878 (!$omp collapse(m) with non-constant m should give error)
PR fortran/40878
	* openmp.c (gfc_match_omp_clauses): Use gfc_error_now instead of
	gfc_error to diagnose invalid COLLAPSE arguments.

	* gfortran.dg/gomp/pr40878-1.f90: New test.
	* gfortran.dg/gomp/pr40878-2.f90: New test.

From-SVN: r150167
2009-07-28 18:33:08 +02:00
Jakub Jelinek
4981977244 re PR testsuite/40891 (Revision 150143 failed gcc.dg/cdce[12].c)
PR testsuite/40891
	* gcc.dg/cdce1.c: Adjust note line number.
	* gcc.dg/cdce2.c: Likewise.

From-SVN: r150164
2009-07-28 18:11:21 +02:00
Jan Beulich
6adecadfa0 avx-vtestpd-1.c: Add -DNEED_IEEE754_DOUBLE.
2009-07-28  Jan Beulich  <jbeulich@novell.com>

	* gcc.target/i386/avx-vtestpd-1.c: Add -DNEED_IEEE754_DOUBLE.
	* gcc.target/i386/avx-vtestpd-2.c: Likewise.
	* gcc.target/i386/avx-vtestpd-256-1.c: Likewise.
	* gcc.target/i386/avx-vtestpd-256-2.c: Likewise.
	* gcc.target/i386/avx-vtestpd-256-3.c: Likewise.
	* gcc.target/i386/avx-vtestpd-3.c: Likewise.
	* gcc.target/i386/avx-vtestps-1.c: Add -DNEED_IEEE754_FLOAT.
	* gcc.target/i386/avx-vtestps-2.c: Likewise.
	* gcc.target/i386/avx-vtestps-256-1.c: Likewise.
	* gcc.target/i386/avx-vtestps-256-2.c: Likewise.
	* gcc.target/i386/avx-vtestps-256-3.c: Likewise.
	* gcc.target/i386/avx-vtestps-3.c: Likewise.
	* gcc.target/i386/m128-check.h (union ieee754_float):  Put into
	#ifdef NEED_IEEE754_FLOAT conditional.
	(union ieee754_double):  Put into #ifdef NEED_IEEE754_DOUBLE
	conditional.

From-SVN: r150144
2009-07-28 07:01:40 +00:00
Jan Beulich
4ec8dbfdaf bitfield2.C: Add -mno-ms-bitfields for i?86-*-netware.
2009-07-28  Jan Beulich  <jbeulich@novell.com>

	* g++.dg/ext/bitfield2.C: Add -mno-ms-bitfields for
	i?86-*-netware.
	* g++.dg/ext/bitfield3.C: Likewise.
	* g++.dg/ext/bitfield4.C: Likewise.
	* g++.dg/ext/bitfield5.C: Likewise.
	* gcc.dg/bitfld-15.c: Likewise.
	* gcc.dg/bitfld-16.c: Likewise.
	* gcc.dg/bitfld-17.c: Likewise.
	* gcc.dg/bitfld-18.c: Likewise.
	* g++.old-deja/g++.jason/thunk2.C: Remove dg-bogus.
	* gcc.dg/20010912-1.c: Likewise.
	* gcc.dg/20021018-1.c: Likewise.
	* gcc.dg/20030213-1.c: Likewise.
	* gcc.dg/20030225-1.c: Likewise.
	* gcc.dg/20030708-1.c: Likewise.
	* gcc.dg/20050321-2.c: Likewise.
	* gcc.dg/cdce1.c: Don't pass -lm for *-*-netware*.
	* gcc.dg/cdce2.c: Likewise.
	* gcc.target/i386/pr37248-2.c: Don't test on default_packet
	targets.
	* gcc.target/i386/pr37248-3.c: Likewise.

From-SVN: r150143
2009-07-28 06:56:49 +00:00
GCC Administrator
b8f520e9ec Daily bump.
From-SVN: r150138
2009-07-28 00:16:38 +00:00
John David Anglin
fbcf58dd8e pa.c (compute_zdepwi_operands): Limit deposit length to 32 - lsb.
* pa.c (compute_zdepwi_operands): Limit deposit length to 32 - lsb.
	Cast "1" to unsigned HOST_WIDE_INT.
	(compute_zdepdi_operands): Limit maximum length to 64 bits.  Limit
	deposit length to the maximum length - lsb.  Extend length if
	HOST_BITS_PER_WIDE_INT is 32.

From-SVN: r150124
2009-07-27 15:26:05 +00:00
GCC Administrator
f274dc27fc Daily bump.
From-SVN: r150102
2009-07-27 00:16:40 +00:00
Simon Martin
4347646ec2 re PR c++/40749 (g++ doesnt report missing return if return is of type const <type>)
gcc/cp/

2009-07-26  Simon Martin  <simartin@users.sourceforge.net>

	PR c++/40749
	* decl.c (grokdeclarator): Do not set TREE_NO_WARNING for functions
	with a qualified return type.

gcc/testsuite/

2007-07-26  Simon Martin  <simartin@users.sourceforge.net>

	PR c++/40749
	* g++.dg/warn/Wreturn-type-6.C: New test.

From-SVN: r150099
2009-07-26 16:05:22 +00:00
GCC Administrator
2acd0e1b57 Daily bump.
From-SVN: r150094
2009-07-26 00:16:41 +00:00
Mark Loeser
3d917d8ca9 re PR other/40010 (Parallel make issue when building man pages)
gcc/
2009-07-25  Mark Loeser  <mark@halcy0n.com>

	PR build/40010
	* Makefile.in (gcc.pod): Depend on gcc-vers.texi.

From-SVN: r150085
2009-07-25 17:53:35 +00:00
Joseph Myers
eda61e3baa * nl.po: Update.
From-SVN: r150084
2009-07-25 16:09:59 +01:00
Uros Bizjak
dd90d850eb target-supports.exp (check_effective_target_static): New procedure.
* lib/target-supports.exp (check_effective_target_static): New
	procedure.
	* gcc.dg/special/gcsec-1.c (dg-options): Use -static only when
	supported.
	* g++.old-deja/g++.law/weak.C: Require static effective target.

From-SVN: r150081
2009-07-25 15:54:21 +02:00
GCC Administrator
66d82eab17 Daily bump.
From-SVN: r150071
2009-07-25 00:16:30 +00:00
Jason Merrill
fcdcc223c9 Core issue 702
Core issue 702
	* call.c (compare_ics): Give list-initialization of std::init_list
	priority over conversion to scalar, too.

	Core issue 934
	* call.c (reference_binding): Implement binding to { }.
	(initialize_reference): Binding temporary to non-const && is fine.
	* decl.c (grok_reference_init): Remove error for CONSTRUCTOR.

From-SVN: r150061
2009-07-24 14:06:08 -04:00
Steven G. Kargl
befdc77609 re PR fortran/40727 ([4.4] ICE gfc_simplify_dcmplx(): Bad type when passing BT_COMPLEX to cmplx)
2009-07-23  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/40727
        * fortran/check.c (gfc_check_cmplx, gfc_check_dcmplx): Add check that
        the optional second argument isn't of COMPLEX type.

2009-07-23  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/40727
        * gfortran.dg/intrinsic_cmplx.f90: New test.

From-SVN: r150036
2009-07-24 00:28:43 +00:00
GCC Administrator
395cafac7b Daily bump.
From-SVN: r150034
2009-07-24 00:16:39 +00:00
Joseph Myers
c14602c418 be.po, [...]: Update.
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, id.po, ja.po,
	nl.po, sv.po, tr.po, uk,po, vi.po, zh_CN.po, zh_TW.po: Update.

From-SVN: r150027
2009-07-23 20:24:48 +01:00
Joseph Myers
7d8d627142 be.po, [...]: Update.
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
	nl.po, ru.po, sr.po, sv.po, tr.po, zh_CN.po, zh_TW.po: Update.

From-SVN: r150026
2009-07-23 20:24:17 +01:00
H.J. Lu
e2fb903f64 Backport PRs 40330, 40357, 40496, 40662, 40676, 40692, 40705, 40753, 40799
2009-07-23  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-07-22  Richard Guenther  <rguenther@suse.de>

	PR c++/40799
	* g++.dg/lookup/using21.C: New testcase.

	2009-07-19  Jan Hubicka  <jh@suse.cz>

	PR tree-optimization/40676
	* gcc.c-torture/compile/pr40676.c: New testcase.

	2009-07-15  Richard Guenther  <rguenther@suse.de>

	PR middle-end/40753
	* gcc.c-torture/compile/pr40753.c: New testcase.

	2009-07-14  Dodji Seketeli  <dodji@redhat.com>

	PR debug/40705
	* g++.dg/debug/dwarf2/typedef1.C: New test.

	PR c++/40357
	* g++.dg/other/typedef3.C: New test.

	2009-07-10  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/40496
	* g++.dg/opt/pr40496.C: New testcase.

	2009-07-09  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/40692
	* gcc.c-torture/compile/pr40692.c: New test.

	2009-07-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/40330
	PR libfortran/40662
	* gfortran.dg/fmt_cache_1.f: New test.

From-SVN: r150020
2009-07-23 10:50:56 -07:00
Matthias Klose
d77e46b630 aotcompile.py.in: Use hashlib instead of md5 if available.
2009-07-23  Matthias Klose  <doko@ubuntu.com>

        * contrib/aotcompile.py.in: Use hashlib instead of md5 if available.

From-SVN: r150011
2009-07-23 14:27:31 +00:00
Uros Bizjak
150fa3afdb re PR target/40832 (gfortran 4.4.0 generates invalid .s file on solaris-x86 using -march=k8 for 130.socorro)
PR target/40832
	* config/i386/i386.c (output_387_ffreep): Rewrite to return
	ASM_SHORT instead of .word.
	* config/i386/i386.md (*tls_global_dynamic_64): Use ASM_SHORT
	instead of .word in asm template.

From-SVN: r149995
2009-07-23 12:22:43 +02:00
GCC Administrator
9194504bce Daily bump.
From-SVN: r149968
2009-07-23 00:16:52 +00:00
Kaz Kojima
5cfa2dd468 backport: re PR rtl-optimization/40710 (Linux kernel miscompiled for sh4-linux)
Backport from mainline:
	2009-07-15  Eric Botcazou  <ebotcazou@adacore.com>

	PR rtl-optimization/40710
	* resource.c (mark_target_live_regs): Reset DF problem to LR.

From-SVN: r149965
2009-07-22 23:22:24 +00:00
Richard Guenther
b145a595e1 re PR tree-optimization/40321 (internal compiler error: in compute_antic, at tree-ssa-pre.c:2501)
2009-07-22  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/40321
	* tree-ssa-pre.c (add_to_exp_gen): Also add names defined by
	PHI nodes to the maximal set.
	(make_values_for_phi): Add PHI arguments to the maximal set.
	(execute_pre): Dump PHI_GEN and the maximal set.

	* gcc.c-torture/compile/pr40321.c: New testcase.
	* g++.dg/torture/pr40321.C: Likewise.

From-SVN: r149935
2009-07-22 14:45:21 +00:00
Paolo Carlini
3293a63a60 valarray (valarray<>::operator=(initializer_list<>)): Return *this.
2009-07-22  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/std/valarray (valarray<>::operator=(initializer_list<>)):
	Return *this.

From-SVN: r149922
2009-07-22 10:25:53 +00:00
Jakub Jelinek
b29543a67d BASE-VER: Set to 4.4.2.
* BASE-VER: Set to 4.4.2.
	* DEV-PHASE: Set to prerelease.

From-SVN: r149920
2009-07-22 12:19:51 +02:00
GCC Administrator
e901598178 Mark as release
From-SVN: r149915
2009-07-22 07:32:40 +00:00
GCC Administrator
958ff22247 Mark ChangeLog
From-SVN: r149914
2009-07-22 07:32:32 +00:00
GCC Administrator
fbd86fc587 Mark ChangeLog
From-SVN: r149913
2009-07-22 07:32:24 +00:00
GCC Administrator
e8fc5a269c Mark ChangeLog
From-SVN: r149912
2009-07-22 07:32:16 +00:00
GCC Administrator
5903c32ce1 Mark ChangeLog
From-SVN: r149911
2009-07-22 07:32:07 +00:00
GCC Administrator
e169df1f0d Mark ChangeLog
From-SVN: r149910
2009-07-22 07:32:00 +00:00
GCC Administrator
767aff80c5 Mark ChangeLog
From-SVN: r149909
2009-07-22 07:31:53 +00:00
GCC Administrator
c7ba07a38c Mark ChangeLog
From-SVN: r149908
2009-07-22 07:31:44 +00:00
GCC Administrator
92ffc7730c Mark ChangeLog
From-SVN: r149907
2009-07-22 07:31:36 +00:00
GCC Administrator
4f0e7d0708 Mark ChangeLog
From-SVN: r149906
2009-07-22 07:31:26 +00:00
GCC Administrator
5c21d65b47 Mark ChangeLog
From-SVN: r149905
2009-07-22 07:31:18 +00:00
GCC Administrator
54c78b74d6 Mark ChangeLog
From-SVN: r149904
2009-07-22 07:31:09 +00:00
GCC Administrator
7180dd1ef0 Mark ChangeLog
From-SVN: r149903
2009-07-22 07:31:01 +00:00
GCC Administrator
2336fbe595 Mark ChangeLog
From-SVN: r149902
2009-07-22 07:30:50 +00:00
GCC Administrator
38c130bb3d Mark ChangeLog
From-SVN: r149901
2009-07-22 07:30:42 +00:00
GCC Administrator
601e15bf7f Mark ChangeLog
From-SVN: r149900
2009-07-22 07:30:34 +00:00
GCC Administrator
bc127c1e08 Mark ChangeLog
From-SVN: r149899
2009-07-22 07:30:27 +00:00
GCC Administrator
74d12ccfb5 Mark ChangeLog
From-SVN: r149898
2009-07-22 07:30:15 +00:00
GCC Administrator
dc7992c382 Mark ChangeLog
From-SVN: r149897
2009-07-22 07:30:06 +00:00
GCC Administrator
eb89fbf295 Mark ChangeLog
From-SVN: r149896
2009-07-22 07:29:58 +00:00
GCC Administrator
4f568b35c6 Mark ChangeLog
From-SVN: r149895
2009-07-22 07:29:51 +00:00
GCC Administrator
2369a48549 Mark ChangeLog
From-SVN: r149894
2009-07-22 07:29:42 +00:00
GCC Administrator
aefd89fdf0 Mark ChangeLog
From-SVN: r149893
2009-07-22 07:29:36 +00:00
GCC Administrator
74d7b86b21 Mark ChangeLog
From-SVN: r149892
2009-07-22 07:29:29 +00:00
GCC Administrator
d6a0da4f4c Mark ChangeLog
From-SVN: r149891
2009-07-22 07:29:23 +00:00
GCC Administrator
4fad317bfc Mark ChangeLog
From-SVN: r149890
2009-07-22 07:29:16 +00:00
GCC Administrator
ad94032979 Mark ChangeLog
From-SVN: r149889
2009-07-22 07:29:09 +00:00
GCC Administrator
11f0ae35a7 Mark ChangeLog
From-SVN: r149888
2009-07-22 07:28:53 +00:00
GCC Administrator
562f9af759 Mark ChangeLog
From-SVN: r149887
2009-07-22 07:28:47 +00:00
GCC Administrator
6b408cfabf Mark ChangeLog
From-SVN: r149886
2009-07-22 07:28:40 +00:00
GCC Administrator
e2db9b8237 Mark ChangeLog
From-SVN: r149885
2009-07-22 07:28:34 +00:00
GCC Administrator
0815e43693 Mark ChangeLog
From-SVN: r149884
2009-07-22 07:28:27 +00:00
GCC Administrator
8dfd90f5e5 Mark ChangeLog
From-SVN: r149883
2009-07-22 07:28:20 +00:00
GCC Administrator
99f19a5572 Mark ChangeLog
From-SVN: r149882
2009-07-22 07:28:15 +00:00
GCC Administrator
63ff04c7fe Mark ChangeLog
From-SVN: r149881
2009-07-22 07:28:08 +00:00
GCC Administrator
949e06f676 Mark ChangeLog
From-SVN: r149880
2009-07-22 07:28:02 +00:00
GCC Administrator
4ce93e249b Mark ChangeLog
From-SVN: r149879
2009-07-22 07:27:53 +00:00
GCC Administrator
a936715545 Mark ChangeLog
From-SVN: r149878
2009-07-22 07:27:47 +00:00
GCC Administrator
0907bad7f9 Mark ChangeLog
From-SVN: r149877
2009-07-22 07:27:37 +00:00
GCC Administrator
1ccf570184 Mark ChangeLog
From-SVN: r149876
2009-07-22 07:27:30 +00:00
GCC Administrator
32189a2495 Daily bump.
From-SVN: r149871
2009-07-22 00:16:36 +00:00
Jakub Jelinek
8315f63c79 re PR tree-optimization/40813 (ICE in gsi_insert_seq_nodes_after, at gimple-iterator.c:222)
PR tree-optimization/40813
	* tree-inline.c (copy_bb): Regimplify RHS after last stmt, not before
	it.

	* g++.dg/opt/inline15.C: New test.

From-SVN: r149858
2009-07-21 16:59:43 +02:00
Uros Bizjak
ddb5ae22bd * testsuite/ChangeLog: Bah. Fix wrong PR number.
From-SVN: r149849
2009-07-21 11:49:24 +02:00
Uros Bizjak
bbe9581aa4 * testsuite/ChangeLog: Fix pr40811.c test name.
From-SVN: r149848
2009-07-21 10:47:06 +02:00
Uros Bizjak
e36429e775 backport: re PR middle-end/39943 (wrong conversion from unsigned int to float)
Backport from mainline:
	2009-04-29  Richard Guenther  <rguenther@suse.de>
  
	PR target/39943
	* config/i386/i386.c (ix86_vectorize_builtin_conversion): Only
	allow conversion to signed integers.

testsuite/ChangeLog:

	PR target/40811
	* gcc.target/i386/pr39943.c: New test.

	Backport from mainline:
	2009-04-29  Richard Guenther  <rguenther@suse.de>

	PR target/39943
	* lib/target-supports.exp (check_effective_target_vect_uintfloat_cvt):
	New.
	(check_effective_target_vect_floatuint_cvt): Likewise.
	* gcc.dg/vect/slp-10.c: Adjust.
	* gcc.dg/vect/slp-11.c: Adjust.
	* gcc.dg/vect/slp-12b.c: Adjust.
	* gcc.dg/vect/slp-33.c: Adjust.
	* gcc.c-torture/compile/pr39943.c: New testcase.

From-SVN: r149847
2009-07-21 09:22:51 +02:00
GCC Administrator
ce4589d69a Daily bump.
From-SVN: r149841
2009-07-21 00:16:41 +00:00
Jakub Jelinek
59f5fd3a7b re PR tree-optimization/40792 (internal error in com_mpi.c at -O3 for gcc 4.4.0)
PR tree-optimization/40792
	* tree.c (build_function_type_skip_args): Remove bogus assert.

	* gcc.dg/pr40792.c: New test.

From-SVN: r149823
2009-07-20 16:39:32 +02:00
GCC Administrator
c5f98c727a Daily bump.
From-SVN: r149799
2009-07-20 00:16:24 +00:00
Janne Blomqvist
250c031677 re PR fortran/40714 (Fortran runtime error: Invalid argument)
2009-07-19  Janne Blomqvist  <jb@gcc.gnu.org>
	    Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/40714
	* gfortran.dg/eof_3.f90: New test.

Co-Authored-By: Jerry DeLisle <jvdelisle@gcc.gnu.org>

From-SVN: r149796
2009-07-19 23:22:37 +00:00
Janne Blomqvist
c7b55ab1c6 re PR fortran/40714 (Fortran runtime error: Invalid argument)
2009-07-19  Janne Blomqvist  <jb@gcc.gnu.org>
	    Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/40714
	* io/transfer.c (finalize_transfer): Set current_record to 0
	before returning in case of error.
	* io/open.c: Fix spelling in comment.

Co-Authored-By: Jerry DeLisle <jvdelisle@gcc.gnu.org>

From-SVN: r149795
2009-07-19 23:10:22 +00:00
GCC Administrator
30dc44715f Daily bump.
From-SVN: r149784
2009-07-19 00:16:38 +00:00
GCC Administrator
67fb1da1b3 Daily bump.
From-SVN: r149761
2009-07-18 00:16:29 +00:00
Jakub Jelinek
b367fd03b4 re PR c++/40780 (ICE in gimplify_conversion)
PR c++/40780
	* gimplify.c (gimplify_conversion): Don't change non-conversions into
	VIEW_CONVERT_EXPR.

	* g++.dg/template/ptrmem19.C: New test.

From-SVN: r149741
2009-07-17 12:45:40 +02:00
Kai Tietz
b2a58c49c9 configure.ac: Add rule for mingw targets to add -DGC_BUILD=1 to cflags.
2009-07-17  Kai Tietz  <kai.tietz@onevision.com>

        * configure.ac: Add rule for mingw targets to add -DGC_BUILD=1 to
        cflags.
        * configure: Regenerated.

From-SVN: r149738
2009-07-17 11:27:20 +02:00
GCC Administrator
b57fdc584e Daily bump.
From-SVN: r149729
2009-07-17 00:16:30 +00:00
GCC Administrator
c9d6b8a982 Daily bump.
From-SVN: r149699
2009-07-16 00:16:28 +00:00
Janis Johnson
0f15cc4a26 re PR libstdc++/40691 (bug in logical not operator for valarray used with slice)
PR libstdc++/40691
	* include/bits/valarray_after.h (_Expr::operator!): Fix return type.
	* testsuite/26_numerics/valarray/40691.cc: New test.

From-SVN: r149695
2009-07-15 21:07:07 +00:00
Jakub Jelinek
1dc02deefe * gcc.pot: Regenerate.
From-SVN: r149684
2009-07-15 13:39:06 +02:00
Jakub Jelinek
4ff803147c re PR middle-end/40747 (wrong code for int-is-in-range test at -O1 and above)
PR middle-end/40747
	* fold-const.c (fold_cond_expr_with_comparison): When folding
	< and <= to MIN, make sure the MIN uses the same type as the
	comparison's operands.

	* gcc.c-torture/execute/pr40747.c: New test.

From-SVN: r149681
2009-07-15 13:23:22 +02:00
Uros Bizjak
bb116e722e sse-recip-vec.c: Move arrays out of test function to enable vectorization.
* gcc.target/i386/sse-recip-vec.c: Move arrays out of test
	function to enable vectorization.
	* gcc.target/i386/sse2-lrint-vec.c: Ditto.
	* gcc.target/i386/sse2-lrintf-vec.c: Ditto.

From-SVN: r149658
2009-07-15 08:59:48 +02:00
GCC Administrator
f05cae0de4 Daily bump.
From-SVN: r149652
2009-07-15 00:16:29 +00:00
Jason Merrill
381da2d065 re PR c++/40740 (template-id forgotten with arg-dep lookup)
PR c++/40740
	* semantics.c (perform_koenig_lookup): Handle empty template args.

From-SVN: r149640
2009-07-14 14:35:13 -04:00
Jack Howarth
e92faa2b1b 20000804-1.c: skip for ilp32 on both i?86-*-darwin* and x86_64-*-darwin*.
2009-07-14  Jack Howarth  <howarth@bromo.med.uc.edu>

	* testsuite/gcc.c-torture/compile/20000804-1.c: skip for ilp32 on
	both i?86-*-darwin* and x86_64-*-darwin*.

From-SVN: r149633
2009-07-14 16:53:35 +00:00
GCC Administrator
ee9fa57cd4 Daily bump.
From-SVN: r149610
2009-07-14 00:16:30 +00:00
Benjamin Kosnik
6023e52fdf aggregate.cc: Remove xfail.
2009-07-13  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/29_atomics/atomic_address/cons/aggregate.cc: Remove xfail.

From-SVN: r149597
2009-07-13 21:31:10 +00:00
Eric Botcazou
e86464534f configure.ac: Include multi.m4 and do not call AC_CANONICAL_SYSTEM.
* configure.ac: Include multi.m4 and do not call AC_CANONICAL_SYSTEM.
	* configure: Regenerate.

From-SVN: r149595
2009-07-13 20:04:43 +00:00
Jason Merrill
3144f1e8d3 re PR c++/36628 ([c++0x] incorrect decltype() handling of conditional operator)
PR c++/36628
	* tree.c (rvalue): Use lvalue_or_rvalue_with_address_p.

	PR c++/37206
	* cp-tree.h (enum cp_lvalue_kind_flags): Add clk_rvalueref.
	* tree.c (lvalue_p_1): Return it.  Remove
	treat_class_rvalues_as_lvalues parm.
	(real_lvalue_p): Disallow pseudo-lvalues here.
	(lvalue_or_rvalue_with_address_p): New fn.
	* call.c (initialize_reference): Use it instead of real_lvalue_p.

	PR c++/40689
	* init.c (build_new_1): Handle initializer list as array initializer.
	(build_vec_init): Likewise.
	* typeck.c (cp_build_modify_expr): Likewise.
	* typeck2.c (process_init_constructor_array): Error rather than abort
	if too many initializers.

From-SVN: r149543
2009-07-13 02:06:27 -04:00
GCC Administrator
54caab810a Daily bump.
From-SVN: r149539
2009-07-13 00:16:33 +00:00
Kai Tietz
5feebbd539 cygming.h (TARGET_OS_CPP_BUILTINS): Define _X86_ just for 32-bit case.
2009-07-12  Kai Tietz  <kai.tietz@onevision.com>

	* config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Define _X86_
	just for 32-bit case.

From-SVN: r149531
2009-07-12 17:56:41 +02:00
GCC Administrator
fc1e020a04 Daily bump.
From-SVN: r149522
2009-07-12 00:16:29 +00:00
Jakub Jelinek
de97f49acc re PR target/40667 (stack frames are generated even with -fomit-frame-pointer)
PR rtl-optimization/40667
	* defaults.h (MINIMUM_ALIGNMENT): Define if not defined.
	* doc/tm.texi (MINIMUM_ALIGNMENT): Document it.
	* config/i386/i386.h (MINIMUM_ALIGNMENT): Define.
	* config/i386/i386.c (ix86_minimum_alignment): New function.
	* config/i386/i386-protos.h (ix86_minimum_alignment): New prototype.
	* cfgexpand.c (expand_one_var): Use MINIMIM_ALIGNMENT.
	* emit-rtl.c (gen_reg_rtx): Likewise.
	* function.c (assign_parms): Likewise.  If nominal_type needs
	bigger alignment than FUNCTION_ARG_BOUNDARY, use its alignment
	rather than passed_type's alignment.

From-SVN: r149517
2009-07-11 21:06:26 +02:00
Jakub Jelinek
bb068ff507 re PR target/40668 (64-bit sparc miscompiles memcpy of argument inside switch)
PR target/40668
	* function.c (assign_parm_setup_stack): Adjust
	MEM_OFFSET (data->stack_parm) if promoted_mode is different
	from nominal_mode on big endian.

	* gcc.c-torture/execute/pr40668.c: New test.

From-SVN: r149512
2009-07-11 11:26:23 +02:00
GCC Administrator
116d3d018a Daily bump.
From-SVN: r149505
2009-07-11 00:16:39 +00:00
Jakub Jelinek
51fca017fa re PR middle-end/40502 (crash in cp_diagnostic_starter)
PR c++/40502
	* error.c (cp_print_error_function): Check for NULL block.

	* g++.dg/ext/strncpy-chk1.C: New test.

From-SVN: r149499
2009-07-11 00:31:34 +02:00
GCC Administrator
3f9305d000 Daily bump.
From-SVN: r149451
2009-07-10 00:16:40 +00:00
Paul Thomas
3a32e4ebc7 re PR fortran/40440 (Automatic deallocation component of DT function return value)
2009-07-09  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/40440
	* trans-expr.c (gfc_conv_procedure_call): Do not deallocate
	allocatable components if the argument is a pointer.

2009-07-09  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/40440
	* gfortran.dg/alloc_comp_result_2.f90: New test.

From-SVN: r149431
2009-07-09 19:28:20 +00:00
Dodji Seketeli
cb23bb8848 re PR c++/40684 (ICE in tsubst)
2009-07-09  Dodji Seketeli  <dodji@redhat.com>

gcc/cp/ChangeLog:
	PR c++/40684
	* pt.c (type_unification_real): Use tsubst_template_arg instead
	of tsubst to substitute default template arguments.

gcc/testsuite/ChangeLog:
	PR c++/40684
	* gcc/testsuite/g++.dg/template/unify11.C: New test.

From-SVN: r149425
2009-07-09 20:00:58 +02:00
GCC Administrator
4a94d510f7 Daily bump.
From-SVN: r149395
2009-07-09 00:16:30 +00:00
Richard Henderson
628829c9e1 re PR target/38900 (ICE: unable to find a register to spill)
PR target/38900
	* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Move to i386.c.
	(enum reg_class): Add CLOBBERED_REGS.
	(REG_CLASS_NAMES, REG_CLASS_CONTENTS): Likewise.
	* config/i386/i386.c (ix86_conditional_register_usage): Moved
	from CONDITIONAL_REGISTER_USAGE; build CLOBBERED_REGS for 64-bit.
	(ix86_function_ok_for_sibcall): Tidy.  Disallow MS->SYSV sibcalls.
	(ix86_expand_call): Use sibcall_insn_operand when needed.  Don't
	force 64-bit sibcalls into R11.
	* config/i386/constraints.md (U): New constraint.
	* config/i386/i386.md (sibcall_1, sibcall_value_1): Use it.
	(sibcall_1_rex64, sibcall_value_1_rex64): Likewise.
	(sibcall_1_rex64_v, sibcall_value_1_rex64_v): Remove.

From-SVN: r149374
2009-07-08 09:59:15 -07:00
H.J. Lu
aa4f56762f backport: re PR c++/40557 (ICE with template union)
2009-07-08  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-07-06  Simon Martin  <simartin@users.sourceforge.net>

	PR c++/40557
	* g++.dg/template/union2.C: New test.

From-SVN: r149371
2009-07-08 07:30:12 -07:00
GCC Administrator
e75b22c2e4 Daily bump.
From-SVN: r149356
2009-07-08 00:16:28 +00:00
Jason Merrill
be5b9bce0a re PR c++/35828 ([C++0x] ICE on default template template parameter in template function)
PR c++/35828
	* pt.c (tsubst_decl): Don't abort if we didn't change anything
	in a TEMPLATE_DECL's args.

From-SVN: r149353
2009-07-07 18:11:31 -04:00
Jason Merrill
0ad8c85546 re PR c++/37816 ([c++0x] Invalid handling of scoped enums defined at class scope)
PR c++/37816
	* decl.c (build_enumerator): Don't add enumerators for a
	scoped enum to the enclosing class.

	PR c++/40639
	* decl.c (start_enum): Allow dependent underlying type.

	PR c++/40633
	* decl.c (finish_enum): Finish scope even in a template.

From-SVN: r149352
2009-07-07 18:08:01 -04:00
Eric Botcazou
f9ce7e7648 re PR debug/40666 (Ada tools build failure)
PR debug/40666
	* dbxout.c (dbxout_symbol) <PARM_DECL>: Deal with parameters pointing
	to variables for debugging purposes.

From-SVN: r149347
2009-07-07 20:46:41 +00:00
Jakub Jelinek
1282788334 re PR middle-end/40669 (ICE in gimple_assign_set_rhs1 from eliminate_tail_call)
PR middle-end/40669
	* tree-tailcall.c (adjust_return_value_with_ops,
	create_tailcall_accumulator): Set DECL_GIMPLE_REG_P on the temporary
	if it has complex or vector type.

	Backport from mainline:
	2009-06-03  Richard Guenther  <rguenther@suse.de>

	PR middle-end/40328
	* fold-const.c (fold_convert): Fold the build COMPLEX_EXPR.

	* gcc.dg/pr40669.c: New test.

From-SVN: r149329
2009-07-07 16:07:19 +02:00
GCC Administrator
0d38b78518 Daily bump.
From-SVN: r149306
2009-07-07 00:16:30 +00:00
GCC Administrator
45c2d9cab7 Daily bump.
From-SVN: r149267
2009-07-06 00:16:33 +00:00
Paul Thomas
8d8162ce01 re PR fortran/40551 (Optimizations possible using gfc_full_array_ref_p)
2009-07-05  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/40551
	* dependency.h : Add second bool* argument to prototype of
	gfc_full_array_ref_p.
	* dependency.c (gfc_full_array_ref_p): If second argument is
	present, return true if last dimension of reference is an
	element or has unity stride.
	* trans-array.c : Add NULL second argument to references to
	gfc_full_array_ref_p.
	* trans-expr.c : The same, except for;
	(gfc_trans_arrayfunc_assign): Return fail if lhs reference
	is not a full array or a contiguous section.

2009-07-05  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/40551
	* gfortran.dg/func_assign_2.f90 : New test.

From-SVN: r149261
2009-07-05 19:06:05 +00:00
GCC Administrator
eebcaed152 Daily bump.
From-SVN: r149245
2009-07-05 00:16:29 +00:00
Jason Merrill
06b84a6476 re PR c++/40619 ([c++0x] ICE on repeated decltype expression in auto functions)
PR c++/40619
	* tree.c (cp_tree_equal) [PARM_DECL]: Don't check parm index.

From-SVN: r149240
2009-07-04 14:11:59 -04:00
Jakub Jelinek
8fbe4fa1e1 trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc): For integer maxloc initialize limit to -huge-1 rather than just -huge.
* trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc): For integer
	maxloc initialize limit to -huge-1 rather than just -huge.

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

From-SVN: r149237
2009-07-04 19:22:46 +02:00
H.J. Lu
69513efab3 backport: re PR tree-optimization/40640 (ICE in set_value_range, at tree-vrp.c:383)
2009-07-04  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-07-03  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/40640
	* gcc.c-torture/compile/pr40640.c: New testcase.

From-SVN: r149231
2009-07-04 09:10:28 -07:00
Vladimir Makarov
9d357d919b Move testsuite log into testsuite/ChangeLog
From-SVN: r149229
2009-07-04 13:57:54 +00:00
Jerry DeLisle
248f54ffe1 re PR fortran/40638 (RTE: "Unit number in I/O statement too large" -- fails with any low value)
2009-07-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/40638
	* gfortran.dg/unit_1.f90: New test.

From-SVN: r149219
2009-07-04 04:05:19 +00:00
Jerry DeLisle
dfb5d635c7 re PR fortran/40638 (RTE: "Unit number in I/O statement too large" -- fails with any low value)
2009-07-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/40638
	* trans-io.c (set_parameter_value): Don't build un-necessary run-time
	checks for units of KIND less than 4.

From-SVN: r149218
2009-07-04 03:07:12 +00:00
GCC Administrator
4f954c99d3 Daily bump.
From-SVN: r149215
2009-07-04 00:16:22 +00:00
Vladimir Makarov
6593a269e8 re PR target/40587 (Revision 139590 caused ICE in emit_swap_insn at reg-stack.c:827)
2009-07-03  Vladimir Makarov  <vmakarov@redhat.com>

	PR target/40587
	* ira.c (build_insn_chain): Use DF_LR_OUT instead of
	df_get_live_out.
	* testsuite/gfortran.dg/pr40587.f: New test.

From-SVN: r149213
2009-07-03 22:46:30 +00:00
GCC Administrator
ce80f42bc5 Daily bump.
From-SVN: r149203
2009-07-03 00:16:27 +00:00
Richard Guenther
f0b4e673de re PR tree-optimization/40585 (tracer duplicates blocks w/o adjusting EH tree)
2009-07-02  Richard Guenther  <rguenther@suse.de>

	PR middle-end/40585
	* tree-cfg.c (gimple_can_duplicate_bb_p): Disallow duplicating
	basic blocks with GIMPLE_RESX.

From-SVN: r149173
2009-07-02 12:16:39 +00:00
GCC Administrator
d8afd886db Daily bump.
From-SVN: r149161
2009-07-02 00:16:39 +00:00
Martin Jambor
8d45056b0a backport: ipa-cp.c (ipcp_cloning_candidate_p): Add missing return false.
2009-07-01  Martin Jambor  <mjambor@suse.cz>

	Backport from mainline:
	2009-05-11 Martin Jambor <mjambor@suse.cz>
	
	* ipa-cp.c (ipcp_cloning_candidate_p): Add missing return false.

From-SVN: r149139
2009-07-01 14:14:33 +02:00
GCC Administrator
f56cbb387b Daily bump.
From-SVN: r149125
2009-07-01 00:16:42 +00:00
Jakub Jelinek
3607a2cabf re PR c++/40566 (rejects promoted throw)
PR c++/40566
	* convert.c (convert_to_integer) <case COND_EXPR>: Don't convert
	to type arguments that have void type.

	* g++.dg/parse/cond5.C: New test.

From-SVN: r149123
2009-07-01 00:38:04 +02:00
Jason Merrill
15d03e230c re PR c++/40595 ([C++0x] ICE trying to use sfinae with variadic template pack expansion)
PR c++/40595
	* pt.c (tsubst_pack_expansion): Handle unexpanded packs in an
	EXPR_PACK_EXPANSION.

From-SVN: r149118
2009-06-30 15:45:21 -04:00
Eric Botcazou
d38944ee9a utils2.c (build_binary_op): Do not use the type of the left operand if...
* gcc-interface/utils2.c (build_binary_op) <MODIFY_EXPR>: Do not use
	the type of the left operand if it pads a self-referential type when
	the right operand is a constructor.

From-SVN: r149116
2009-06-30 19:20:57 +00:00
H.J. Lu
88f2d0871d backport: [multiple changes]
2009-06-30  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-06-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/40576
	* gfortran.dg/internal_write_1.f90:  New testcase.

	2009-06-30  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/40594
	* gfortran.dg/derived_pointer_recursion_2.f90: New.

From-SVN: r149110
2009-06-30 10:13:38 -07:00
H.J. Lu
ae354b7b2b backport: [multiple changes]
2009-06-30  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-06-30  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/40582
	* gcc.c-torture/compile/pr40582.c: New test.

	2009-06-29  Jason Merrill  <jason@redhat.com>

	PR c++/40274
	* g++.dg/template/debug1.C: New.

	2009-06-25  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/40493
	* gcc.c-torture/execute/pr40493.c: New test.

From-SVN: r149097
2009-06-30 06:55:43 -07:00
Paolo Carlini
f3f1436cae re PR libstdc++/40600 (pair& operator=(pair&& __p) doesn't work without inlining)
2009-06-30  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/40600
	* testsuite/25_algorithms/minmax/2.cc: Fix consistently with
	std::minmax return type.
	* testsuite/25_algorithms/minmax/3.cc: Likewise.

From-SVN: r149095
2009-06-30 12:10:14 +00:00
Ira Rosen
57809812cf re PR tree-optimization/40542 (vectorizes access to volatile array)
PR tree-optimization/40542
	* tree-vect-analyze.c (vect_determine_vectorization_factor): Don't 
	vectorize volatile types.

From-SVN: r149092
2009-06-30 11:56:21 +00:00
Jerry DeLisle
f3bb6a6b4a re PR fortran/40576 (Endless loop in internal write)
2009-06-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/40576
	* io/transfer.c (sset): Adjust exit condition for loop.

From-SVN: r149077
2009-06-30 00:52:06 +00:00
GCC Administrator
8bdb7e7f27 Daily bump.
From-SVN: r149072
2009-06-30 00:16:27 +00:00
Janis Johnson
ea3ce666e1 re PR c/39902 (x * 1.0DF gets wrong value)
PR c/39902
	* tree.c (real_zerop, real_onep, real_twop, real_minus_onep):
	Special-case decimal float constants.

	PR c/39902
	* gcc.dg/dfp/pr39902.c: New test.

From-SVN: r149058
2009-06-29 17:13:33 +00:00
Paul Thomas
086799fd3d re PR fortran/40443 (Elemental procedure in genericl interface incorrectly selected in preference to specific procedure)
2009-06-29  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-29  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/40443
	* gfortran.dg/generic_18.f90: New test.

From-SVN: r149056
2009-06-29 16:44:49 +00:00
Uros Bizjak
40f5e21d5b extend.texi (Additional Floating Types): __float128 is also supported on i386 targets.
* doc/extend.texi (Additional Floating Types): __float128 is also
	supported on i386 targets.

From-SVN: r149055
2009-06-29 18:43:50 +02:00
Richard Guenther
c6c953d8f5 re PR tree-optimization/40579 (gcc -O2 optimization causes infinite loop and wrong output)
2009-06-29  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/40579
	* tree-vrp.c (vrp_evaluate_conditional): Bail out early if
	the IL to simplify has constants that overflowed.

	* gcc.c-torture/execute/pr40579.c: New testcase.

From-SVN: r149051
2009-06-29 14:48:15 +00:00
GCC Administrator
0dc4632460 Daily bump.
From-SVN: r149042
2009-06-29 00:16:41 +00:00
Uros Bizjak
bc4fc3e5e6 re PR tree-optimization/40550 (Segmentation fault caused by alignment error in sse code)
PR tree-optimization/40550
	* tree-vect-generic.c (expand_vector_operations_1): Compute in
	vector_compute_type only when the size of vector_compute_type is
	less than the size of type.

testsuite/ChangeLog:

	PR tree-optimization/40550
	* gcc.dg/pr40550.c: New test.

From-SVN: r149027
2009-06-28 17:18:46 +02:00
GCC Administrator
e8229e8dad Daily bump.
From-SVN: r149021
2009-06-28 00:16:26 +00:00
Kai Tietz
cd18959eef [multiple changes]
2009-06-27  Kai Tietz  <kai.tietz@onevision.com>

	Merged from trunk rev/148061
	2009-06-01  Jakub Jelinek  <jakub@redhat.com>
	PR other/40024
	* emutls.c (__emutls_get_address): Change arr->size to mean number
	of allocated arr->data entries instead of # of slots + 1.

From-SVN: r149016
2009-06-27 19:52:29 +02:00
GCC Administrator
cde14f663c Daily bump.
From-SVN: r148998
2009-06-27 00:16:37 +00:00
GCC Administrator
e6eec556bd Daily bump.
From-SVN: r148957
2009-06-26 00:16:40 +00:00
GCC Administrator
d5f03c4ed1 Daily bump.
From-SVN: r148924
2009-06-25 00:16:38 +00:00
Jason Merrill
4366506b5d re PR c++/40342 (ambiguous overload not diagnosed)
PR c++/40342
        * decl.c (decls_match): Check DECL_TI_TEMPLATE too.
        * class.c (resolve_address_of_overloaded_function): Fix typo.

From-SVN: r148911
2009-06-24 13:02:03 -04:00
Jonathan Wakely
61b744bf33 re PR libstdc++/40297 ([C++0x] debug mode vs atomics)
2009-06-24  Jonathan Wakely  <jwakely.gcc@gmail.com>

	PR libstdc++/40297
	* include/bits/atomic_0.h: Reverse debug assertions.
	* include/bits/atomic_2.h: Likewise.

From-SVN: r148894
2009-06-24 08:07:49 +01:00
GCC Administrator
826b20fa9c Daily bump.
From-SVN: r148887
2009-06-24 00:16:30 +00:00
GCC Administrator
d18c6f2b1d Daily bump.
From-SVN: r148824
2009-06-23 00:16:28 +00:00
Matthias Klose
46088c429f re PR objc++/28050 (ICE on invalid initializer)
gcc/
2009-06-22  Steven Bosscher  <steven@gcc.gnu.org>
            Matthias Klose  <doko@ubuntu.com>

        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>
            Matthias Klose  <doko@ubuntu.com>

        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: r148820
2009-06-22 22:25:38 +00:00
H.J. Lu
ae455e1151 backport: re PR tree-optimization/40492 (ice in create_tmp_var)
2009-06-22  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-06-22  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/40492
	* g++.dg/torture/pr40492.C: New test.

From-SVN: r148797
2009-06-22 06:55:41 -07:00
GCC Administrator
69f326a530 Daily bump.
From-SVN: r148773
2009-06-22 00:16:43 +00:00
Paolo Carlini
c14fe41a12 2009-06-20 Paolo Carlini <paolo.carlini@oracle.com>
* Revert last Change.

From-SVN: r148757
2009-06-21 00:58:12 +00:00
GCC Administrator
df5639b5bb Daily bump.
From-SVN: r148754
2009-06-21 00:16:38 +00:00
Paolo Carlini
38a0c5939b re PR libstdc++/40497 ([C++0x] troubles with std::next / std::prev declarations)
2009-06-20  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/40497
	* include/bits/stl_iterator_base_funcs.h (next, prev): Fix the
	signature per the current C++1x draft (N2857).
	* testsuite/24_iterators/operations/40497.cc: Add.

From-SVN: r148752
2009-06-20 22:27:21 +00:00
Gerald Pfeifer
2006a00405 test_summary: Only include LAST_UPDATED if it exists.
* test_summary: Only include LAST_UPDATED if it exists.
	Complete copyright years.

From-SVN: r148748
2009-06-20 17:03:06 +00:00
Paul Thomas
4f73813eb1 re PR fortran/39800 (Rejects PRIVATE TYPE as compont of local type declaration)
2009-06-20  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/39800
	* resolve.c (is_sym_host_assoc): New function.
	(resolve_fl_derived): Call it when checking PRIVATE components
	of PUBLIC derived types.  Change gfc_error to a gfc_notify_std
	with std=f2003.
	(resolve_fl_namelist): Call it twice to check for host
	association.

2009-06-20  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/39800
	* gfortran.dg/private_type_13.f90: New test.
	* gfortran.dg/private_type_2.f90: Add option -std=f95.

From-SVN: r148741
2009-06-20 09:21:06 +00:00
GCC Administrator
efa9d310ac Daily bump.
From-SVN: r148736
2009-06-20 00:16:39 +00:00
Paul Thomas
f4d79b62cf re PR fortran/40402 (Problem with data statement involving structure constructors containing non-initialisation expressions)
2009-06-20  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/40402
	* resolve.c (next_data_value): It is an error if the value is
	not constant.

2009-06-20  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/40402
	* gfortran.dg/data_value_1.f90: New test.

From-SVN: r148732
2009-06-19 22:10:45 +00:00
GCC Administrator
e08064c60a Daily bump.
From-SVN: r148687
2009-06-19 00:16:23 +00:00
H.J. Lu
2ff31a696f backport: re PR target/40470 (unable to find a register to spill in class ‘SSE_FIRST_REG’)
gcc/

2009-06-18  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-06-18  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/40470
	* config/i386/i386.h (CLASS_LIKELY_SPILLED_P): Add SSE_FIRST_REG.

gcc/testsuite/

2009-06-18  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-06-18  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/40470
	* gcc.dg/torture/pr40470-1.c: New.
	* gcc.dg/torture/pr40470-2.c: Likewise.
	* gcc.dg/torture/pr40470-3.c: Likewise.
	* gcc.dg/torture/pr40470-4.c: Likewise.

From-SVN: r148675
2009-06-18 14:21:42 -07:00
Olivier Hainque
1196c6f85a system-aix64.ads: New file.
* system-aix64.ads: New file.
        * gcc-interface/Makefile.in (aix LIBGNAT_TARGET_PAIRS): Use the
        64bit system.ads for ppc64 multilib variants.

From-SVN: r148660
2009-06-18 14:15:32 +00:00
GCC Administrator
4004533829 Daily bump.
From-SVN: r148639
2009-06-18 00:16:44 +00:00
Richard Guenther
d59b540400 re PR middle-end/40404 (Comparison involving unsigned int:17 bitfield seems wrong)
2009-06-17  Richard Guenther  <rguenther@suse.de>

	PR middle-end/40404
	* gcc.c-torture/execute/pr40404.c: New testcase.

From-SVN: r148605
2009-06-17 12:28:43 +00:00
Richard Guenther
721840b3ee re PR middle-end/40460 (Enormous memory usage during compilation with -O2 or -O3 optimizations.)
2009-06-17  Richard Guenther  <rguenther@suse.de>

	PR middle-end/40460
	* tree-chrec.h (build_polynomial_chrec): If we cannot determine
	if there is no evolution of left in the loop bail out.
	* tree-chrec.c (chrec_fold_multiply_poly_poly): CSE one
	chrec_fold_multiply.

	* g++.dg/torture/pr40460.C: New testcase.

From-SVN: r148602
2009-06-17 11:54:55 +00:00
Richard Guenther
2df9310850 re PR c++/40389 (optimizer bug (possibly))
2009-06-17  Richard Guenther  <rguenther@suse.de>

	PR middle-end/40389
	* tree-ssa-operands.c (parse_ssa_operands): Add NRV results
	to the addresses taken bitmap.

	* g++.dg/torture/pr40389.C: New testcase.

From-SVN: r148601
2009-06-17 10:33:31 +00:00
GCC Administrator
14b2040d78 Daily bump.
From-SVN: r148564
2009-06-17 00:16:34 +00:00
Jonathan Wakely
91b5e6cd40 exception_ptr.h (exception_ptr::swap(exception_ptr&&)): Remove.
2009-06-16  Jonathan Wakely  <jwakely.gcc@gmail.com>

	* libsupc++/exception_ptr.h (exception_ptr::swap(exception_ptr&&)):
	Remove.
	(exception_ptr::operator=(exception_ptr&&)): Cast source to
	rvalue-reference so that move constructor is called.
	* testsuite/18_support/exception_ptr/move.cc: New.

From-SVN: r148556
2009-06-16 22:46:27 +01:00
Jonathan Wakely
864cc1ec71 thread (~thread(), [...]): Call terminate if joinable.
2009-06-16  Jonathan Wakely  <jwakely.gcc@gmail.com>

	* include/std/thread (~thread(), operator=(thread&&)): Call terminate
	if joinable.

From-SVN: r148553
2009-06-16 21:36:01 +01:00
Jakub Jelinek
9a231fd140 re PR middle-end/40446 (ICE in gen_lowpart_general)
PR middle-end/40446
	* expr.c (expand_expr_real_1) <case VIEW_CONVERT_EXPR>: Don't
	use gen_lowpart if op0 has complex mode.

	* g++.dg/other/pr40446.C: New test.

From-SVN: r148536
2009-06-16 16:28:47 +02:00
Matthias Klose
00aa6cca60 Regenerate classfiles in rev 148529 with correct ecj version
From-SVN: r148531
2009-06-16 13:34:16 +00:00
Matthias Klose
f6b5960ba6 Main.java (getGjdocVersion): Use gnu.classpath.Configuration.CLASSPATH_VERSION as version number.
2009-06-16  Matthias Klose  <doko@ubuntu.com>

        * tools/gnu/classpath/tools/gjdoc/Main.java (getGjdocVersion): Use
        gnu.classpath.Configuration.CLASSPATH_VERSION as version number.
        * tools/gnu/classpath/tools/doclets/htmldoclet/HtmlDoclet.java
        (getDocletVersion): Likewise.
        * tools/classes/gnu/classpath/tools/gjdoc/Main*.class: Regenerate.
        * tools/classes/gnu/classpath/tools/doclets/htmldoclet/HtmlDoclet*.class:
        Regenerate.

From-SVN: r148529
2009-06-16 13:20:06 +00:00
GCC Administrator
89f31b386c Daily bump.
From-SVN: r148509
2009-06-16 00:16:24 +00:00
Andreas Krebbel
de1b1d406e s390.md ("bswap<mode>2"): Only available on z900.
2009-06-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.md ("bswap<mode>2"): Only available on z900.

From-SVN: r148484
2009-06-15 09:27:22 +00:00
GCC Administrator
4896102f9a Daily bump.
From-SVN: r148479
2009-06-15 00:16:46 +00:00
Richard Guenther
98b7f9857d backport: re PR tree-optimization/40168 (finding common subexpressions)
2009-06-14  Richard Guenther  <rguenther@suse.de>

	Backport from mainline
	2009-05-18  Richard Guenther  <rguenther@suse.de>

	PR fortran/40168
	* trans-expr.c (gfc_trans_zero_assign): For local array
	destinations use an assignment from an empty constructor.

	* gfortran.dg/array_memset_2.f90: Adjust.

From-SVN: r148469
2009-06-14 13:39:37 +00:00
GCC Administrator
462ee08d96 Daily bump.
From-SVN: r148465
2009-06-14 00:16:31 +00:00
GCC Administrator
0a87b3af76 Daily bump.
From-SVN: r148447
2009-06-13 00:16:35 +00:00
GCC Administrator
62f951887c Daily bump.
From-SVN: r148406
2009-06-12 00:16:34 +00:00
H.J. Lu
45d9986a69 backport: extend.texi: Add description for __builtin_ia32_crc32di.
2009-06-11  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-06-10  H.J. Lu  <hongjiu.lu@intel.com>

	* doc/extend.texi: Add description for __builtin_ia32_crc32di.

From-SVN: r148398
2009-06-11 14:28:18 -07:00
Jerry DeLisle
181e0bb8d8 re PR libfortran/40330 (incorrect IO)
2009-06-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/40330
	* io/io.h: Revert format caching.
	* io/unit.c: Likewise.
	* io/transfer.c: Likewise.
	* io/format.c: Likewise.

From-SVN: r148391
2009-06-11 12:49:35 +00:00
GCC Administrator
c07932c9d1 Daily bump.
From-SVN: r148360
2009-06-11 00:16:30 +00:00
GCC Administrator
793b78ca30 Daily bump.
From-SVN: r148331
2009-06-10 00:16:41 +00:00
Janne Blomqvist
9e13da34ec PR libfortran/40330 Use heap memory for format cache
From-SVN: r148326
2009-06-09 23:55:53 +03:00
Jason Merrill
814264beae re PR c++/40381 (Revision 142379 caused ICE with deleted functions)
PR c++/40381
        * decl2.c (mark_used): Return after complaining about deleted fn.

From-SVN: r148320
2009-06-09 14:20:29 -04:00
Jason Merrill
5874064b94 parser.c (cp_parser_type_id_1): 'auto' type is ok with a late-specified return type.
* parser.c (cp_parser_type_id_1): 'auto' type is ok with a
        late-specified return type.

From-SVN: r148307
2009-06-09 00:23:00 -04:00
Jerry DeLisle
3f4e4c50ff re PR libfortran/40334 (changed BACKSPACE behaviour at end of file.)
2009-06-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/40334
	* gfortran.dg/backspace_11.f90: New test.

From-SVN: r148304
2009-06-09 03:18:30 +00:00
Jerry DeLisle
f25ff4ec4b re PR libfortran/40334 (changed BACKSPACE behaviour at end of file.)
2009-06-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/40334
	* io/list_read.c (list_formatted_read_scalar): Set the end file
	conditions after a return from EOF error.

From-SVN: r148303
2009-06-09 03:15:04 +00:00
GCC Administrator
51857028e8 Daily bump.
From-SVN: r148301
2009-06-09 00:16:38 +00:00
Jakub Jelinek
6b06d72520 re PR c++/40373 (ICE with invalid destructor call)
PR c++/40373
	* call.c (check_dtor_name): Return false even if
	get_type_value (name) is error_mark_node.

	* g++.dg/template/dtor7.C: New test.

From-SVN: r148283
2009-06-08 18:49:17 +02:00
Jakub Jelinek
89f05a151b re PR c++/40370 (ICE with invalid array bound in template class)
PR c++/40370
	PR c++/40372
	* parser.c (cp_parser_direct_declarator): Don't set TREE_SIDE_EFFECTS
	on error_mark_node.  Check for VLAs outside of function context
	before check whether to wrap bounds into a NOP_EXPR with
	TREE_SIDE_EFFECTS.

	* g++.dg/template/error41.C: New test.
	* g++.dg/template/error42.C: New test.

From-SVN: r148281
2009-06-08 18:31:07 +02:00
GCC Administrator
12102f3d95 Daily bump.
From-SVN: r148268
2009-06-08 00:16:28 +00:00
H.J. Lu
64538a40e7 backport: re PR middle-end/40328 (internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1811)
2009-06-07  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-06-03  Richard Guenther  <rguenther@suse.de>

	PR middle-end/40328
	* gcc.dg/torture/pr40328.c: New testcase.

From-SVN: r148248
2009-06-07 07:36:55 -07:00
H.J. Lu
c711422084 backport: re PR middle-end/32950 (ICE with __complex__ double)
2009-06-07  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-06-07  H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/32950
	* g++.dg/torture/pr32950.C: New.

From-SVN: r148245
2009-06-07 06:38:38 -07:00
GCC Administrator
59dd63100f Daily bump.
From-SVN: r148240
2009-06-07 00:16:36 +00:00
GCC Administrator
ff0b8e1399 Daily bump.
From-SVN: r148232
2009-06-06 00:16:35 +00:00
Jakub Jelinek
26c4720003 re PR middle-end/40340 (Fortification warning no longer emitted in inlines)
PR middle-end/40340
	* tree-ssa-live.c (remove_unused_scope_block_p): Don't prune
	inlined_function_outer_scope_p blocks for artificial inlines
	even at -g0/-g1.
	* tree.c (tree_nonartificial_location): Rewrite using
	block_nonartificial_location.

	* gcc.dg/pr40340-1.c: New test.
	* gcc.dg/pr40340-2.c: New test.
	* gcc.dg/pr40340-3.c: New test.
	* gcc.dg/pr40340-4.c: New test.
	* gcc.dg/pr40340-5.c: New test.
	* gcc.dg/pr40340.h: New file.

From-SVN: r148214
2009-06-05 18:31:44 +02:00
GCC Administrator
3a86660fc5 Daily bump.
From-SVN: r148195
2009-06-05 00:16:45 +00:00
Steven G. Kargl
f40a856830 backport: re PR fortran/39893 ([4.4] gfortran ICE on invalid program)
Merged r146816 from trunk into 4.4 branch.  Specifically,

2009-04-26  Steven G. Kargl  <kargl@gcc.gnu.org>
         
        PR fortran/39893
        * gfortran.dg/assumed_charlen_dummy.f90: New Test.


2009-04-26  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/39893
        fortran/data.c (gfc_assign_data_value): If the lvalue is an
        assumed character length entity in a data statement, then
        return FAILURE to prevent segmentation fault.

From-SVN: r148176
2009-06-04 17:01:45 +00:00
Richard Guenther
ad1ddbc4a4 re PR c++/39371 (Incorrectly rejects switch((unsigned int)boolvar))
2009-06-04  Richard Guenther  <rguenther@suse.de>

	PR c++/39371
        * g++.dg/torture/pr40335.C: New testcase.

From-SVN: r148166
2009-06-04 12:37:48 +00:00
GCC Administrator
611bf45a50 Daily bump.
From-SVN: r148158
2009-06-04 00:16:38 +00:00
Francois-Xavier Coudert
791e976a53 re PR fortran/40019 (LEADZ and TRAILZ give wrong results)
2009-06-03  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

        PR fortran/40019
        * trans-types.c (gfc_build_uint_type): Make nonstatic.
        * trans.h (gfor_fndecl_clz128, gfor_fndecl_ctz128): New
        * prototypes.
        * trans-types.h (gfc_build_uint_type): Add prototype.
        * trans-decl.c (gfc_build_intrinsic_function_decls): Build
        gfor_fndecl_clz128 and gfor_fndecl_ctz128.
        * trans-intrinsic.c (gfc_conv_intrinsic_leadz,
        gfc_conv_intrinsic_trailz): Call the right builtins or library
        functions, and cast arguments to unsigned types first.
        * simplify.c (gfc_simplify_leadz): Deal with negative arguments.


2009-06-03  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

        PR fortran/40019
        * intrinsics/bit_intrinsics.c: New file.
        * gfortran.map (GFORTRAN_1.2): New list.
        * Makefile.am: Add intrinsics/bit_intrinsics.c.
        * Makefile.in: Regenerate.


2009-06-03  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

        PR fortran/40019
        * gfortran.dg/leadz_trailz_1.f90: New test.
        * gfortran.dg/leadz_trailz_2.f90: New test.

-- Diese und die folgenden Zeilen werden ignoriert --

M    libgfortran/Makefile.in
A    libgfortran/intrinsics/bit_intrinsics.c
M    libgfortran/ChangeLog
M    libgfortran/gfortran.map
M    libgfortran/Makefile.am
M    gcc/testsuite/ChangeLog
A    gcc/testsuite/gfortran.dg/leadz_trailz_2.f90
A    gcc/testsuite/gfortran.dg/leadz_trailz_1.f90
M    gcc/fortran/ChangeLog
M    gcc/fortran/trans-types.c
M    gcc/fortran/trans.h
M    gcc/fortran/trans-types.h
M    gcc/fortran/trans-decl.c
M    gcc/fortran/trans-intrinsic.c
M    gcc/fortran/simplify.c

From-SVN: r148143
2009-06-03 21:39:09 +02:00
Jason Merrill
b5f0e22d51 re PR c++/40308 (Brace initialization fails for member initializers in constructor for class templates)
PR c++/40308
        PR c++/40311
        * typeck.c (cp_build_modify_expr): Always pass init-lists to the
        conversion code.
        * call.c (implicit_conversion): Allow init-list conversion to scalar
        during direct-initialization, too.  Mark the conversion bad if it
        has too many levels of braces.
        (convert_like_real): And give a helpful error.

        PR c++/40306
        PR c++/40307
        * decl.c (cp_finish_decl): Handle auto deduction from ().
        * typeck.c (build_x_indirect_ref): Handle dereferencing an operand
        with dependent type that is known to be a pointer.

        * call.c (implicit_conversion): Handle conversion from
        initializer-list to scalar.
        (convert_like_real): Likewise.  Avoid crashing on list
        initialization with bad conversions.

From-SVN: r148141
2009-06-03 14:11:53 -04:00
Jakub Jelinek
d7a8f42186 dwarf2out.c (output_cfi_directive): Pass 1 instead of 0 to second argument of DWARF2_FRAME_REG_OUT macros.
* dwarf2out.c (output_cfi_directive): Pass 1 instead of
	0 to second argument of DWARF2_FRAME_REG_OUT macros.

From-SVN: r148139
2009-06-03 19:32:45 +02:00
Paolo Carlini
20e44a0570 re PR libstdc++/40296 ([C++0x] std::exception_ptr comparisons)
2009-06-03  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/40296
	* libsupc++/exception_ptr.h (exception_ptr::operator!,
	exception_ptr::operator __safe_bool): Only declare when
	_GLIBCXX_EH_PTR_COMPAT is undefined.
	* libsupc++/eh_ptr.cc: Define _GLIBCXX_EH_PTR_COMPAT before including
	exception_ptr.
	* testsuite/18_support/exception_ptr/40296.cc: New.
	* testsuite/18_support/exception_ptr/current_exception.cc: Adjust.

From-SVN: r148123
2009-06-03 10:37:32 +00:00
GCC Administrator
d0963a78b1 Daily bump.
From-SVN: r148108
2009-06-03 00:16:59 +00:00
Kaz Kojima
f5d0ed7df1 backport: sh.md (ashldi3_std): New define_expand.
Backport from mainline:
	2009-05-31  Kaz Kojima  <kkojima@gcc.gnu.org>

	* config/sh/sh.md (ashldi3_std): New define_expand.
	(ashldi3): Use it.

From-SVN: r148106
2009-06-03 00:10:00 +00:00
Paolo Carlini
098de92bbe re PR libstdc++/40299 (Rope + C++0x mode = build error)
2009-06-03  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/40299
	* include/ext/memory: Fully qualify calls with __gnu_cxx.
	* testsuite/ext/rope/40299.cc: New.

From-SVN: r148082
2009-06-02 09:06:45 +00:00
Jakub Jelinek
88e8a87b5a dwarf2out.c (dwarf2out_cfi_label): Add FORCE argument...
* dwarf2out.c (dwarf2out_cfi_label): Add FORCE argument, if true,
	force output of the label even for dwarf2out_do_cfi_asm.
	(add_fde_cfi): If -g2 and above and cfi might change CFA,
	force creation of CFI label and chain DW_CFA_set_loc jumping to it
	for convert_cfa_to_fb_loc_list.  Adjust other dwarf2out_cfi_label
	caller.
	(dwarf2out_stack_adjust, dwarf2out_frame_debug,
	dwarf2out_begin_epilogue, dwarf2out_frame_debug_restore_state): Adjust
	dwarf2out_cfi_label callers.
	* tree.h (dwarf2out_cfi_label): Adjust prototype.
	* config/arm/arm.c (thumb_pushpop, thumb1_output_function_prologue):
	Adjust dwarf2out_cfi_label callers.
	* config/vax/vax.c (vax_output_function_prologue): Likewise.

From-SVN: r148070
2009-06-02 09:18:16 +02:00
GCC Administrator
e353074d05 Daily bump.
From-SVN: r148024
2009-06-01 00:16:31 +00:00
GCC Administrator
31b55618d1 Daily bump.
From-SVN: r148008
2009-05-31 00:16:37 +00:00
H.J. Lu
ab204d4168 typedef19.C: XFAIL.
2009-05-30  H.J. Lu  <hongjiu.lu@intel.com>

	* g++.dg/template/typedef19.C: XFAIL.
	* g++.dg/template/typedef20.C: Likewise.

From-SVN: r148006
2009-05-30 16:46:31 -07:00
H.J. Lu
9577151a9b Backport PRs 39754, 40007, 40233, 40238, 40252, 40254
2009-05-30  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:

	2009-05-28  Dodji Seketeli  <dodji@redhat.com>

	PR c++/39754
	* g++.dg/template/canon-type-1.C: New test.
	* g++.dg/template/canon-type-2.C: Likewise.
	* g++.dg/template/canon-type-3.C: Likewise.
	* g++.dg/template/canon-type-4.C: Likewise.
	* g++.dg/template/canon-type-5.C: Likewise.
	* g++.dg/template/canon-type-6.C: Likewise.
	* g++.dg/template/canon-type-7.C: Likewise.

	2009-05-28  Ira Rosen  <irar@il.ibm.com>

	PR tree-optimization/40254
	* gcc.dg/vect/pr40254.c: New test.

	2009-05-26  Richard Guenther  <rguenther@suse.de>

	PR middle-end/40252
	* gcc.c-torture/compile/pr40252.c: New testcase.

	2009-05-26  Dodji Seketeli  <dodji@redhat.com>

	PR c++/40007
	* g++.dg/template/typedef18.C: New test.
	* g++.dg/template/typedef19.C: Likewise.
	* g++.dg/template/typedef20.C: Likewise.

	2009-05-25  Ira Rosen  <irar@il.ibm.com>

	PR tree-optimization/40238
	* gcc.dg/vect/pr40238.c: New test.

	2009-05-24  Richard Guenther  <rguenther@suse.de>

	PR middle-end/40233
	* gcc.c-torture/compile/pr40233.c: New testcase.

From-SVN: r148004
2009-05-30 06:49:33 -07:00
GCC Administrator
1ce94772bf Daily bump.
From-SVN: r147993
2009-05-30 00:16:38 +00:00
Jakub Jelinek
641d7231e8 re PR middle-end/40291 (ICE on unprototyped memcmp with long long last argument)
PR middle-end/40291
	* builtins.c (expand_builtin_memcmp): Convert len to sizetype
	before expansion.

	* gcc.c-torture/compile/pr40291.c: New test.

From-SVN: r147979
2009-05-29 17:47:31 +02:00
Jakub Jelinek
201cbfd5ee re PR target/40017 (stdbool.h/altivec.h)
PR target/40017
	* config/rs6000/rs6000-c.c (_Bool_keyword): New variable.
	(altivec_categorize_keyword, init_vector_keywords,
	rs6000_cpu_cpp_builtins): Define _Bool as conditional macro
	similar to bool.

	* gcc.target/powerpc/altivec-types-1.c: Don't expect error for
	__vector _Bool.
	* gcc.target/powerpc/altivec-30.c: New test.
	* gcc.target/powerpc/altivec-31.c: New test.

From-SVN: r147971
2009-05-29 09:14:20 +02:00
GCC Administrator
6daf6017a1 Daily bump.
From-SVN: r147964
2009-05-29 00:16:28 +00:00
Jason Merrill
ab133536b8 call.c (convert_like_real): Avoid crashing on list initialization with bad conversions.
* call.c (convert_like_real): Avoid crashing on list
        initialization with bad conversions.

From-SVN: r147955
2009-05-28 12:09:04 -04:00
Kai Tietz
e92db00523 packed6.C (size_t): Use __extension__ and __SIZE_TYPE__.
2009-05-28  Kai Tietz  <kai.tietz@onevision.com>

	*  g++.dg/ext/packed6.C (size_t): Use __extension__ and
	__SIZE_TYPE__.
	* g++.dg/opt/memcpy1.C (size_t): Likewise.
	* g++.dg/pr37742.C (size_t): Likewise.
	* g++.dg/torture/pr34850.C (size_t): Likewise.
	* g++.dg/torture/20070621-1.C (ptrdiff_t): Use __extension__ and
	_PTRDIFF_TYPE__.
	* g++.dg/torture/pr34222.C (ptrdiff_t): Likewise.
	* g++.dg/tree-ssa/pr22444.C (ptrdiff_t): Likewise.
	(size_t): Use __extension__ and __SIZE_TYPE__.

From-SVN: r147948
2009-05-28 11:37:31 +02:00
Kai Tietz
110fda84c9 20000211-1.c (size_t): Typedef size_t via __SIZE_TYPE__.
2009-05-28  Kai Tietz  <kai.tietz@onevision.com>

        * gcc.c-torture/compile/20000211-1.c (size_t): Typedef size_t via
	__SIZE_TYPE__.
        * gcc.c-torture/compile/20010328-1.c (size_t): Likewise,
        * gcc.c-torture/compile/20030320-1.c (size_t): Likewise,
        * gcc.c-torture/compile/20030405-1.c (size_t): Likewise,
        * gcc.c-torture/compile/20030902-1.c (size_t): Likewise,
        * gcc.c-torture/compile/20060202-1.c (size_t): Likewise,
        * gcc.c-torture/compile/20080613-1.c (size_t): Likewise,
        * gcc.c-torture/compile/920428-2.c (size_t): Likewise,
        * gcc.c-torture/compile/980329-1.c (size_t): Likewise,
        * gcc.c-torture/compile/980816-1.c (size_t): Likewise,
        * gcc.c-torture/compile/pr32584.c (size_t): Likewise,
        * (__ssize_t): Likewise.
        * gcc.c-torture/compile/pr33173.c (size_t): Likewise,
        * gcc.c-torture/compile/pr33382.c (size_t): Likewise,
        * gcc.c-torture/compile/pr34334.c (size_t): Likewise,
        * gcc.c-torture/compile/pr34688.c (size_t): Likewise,
        * gcc.c-torture/compile/pr35043.c (size_t): Likewise,
        * gcc.c-torture/compile/pr37669.c (size_t): Likewise,
        * gcc.dg/20050629-1.c (size_t): Typedef size_t via __SIZE_TYPE__.
        * gcc.dg/pr33667.c (size_t): Likewise.
        * gcc.dg/prefetch-loop-arrays-1.c (size_t): Likewise.
        * gcc.dg/torture/pr39204.c (size_t): Likewise.
        * gcc.dg/tree-ssa/20041122-1.c (size_t): Likewise.
        * gcc.dg/tree-ssa/pr36908.c (size_t): Likewise.
        * gcc.dg/tree-ssa/pr38250.c (size_t): Likewise.
        * gcc.dg/tree-ssa/ssa-dse-10.c (size_t): Likewise.

From-SVN: r147946
2009-05-28 11:19:37 +02:00
Alexandre Oliva
8fc552b40f tree-inline.c (remap_decls): Enable nonlocalized variables when not optimizing.
* tree-inline.c (remap_decls): Enable nonlocalized variables
when not optimizing.

From-SVN: r147942
2009-05-28 06:52:15 +00:00
Alexandre Oliva
c00399b7ff tree-ssa-live.c (remove_unused_locals): Skip when not optimizing.
* tree-ssa-live.c (remove_unused_locals): Skip when not optimizing.
Simplify other tests involving optimize.

From-SVN: r147940
2009-05-28 06:49:43 +00:00
GCC Administrator
821ea72f71 Daily bump.
From-SVN: r147936
2009-05-28 00:16:59 +00:00
H.J. Lu
887d3aea9f backport: re PR target/40266 (march-native gives -mno-sse4, but cpuinfo sse4_1)
2009-05-27  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-05-27  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/40266
	* config/i386/driver-i386.c (host_detect_local_cpu): Support
	AVX, SSE4, AES, PCLMUL and POPCNT.

From-SVN: r147914
2009-05-27 07:54:00 -07:00
Kai Tietz
a9d74213ce array1.C (array): Use __SIZE_TYPE__ cast instead of assuming 0ul.
2009-05-27  Kai TIetz  <kai.tietz@onevision.com>

        * g++.old-deja/g++.brendan/array1.C (array): Use __SIZE_TYPE__
        cast instead of assuming 0ul.
        * g++.old-deja/g++.brendan/crash64.C (size_t): Define it via
        __SIZE_TYPE__.
        (_type_desc): Make first argument const.
        * g++.old-deja/g++.jason/new3.C (dg-options): Add -Wno-long-long.

From-SVN: r147897
2009-05-27 08:37:45 +02:00
Jerry DeLisle
e4995489fb Backport PRs 22423, 25561, 37754, 38654, 38668, 39664, 39665, 39667, 39782
2009-05-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	Backport from mainline:
	PR libfortran/37754
	* io/write_float.def: Simplify format calculation.
	
2009-05-23  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

	Backport from mainline:
	PR fortran/22423
	* io/transfer.c (read_block_direct): Avoid warning.

2009-05-23  Janne Blomqvist  <jb@gcc.gnu.org>

	Backport from mainline:
	PR libfortran/39667
	* io/file_pos.c (st_rewind): Don't truncate or flush.
	* io/intrinsics.c (fgetc): Flush if switching mode.
	(fputc): Likewise.

2009-05-23  Janne Blomqvist  <jb@gcc.gnu.org>

	Backport from mainline:
	PR libfortran/39782
	* io/transfer.c (data_transfer_init): Don't flush before seek.

2009-05-23  Janne Blomqvist  <jb@gcc.gnu.org>

	Backport from mainline:
	* io/io.h (is_preconnected): Remove prototype.
	* io/unix.c (is_preconnected): Remove function.

2009-05-23  Janne Blomqvist  <jb@gcc.gnu.org>

	Backport from mainline:
	PR libfortran/38668
	* io/transfer.c (finalize_transfer): Don't flush for advance='no'.

2009-05-23 Danny Smith  <dannysmith@clear.net.nz>

	Backport from mainline:
	* io/write.c (itoa) : Rename back to gfc_itoa.
	(write_i): Adjust call to write_decimal.
	(write_integer):  Use gfc_itoa.

2009-05-23  Janne Blomqvist  <jb@gcc.gnu.org>

	Backport from mainline:
	* io/io.h (move_pos_offset): Remove prototype.
	* io/transfer.c (formatted_transfer_scalar_read): Use sseek
	instead of move_pos_offset.
	* io/unix.c (move_pos_offset): Remove.

2009-05-23  Janne Blomqvist  <jb@gcc.gnu.org>

	Backport from mainline:
	PR libfortran/39665 libfortran/39702 libfortran/39709
	* io/io.h (st_parameter_dt): Revert aligned attribute from u.p.value.
	* io/list_read.c (read_complex): Read directly into user pointer.
	(read_real): Likewise.
	(list_formatted_read_scalar): Update read_complex and read_real calls.
	(nml_read_obj): Read directly into user pointer.

2009-05-23  Janne Blomqvist  <jb@gcc.gnu.org>

	Backport from mainline:
	PR libfortran/39665
	* io/io.h (st_parameter_dt): Add aligned attribute to u.p.value.
	* io/read.c (convert_real): Add note about alignment requirements.

2009-05-23  Janne Blomqvist  <jb@gcc.gnu.org>

	Backport from mainline:
	* io/open.c (already_open): Test for POSIX close return value.
	* io/unit.c (close_unit_1): Likewise.
	* io/unix.c (raw_close): Return 0 for success for preconnected units.

2009-05-23  Janne Blomqvist  <jb@gcc.gnu.org>

	Backport from mainline:
	* runtime/error.c (gfc_itoa): Move to io/write.c
	(xtoa): Rename to gfc_xtoa.
	* runtime/backtrace.c (show_backtrace): Call gfc_xtoa.
	* libgfortran.h (gfc_itoa): Remove prototype.
	(xtoa): Rename prototype to gfc_xtoa.
	* io/list_read.c (nml_read_obj): Use size_t for string length.
	* io/transfer.c (read_block_direct): Change nbytes arg from
	pointer to value.
	(unformatted_read): Minor cleanup, call read_block_directly properly.
	(skip_record): Use ssize_t.
	(next_record_w_unf): Avoid stell() call by calling sseek with SEEK_CUR.
	(iolength_transfer): Make sure to multiply before cast.
	* io/intrinsics.c (fgetc): Remove unnecessary variable.
	* io/format.c (format_hash): Use gfc_charlen_type.
	* io/write.c (itoa): Move from runtime/error.c:gfc_itoa, rename,
	make static.
	(write_i): Call with pointer to itoa.
	(write_z): Call with pointer to gfc_xtoa.
	(write_integer): Pointer to itoa.
	(nml_write_obj): Type cleanup, don't call strlen in loop.
	
2009-05-23  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	PR libgfortran/39664
	* io/unix.c (raw_close): Don't close STDOUT_FILENO,
	STDERR_FILENO nor STDIN_FILENO.

2009-05-23  David Edelsohn  <edelsohn@gnu.org>
	
	Backport from mainline:
	* io/io.h (struct stream): Rename truncate to trunc.
	(struncate): Same.
	* io/unix.c (raw_init): Rename truncate to trunc.
	(buf_init): Same.
	(open_internal): Same.
	
2009-05-23  Daniel Kraft  <d@domob.eu>

	Backport from mainline:
	PR fortran/38654
	* io/read.c (read_f): Reworked to speed up floating point parsing.
	(convert_real): Use pointer-casting instead of memcpy and temporaries.

2009-05-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	Backport from mainline:
	PR libfortran/37754
	* io/io.h (format_hash_entry): New structure for hash table.
	(format_hash_table): The hash table itself.
	(free_format_data): Revise function prototype.
	(free_format_hash_table, init_format_hash,
	free_format_hash): New function prototypes.
	* io/unit.c (close_unit_1): Use free_format_hash_table.
	* io/transfer.c (st_read_done, st_write_done): Free format data if
	internal unit.
	* io/format.c (free_format_hash_table): New function that frees any
	memory allocated previously for cached format data.
	(reset_node): New static helper function to reset the format counters
	for a format node.
	(reset_fnode_counters): New static function recursively calls reset_node
	to traverse the	fnode tree.
	(format_hash): New simple hash function based on XOR, probabalistic,
	tosses collisions.
	(save_parsed_format): New static function to save the parsed format
	data to use again.
	(find_parsed_format): New static function searches the hash table
	looking for a match.
	(free_format_data): Revised to accept pointer to format data rather than
	the dtp pointer so that the function can be used in more places.
	(format_lex): Editorial.
	(parse_format_list): Set flag used to determine of format data hashing
	is to be used.  Internal units are not persistent enough for this.
	(revert): Move to ne location in file.
	(parse_format): Use new functions to look for previously parsed
	format strings and use them rather than re-parse.  If not found, saves
	the parsed format data for later use.
	
2009-05-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	Backport from mainline:
	PR libfortran/37754
	* io/transfer.c (formatted_transfer_scalar): Remove this function by
	factoring it into two new functions, one for read and one for write,
	eliminating all the conditionals for read or write mode.
	(formatted transfer_scalar_read): New function.
	(formatted transfer_scalar_write): New function.
	(formatted_transfer): Use new functions.

2009-05-23  Janne Blomqvist  <jb@gcc.gnu.org>

	Backport from mainline:
	PR libfortran/25561 libfortran/37754
	* io/io.h (struct stream): Define new stream interface function
	pointers, and inline functions for accessing it.
	(struct fbuf): Use int instead of size_t, remove flushed element.
	(mem_alloc_w): New prototype.
	(mem_alloc_r): New prototype.
	(stream_at_bof): Remove prototype.
	(stream_at_eof): Remove prototype.
	(file_position): Remove prototype.
	(flush): Remove prototype.
	(stream_offset): Remove prototype.
	(unit_truncate): New prototype.
	(read_block_form): Change to return pointer, int* argument.
	(hit_eof): New prototype.
	(fbuf_init): Change prototype.
	(fbuf_reset): Change prototype.
	(fbuf_alloc): Change prototype.
	(fbuf_flush): Change prototype.
	(fbuf_seek): Change prototype.
	(fbuf_read): New prototype.
	(fbuf_getc_refill): New prototype.
	(fbuf_getc): New inline function.
	* io/fbuf.c (fbuf_init): Use int, get rid of flushed.
	(fbuf_debug): New function.
	(fbuf_reset): Flush, and return position offset.
	(fbuf_alloc): Simplify, don't flush, just realloc.
	(fbuf_flush): Make usable for read mode, salvage remaining bytes.
	(fbuf_seek): New whence argument.
	(fbuf_read): New function.
	(fbuf_getc_refill): New function.
	* io/file_pos.c (formatted_backspace): Use new stream interface.
	(unformatted_backspace): Likewise.
	(st_backspace): Make sure format buffer is reset, use new stream
	interface, use unit_truncate.
	(st_endfile): Likewise.
	(st_rewind): Likewise.
	* io/intrinsics.c: Use new stream interface.
	* io/list_read.c (push_char): Don't use u.p.scratch, use realloc
	to resize.
	(free_saved): Don't check u.p.scratch.
	(next_char): Use new stream interface, use fbuf_getc() for external files.
	(finish_list_read): flush format buffer.
	(nml_query): Update to use modified interface:s
	* io/open.c (test_endfile): Use new stream interface.
	(edit_modes): Likewise.
	(new_unit): Likewise, set bytes_left to 1 for stream files.
	* io/read.c (read_l): Use new read_block_form interface.
	(read_utf8): Likewise.
	(read_utf8_char1): Likewise.
	(read_default_char1): Likewise.
	(read_utf8_char4): Likewise.
	(read_default_char4): Likewise.
	(read_a): Likewise.
	(read_a_char4): Likewise.
	(read_decimal): Likewise.
	(read_radix): Likewise.
	(read_f): Likewise.
	* io/transfer.c (read_sf): Use fbuf_read and mem_alloc_r, remove
	usage of u.p.line_buffer.
	(read_block_form): Update interface to return pointer, use
	fbuf_read for direct access.
	(read_block_direct): Update to new stream interface.
	(write_block): Use mem_alloc_w for internal I/O.
	(write_buf): Update to new stream interface.
	(formatted_transfer_scalar): Don't use u.p.line_buffer, use
	fbuf_seek for external files.
	(us_read): Update to new stream interface.
	(us_write): Likewise.
	(data_transfer_init): Always check if we switch modes and flush.
	(skip_record): Use new stream interface, fix comparison.
	(next_record_r): Check for and reset u.p.at_eof, use new stream
	interface, use fbuf_getc for spacing.
	(write_us_marker): Update to new stream interface, don't inline.
	(next_record_w_unf): Likewise.
	(sset): New function.
	(next_record_w): Use new stream interface, use fbuf for printing
	newline.
	(next_record): Use new stream interface.
	(finalize_transfer): Remove sfree call, use new stream interface.
	(st_iolength_done): Don't use u.p.scratch.
	(st_read): Don't check for end of file.
	(st_read_done): Don't use u.p.scratch, use unit_truncate.
	(hit_eof): New function.
	* io/unit.c (init_units): Always init fbuf for formatted units.
	(update_position): Use new stream interface.
	(unit_truncate): New function.
	(finish_last_advance_record): Use fbuf to print newline.
	* io/unix.c: Remove unused SSIZE_MAX macro.
	(BUFFER_SIZE): Make static const variable rather than macro.
	(struct unix_stream): Remove dirty_offset, len, method,
	small_buffer. Order elements by decreasing size.
	(struct int_stream): Remove.
	(move_pos_offset): Remove usage of dirty_offset.
	(reset_stream): Remove.
	(do_read): Rename to raw_read, update to match new stream
	interface.
	(do_write): Rename to raw_write, update to new stream interface.
	(raw_seek): New function.
	(raw_tell): New function.
	(raw_truncate): New function.
	(raw_close): New function.
	(raw_flush): New function.
	(raw_init): New function.
	(fd_alloc): Remove.
	(fd_alloc_r_at): Remove.
	(fd_alloc_w_at): Remove.
	(fd_sfree): Remove.
	(fd_seek): Remove.
	(fd_truncate): Remove.
	(fd_sset): Remove.
	(fd_read): Remove.
	(fd_write): Remove.
	(fd_close): Remove.
	(fd_open): Remove.
	(fd_flush): Rename to buf_flush, update to new stream interface
	and unix_stream.
	(buf_read): New function.
	(buf_write): New function.
	(buf_seek): New function.
	(buf_tell): New function.
	(buf_truncate): New function.
	(buf_close): New function.
	(buf_init): New function.
	(mem_alloc_r_at): Rename to mem_alloc_r, change prototype.
	(mem_alloc_w_at): Rename to mem_alloc_w, change prototype.
	(mem_read): Change to match new stream interface.
	(mem_write): Likewise.
	(mem_seek): Likewise.
	(mem_tell): Likewise.
	(mem_truncate): Likewise.
	(mem_close): Likewise.
	(mem_flush): New function.
	(mem_sfree): Remove.
	(empty_internal_buffer): Cast to correct type.
	(open_internal): Use correct type, init function pointers.
	(fd_to_stream): Test whether to open file as buffered or raw.
	(output_stream): Remove mode set.
	(error_stream): Likewise.
	(flush_all_units_1): Use new stream interface.
	(flush_all_units): Likewise.
	(stream_at_bof): Remove.
	(stream_at_eof): Remove.
	(file_position): Remove.
	(file_length): Update logic to use stream interface.
	(flush): Remove.
	(stream_offset): Remove.
	* io/write.c (write_utf8_char4): Use int instead of size_t.
	(write_x): Extra safety check.
	(namelist_write_newline): Use new stream interface.

From-SVN: r147887
2009-05-27 01:21:22 +00:00
GCC Administrator
6ab070dd0b Daily bump.
From-SVN: r147885
2009-05-27 00:16:32 +00:00
GCC Administrator
6d503275ab Daily bump.
From-SVN: r147858
2009-05-26 00:16:44 +00:00
Jason Merrill
355058f505 re PR c++/38064 ([c++0x] operator== doesn't work for enum classes)
PR c++/38064
        * typeck.c (cp_build_binary_op): Allow ENUMERAL_TYPE in
        arithmetic comparisons.
        (cp_common_type): Handle scoped enums.

From-SVN: r147855
2009-05-25 19:07:05 -04:00
Rainer Orth
7fa170ec2b re PR bootstrap/40027 (i686-pc-solaris2.10 bootstrap fails using Sun ld)
PR bootstrap/40027
	* config/i386/i386.c (USE_HIDDEN_LINKONCE): Only define if missing.
	* config/i386/sol2.h [!TARGET_GNU_LD] (USE_HIDDEN_LINKONCE): Define.

From-SVN: r147846
2009-05-25 12:13:38 +00:00
GCC Administrator
bfcb949c93 Daily bump.
From-SVN: r147839
2009-05-25 00:16:37 +00:00
Kaz Kojima
08429c9d82 sh.c (sh_set_return_address): Mark store of return address with a USE.
* gcc/config/sh/sh.c (sh_set_return_address): Mark store of
	return address with a USE.

From-SVN: r147837
2009-05-24 22:18:47 +00:00
GCC Administrator
f6b530c8b0 Daily bump.
From-SVN: r147826
2009-05-24 00:16:40 +00:00
Eric Botcazou
7c3a393820 passes.texi: Standardize spelling of RTL, Tree and Tree SSA.
* doc/passes.texi: Standardize spelling of RTL, Tree and Tree SSA.
	Remove outdated reference to flow.c and fix nits.
	* doc/gccint.texi: Tweak RTL description.
	* doc/rtl.texi: Likewise.

From-SVN: r147822
2009-05-23 17:55:01 +00:00
GCC Administrator
d0eb301df0 Daily bump.
From-SVN: r147810
2009-05-23 00:16:33 +00:00
Zdenek Dvorak
5ba044b7ec re PR tree-optimization/40087 (Number of iterations analysis wrong)
PR tree-optimization/40087
	* tree-ssa-loop-niter.c (number_of_iterations_ne_max,
	number_of_iterations_ne): Rename never_infinite argument.
	(number_of_iterations_lt_to_ne, number_of_iterations_lt,
	number_of_iterations_le): Handle pointer-type ivs when
	exit_must_be_taken is false.
	(number_of_iterations_cond):  Do not always assume that
	exit_must_be_taken if the control variable is a pointer.

	* gcc.dg/tree-ssa/pr40087.c: New test.

From-SVN: r147806
2009-05-22 20:43:39 +00:00
Vladimir Makarov
fd27e1bb12 re PR target/39856 (ICE in subst_stack_regs_pat, at reg-stack.c:1386)
2009-05-22 Vladimir Makarov <vmakarov@redhat.com>

	PR target/39856
	* reg-stack.c (subst_stack_regs_pat): Remove gcc_assert for note
	for clobber.

From-SVN: r147803
2009-05-22 18:59:30 +00:00
Francois-Xavier Coudert
68aed7e4a6 re PR fortran/40195 (Cannot unlink existing module file)
PR fortran/40195
	* module.c (read_md5_from_module_file): Close file before returning.

From-SVN: r147796
2009-05-22 12:54:23 +00:00
GCC Administrator
6fc2aa8f75 Daily bump.
From-SVN: r147785
2009-05-22 00:16:41 +00:00
Kaz Kojima
52f5dd394d re PR rtl-optimization/40105 (SH: 4.3/4.4 compilers segfault when recompiling itself on gentoo system)
PR rtl-optimization/40105
	Backport from mainline:

	2009-04-29  Eric Botcazou  <ebotcazou@adacore.com>
		    Steven Bosscher  <steven@gcc.gnu.org>

	* Makefile.in (cfgrtl.o): Add $(INSN_ATTR_H).
	* cfgrtl.c: Include insn-attr.h.
	(rest_of_pass_free_cfg): New function.
	(pass_free_cfg): Use rest_of_pass_free_cfg as execute function.

	2009-04-27  Richard Sandiford  <rdsandiford@googlemail.com>
		    Eric Botcazou  <ebotcazou@adacore.com>

	* resource.c (find_basic_block): Use BLOCK_FOR_INSN to look up
	a label's basic block.
	(mark_target_live_regs): Tidy and rework obsolete comments.
	Change back DF problem to LIVE.  If a label starts a basic block,
	assume that all registers that used to be live then still are.
	(init_resource_info): If a label starts a basic block, set its
	BLOCK_FOR_INSN accordingly.
	(free_resource_info): Undo the setting of BLOCK_FOR_INSN.

From-SVN: r147780
2009-05-21 23:17:37 +00:00
Jakub Jelinek
9539064bb0 re PR target/39942 (Nonoptimal code - leaveq; xchg %ax,%ax; retq)
PR target/39942
	* config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Don't emit second
	.p2align 3 if MAX_SKIP is smaller than 7.
	* config/i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.

From-SVN: r147765
2009-05-21 15:21:30 +02:00
David Billinghurst
fd5a3a5831 backport: re PR libstdc++/36211 (__iconv_adaptor chooses char** where const char** is required)
2009-05-21  David Billinghurst <billingd@gcc.gnu.org>

	Backport from mainline:
	PR libstdc++/36211
	* testsuite/lib/libstdc++.exp(v3_target_compile):  Add
	cxxldflags to additional_flags rather than cxx_final.

From-SVN: r147762
2009-05-21 11:30:55 +00:00
GCC Administrator
060770417c Daily bump.
From-SVN: r147754
2009-05-21 00:16:34 +00:00
Jakub Jelinek
914e637813 re PR middle-end/40204 (segfault with bitfields in structs)
PR middle-end/40204
	* fold-const.c (fold_binary) <case BIT_AND_EXPR>: Avoid infinite
	recursion if build_int_cst_type returns the same INTEGER_CST as
	arg1.

	* gcc.c-torture/compile/pr40204.c: New test.

From-SVN: r147750
2009-05-20 23:11:10 +02:00
Jakub Jelinek
2228f1aa41 re PR libgomp/40174 (Memory leak when using '#pragma omp parallel')
PR libgomp/40174
	* team.c (gomp_thread_start): Destroy thr->release semaphore.
	(gomp_free_pool_helper): Likewise.

From-SVN: r147748
2009-05-20 22:55:25 +02:00
GCC Administrator
8e9a5ef369 Daily bump.
From-SVN: r147724
2009-05-20 00:16:37 +00:00
H.J. Lu
f83489c5f8 backport: re PR c/40172 (Revision 147596 breaks bootstrap)
2009-05-19  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-05-19  H.J. Lu  <hongjiu.lu@intel.com>

	PR c/40172
	* gcc.dg/pr40172-1.c: New.
	* gcc.dg/pr40172-2.c: Likewise.
	* gcc.dg/pr40172-3.c: Likewise.

From-SVN: r147720
2009-05-19 14:24:23 -07:00
Richard Guenther
892937665d tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Do not falsely claim to have propagated into all uses.
2009-05-19  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Do
	not falsely claim to have propagated into all uses.

	* gcc.c-torture/compile/20090519-1.c: New testcase.

From-SVN: r147703
2009-05-19 11:54:16 +00:00
GCC Administrator
fb1f1c3156 Daily bump.
From-SVN: r147687
2009-05-19 00:16:37 +00:00
Paolo Carlini
27e21e080c re PR c++/40192 (Unable to use std::vector with typedef'd array types)
2009-05-18  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/40192
	* include/bits/stl_construct.h (struct _Destroy_aux): Add.
	(_Destroy(_ForwardIterator, _ForwardIterator)): Use the latter.
	* testsuite/23_containers/vector/40192.cc: New.

From-SVN: r147681
2009-05-18 23:16:48 +00:00
Dodji Seketeli
9ea04561f2 Candidate Fix for PR debug/40109
gcc/ChangeLog:
PR debug/40109
* dwarf2out.c (gen_type_die_with_usage): Generate the DIE as a
child of the containing namespace's DIE.

gcc/testsuite/ChangeLog:
PR debug/40109
* g++.dg/debug/dwarf2/nested-1.C: New test.

From-SVN: r147675
2009-05-18 21:24:17 +02:00
H.J. Lu
e1c380c052 backport: re PR testsuite/39907 (Aligned access to unaligned address)
2009-05-18  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-05-18  H.J. Lu  <hongjiu.lu@intel.com>

	PR testsuite/39907
	* gcc.target/x86_64/abi/asm-support.S (snapshot_ret): Preserve
	stack alignment.

From-SVN: r147668
2009-05-18 09:54:31 -07:00
Richard Guenther
b7943d39f0 re PR tree-optimization/39999 (gcc 4.4.0 compiles in infinite loop)
2009-05-18  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/39999
	* gimple.h (gimple_expr_type): Use the expression type looking
	through useless conversions.
	* tree-ssa-sccvn.c (vn_nary_op_lookup_stmt): Use gimple_expr_type.
	(vn_nary_op_insert_stmt): Likewise.
	(simplify_binary_expression): Likewise.

	* gcc.c-torture/compile/pr39999.c: New testcase.

From-SVN: r147657
2009-05-18 10:13:43 +00:00
Bechir Zalila
a335923eb2 re PR ada/40166 (Ada compiler unable to build libraries)
PR ada/40166
	* Makefile.in (TOOLS_TARGET_PAIRS): Use the correct path to the
	target specific sources.

From-SVN: r147653
2009-05-18 07:41:14 +00:00
GCC Administrator
68b200b2b8 Daily bump.
From-SVN: r147648
2009-05-18 00:16:29 +00:00
Jason Merrill
205c5b1145 re PR c++/40139 (ICE on invalid use of destructor)
PR c++/40139
        * semantics.c (finish_id_expression): Fix logic.

From-SVN: r147643
2009-05-17 16:34:30 -04:00
GCC Administrator
ec7835ecc1 Daily bump.
From-SVN: r147628
2009-05-17 00:16:27 +00:00
Richard Earnshaw
38bb58a093 re PR target/40153 (Long long comparison optimized away incorrectly in Thumb code.)
PR target/40153
	* arm.md (cstoresi_nltu_thumb1): Use a neg of ltu as the pattern name
	implies.

From-SVN: r147614
2009-05-16 13:28:27 +00:00
David Billinghurst
13a2d9093b default_format_denormal_1.f90: XFAIL on cygwin.
2009-05-16  David Billinghurst <billingd@gcc.gnu.org>

        * gfortran.dg/default_format_denormal_1.f90: XFAIL on cygwin.
        * gfortran.dg/default_format_1.f90: Revert change of 2009-05-12

Correct accidental commit of wrong file.

From-SVN: r147611
2009-05-16 11:01:47 +00:00
GCC Administrator
79b20082a2 Daily bump.
From-SVN: r147603
2009-05-16 00:16:40 +00:00
Janne Blomqvist
8d0c430087 Backport fix for PR libfortran/39872 from trunk.
From-SVN: r147601
2009-05-16 02:45:08 +03:00
GCC Administrator
ad0f651b97 Daily bump.
From-SVN: r147549
2009-05-15 00:16:43 +00:00
H.J. Lu
20e07f59cc backport: re PR middle-end/40147 (Memory leak in revision 147436)
2009-05-14  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-05-14  H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/40147
	* ipa-utils.h (memory_identifier_string): Moved to ...
	* tree.h (memory_identifier_string): Here.  Add GTY(()).

From-SVN: r147536
2009-05-14 08:52:58 -07:00
GCC Administrator
9c187ac3ab Daily bump.
From-SVN: r147511
2009-05-14 00:16:47 +00:00
Ben Elliston
df58af341e backport: re PR middle-end/40035 (ICE when cross-compiling with -Os)
Backport from mainline:

 	PR middle-end/40035
 	* dse.c (check_mem_read_rtx): Guard against width == -1.
testsuite/
	* gcc.c-torture/compile/pr40035.c: New test.

From-SVN: r147501
2009-05-14 07:42:03 +10:00
Kaveh R. Ghazi
430c2e2b77 pr39543-2.c: Skip if ilp32 && pic.
* gcc.target/i386/pr39543-2.c: Skip if ilp32 && pic.

From-SVN: r147496
2009-05-13 20:24:52 +00:00
Uros Bizjak
edc702bfe7 re PR target/37179 (gcc emits bad opcode 'ffreep')
PR target/37179
	* config/i386/driver-i386.c (processor_signatures): New enum.
	(SIG_GEODE): Move from vendor_signatures to processor_signatures.
	(host_detect_local_cpu): For SIG_AMD vendor, check for SIG_GEODE
	processor signature to detect geode processor.

From-SVN: r147469
2009-05-13 12:05:48 +02:00
Ben Elliston
461b23e38e backport: Makefile.am (PCHFLAGS): Remove -Winvalid-pch.
Backport from mainline:
	* include/Makefile.am (PCHFLAGS): Remove -Winvalid-pch.
	* include/Makefile.in: Likewise.

From-SVN: r147460
2009-05-13 10:24:16 +10:00
GCC Administrator
f6b7fada21 Daily bump.
From-SVN: r147457
2009-05-13 00:16:33 +00:00
Jakub Jelinek
1c3502d2b7 re PR middle-end/39666 (spurious warning with ranged-switch statements)
PR middle-end/39666
	* gimplify.c (gimplify_switch_expr): If case labels cover the whole
	range of the type, but default label is missing, add it with one
	of the existing labels instead of adding a new label for it.

	* gcc.dg/pr39666-1.c: New test.
	* gcc.dg/pr39666-2.c: Likewise.
	* g++.dg/warn/Wuninitialized-4.C: Likewise.
	* g++.dg/warn/Wuninitialized-5.C: Likewise.
	* gfortran.dg/pr39666-1.f90: Likewise.
	* gfortran.dg/pr39666-2.f90: Likewise.

From-SVN: r147440
2009-05-12 18:19:29 +02:00
Johannes Singler
1a89fe6dee re PR libstdc++/39546 (parallel mode doesn't support implicit string conversion)
2009-05-12  Johannes Singler  <singler@ira.uka.de>

        PR libstdc++/39546
        * include/parallel/algo.h (find_switch):
        Parametrize binder2nd with const T& instead of T.
        * testsuite/25_algorithms/find/39546.cc: new test case

From-SVN: r147439
2009-05-12 14:57:35 +00:00
David Billinghurst
938f736d00 default_format_1.f90: XFAIL on cygwin.
2009-05-12  David Billinghurst <billingd@gcc.gnu.org>

	* gfortran.dg/default_format_1.f90: XFAIL on cygwin.

From-SVN: r147431
2009-05-12 11:58:18 +00:00
David Billinghurst
67a380b7d5 target-supports.exp (check_profiling_available): Return false for -p on *-*-cygwin* targets.
2009-05-12  David Billinghurst <billingd@gcc.gnu.org>

	* lib/target-supports.exp (check_profiling_available): Return
 	false for -p on *-*-cygwin* targets.

From-SVN: r147422
2009-05-12 08:41:28 +00:00
GCC Administrator
ad9b97a093 Daily bump.
From-SVN: r147403
2009-05-12 00:16:33 +00:00
H.J. Lu
9de4c68e0a backport: [multiple changes]
2009-05-11  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-05-11  H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/40080
	* gcc.c-torture/compile/pr40080.c: New.

	2009-05-11  Paolo Bonzini  <bonzini@gnu.org>

	* gcc.c-torture/compile/pr40026.c: New testcase.

	2009-05-09  Jan Hubicka  <jh@suse.cz>

	PR middle-end/40043
	* g++.dg/eh/nested-try.C: New test.

From-SVN: r147390
2009-05-11 09:49:17 -07:00
H.J. Lu
093ceecb07 backport: tree-vect-analyze.c (vect_analyze_group_access): Use HOST_WIDE_INT for gap.
2009-05-11  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-05-11  H.J. Lu  <hongjiu.lu@intel.com>

	* tree-vect-analyze.c (vect_analyze_group_access): Use
	HOST_WIDE_INT for gap.

From-SVN: r147376
2009-05-11 06:55:36 -07:00
Ira Rosen
f2ef9b8adb re PR tree-optimization/40074 (ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:944)
PR tree-optimization/40074
	* tree-vect-analyze.c (vect_analyze_group_access): Take gaps into
	account in group size and step comparison.

From-SVN: r147370
2009-05-11 11:54:02 +00:00
Matthias Klose
c45681b3e5 Makefile.am (install-data-local): Fix symlinks to header files.
2009-05-11  Matthias Klose  <doko@ubuntu.com>

        * Makefile.am (install-data-local): Fix symlinks to header files.
        Don't create a symlink for javac.
        * Makefile.in: Regenerate.

From-SVN: r147361
2009-05-11 08:21:39 +00:00
GCC Administrator
b3b0be67ae Daily bump.
From-SVN: r147355
2009-05-11 00:16:35 +00:00
Paul Thomas
fb6e5cc2e8 re PR fortran/40018 (ICE in output_constructor)
2009-05-10  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/40018
	* trans-array.c (gfc_trans_array_constructor_value): Fold
	convert numeric constants.
	(gfc_build_constant_array_constructor): The same.

2009-05-10  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/40018
	* gfortran.dg/array_constructor_31.f90: New test.

From-SVN: r147347
2009-05-10 16:14:37 +00:00
Paul Thomas
23c0c8daec re PR fortran/38863 (WHERE with multiple elemental defined assignments gives wrong answer)
2009-05-10  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/38863
	* trans-expr.c (gfc_conv_operator_assign): Remove function.
	* trans.h : Remove prototype for gfc_conv_operator_assign.
	* trans-stmt.c (gfc_conv_elemental_dependencies): Initialize
	derivde types with intent(out).
	(gfc_trans_call): Add mask, count1 and invert arguments. Add
	code to use mask for WHERE assignments.
	(gfc_trans_forall_1): Use new arguments for gfc_trans_call.
	(gfc_trans_where_assign): The gfc_symbol argument is replaced
	by the corresponding code. If this has a resolved_sym, then
	gfc_trans_call is called. The call to gfc_conv_operator_assign
	is removed.
	(gfc_trans_where_2): Change the last argument in the call to
	gfc_trans_where_assign.
	* trans-stmt.h : Modify prototype for gfc_trans_call.
	* trans.c (gfc_trans_code): Use new args for gfc_trans_call.

2009-05-10  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/38863
	* gfortran.dg/dependency_24.f90: New test.

From-SVN: r147345
2009-05-10 15:34:55 +00:00
Paul Thomas
bfdcb9ad09 re PR fortran/39879 (double free or corruption abort with gfortran)
2009-05-10  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/39879
	* trans_expr.c (gfc_conv_procedure_call): Deep copy a derived
	type parentheses argument if it is a variable with allocatable
	components.

2009-05-10  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/39879
	* gfortran.dg/alloc_comp_assign_10.f90: New test.

From-SVN: r147336
2009-05-10 10:44:22 +00:00
David Billinghurst
c1b3bc6727 re PR fortran/38956 (tests gfortran.dg/chmod_{1,2,3}.f90 fails on i686-pc-cygwin)
2009-04-10  David Billinghurst <billingd@gcc.gnu.org>

        PR fortran/38956
        * gfortran.dg/chmod_1.f90: Don't run on *-*-cygwin*.
        * gfortran.dg/chmod_2.f90: Likewise.
        * gfortran.dg/chmod_3.f90: Likewise.
        * gfortran.dg/open_errors.f90: Likewise.

From-SVN: r147327
2009-05-10 03:35:53 +00:00
GCC Administrator
0a1ddac176 Daily bump.
From-SVN: r147324
2009-05-10 00:16:33 +00:00
GCC Administrator
afb964739c Daily bump.
From-SVN: r147303
2009-05-09 00:16:30 +00:00
Richard Guenther
edcbcc61a7 re PR tree-optimization/40062 (high memory usage and compile time in SCEV cprop with -O3)
2009-05-08  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/40062
	* tree-scalar-evolution.c (follow_ssa_edge_in_condition_phi):
	Avoid exponential behavior.

From-SVN: r147284
2009-05-08 12:28:01 +00:00
GCC Administrator
c2a9dca345 Daily bump.
From-SVN: r147262
2009-05-08 00:16:28 +00:00
Janis Johnson
36afee79d3 re PR middle-end/39986 (decimal float constant is incorrect when cc1 is a 64-bit binary)
PR middle-end/39986
	* dfp.c (encode_decimal32, decode_decimal32, encode_decimal64,
	decode_decimal64, encode_decimal128, decode_decimal128): Avoid
	32-bit memcpy into long.

From-SVN: r147253
2009-05-07 21:38:46 +00:00
Jakub Jelinek
d998b9b1e4 re PR middle-end/40057 (Incorrect right shift by 31 with long long)
PR middle-end/40057
	* dojump.c (prefer_and_bit_test): Use immed_double_const instead of
	GEN_INT for 1 << bitnum.
	(do_jump) <case BIT_AND_EXPR>: Use build_int_cst_wide_type instead of
	build_int_cst_type.

	* gcc.c-torture/execute/pr40057.c: New test.

From-SVN: r147242
2009-05-07 17:36:23 +02:00
Paolo Carlini
831d1848f9 configure.ac: Bump libtool_VERSION to 6:12:0.
2009-05-07  Paolo Carlini  <paolo.carlini@oracle.com>

	* configure.ac: Bump libtool_VERSION to 6:12:0.
	* configure: Regenerate.

From-SVN: r147229
2009-05-07 10:23:06 +00:00
Uros Bizjak
ba414a0a07 md.texi (Standard Pattern Names For Generation): Remove wrong description of "nand" operation.
* doc/md.texi (Standard Pattern Names For Generation) [sync_nand]:
	Remove wrong description of "nand" operation.

From-SVN: r147223
2009-05-07 10:14:55 +02:00
Matthias Klose
2aec74cefc re PR libstdc++/40038 (symbols ceill@GLIBCXX_3.4.3 not exported)
2009-05-07  Matthias Klose  <doko@ubuntu.com>

	PR libstdc++/40038
	* src/math_stubs_long_double.cc: Add ceill.

From-SVN: r147218
2009-05-07 07:03:17 +00:00
GCC Administrator
8c4d042110 Daily bump.
From-SVN: r147211
2009-05-07 00:16:49 +00:00
Dodji Seketeli
a968a68675 re PR c++/17395 (Incorrect lookup for parameters)
2009-05-06  Dodji Seketeli  <dodji@redhat.com>

    gcc/cp/ChangeLog:
    	PR c++/17395
    	* pt.c (tsubst_copy) <case PARM_DECL>: We don't want to tsubst the
    	whole list of PARM_DECLs, just the current one.
    
    gcc/testsuite/ChangeLog:
    	PR c++/17395
    	* g++.dg/template/call7.C: New test.

From-SVN: r147202
2009-05-06 22:43:41 +02:00
H.J. Lu
9e249cbac5 backport: [multiple changes]
2009-05-06  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-05-06  H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/40021
	* gfortran.fortran-torture/execute/pr40021.f: New.

	2009-05-05  Richard Guenther  <rguenther@suse.de>

	PR middle-end/40023
	* gcc.c-torture/compile/pr40023.c: New testcase.

	2009-05-03  Richard Guenther  <rguenther@suse.de>

	PR c/39983
	* gcc.c-torture/compile/pr39983.c: New testcase.

From-SVN: r147195
2009-05-06 10:45:40 -07:00
Janis Johnson
5576a9da4e * gcc.dg/dfp/pr39986.c: New test.
From-SVN: r147189
2009-05-06 17:14:00 +00:00
H.J. Lu
77c1ceaa61 backport: i386.md (*avx_<code><mode>3_finite): Replace ssemodesuffixf2c with avxmodesuffixf2c.
2009-05-06  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-05-06  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.md (*avx_<code><mode>3_finite): Replace
	ssemodesuffixf2c with avxmodesuffixf2c.

From-SVN: r147176
2009-05-06 06:20:41 -07:00
Paolo Carlini
a68c542ef0 revert: acinclude.m4 ([GLIBCXX_ENABLE_ATOMIC_BUILTINS]): Do link tests when possible.
2009-05-06  Paolo Carlini  <paolo.carlini@oracle.com>

	Revert:
	2009-05-03  Paolo Carlini  <paolo.carlini@oracle.com>

	* acinclude.m4 ([GLIBCXX_ENABLE_ATOMIC_BUILTINS]): Do link tests when
	possible.
	* configure: Regenerate.

From-SVN: r147155
2009-05-06 09:00:57 +00:00
Richard Guenther
a3a3503a7c re PR middle-end/40022 (Alpine miscompilation)
2009-05-06  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/40022
	* tree-ssa-phiprop.c (phivn_valid_p): Fix tuplification error.

	* gcc.c-torture/execute/pr40022.c: New testcase.

From-SVN: r147153
2009-05-06 08:32:24 +00:00
GCC Administrator
b5f6022bc5 Daily bump.
From-SVN: r147142
2009-05-06 00:16:37 +00:00
Jonathan Wakely
4d52bfce31 re PR libstdc++/39909 (non-TLS version of std::call_once causes terminate)
2009-05-05  Jonathan Wakely  <jwakely.gcc@gmail.com>

	PR libstdc++/39909
	* include/std/mutex (__get_once_functor_lock, __get_once_mutex,
	__set_once_functor_lock_ptr): Replace global lock object with local
	locks on global mutex.
	* src/mutex.cc (__get_once_functor_lock, __get_once_mutex,
	__set_once_functor_lock_ptr): Likewise, keeping old function to
	preserve ABI.
	(__once_proxy): Use pointer to local lock if set, global lock
	otherwise.
	* config/abi/pre/gnu.ver: Add new symbols to new ABI version.
	* testsuite/util/testsuite_abi.cc: Add GLIBCX_3.4.12 version.
	* testsuite/30_threads/call_once/39909.cc: New.

From-SVN: r147138
2009-05-05 22:44:27 +01:00
Paolo Carlini
5effc461bb acinclude.m4 ([GLIBCXX_ENABLE_ATOMIC_BUILTINS]): Do link tests when possible.
2009-05-05  Paolo Carlini  <paolo.carlini@oracle.com>

	* acinclude.m4 ([GLIBCXX_ENABLE_ATOMIC_BUILTINS]): Do link tests when
	possible.
	* configure: Regenerate.

From-SVN: r147123
2009-05-05 10:26:34 +00:00
Jakub Jelinek
af52aef013 re PR c++/40013 (ICE when creating a local array with size from the return value of a member function of an object in a nested class in a template class)
PR c++/40013
	* pt.c (tsubst): If magic NOP_EXPR with side-effects has no type,
	set it from its operand's type after tsubst_expr.

	* g++.dg/ext/vla7.C: New test.

From-SVN: r147120
2009-05-05 08:41:33 +02:00
GCC Administrator
c2fa1710aa Daily bump.
From-SVN: r147114
2009-05-05 00:16:31 +00:00
DJ Delorie
a661e6cb68 m32c.c (m32c_override_options): Disable -fivopts for -mcpu=m32c until ivopts supports sizeof(ptr) != sizeof(size_t).
* config/m32c/m32c.c (m32c_override_options): Disable -fivopts for
-mcpu=m32c until ivopts supports sizeof(ptr) != sizeof(size_t).
(m32c_legitimize_reload_address): Work around reload bug until
reload supports sizeof(ptr) != sizeof(size_t).

From-SVN: r147112
2009-05-04 19:53:28 -04:00
GCC Administrator
3b82183370 Daily bump.
From-SVN: r147089
2009-05-04 00:16:39 +00:00
Uros Bizjak
deb8f7b0e2 backport: re PR rtl-optimization/39914 (96% performance regression in floating point code; part of the problem started 2009/03/12-13)
Backport from mainline:
	2009-04-28  Uros Bizjak  <ubizjak@gmail.com>

	PR rtl-optimization/39914
	* ira-conflicts.c (ira_build_conflicts): Prohibit call used
	registers for allocnos created from user-defined variables only
	when not optimizing.

From-SVN: r147081
2009-05-03 21:40:35 +02:00
GCC Administrator
e5a6ab743a Daily bump.
From-SVN: r147070
2009-05-03 00:16:28 +00:00
GCC Administrator
bfa37c80ba Daily bump.
From-SVN: r147051
2009-05-02 00:16:35 +00:00
GCC Administrator
87dc9a87f3 Daily bump.
From-SVN: r147027
2009-05-01 00:16:40 +00:00
Jonathan Wakely
d2895c5454 create_testsuite_files: Remove thread directory.
2009-04-30  Jonathan Wakely  <jwakely.gcc@gmail.com>

	* scripts/create_testsuite_files: Remove thread directory.

From-SVN: r147013
2009-04-30 20:04:31 +01:00
Janis Johnson
5ca83513a9 re PR testsuite/39776 (FAIL: g++.dg/ext/altivec-15.C)
PR testsuite/39776
	* g++.dg/ext/altivec-15.C: Remove dg-error for messages that are
	no longer issued.

From-SVN: r147011
2009-04-30 17:53:23 +00:00
GCC Administrator
7b980a3833 Daily bump.
From-SVN: r146993
2009-04-30 00:17:15 +00:00
Benjamin Kosnik
0e61dee557 [multiple changes]
2009-04-29  Benjamin Kosnik  <bkoz@redhat.com>

        * xml/authors.xml: Add space.
        * xml/faq.xml: Update links.
        * xml/manual/intro.xml: Same.
        * xml/manual/abi.xml: Update.
        * xml/manual/appendix_contributing.xml: Fix typo.
        * xml/manual/status_cxxtr1.xml: Update links.
        * xml/manual/status_cxx1998.xml: Same.
        * xml/manual/status_cxx200x.xml: Same.

2009-04-28  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/39868
        * scripts/run_doxygen: Uncomment removal of includes.
        (problematic): Rewrite __cxxabiv1 namespace to abi.

From-SVN: r146985
2009-04-29 19:37:30 +00:00
H.J. Lu
31c0c7104c backport: re PR middle-end/39937 (Revision 146831 failed SPEC CPU 2006)
2009-04-29  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-04-29  Richard Guenther  <rguenther@suse.de>

	PR middle-end/39937
	* gcc.c-torture/compile/pr39937.c: New testcase.

From-SVN: r146981
2009-04-29 08:54:18 -07:00
H.J. Lu
81f8468528 backport: [multiple changes]
2009-04-29  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-04-29  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/39941
	* gcc.c-torture/compile/pr39941.c: New testcase.

	2009-04-29  Anmol P. Paralkar  <anmol@freescale.com>

	PR target/39565
	* gcc.dg/pr39565.c: New testcase.

	2009-04-28  Richard Guenther  <rguenther@suse.de>

	PR middle-end/39937
	* gfortran.fortran-torture/compile/pr39937.f: New testcase.

From-SVN: r146972
2009-04-29 07:54:54 -07:00
Kaveh R. Ghazi
a79f2b7c02 toplev.c (print_version): Update GMP version string calculation.
* toplev.c (print_version): Update GMP version string calculation.

From-SVN: r146922
2009-04-29 04:57:17 +00:00
GCC Administrator
45435fa2d8 Daily bump.
From-SVN: r146919
2009-04-29 00:16:54 +00:00
Jing Yu
d098b7c6f4 backport: re PR testsuite/39790 (gcc.dg/tls/alias-1.c,opt-2.c fail if TLS is not supported by C library)
Backport from mainline.
	PR testsuite/39790
	* lib/target-supports.exp (check_effective_target_tls): Remove
	comment of caching.
	(check_effective_target_tls_native): Likewise.
	(check_effective_target_tls_runtime): Likewise.
	* gcc.dg/tls/alias-1.c (dg-require-effective-target): Change target
	tls to tls_runtime.
	* gcc.dg/tls/opt-2.c: Add dg-require-effective-target tls_runtime.

From-SVN: r146914
2009-04-28 20:57:42 +00:00
Michael Meissner
c01ff46f20 Backport fix for 39769
From-SVN: r146910
2009-04-28 19:18:59 +00:00
H.J. Lu
c30cae9e66 backport: re PR c/39903 (ICE on flexible member)
gcc/

2009-04-28  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-04-27  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39903
	* config/i386/i386.c (construct_container): Don't call
	gen_reg_or_parallel with BLKmode on X86_64_SSE_CLASS,
	X86_64_SSESF_CLASS and X86_64_SSEDF_CLASS.

gcc/testsuite/

2009-04-28  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-04-27  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39903
	* gcc.dg/torture/pr39903-1.c: New.
	* gcc.dg/torture/pr39903-2.c: Likewise.

From-SVN: r146895
2009-04-28 07:35:12 -07:00
Andrew Haley
5c8bd1089b re PR libgcj/39899 (gjdoc in 4.4.0 fails to build the libgcj documentation)
2009-04-28  Andrew Haley  <aph@redhat.com>

        PR libgcj/39899
        * Makefile.am (libgcj_tools_la_LDFLAGS): Add
        -fno-bootstrap-classes to libgcj_tools_la_GCJFLAGS.
        * Makefile.in: Regenerate.

From-SVN: r146890
2009-04-28 12:51:10 +00:00
Paolo Carlini
c7c0981fe4 re PR libstdc++/39880 (Specialisation is_error_code_enum<errc> should not exist)
2009-04-28  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/39880
	PR libstdc++/39881
	PR libstdc++/39882
	* include/std/system_error (is_error_code_enum<errc>): Remove.
	(error_condition<>::error_condition(_ErrorCodeEnum,)
	error_condition<>::operator=(_ErrorCodeEnum)): Use make_error_condition.
	(error_code<>::error_code(_ErrorCodeEnum,),
	error_code<>::operator=(_ErrorCodeEnum)): Use make_error_code.
	* testsuite/19_diagnostics/system_error/39880.cc: New.
	* testsuite/19_diagnostics/error_condition/modifiers/39881.cc:
	Likewise.
	* testsuite/19_diagnostics/error_condition/cons/39881.cc: Likewise.
	* testsuite/19_diagnostics/error_code/modifiers/39882.cc: Likewise.
	* testsuite/19_diagnostics/error_code/cons/39882.cc: Likewise.
	* testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
	Adjust.
	* testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
	Likewise.
	* testsuite/19_diagnostics/error_code/cons/1.cc: Likewise.
	* testsuite/19_diagnostics/error_code/operators/bool.cc: Likewise.
	* testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
	* testsuite/19_diagnostics/error_code/operators/not_equal.cc:
	Likewise.
	* testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Likewise.
	* testsuite/19_diagnostics/system_error/cons-1.cc: Likewise.
	* testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
	* testsuite/30_threads/unique_lock/locking/2.cc: Likewise.

From-SVN: r146886
2009-04-28 10:32:22 +00:00
GCC Administrator
7445940742 Daily bump.
From-SVN: r146866
2009-04-28 00:16:39 +00:00
Jakub Jelinek
814efed353 re PR testsuite/39807 (Reporting of testsuite failures are messed up when using -j)
PR testsuite/39807
	* dg-extract-results.sh: Close open files and use >> instead of >
	to decrease number of concurrently open files from awk.  Avoid
	= at the beginning of a regexp and redirect to a file determined
	by curfile variable rather than concatenated strings to workaround
	Solaris nawk bug.

From-SVN: r146851
2009-04-27 21:13:16 +02:00
Jakub Jelinek
f7d88759b5 re PR rtl-optimization/39794 (Miscompile with -O2 -funroll-loops)
PR rtl-optimization/39794
	* alias.c (canon_true_dependence): Add x_addr argument.
	* rtl.h (canon_true_dependence): Adjust prototype.
	* cse.c (check_dependence): Adjust canon_true_dependence callers.
	* cselib.c (cselib_invalidate_mem): Likewise.
	* gcse.c (compute_transp): Likewise.
	* dse.c (scan_reads_nospill): Likewise.
	(record_store, check_mem_read_rtx): Likewise.  For non-const-or-frame
	addresses pass base->val_rtx as mem_addr, for const-or-frame addresses
	canon_base_addr of the group, plus optional offset.
	(struct group_info): Rename canon_base_mem to
	canon_base_addr.
	(get_group_info): Set canon_base_addr to canon_rtx of base, not
	canon_rtx of base_mem.

	* gcc.dg/pr39794.c: New test.

From-SVN: r146834
2009-04-27 13:55:13 +02:00
GCC Administrator
4095ab5ed0 Daily bump.
From-SVN: r146823
2009-04-27 00:16:51 +00:00
Jakub Jelinek
be091cd51e re PR inline-asm/39543 (Reload failure on mplayer from SVN)
PR inline-asm/39543
	* fwprop.c (forward_propagate_asm): New function.
	(forward_propagate_and_simplify): Propagate also into __asm, if it
	doesn't increase the number of referenced registers.

	* gcc.target/i386/pr39543-1.c: New test.
	* gcc.target/i386/pr39543-2.c: New test.
	* gcc.target/i386/pr39543-3.c: New test.

From-SVN: r146814
2009-04-26 20:58:04 +02:00
Jakub Jelinek
78287916d5 re PR c/39889 (Bogus -Wunused-value warning)
PR c/39889
	* stmt.c (warn_if_unused_value): Look through NON_LVALUE_EXPR.

	* gcc.dg/Wunused-value-3.c: New test.

From-SVN: r146812
2009-04-26 20:53:41 +02:00
Matthias Klose
14ea0ed587 aot-compile.in: Print diagnostics for malformed or invalid class files.
2009-04-26  Matthias Klose <doko@ubuntu.com>

        * contrib/aot-compile.in: Print diagnostics for malformed or invalid
        class files.
        * contrib/generate-cacerts.pl.in: New.
        * configure.ac (AC_CONFIG_FILES): Add generate-cacerts.pl.

From-SVN: r146803
2009-04-26 14:24:38 +00:00
Paolo Carlini
a7b05eebed 2009-04-26 Paolo Carlini <paolo.carlini@oracle.com>
Revert the last commit.

From-SVN: r146797
2009-04-26 10:12:23 +00:00
GCC Administrator
c3edc332a6 Daily bump.
From-SVN: r146791
2009-04-26 00:16:59 +00:00
Jonathan Wakely
f3ad547636 mutex (__get_once_functor_lock, [...]): Replace global lock object with local locks on global mutex.
2009-04-25  Jonathan Wakely  <jwakely.gcc@gmail.com>

	* include/std/mutex (__get_once_functor_lock, __get_once_mutex):
	Replace global lock object with local locks on global mutex.
	* src/mutex.cc: Likewise.
	* config/abi/pre/gnu.ver: Adjust.
	* testsuite/30_threads/call_once/call_once2.cc: New.

From-SVN: r146786
2009-04-25 21:46:44 +01:00
Matthias Klose
645cc9204d configure.ac: Create missing directory gnu/java/security/jce/prng.
2009-04-24  Matthias Klose  <doko@ubuntu.com>

        * configure.ac: Create missing directory gnu/java/security/jce/prng.
        * configure: Regenerate.

From-SVN: r146760
2009-04-25 08:09:11 +00:00
Kaveh R. Ghazi
25a316558b re PR bootstrap/39739 (Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors)
PR bootstrap/39739
	* configure.ac (extra_mpfr_configure_flags): Set and AC_SUBST.
	* Makefile.def (module=mpfr): Use extra_mpfr_configure_flags.

	* configure, Makefile.in: Regenerate.

From-SVN: r146755
2009-04-25 04:10:29 +00:00
GCC Administrator
b98c37b0c9 Daily bump.
From-SVN: r146751
2009-04-25 00:16:40 +00:00
Andreas Krebbel
6d131ea41f constraints.md ('I', 'J'): Fix condition.
2009-04-24  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/constraints.md ('I', 'J'): Fix condition.

From-SVN: r146730
2009-04-24 14:51:17 +00:00
Paolo Bonzini
35c53992fd re PR middle-end/39867 (Wrong result of conditional operator exp < 2 ? 2U : (unsigned int) exp)
2009-04-24  Paolo Bonzini  <bonzini@gnu.org>

	PR middle-end/39867
	* fold-const.c (fold_cond_expr_with_comparison): When folding
	> and >= to MAX, make sure the MAX uses the same type as the
	comparison's operands.

testsuite:
2009-04-24  Paolo Bonzini  <bonzini@gnu.org>

	PR middle-end/39867
	* gcc.dg/pr39867.c: New.

From-SVN: r146702
2009-04-24 11:34:59 +00:00
GCC Administrator
fab1077d26 Daily bump.
From-SVN: r146666
2009-04-24 00:16:44 +00:00
Ulrich Weigand
b3b4290a16 spu-builtins.h: Delete file.
* config/spu/spu-builtins.h: Delete file.

	* config/spu/spu.h (enum spu_builtin_type): Move here from
	spu-builtins.h.
	(struct spu_builtin_description): Likewise.  Add GTY marker.
	Do not use enum spu_function_code or enum insn_code.
	(spu_builtins): Add extern declaration.

	* config/spu/spu.c: Do not include "spu-builtins.h".
	(enum spu_function_code, enum spu_builtin_type_index,
	V16QI_type_node, V8HI_type_node, V4SI_type_node, V2DI_type_node,
	V4SF_type_node, V2DF_type_node, unsigned_V16QI_type_node,
	unsigned_V8HI_type_node, unsigned_V4SI_type_node,
	unsigned_V2DI_type_node): Move here from spu-builtins.h.
	(spu_builtin_types): Make static.  Add GTY marker.
	(spu_builtins): Add extern declaration with GTY marker.
	Include "gt-spu.h".

	* config/spu/spu-c.c: Do not include "spu-builtins.h".
	(spu_resolve_overloaded_builtin): Do not use spu_function_code.
	Check programmatically whether all parameters are scalar.

	* config/spu/t-spu-elf (spu.o, spu-c.o): Update dependencies.

From-SVN: r146661
2009-04-23 22:50:16 +00:00
Dodji Seketeli
e3a456c79c re PR c++/38228 (ICE with invalid use of bound member function)
2009-04-23  Dodji Seketeli  <dodji@redhat.com>

    gcc/cp/ChangeLog:
    	PR c++/38228
    	* pt.c (unify): Do not allow the result of a template argument
    	deduction to be a METHOD_TYPE.
    	* cvt.c (cp_convert): Report a meaningful error for non-valid use
    	of pointer to member functions during conversions.
    	* call.c (build_new_op): Report a meaningful error for non-valid
    	use of pointer to member functions in binary expressions.
    	* typeck.c (invalid_nonstatic_memfn_p): Do not crash when EXPR is
    	NULL;
    
    gcc/testsuite/ChangeLog:
    	PR c++/38228
    	* g++.dg/expr/bound-mem-fun.C: New test.

From-SVN: r146645
2009-04-23 13:13:57 +02:00
Matthias Klose
569543f011 Makefile.am (install-data-local): Fix symlinks to header files.
2009-04-23  Matthias Klose  <doko@ubuntu.com>

        * Makefile.am (install-data-local): Fix symlinks to header files.
        * Makefile.in: Regenerate.

From-SVN: r146642
2009-04-23 10:43:51 +00:00
Jing Yu
692868257e re PR testsuite/39781 (Fail: g++.dg/cpp/_Pragma1.C, gcc.dg/cpp/_Pragma6.c)
PR testsuite/39781
	* config/arm/arm.h: Define HANDLE_PRAGMA_PACK_PUSH_POP.

From-SVN: r146634
2009-04-23 00:31:13 +00:00
GCC Administrator
97c7bf86a8 Daily bump.
From-SVN: r146631
2009-04-23 00:16:35 +00:00
Eric Botcazou
10f05ce4fc utils2.c (build_binary_op): If operation's type is an enumeral or a boolean type...
* gcc-interface/utils2.c (build_binary_op) <PLUS_EXPR>: If operation's
	type is an enumeral or a boolean type, change it to an integer type
	with the same mode and signedness.

From-SVN: r146626
2009-04-22 22:33:59 +00:00
Eric Botcazou
ed1af9dd45 backport: dbxout.c (dbxout_block): Reinstate test on TREE_USED.
Backport from mainline:
	2009-04-17  Eric Botcazou  <ebotcazou@adacore.com>
	* dbxout.c (dbxout_block): Reinstate test on TREE_USED.
	* tree-ssa-live.c (remove_unused_scope_block_p): Update TREE_USED bit.

From-SVN: r146624
2009-04-22 22:24:45 +00:00
Jakub Jelinek
82ec928fcd re PR c/39855 (Shift optimization discards operands' side effects)
PR c/39855
	* fold-const.c (fold_binary) <case LSHIFT_EXPR>: When optimizing
	into 0, use omit_one_operand.

	* gcc.dg/torture/pr39855.c: New test.

From-SVN: r146622
2009-04-23 00:02:54 +02:00
Eric Botcazou
031828f46e utils.c (create_var_decl_1): Do not emit debug info for an external constant whose initializer is not absolute.
* gcc-interface/utils.c (create_var_decl_1): Do not emit debug info
	for an external constant whose initializer is not absolute.

From-SVN: r146621
2009-04-22 22:02:39 +00:00
Jakub Jelinek
62f713e2d1 alias.c (find_base_term): Move around LO_SUM case, so that CONST falls through into PLUS/MINUS handling.
* alias.c (find_base_term): Move around LO_SUM case, so that
	CONST falls through into PLUS/MINUS handling.

From-SVN: r146619
2009-04-22 23:59:41 +02:00
Vladimir Makarov
f0ee5816e0 re PR rtl-optimization/39762 (IRA ICE with -msoft-float)
2009-04-22  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/39762
	* ira-int.h (ira_register_move_cost, ira_may_move_in_cost,
	ira_may_move_out_cost): Add comments about way of their usage.
	(ira_get_register_move_cost, ira_get_may_move_cost): New functions.

	* ira-conflicts.c (process_regs_for_copy): Use function
	ira_get_register_move_cost instead of global
	ira_register_move_cost.

	* ira-color.c (update_copy_costs, calculate_allocno_spill_cost,
	color_pass, move_spill_restore, update_curr_costs): Ditto.

	* ira-lives.c (process_single_reg_class_operands): Ditto.

	* ira-emit.c (emit_move_list): Ditto.

	* ira-costs.c (copy_cost): Don't call ira_init_register_move_cost.
	(record_reg_classes): Ditto.  Use functions
	ira_get_register_move_cost and ira_get_may_move_cost instead of
	global vars ira_register_move_cost, ira_may_move_out_cost and
	ira_may_move_in_cost.
	(record_address_regs): Don't call ira_init_register_move_cost.
	Use function ira_get_may_move_cost instead of global
	ira_may_move_in_cost.
	(process_bb_node_for_hard_reg_moves): Use function
	ira_get_register_move_cost instead of global ira_register_move_cost.
	(ira_costs): Don't call ira_init_register_move_cost.

From-SVN: r146612
2009-04-22 20:16:13 +00:00
Richard Guenther
f28e99f068 re PR middle-end/39824 (ice in fold-const.c)
2009-04-22  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/39824
	* tree-ssa-ccp.c (fold_const_aggregate_ref): For INDIRECT_REFs
	make sure the types are compatible.

	* gcc.c-torture/compile/pr39824.c: New testcase.

From-SVN: r146611
2009-04-22 19:55:24 +00:00
Dodji Seketeli
99e6d0a266 re PR c++/39639 (no diagnostic for ill-formed pack expansion)
2009-04-22  Dodji Seketeli  <dodji@redhat.com>

    gcc/cp/ChangeLog:
    	PR c++/39639
    	* parser.c (cp_parser_template_argument_list): Display an error
    	when an ellipsis is not preceded by a parameter pack. Also, warn
    	about variadic templates usage without -std=c++0x.
    
    gcc/testsuite/ChangeLog:
    	PR c++/39639
    	* g++.dg/cpp0x/pr39639.C: New test.

From-SVN: r146609
2009-04-22 21:16:13 +02:00
Joseph Myers
46c0245d2c * cpplib.pot: Regenerate.
From-SVN: r146601
2009-04-22 17:35:05 +01:00
Joseph Myers
d3a5e97a18 * gcc.pot: Regenerate.
From-SVN: r146600
2009-04-22 17:34:22 +01:00
Joseph Myers
adcb629432 exgettext: Also look for */*/config-lang.in to find language subdirectories.
* exgettext: Also look for */*/config-lang.in to find language
	subdirectories.

From-SVN: r146597
2009-04-22 17:30:26 +01:00
H.J. Lu
f5ad5c7fa6 backport: [multiple changes]
2009-04-22  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-04-22  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/39845
	* gcc.c-torture/compile/pr39845.c: New testcase.

	2009-04-21  Richard Guenther  <rguenther@suse.de>

	PR middle-end/39829
	* gcc.dg/torture/pr39829.c: New testcase.

From-SVN: r146579
2009-04-22 07:14:08 -07:00
Ulrich Weigand
51d6b01d8b backport: f95-lang.c (gfc_init_builtin_functions): Define BUILT_IN_HUGE_VAL family of intrinsics instead of BUILT_IN_INF family.
Backport from mainline:
	2009-03-30  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>

	* f95-lang.c (gfc_init_builtin_functions): Define BUILT_IN_HUGE_VAL
	family of intrinsics instead of BUILT_IN_INF family.
	* trans-intrinsics.c (gfc_conv_intrinsic_nearest): Use
	BUILT_IN_HUGE_VAL instead of BUILT_IN_INF.

From-SVN: r146572
2009-04-22 11:37:04 +00:00
Ulrich Weigand
319f60c90c backport: getarg_1.x: New file.
Backport from mainline:

	2009-04-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>

	* gfortran.fortran-torture/execute/getarg_1.x: New file.

	2009-04-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>

	* gfortran.dg/vect/pr39318.f90: Guard with "target fopenmp".

	2009-04-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>

	* gfortran.dg/chmod_1.f90: Disable on spu-*-* targets.
	* gfortran.dg/chmod_2.f90: Likewise.
	* gfortran.dg/chmod_3.f90: Likewise.
	* gfortran.dg/open_errors.f90: Likewise.
	* gfortran.dg/stat_1.f90: Likewise.
	* gfortran.dg/stat_2.f90: Likewise.

	2009-04-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>

	* gfortran.fortran-torture/execute/nan_inf_fmt.x: Skip on spu-*-*.
	* gfortran.fortran-torture/execute/intrinsic_nearest.x: Likewise.
	* gfortran.fortran-torture/execute/intrinsic_set_exponent.x: Likewise.
	* gfortran.dg/nearest_1.f90: Likewise.
	* gfortran.dg/nearest_3.f90: Likewise.
	* gfortran.dg/isnan_1.f90: Likewise.
	* gfortran.dg/isnan_2.f90: Likewise.
	* gfortran.dg/nan_1.f90: Likewise.
	* gfortran.dg/nan_2.f90: Likewise.
	* gfortran.dg/nan_3.f90: Likewise.
	* gfortran.dg/nan_4.f90: Likewise.
	* gfortran.dg/module_nan.f90: Likewise.
	* gfortran.dg/int_conv_2.f90: Likewise.
	* gfortran.dg/init_flag_3.f90: Likewise.
	* gfortran.dg/namelist_42.f90: Likewise.
	* gfortran.dg/namelist_43.f90: Likewise.
	* gfortran.dg/real_const_3.f90: Likewise.
	* gfortran.dg/transfer_simplify_1.f90: Likewise.

	* gfortran.dg/default_format_1.f90: XFAIL on spu-*-*.
	* gfortran.dg/default_format_denormal_1.f90: XFAIL on spu-*-*.
	* gfortran.dg/scalar_mask_2.f90: XFAIL on spu-*-*.
	* gfortran.dg/integer_exponentiation_3.F90: XFAIL on spu-*-*.
	* gfortran.dg/integer_exponentiation_5.F90: XFAIL on spu-*-*.

	* gfortran.dg/elemental_subroutine_1.f90: Relax "epsilon" check.
	* gfortran.dg/gamma_5.f90: Likewise.

	2009-04-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>

	* lib/gcc-dg.exp (gcc-dg-prune): Make linker message check
	less strict so it also works with auto-overlay support.
	* lib/gcc-defs.exp (${tool}_check_unsupported_p): Add check
	for "exceeds local store" linker errors on the SPU.

	* lib/gfortran.exp: Include target-supports.exp.
	(gfortran_init): On SPU targets where automatic overlay support
	is available, use it to build all Fortran test cases.

	* gfortran.dg/pr20257.f90: Skip on spu-*-* targets.

From-SVN: r146571
2009-04-22 11:35:25 +00:00
Eric Botcazou
3a8291bb41 Split ChangeLog
From-SVN: r146546
2009-04-22 06:49:28 +00:00
GCC Administrator
c739a2fd2c Daily bump.
From-SVN: r146541
2009-04-22 00:16:36 +00:00
Paolo Carlini
73c1bd312e re PR libstdc++/39802 (std::num_get fails to parse negative zero input correctly)
2009-04-21  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/39802
	* include/bits/locale_facets.tcc (num_get<>::_M_extract_int
	(_InIter, _InIter, ios_base&, ios_base::iostate&, _ValueT&)):
	Always accept negative values, for unsigned types too.
	* testsuite/22_locale/num_get/get/char/39802.cc: New.
	* testsuite/22_locale/num_get/get/wchar_t/39802.cc: Likewise.

From-SVN: r146538
2009-04-21 20:26:46 +00:00
Jakub Jelinek
73187f804a BASE-VER: Set to 4.4.1.
* BASE-VER: Set to 4.4.1.
	* DEV-PHASE: Set to prerelease.

From-SVN: r146528
2009-04-21 17:01:33 +02:00
GCC Administrator
b7fc996728 Mark as release
From-SVN: r146513
2009-04-21 08:48:37 +00:00
GCC Administrator
245c7f3981 Mark ChangeLog
From-SVN: r146512
2009-04-21 08:48:29 +00:00
GCC Administrator
bbc29bf969 Mark ChangeLog
From-SVN: r146511
2009-04-21 08:48:20 +00:00
GCC Administrator
3635f4a3a3 Mark ChangeLog
From-SVN: r146510
2009-04-21 08:48:10 +00:00
GCC Administrator
719a5027e9 Mark ChangeLog
From-SVN: r146509
2009-04-21 08:48:02 +00:00
GCC Administrator
3c64952039 Mark ChangeLog
From-SVN: r146508
2009-04-21 08:47:54 +00:00
GCC Administrator
796eb24b38 Mark ChangeLog
From-SVN: r146507
2009-04-21 08:47:45 +00:00
GCC Administrator
337d945b38 Mark ChangeLog
From-SVN: r146506
2009-04-21 08:47:37 +00:00
GCC Administrator
1c5d3c8fae Mark ChangeLog
From-SVN: r146505
2009-04-21 08:47:29 +00:00
GCC Administrator
853b5a612e Mark ChangeLog
From-SVN: r146504
2009-04-21 08:47:21 +00:00
GCC Administrator
9a502248b1 Mark ChangeLog
From-SVN: r146503
2009-04-21 08:47:11 +00:00
GCC Administrator
4dfc07754b Mark ChangeLog
From-SVN: r146502
2009-04-21 08:47:03 +00:00
GCC Administrator
a1d1d97dc3 Mark ChangeLog
From-SVN: r146501
2009-04-21 08:46:54 +00:00
GCC Administrator
98b662f35b Mark ChangeLog
From-SVN: r146500
2009-04-21 08:46:46 +00:00
GCC Administrator
d8334959b2 Mark ChangeLog
From-SVN: r146499
2009-04-21 08:46:37 +00:00
GCC Administrator
e718494de3 Mark ChangeLog
From-SVN: r146498
2009-04-21 08:46:28 +00:00
GCC Administrator
c65d2e5daa Mark ChangeLog
From-SVN: r146497
2009-04-21 08:46:19 +00:00
GCC Administrator
d94017180a Mark ChangeLog
From-SVN: r146496
2009-04-21 08:46:08 +00:00
GCC Administrator
e0181476f2 Mark ChangeLog
From-SVN: r146495
2009-04-21 08:45:55 +00:00
GCC Administrator
30d87feffb Mark ChangeLog
From-SVN: r146494
2009-04-21 08:45:45 +00:00
GCC Administrator
ee2fab3614 Mark ChangeLog
From-SVN: r146493
2009-04-21 08:45:34 +00:00
GCC Administrator
e391034128 Mark ChangeLog
From-SVN: r146492
2009-04-21 08:45:26 +00:00
GCC Administrator
b40eacf71e Mark ChangeLog
From-SVN: r146491
2009-04-21 08:45:18 +00:00
GCC Administrator
38cf5203ca Mark ChangeLog
From-SVN: r146490
2009-04-21 08:45:08 +00:00
GCC Administrator
da447d8387 Mark ChangeLog
From-SVN: r146489
2009-04-21 08:44:59 +00:00
GCC Administrator
ef0baf0ba3 Mark ChangeLog
From-SVN: r146488
2009-04-21 08:44:51 +00:00
GCC Administrator
8bad785078 Mark ChangeLog
From-SVN: r146487
2009-04-21 08:44:44 +00:00
GCC Administrator
1ce1909278 Mark ChangeLog
From-SVN: r146486
2009-04-21 08:44:36 +00:00
GCC Administrator
54d270cf36 Mark ChangeLog
From-SVN: r146485
2009-04-21 08:44:29 +00:00
GCC Administrator
dcb05799f3 Mark ChangeLog
From-SVN: r146483
2009-04-21 08:44:22 +00:00
GCC Administrator
91f0f6107c Mark ChangeLog
From-SVN: r146482
2009-04-21 08:44:14 +00:00
GCC Administrator
f00ffba2fa Mark ChangeLog
From-SVN: r146481
2009-04-21 08:44:06 +00:00
GCC Administrator
2d81047b5a Mark ChangeLog
From-SVN: r146480
2009-04-21 08:43:58 +00:00
GCC Administrator
88ccd15d0c Mark ChangeLog
From-SVN: r146479
2009-04-21 08:43:50 +00:00
GCC Administrator
c80102a075 Mark ChangeLog
From-SVN: r146478
2009-04-21 08:43:43 +00:00
GCC Administrator
95ec8985a3 Mark ChangeLog
From-SVN: r146477
2009-04-21 08:43:36 +00:00
GCC Administrator
49aada85fa Mark ChangeLog
From-SVN: r146476
2009-04-21 08:43:29 +00:00
GCC Administrator
57a6b71f9f Mark ChangeLog
From-SVN: r146475
2009-04-21 08:43:22 +00:00
GCC Administrator
7f4a0b7efb Mark ChangeLog
From-SVN: r146474
2009-04-21 08:43:14 +00:00
GCC Administrator
19607daed1 Mark ChangeLog
From-SVN: r146473
2009-04-21 08:43:06 +00:00
Jakub Jelinek
b9085f51a7 * gcc.dg/torture/pr39678.c (struct X): Make c field signed char.
From-SVN: r146471
2009-04-21 09:40:49 +02:00
GCC Administrator
e069a0b960 Daily bump.
From-SVN: r146465
2009-04-21 00:16:42 +00:00
Anatoly Sokolov
ed15d49026 avr.md (*rotlsi3_8, [...]): Check whether operands 0 and 1 overlaps.
* config/avr/avr.md (*rotlsi3_8, *rotlsi3_16, *rotlsi3_24 ): Check
	whether operands 0 and 1 overlaps.

From-SVN: r146432
2009-04-20 19:50:46 +04:00
Ira Rosen
96b626245d re PR tree-optimization/39675 (ICE in vect_get_vec_def_for_operand, at tree-vect-transform.c:1999)
PR tree-optimization/39675
	* tree-vect-transform.c (vect_transform_loop): Remove currently
	redundant check of the return code of vect_schedule_slp. Check that
	stmt_vec_info still exists for the statement, before checking its
	vectorization type.

From-SVN: r146365
2009-04-20 07:09:01 +00:00
GCC Administrator
3d435d7887 Daily bump.
From-SVN: r146362
2009-04-20 00:16:48 +00:00
Eric Botcazou
191e54ac9f gnat.exp (local_find_gnatmake): Pass --LINK to gnatlink.
* lib/gnat.exp (local_find_gnatmake): Pass --LINK to gnatlink.
	Do not pass -B$root after -margs.

From-SVN: r146346
2009-04-19 12:47:22 +00:00
GCC Administrator
779cf49280 Daily bump.
From-SVN: r146338
2009-04-19 00:16:41 +00:00
H.J. Lu
94144c5ae0 backport: re PR tree-optimization/39804 (internal compiler error: in propagate_necessity, at tree-ssa-dce.c:754)
2009-04-18  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-04-18  Richard Guenther  <rguenther@suse.de>

	PR middle-end/39804
	* gcc.target/i386/pr39804.c: New testcase.

From-SVN: r146315
2009-04-18 07:54:32 -07:00
Eric Botcazou
d5f610996b pr39496.c: Compile with -mtune=i686.
* gcc.target/i386/pr39496.c: Compile with -mtune=i686.
	* g++.dg/other/pr39496.C: Likewise.

From-SVN: r146307
2009-04-18 09:40:19 +00:00
GCC Administrator
2e11ee361b Daily bump.
From-SVN: r146301
2009-04-18 00:16:38 +00:00
Uros Bizjak
2b44972528 baseline_symbols.txt: Regenerated.
* config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.

From-SVN: r146251
2009-04-17 14:07:57 +02:00
Aurelien Jarno
e15d287770 config.gcc: Add soft-fp/t-softfp and i386/t-linux to tmake_file for...
gcc/
 
 	* config.gcc: Add soft-fp/t-softfp and i386/t-linux to tmake_file
 	for i[34567]86-*-kfreebsd*-gnu*, x86_64-*-kfreebsd*-gnu*.
 
libgcc/
 
 	* config.host: Add i386/${host_address}/t-fprules-softfp to
 	tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.

From-SVN: r146249
2009-04-17 13:58:41 +02:00
GCC Administrator
63cf5ef5ec Daily bump.
From-SVN: r146220
2009-04-17 00:17:06 +00:00
Kaz Kojima
40b377be74 backport: re PR target/39767 (libgcc2.c:562: internal compiler error: RTL check: expected code 'reg', have 'ashiftrt' in rhs_regno, at rtl.h:1005)
Backport from mainline:
	PR target/39767
	* config/sh/predicates.md (arith_operand): Check if the operand
	of TRUNCATE is a REG.

From-SVN: r146218
2009-04-16 23:09:53 +00:00
Paolo Carlini
ff0ab33a9d forward_list.h: Remove default std::allocator<_Tp> from base classes.
2009-04-16  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/forward_list.h: Remove default std::allocator<_Tp>
	from base classes.
	* testsuite/23_containers/forward_list/capacity/1.cc: Adjust.

From-SVN: r146196
2009-04-16 14:53:23 +00:00
Richard Guenther
8e2c1630a2 re PR tree-optimization/39764 (ICE in set_lattice_value, at tree-ssa-ccp.c:468 with -ffinite-math-only)
2009-04-15  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/39764
	* tree-ssa-ccp.c (get_value): Canonicalize value with
	canonicalize_float_value.

	* g++.dg/torture/pr39764.C: New testcase.

From-SVN: r146157
2009-04-16 09:39:20 +00:00
Benjamin Kosnik
b095b8d252 [multiple changes]
2009-04-15  Benjamin Kosnik  <bkoz@redhat.com>

	* doc/xml/manual/status_cxx200x.xml: Edit for branch status.

2009-04-15  Benjamin Kosnik  <bkoz@redhat.com>

	* doc/html: Regenerate.

2009-04-15  Benjamin Kosnik  <bkoz@redhat.com>

	* doc/xml/manual/status_cxx1998.xml: Update to new table style.

	* doc/xml/gnu/gpl-3.0.xml: Add or adjust dbhtml markup.
	* doc/xml/gnu/fdl-1.2.xml: Same.
	* doc/xml/manual/numerics.xml: Same.
	* doc/xml/manual/concurrency.xml: Same.
	* doc/xml/manual/intro.xml: Same.
	* doc/xml/manual/status_cxxtr1.xml: Same.
	* doc/xml/manual/containers.xml: Same.
	* doc/xml/manual/io.xml: Same.
	* doc/xml/manual/utilities.xml: Same.
	* doc/xml/manual/support.xml: Same.
	* doc/xml/manual/using.xml: Same.
	* doc/xml/manual/localization.xml: Same.
	* doc/xml/manual/locale.xml: Same.
	* doc/xml/manual/extensions.xml: Same.
	* doc/xml/manual/appendix_contributing.xml: Same.
	* doc/xml/manual/diagnostics.xml: Same.
	* doc/xml/manual/status_cxx200x.xml: Same.

2009-04-15  Benjamin Kosnik  <bkoz@redhat.com>

	* doc/xml/manual/status_cxxtr1.xml: Update to new table style.
	* doc/xml/manual/status_cxx200x.xml: Adjust.

2009-04-14  Benjamin Kosnik  <bkoz@redhat.com>

	* doc/xml/spine.xml: Remove unused license entity, update
	copyright year.

	* doc/xml/manual/spine.xml: Markup for primary index terms.
	* doc/xml/manual/numerics.xml: Same.
	* doc/xml/manual/intro.xml: Same.
	* doc/xml/manual/containers.xml: Same.
	* doc/xml/manual/io.xml: Same.
	* doc/xml/manual/appendix_porting.xml: Same.
	* doc/xml/manual/utilities.xml: Same.
	* doc/xml/manual/support.xml: Same.
	* doc/xml/manual/localization.xml: Same.
	* doc/xml/manual/strings.xml: Same.
	* doc/xml/manual/extensions.xml: Same.
	* doc/xml/manual/appendix_contributing.xml: Same.
	* doc/xml/manual/diagnostics.xml: Same.
	* doc/xml/manual/algorithms.xml: Same.
	* doc/xml/manual/appendix_free.xml: Same.
	* doc/xml/manual/iterators.xml: Same.

	* doc/xml/gnu/gpl-3.0.xml: Fix xml markup regressions.
	* doc/xml/gnu/fdl-1.2.xml: Same.

	* doc/xml/manual/status_cxx200x.xml: Re-write.


2009-04-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/precompiled/stdc++.h: Add.

	* doc/xml/api.xml: Add gcc-4.4.0 doxygen link.
	* doc/html/api.html: Regenerate.

From-SVN: r146146
2009-04-16 03:33:20 +00:00
GCC Administrator
1db3a72312 Daily bump.
From-SVN: r146142
2009-04-16 00:16:39 +00:00
GCC Administrator
9de1abe212 Daily bump.
From-SVN: r146074
2009-04-15 00:16:56 +00:00
H.J. Lu
c496a6845f backport: re PR target/39678 (complex type isn't passed correctly)
gcc/

2009-04-14  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-04-09  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39678
	* config/i386/i386.c (classify_argument): Handle SCmode with
	(bit_offset % 64) != 0.

gcc/testsuite/

2009-04-14  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-04-09  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39678
	* g++.dg/torture/pr39678.C: New.
	* gcc.dg/compat/struct-complex-2.h: Likewise.
	* gcc.dg/compat/struct-complex-2_main.c: Likewise.
	* gcc.dg/compat/struct-complex-2_x.c: Likewise.
	* gcc.dg/compat/struct-complex-2_y.c: Likewise.
	* gcc.dg/torture/pr39678.c: Likewise.
	* gcc.target/i386/pr39678.c: Likewise.

	* gcc.dg/compat/struct-complex-1_x.c: Add -Wno-psabi.
	* gcc.dg/compat/struct-complex-1_y.c: Likewise.

	* gcc.target/x86_64/abi/test_passing_structs.c: Include
	<complex.h>.  Add tests for structure with complex float.

From-SVN: r146061
2009-04-14 13:27:30 -07:00
Jason Merrill
aa5e8d0ba3 re PR c++/39763 (-Wshadow reports shadowed declarations for parameters of unnamed temp objects)
PR c++/39763
        * name-lookup.c (pushdecl_maybe_friend): Avoid all warnings
        about shadowing by tentative parms.

From-SVN: r146054
2009-04-14 13:14:04 -04:00
Uros Bizjak
04cc7cdfe0 backport: re PR target/39740 (unrecognizable insn on alpha using -O3 and -std=c99)
Backport from mainline:
	2009-04-12  Uros Bizjak  <ubizjak@gmail.com>

	PR target/39740
	* config/alpha/predicates.md (local_symbolic_operand): Return 1 for
	offseted label references.

testsuite/ChangeLog:

	Backport from mainline:
	2009-04-12  Uros Bizjak  <ubizjak@gmail.com>

	PR target/39740
	* gcc.target/alpha/pr39740.c: New test.

From-SVN: r146028
2009-04-14 12:21:41 +02:00
Jakub Jelinek
09a211d5f5 * gennews (files): Reference GCC 4.4 web pages.
From-SVN: r146027
2009-04-14 11:58:36 +02:00
Jakub Jelinek
2191ae7e12 configure.ac: Change copyright header to refer to version 3 of the GNU General Public License...
* configure.ac: Change copyright header to refer to version
	3 of the GNU General Public License and to point readers at the
	COPYING3 file and the FSF's license web page.
	* Makefile.def: Likewise.
	* Makefile.tpl: Likewise.
	* Makefile.in: Regenerate.

From-SVN: r146024
2009-04-14 10:57:33 +02:00
GCC Administrator
3908593a50 Daily bump.
From-SVN: r146018
2009-04-14 00:16:33 +00:00
Jason Merrill
b68e185cc8 re PR c++/39480 (generated memcpy causes trouble in assignment)
PR c++/39480
        * call.c (build_over_call): Don't call memcpy if the target is
        the same as the source.

From-SVN: r146013
2009-04-13 16:56:45 -04:00
Jason Merrill
91ddafab4b re PR c++/39750 (ICE in uses_template_parms, at cp/pt.c:6332)
PR c++/39750
        * pt.c (uses_template_parms): Handle CONSTRUCTOR.

From-SVN: r146008
2009-04-13 15:27:20 -04:00
Jason Merrill
bf89f3a389 re PR c++/39742 (ice in C++ overload resolution)
PR c++/39742
        * call.c (joust): Don't crash on variadic fn.

From-SVN: r145995
2009-04-13 00:20:32 -04:00
GCC Administrator
c03dc1f339 Daily bump.
From-SVN: r145992
2009-04-13 00:16:44 +00:00
GCC Administrator
880f0d1da8 Daily bump.
From-SVN: r145971
2009-04-12 00:16:50 +00:00
Richard Guenther
621a1d8545 re PR tree-optimization/39713 (ICE in get_expr_value_id)
2009-04-11  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/39713
	* tree-ssa-sccvn.c (vn_get_expr_for): Make sure built
	reference trees have SSA_NAME operands.

	* g++.dg/torture/pr39713.C: New testcase.

From-SVN: r145952
2009-04-11 07:42:52 +00:00
GCC Administrator
db823f2ffa Daily bump.
From-SVN: r145946
2009-04-11 00:16:41 +00:00
H.J. Lu
f4102d710d backport: re PR c++/28301 (ICE with broken specialization)
gcc/cp/

2009-04-10  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-04-10  Jason Merrill  <jason@redhat.com>

	PR c++/28301
	* parser.c (cp_parser_skip_to_end_of_block_or_statement): Return
	if we see a close brace without an open brace.

gcc/testsuite/

2009-04-10  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-04-10  H.J. Lu  <hongjiu.lu@intel.com>

	PR c++/28301
	* g++.dg/cpp0x/enum2.C: Updated.
	* g++.dg/debug/pr22514.C: Likewise.
	* g++.dg/parse/enum2.C: Likewise.
	* g++.dg/parse/enum3.C: Likewise.
	* g++.dg/template/crash79.C: Likewise.
	* g++.old-deja/g++.jason/cond.C: Likewise.

	* g++.dg/template/pr28301.C: New.

From-SVN: r145938
2009-04-10 12:01:16 -07:00
Kaveh R. Ghazi
00321f1ea6 forward-1.x: Fix x86_64 entry typos.
* objc/execute/forward-1.x: Fix x86_64 entry typos.

From-SVN: r145933
2009-04-10 17:31:22 +00:00
H.J. Lu
0d9eada2f8 backport: darwin-vecsave.asm: Remove extra "*/".
2009-04-10  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-04-10  H.J. Lu  <hongjiu.lu@intel.com>

	* config/rs6000/darwin-vecsave.asm: Remove extra "*/".

From-SVN: r145904
2009-04-10 06:44:26 -07:00
H.J. Lu
821c83eed7 re PR testsuite/35621 (gcc.target/i386/ssse3-*.c violates C/C++ aliasing rules)
2009-04-09  H.J. Lu  <hongjiu.lu@intel.com>

	PR testsuite/35621
	* gcc.target/i386/avx-vpabsb-1.c: Add -fno-strict-aliasing.
	* gcc.target/i386/avx-vpabsb-1.c: Likewise.
	* gcc.target/i386/avx-vpabsd-1.c: Likewise.
	* gcc.target/i386/avx-vpabsw-1.c: Likewise.
	* gcc.target/i386/avx-vpalignr-1.c: Likewise.
	* gcc.target/i386/avx-vphaddd-1.c: Likewise.
	* gcc.target/i386/avx-vphaddsw-1.c: Likewise.
	* gcc.target/i386/avx-vphaddw-1.c: Likewise.
	* gcc.target/i386/avx-vphsubd-1.c: Likewise.
	* gcc.target/i386/avx-vphsubsw-1.c: Likewise.
	* gcc.target/i386/avx-vphsubw-1.c: Likewise.
	* gcc.target/i386/avx-vpmaddubsw-1.c: Likewise.
	* gcc.target/i386/avx-vpmulhrsw-1.c: Likewise.
	* gcc.target/i386/avx-vpshufb-1.c: Likewise.
	* gcc.target/i386/avx-vpsignb-1.c: Likewise.
	* gcc.target/i386/avx-vpsignd-1.c: Likewise.
	* gcc.target/i386/avx-vpsignw-1.c: Likewise.

From-SVN: r145872
2009-04-09 17:32:12 -07:00
GCC Administrator
d6ad5d8d8e Daily bump.
From-SVN: r145869
2009-04-10 00:16:40 +00:00
Jakub Jelinek
8763ee4787 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.
From-SVN: r145866
2009-04-10 01:23:07 +02:00
Jack Howarth
8554578125 configure.host: Restore match for darwin9 or later.
2009-04-09  Jack Howarth  <howarth@bromo.med.uc.edu>

	* configure.host: Restore match for darwin9 or later.
	* configure.ac: Likewise.
	* configure: Regenerate.

From-SVN: r145863
2009-04-09 23:54:28 +02:00
Jack Howarth
9764adac6e configure.ac: Restore match for darwin9 or later.
2009-04-09  Jack Howarth  <howarth@bromo.med.uc.edu>

	* configure.ac: Restore match for darwin9 or later. Use double
	brackets since regeneration eats one pair.
	* configure: Regenerate.

From-SVN: r145862
2009-04-09 23:53:30 +02:00
H.J. Lu
48153d1c39 backport: re PR c/39613 (gcc 20090331 produces an error at mce64.c in kernel 2.6.29)
2009-04-09  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-04-09  Joseph Myers  <joseph@codesourcery.com>

	PR c/39613
	* gcc.dg/case-const-1.c: New.

	PR c/39614:
	* gcc.c-torture/compile/pr39614-1.c: New.

	PR c/39673:
	* gcc.c-torture/compile/pr39673-1.c: New.
	* gcc.c-torture/compile/pr39673-2.c: Likewise.

From-SVN: r145858
2009-04-09 14:19:29 -07:00
Janis Johnson
bfaf4554b0 re PR libobjc/36610 (objc_msg_sendv is broken for targets which pass argument via registers)
PR libobjc/36610
	* objc/execute/forward-1.x: New.

From-SVN: r145850
2009-04-09 17:00:57 +00:00
GCC Administrator
8b1f5c5b09 Daily bump.
From-SVN: r145790
2009-04-09 00:16:26 +00:00
Joseph Myers
54f4eecf17 * zh_CN.po: Update.
From-SVN: r145777
2009-04-08 21:41:05 +01:00
Jakub Jelinek
276c6b0f33 re PR middle-end/39573 (Linking fails on AMD with -march=native and -fopenmp, works with generic x86_64)
PR middle-end/39573
	* omp-low.c (expand_omp_taskreg): Finalize taskreg static local_decls
	variables.

	* libgomp.c++/pr39573.C: New test.

From-SVN: r145773
2009-04-08 22:13:26 +02:00
Adam Nemet
8f82ce1eb0 baseline_symbols.txt: Regenerate
* config/abi/post/mips64-linux-gnu/baseline_symbols.txt:
	Regenerate
	* config/abi/post/mips64-linux-gnu/64/baseline_symbols.txt: New
	file.

From-SVN: r145765
2009-04-08 18:01:46 +00:00
Arnaud Patard
19c9ce3263 configure.ac: Fix Linux/MIPS matching rule.
2009-04-07  Arnaud Patard <apatard@mandriva.com>

	* configure.ac: Fix Linux/MIPS matching rule.
	* configure: Regenerate.

From-SVN: r145738
2009-04-08 14:18:33 +00:00
Janus Weil
0911478cf6 adding ChangeLog for last commit
From-SVN: r145736
2009-04-08 16:10:45 +02:00
Janus Weil
0c86425957 re PR fortran/38152 (procedure pointers as module variables)
2009-04-08  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/38152
	* trans-decl.c (gfc_get_symbol_decl): Correctly set decl location for
	procedure pointer decls.


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

	PR fortran/38152
	* gfortran.dg/proc_ptr_13.f90: Add "-g" option.

From-SVN: r145735
2009-04-08 16:03:33 +02:00
David Ayers
d67252400f re PR objc/27377 (false compiler warnings generated in Objective-C code)
gcc/
2009-04-08  David Ayers  <ayers@fsfe.org>

	PR objc/27377
	* c-typeck.c (build_conditional_expr): Emit ObjC warnings
	by calling objc_compare_types and surpress warnings about
	incompatible C pointers that are compatible ObjC pointers.

gcc/testsuite/
2009-04-02  David Ayers  <ayers@fsfe.org>

	PR objc/27377
	* objc.dg/conditional-1.m: New tests.

From-SVN: r145718
2009-04-08 11:59:36 +00:00
Dodji Seketeli
b813c95a12 re PR c++/39637 (ICE on ill-formed sizeof(<parameter-pack>) in variadic template)
gcc/cp/ChangeLog:
2009-04-08  Dodji Seketeli  <dodji@redhat.com>
    PR c++/39637
    * parser.c (cp_parser_enumerator_definition): Make sure the
    initializer of the enumerator doesn't contain any bare parameter pack.

gcc/testsuite/ChangeLog
2009-04-08  Dodji Seketeli  <dodji@redhat.com>
    PR c++/39637
    * g++.dg/cpp0x/variadic-crash2.C: New test.

From-SVN: r145715
2009-04-08 11:06:08 +02:00
Jason Merrill
a4385e634e re PR c++/34691 (Default argument checking not performed after overload resolution with C linkage)
PR c++/34691
        * name-lookup.c (merge_functions): Keep multiple extern C functions.
        * call.c (joust): Complain about mismatched default arguments
        in extern C functions.
        * class.c (resolve_address_of_overloaded_function): Handle multiple
        extern C functions.
        * pt.c (resolve_overloaded_unification): Likewise.

From-SVN: r145710
2009-04-07 23:55:00 -04:00
GCC Administrator
5f17649815 Daily bump.
From-SVN: r145705
2009-04-08 00:16:56 +00:00
Dominique d'Humieres
41d15967c4 re PR testsuite/39325 (FAIL: gcc.misc-tests/linkage.c link)
2009-04-07  Dominique d'Humieres  <dominiq@lps.ens.fr>

	PR testsuite/39325
	* gcc.misc-tests/linkage.exp: Use -m64 for 64-bit *86*-darwin.

From-SVN: r145703
2009-04-07 22:49:25 +00:00
Jason Merrill
3f91721acb re PR c++/37806 (CV-qualifiers on function typedef's are inconsistently accepted depending on typedef scope)
* decl.c (grokdeclarator): Reject pointer to qualified function
        type.

        PR c++/37806, core issue 547
        * typeck.c (cp_apply_type_quals_to_decl): Don't apply any quals
        to a typedef.
        * tree.c (cp_build_qualified_type_real): Don't apply restrict to a
        function type.
        * decl.h (enum decl_context): Add TEMPLATE_TYPE_ARG.
        * decl.c (groktypename): Add is_template_arg parameter.
        (grokdeclarator): Allow function cv-quals on a template type arg.
        * parser.c (cp_parser_new_type_id, cp_parser_type_id): Add
        is_template_arg argument in calls to groktypename.
        * cp-tree.h: Adjust prototype.
        * error.c (dump_type_prefix, dump_type_suffix): Fix plain
        FUNCTION_TYPE printing.

        PR libstdc++/39310
        * include/tr1_impl/type_traits (is_function): Add partial
        specializations with function cv-quals.
        (__is_function_helper): Remove.
        (is_member_pointer): Don't define in terms of is_member_*_pointer.

From-SVN: r145648
2009-04-07 00:38:10 -04:00
Alan Modra
e7326aee2c re PR target/39634 (powerpc64 libgcc contains useless softfp functions)
PR target/39634
	* config.gcc (powerpc-*-linux*): Include soft-fp/t-softfp after
	rs6000/t-linux64.

From-SVN: r145642
2009-04-07 10:23:05 +09:30
GCC Administrator
4490af0c74 Daily bump.
From-SVN: r145639
2009-04-07 00:16:38 +00:00
Laurent GUERBY
54285539b6 gnat.exp: Handle multilib.
gcc/testsuite/
2009-04-06  Laurent GUERBY  <laurent@guerby.net>

        * lib/gnat.exp: Handle multilib.
        
libada/
2009-04-06  Laurent GUERBY  <laurent@guerby.net>

        * Makefile.in (ADA_RTS_DIR): Define.
        * Makefile.in (gnatlib-*): Link adainclude and adalib to it.

From-SVN: r145635
2009-04-06 22:47:41 +00:00
Jason Merrill
8c1beaba9d re PR c++/35146 (weird error in template function specialization)
PR c++/35146
	* pt.c (fn_type_unification): For DEDUCE_EXACT check that
	the deduced template arguments give us the parameter types
	we're looking for.

From-SVN: r145634
2009-04-06 17:35:29 -04:00
Jason Merrill
e634e411cf C++ DR 613
C++ DR 613
            * semantics.c (finish_non_static_data_member): Allow such references
            without an associated object in sizeof/decltype/alignof.

From-SVN: r145620
2009-04-06 15:41:02 -04:00
GCC Administrator
6b1e4a5537 Daily bump.
From-SVN: r145577
2009-04-06 00:16:34 +00:00
H.J. Lu
476066c9dc backport: re PR c/39648 (internal compiler error: in fold_convert, at fold-const.c:2506)
2009-04-05  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-04-05  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/39648
	* gcc.c-torture/compile/pr39648.c: New testcase.

From-SVN: r145574
2009-04-05 15:45:59 -07:00
GCC Administrator
5e598461ce Daily bump.
From-SVN: r145557
2009-04-05 00:16:34 +00:00
Paul Thomas
155165cf69 re PR fortran/39519 (bad assignment to type with allocatable component)
2009-04-04  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/39519
	* parse.c (parse_derived): Do not break on finding pointer,
	allocatable or private components.

2009-04-04  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/39519
	* gfortran.dg/alloc_comp_assign_9.f90: New test.

From-SVN: r145538
2009-04-04 13:19:15 +00:00
Richard Earnshaw
1e07c3d97b re PR target/39501 (-O -ffinite-math-only gets min(x,y) optimization wrong for soft-float on arm-*-gnueabi)
PR target/39501
	* arm.md (movsfcc): Disable if not TARGET_HARD_FLOAT.
	* testsuite/gcc.c-torture/execute/pr39501.c: New file.
	* testsuite/gcc.c-torture/execute/pr39501.x: New file.

From-SVN: r145537
2009-04-04 12:25:06 +00:00
Jakub Jelinek
95e3b4709d unwind-dw2.h (_Unwind_FrameState): Add REG_UNDEFINED enum value.
* unwind-dw2.h (_Unwind_FrameState): Add REG_UNDEFINED enum value.
	* unwind-dw2.c (execute_cfa_program): Set how to REG_UNDEFINED
	instead of REG_UNSAVED for DW_CFA_undefined.
	(uw_update_context_1): Handle REG_UNDEFINED the same as REG_UNSAVED.
	(uw_update_context): If RA column is REG_UNDEFINED, mark it as
	outermost frame.

From-SVN: r145536
2009-04-04 13:49:23 +02:00
GCC Administrator
0dc9ac7204 Daily bump.
From-SVN: r145529
2009-04-04 00:16:34 +00:00
H.J. Lu
84829f7549 Mention PR rtl-optimization/39607.
From-SVN: r145526
2009-04-03 15:34:57 -07:00
H.J. Lu
7eb7bdd9f1 backport: pr39607.C: New.
2009-04-03  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-04-03  H.J. Lu  <hongjiu.lu@intel.com>

	* g++.dg/opt/pr39607.C: New.

From-SVN: r145524
2009-04-03 15:32:53 -07:00
Tobias Burnus
aefe6eb8a3 re PR fortran/39594 (compiler falls over in gfc_get_symbol_decl)
2009-04-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/39594
        * resolve.c (resolve_common_vars): Add FL_VARIABLE to symbol
        if it is not a procedure pointer.
        * primary.c (match_actual_arg): Ditto.

2009-04-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/39594
        * gfortran.dg/common_12.f90: New.

From-SVN: r145519
2009-04-03 22:56:54 +02:00
Jason Merrill
8ce7fb9f3f re PR c++/39608 ('expr' cannot appear in a constant-expression.)
PR c++/39608
        * semantics.c (finish_id_expression): Don't assume a dependent
        member of the current instantiation isn't a valid integral
        constant expression.  Check dependent_scope_p.
        * pt.c (dependent_scope_p): Check TYPE_P.
        (tsubst_copy): If args is null, just return.

From-SVN: r145509
2009-04-03 13:26:50 -04:00
GCC Administrator
52de30ec24 Daily bump.
From-SVN: r145486
2009-04-03 00:16:37 +00:00
David Ayers
356625b576 re PR objc/18456 (ICE compiling Objective C code with protocol-qualified objects)
2009-04-02  David Ayers  <ayers@fsfe.org>

	PR objc/18456
	* objc.dg/bad-receiver-type-2.m: New test contributed by
	Alexander Mamberg.

From-SVN: r145479
2009-04-02 21:49:37 +00:00
Jason Merrill
033f14a131 re PR c++/38030 (name-lookup for non-dependent name in template function is wrong)
* mangle.c (write_expression): Mangle dependent name as
        source-name.

        PR c++/38030, 38850, 39070
        * pt.c (type_dependent_expression_p_push): New fn.
        (tsubst_copy_and_build) [CALL_EXPR]: Only do arg-dep lookup when the
        substitution makes the call non-dependent.  Preserve koenig_p.
        * parser.c (cp_parser_postfix_expression): Only do arg-dep lookup
        for non-dependent calls.
        * semantics.c (finish_call_expr): Revert earlier changes.
        * cp-tree.h: Revert change to finish_call_expr prototype.

From-SVN: r145468
2009-04-02 14:37:57 -04:00
Janis Johnson
c0c6e05d5b fix filename from r145464
From-SVN: r145467
2009-04-02 18:16:31 +00:00
Ira Rosen
f59be82c0e re PR tree-optimization/39595 (ICE in vectorizable_store at tree-vect-transform.c:5361)
PR tree-optimization/39595
	* tree-vect-analyze.c (vect_build_slp_tree): Check that the size of
	interleaved loads group is not greater than the SLP group size.

From-SVN: r145465
2009-04-02 18:08:10 +00:00
Janis Johnson
74f874cfc3 * gcc.dg/tree-ssa-vrp47.c: XFAIL two dump scans for powerpc.
From-SVN: r145464
2009-04-02 18:03:00 +00:00
Janis Johnson
5687a4ad37 * gcc.dg/memcpy-1.c: Add compiler option.
From-SVN: r145463
2009-04-02 18:01:45 +00:00
Janis Johnson
5faf9fc92a and-1.c: Restrict the targets for which the test is run and XFAIL for powerpc and spu.
* gcc.dg/and-1.c: Restrict the targets for which the test is run
	and XFAIL for powerpc and spu.

From-SVN: r145462
2009-04-02 18:00:28 +00:00
Janis Johnson
19cbbf1699 * gcc.target/powerpc/ppc64-double-1.c: XFAIL for lp64.
From-SVN: r145461
2009-04-02 17:59:00 +00:00
Jakub Jelinek
c5412bb22a baseline_symbols.txt: Regenerated.
* config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
	Regenerated.
	* config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
	Regenerated.
	* config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
	* config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
	* config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
	* config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
	* config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Regenerated.
	* config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
	* config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
	Regenerated.
	* config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.

From-SVN: r145438
2009-04-02 08:57:05 +02:00
GCC Administrator
7b85dad9ad Daily bump.
From-SVN: r145435
2009-04-02 00:16:37 +00:00
Eric Botcazou
76b2a82781 re PR rtl-optimization/39588 (internal compiler error: in trunc_int_for_mode, at explow.c:55)
PR rtl-optimization/39588
	* combine.c (merge_outer_ops): Do not set the constant when this
	is not necessary.
	(simplify_shift_const_1): Do not modify it either in this case.

From-SVN: r145431
2009-04-01 20:47:37 +00:00
Steven Bosscher
a9c03e36e8 ia64.c (ia64_handle_option): Inform user that Itanium1 tuning is deprecated if...
* config/ia64/ia64.c (ia64_handle_option): Inform user that Itanium1
	tuning is deprecated if -mtune value is set to an Itanium1 variant.

From-SVN: r145426
2009-04-01 19:46:32 +00:00
H.J. Lu
109df62d5b backport: re PR c++/4926 (C++ ABI needs clarification on mangling of complex expressions)
2009-04-01  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-04-01  H.J. Lu  <hongjiu.lu@intel.com>

	PR c++/4926
	* g++.dg/template/pr4926-1.C: New.

From-SVN: r145424
2009-04-01 11:10:52 -07:00
H.J. Lu
a4874c5b00 backport: re PR tree-optimization/35011 (ICE with -fcheck-data-deps)
2009-04-01  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-04-01  H.J. Lu  <hongjiu.lu@intel.com>

	PR tree-optimization/35011
	* g++.dg/other/pr35011.C: New.

From-SVN: r145414
2009-04-01 09:31:29 -07:00
Jakub Jelinek
e8a9216a7a re PR target/39226 (gcc_assert (verify_initial_elim_offsets ()); ICE)
PR target/39226
	* config/rs6000/rs6000.md (andsi3_internal5_nomc,
	anddi3_internal2_nomc, anddi3_internal3_nomc): Removed.
	(booldi3_internal3): Use boolean_or_operator instead of
	boolean_operator.

	* gcc.dg/pr39226.c: New test.

From-SVN: r145412
2009-04-01 18:22:17 +02:00
H.J. Lu
f9203af195 backport: re PR c++/35240 (ICE with new in template parameter)
2009-04-01  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-04-01  H.J. Lu  <hongjiu.lu@intel.com>

	PR c++/35240
	* g++.dg/template/pr35240.C: New.

From-SVN: r145409
2009-04-01 08:59:09 -07:00
Jakub Jelinek
7c0a2dd3b7 re PR c/37772 (ICE with empty asm statement)
PR c/37772
	* c-parser.c (c_parser_asm_statement): Skip until close paren and
	return if c_parser_asm_string_literal returned NULL.

	* gcc.dg/pr37772.c: New test.
	* g++.dg/ext/asm11.C: New test.

From-SVN: r145402
2009-04-01 15:45:14 +02:00
Kai Tietz
38c0533ed2 host-mingw32.c (mingw32_gt_pch_use_address): Make object_name unique for each process.
2009-04-01  Kai Tietz  <kai.tietz@onevision.com>
            Andrey Galkin <agalkin@hypercom.com>

        PR/39492
        * config/i386/host-mingw32.c (mingw32_gt_pch_use_address):
        Make object_name unique for each process.


Co-Authored-By: Andrey Galkin <agalkin@hypercom.com>

From-SVN: r145395
2009-04-01 11:06:11 +02:00
Anatoly Sokolov
7f734f7767 avr.c (avr_override_options): Inform user that -mno-tablejump option is deprecated.
* config/avr/avr.c (avr_override_options): Inform user that
	-mno-tablejump option is deprecated.
	* doc/invoke.texi (AVR Options): Update -mno-tablejump.

From-SVN: r145392
2009-04-01 11:18:47 +04:00
Jakub Jelinek
ec60c12749 re PR other/39591 (GOMP_loop_end illegally optmized into GOMP_loop_end_nowait)
PR other/39591
	* omp-low.c (remove_exit_barrier): Don't optimize if there are any
	addressable variables in the parallel that could go out of scope while
	running queued tasks.

	* testsuite/libgomp.c/pr39591-1.c: New test.
	* testsuite/libgomp.c/pr39591-2.c: New test.
	* testsuite/libgomp.c/pr39591-3.c: New test.

From-SVN: r145391
2009-04-01 09:06:12 +02:00
GCC Administrator
e356bc7ac9 Daily bump.
From-SVN: r145383
2009-04-01 00:16:46 +00:00
Eric Botcazou
9d1e69295b system-linux-alpha.ads (Functions_Return_By_DSP): Remove.
* system-linux-alpha.ads (Functions_Return_By_DSP): Remove.
	* system-linux-mips.ads (Functions_Return_By_DSP): Likewise.
	* system-linux-mipsel.ads (Functions_Return_By_DSP): Likewise.
	* system-linux-s390.ads (Functions_Return_By_DSP): Likewise.
	* system-linux-s390x.ads (Functions_Return_By_DSP): Likewise.
	* system-linux-sparc.ads (Functions_Return_By_DSP): Likewise.
	* system-linux-sparcv9.ads (Functions_Return_By_DSP): Likewise.

From-SVN: r145362
2009-03-31 16:17:35 +00:00
H.J. Lu
230aad8434 Correct date.
From-SVN: r145348
2009-03-31 07:42:22 -07:00
H.J. Lu
482e175aec backport: re PR target/39592 (Revision 145272 breaks -ansi -msse)
2009-03-29  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-03-31  Joseph Myers  <joseph@codesourcery.com>

	PR target/39592
	* gcc.target/i386/pr39592-1.c: New test.

From-SVN: r145346
2009-03-31 07:37:50 -07:00
Eric Botcazou
5fbfdb02ab backport: decl.c (maybe_pad_type): Use TREE_OVERFLOW instead of TREE_CONSTANT_OVERFLOW.
Backport from mainline:
	2009-03-30  Paolo Bonzini  <bonzini@gnu.org>
	* gcc-interface/decl.c (maybe_pad_type): Use TREE_OVERFLOW instead
	of TREE_CONSTANT_OVERFLOW.

From-SVN: r145334
2009-03-31 07:19:11 +00:00
Ben Elliston
3c968d41ce re PR libmudflap/38462 (test libmudflap.c/fail27-frag.c fails output pattern test for ppc64)
PR libmudflap/38462
	* testsuite/libmudflap.c/fail27-frag.c: Match `mudflap dead
	object', not `mudflap object'.

From-SVN: r145329
2009-03-31 14:05:23 +11:00
GCC Administrator
9b5b7ad00b Daily bump.
From-SVN: r145325
2009-03-31 00:17:10 +00:00
Sebastian Pop
27290ce733 invoke.texi (-floop-interchange, [...]): Document dependences on PPL, CLooG and Graphite.
2009-03-30  Sebastian Pop  <sebastian.pop@amd.com>

	* doc/invoke.texi (-floop-interchange, -floop-strip-mine,
	-floop-block): Document dependences on PPL, CLooG and Graphite.

From-SVN: r145315
2009-03-30 20:05:37 +00:00
Jakub Jelinek
898df2126c Revert PR c++/35652
From-SVN: r145308
2009-03-30 19:42:27 +02:00
Jakub Jelinek
367c2a77d8 re PR target/39558 (Bad interaction of decls named 'vector' and -maltivec vector support)
PR target/39558
	* macro.c (cpp_get_token): If macro_to_expand returns NULL
	and used some tokens, add CPP_PADDING before next token.

	* gcc.target/powerpc/altivec-29.c: New test.

From-SVN: r145298
2009-03-30 17:06:14 +02:00
Jakub Jelinek
76d9111c42 trans-types.c (gfc_sym_type, [...]): For sym->attr.result check sym->ns->proc_name->attr.is_bind_c.
* trans-types.c (gfc_sym_type, gfc_return_by_reference): For
	sym->attr.result check sym->ns->proc_name->attr.is_bind_c.

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

From-SVN: r145296
2009-03-30 16:53:17 +02:00
GCC Administrator
39d7ee0709 Daily bump.
From-SVN: r145267
2009-03-30 00:16:50 +00:00
H.J. Lu
68d44cbc5b backport: re PR target/39545 (Structures with flexible array member passed/returned incorrectly)
gcc/

2009-03-29  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-03-29  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39545
	* config/i386/i386.c (classify_argument): Ignore flexible array
	member in struct and warn ABI change.

gcc/testsuite/

2009-03-29  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-03-29  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39545
	* gcc.c-torture/compile/pr16566-2.c: Add -Wno-psabi for x86-64.

	* gcc.target/i386/pr39545-1.c: New.
	* gcc.target/i386/pr39545-2.c: Likewise.

	* gcc.target/x86_64/abi/test_passing_structs.c (flex1_struct): New.
	(flex2_struct): Likewise.
	(check_struct_passing7): Likewise.
	(check_struct_passing8): Likewise.
	(f1s): Likewise.
	(f2s): Likewise.
	(main): Call check_struct_passing7 and check_struct_passing8.

From-SVN: r145239
2009-03-29 08:54:55 -07:00
Joseph Myers
a82cf59bad invoke.texi, [...]: Refer to gcc-4.4/c99status.html.
* doc/invoke.texi, doc/standards.texi: Refer to
	gcc-4.4/c99status.html.

From-SVN: r145224
2009-03-29 03:22:34 +01:00
GCC Administrator
3fc43ad8d4 Daily bump.
From-SVN: r145218
2009-03-29 00:16:41 +00:00
Anatoly Sokolov
7e78995cfe avr.c (avr_mcu_t): Add atmega8c1, atmega16c1 and atmega8m1 devices.
* config/avr/avr.c (avr_mcu_t): Add atmega8c1, atmega16c1 and
	atmega8m1 devices.
	* config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
	* config/avr/t-avr (MULTILIB_MATCHES): (Ditto.)

From-SVN: r145207
2009-03-29 00:09:50 +03:00
Jakub Jelinek
0c50e86d8c rs6000-c.c (rs6000_macro_to_expand): If macro following vector keyword has expansion starting with pixel or bool...
* config/rs6000/rs6000-c.c (rs6000_macro_to_expand): If macro
	following vector keyword has expansion starting with pixel or bool
	keyword, expand vector to __vector and pixel or bool to __pixel or
	__bool.

	* gcc.target/powerpc/altivec-28.c: New test.

From-SVN: r145201
2009-03-28 18:29:57 +01:00
Jakub Jelinek
dfb530f6d2 re PR c++/39554 (-Wdisallowed-function-list fails when #including <algorithm>)
PR c++/39554
	* opts.c (warning_disallowed_functions, warn_disallowed_functions,
	warn_if_disallowed_function_p): Removed.
	(common_handle_option): Don't handle OPT_Wdisallowed_function_list_.
	* c-parser.c (c_parser_postfix_expression_after_primary): Don't call
	warning_if_disallowed_function_p.
	* flags.h (warn_if_disallowed_function_p,
	warn_disallowed_functions): Removed.
	* common.opt (Wdisallowed-function-list=): Removed.
	* doc/invoke.texi (-Wdisallowed-function-list=): Removed.

	* parser.c (cp_parser_postfix_expression): Don't call
	warning_if_disallowed_function_p.

	* gcc.dg/wdisallowed-functions-1.c: Removed.
	* gcc.dg/wdisallowed-functions-2.c: Removed.
	* gcc.dg/wdisallowed-functions-3.c: Removed.
	* g++.dg/warn/Wdisallowed-functions-1.C: Removed.
	* g++.dg/warn/Wdisallowed-functions-2.C: Removed.
	* g++.dg/warn/Wdisallowed-functions-3.C: Removed.

From-SVN: r145200
2009-03-28 18:28:45 +01:00
Joseph Myers
4a07c6b1fd * gcc.pot: Regenerate.
From-SVN: r145164
2009-03-28 07:27:17 +00:00
Joseph Myers
f26f52d7ab * cpplib.pot: Regenerate.
From-SVN: r145163
2009-03-28 07:26:17 +00:00
Joseph Myers
90f72310cf Makefile.in (po/$(PACKAGE).pot): Use $(mkinstalldirs) not mkinstalldirs.
* Makefile.in (po/$(PACKAGE).pot): Use $(mkinstalldirs) not
	mkinstalldirs.

From-SVN: r145161
2009-03-28 06:58:11 +00:00
GCC Administrator
344864273d Daily bump.
From-SVN: r145149
2009-03-28 00:16:46 +00:00
Mark Mitchell
5bfae70e4d * DEV-PHASE: Mark "prerelease".
From-SVN: r145123
2009-03-27 20:55:51 +00:00
8798 changed files with 281149 additions and 262507 deletions

73
COPYING.RUNTIME Normal file
View File

@@ -0,0 +1,73 @@
GCC RUNTIME LIBRARY EXCEPTION
Version 3.1, 31 March 2009
Copyright (C) 2009 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
This GCC Runtime Library Exception ("Exception") is an additional
permission under section 7 of the GNU General Public License, version
3 ("GPLv3"). It applies to a given file (the "Runtime Library") that
bears a notice placed by the copyright holder of the file stating that
the file is governed by GPLv3 along with this Exception.
When you use GCC to compile a program, GCC may combine portions of
certain GCC header files and runtime libraries with the compiled
program. The purpose of this Exception is to allow compilation of
non-GPL (including proprietary) programs to use, in this way, the
header files and runtime libraries covered by this Exception.
0. Definitions.
A file is an "Independent Module" if it either requires the Runtime
Library for execution after a Compilation Process, or makes use of an
interface provided by the Runtime Library, but is not otherwise based
on the Runtime Library.
"GCC" means a version of the GNU Compiler Collection, with or without
modifications, governed by version 3 (or a specified later version) of
the GNU General Public License (GPL) with the option of using any
subsequent versions published by the FSF.
"GPL-compatible Software" is software whose conditions of propagation,
modification and use would permit combination with GCC in accord with
the license of GCC.
"Target Code" refers to output from any compiler for a real or virtual
target processor architecture, in executable form or suitable for
input to an assembler, loader, linker and/or execution
phase. Notwithstanding that, Target Code does not include data in any
format that is used as a compiler intermediate representation, or used
for producing a compiler intermediate representation.
The "Compilation Process" transforms code entirely represented in
non-intermediate languages designed for human-written code, and/or in
Java Virtual Machine byte code, into Target Code. Thus, for example,
use of source code generators and preprocessors need not be considered
part of the Compilation Process, since the Compilation Process can be
understood as starting with the output of the generators or
preprocessors.
A Compilation Process is "Eligible" if it is done using GCC, alone or
with other GPL-compatible software, or if it is done without using any
work based on GCC. For example, using non-GPL-compatible Software to
optimize any GCC intermediate representations would not qualify as an
Eligible Compilation Process.
1. Grant of Additional Permission.
You have permission to propagate a work of Target Code formed by
combining the Runtime Library with Independent Modules, even if such
propagation would otherwise violate the terms of GPLv3, provided that
all Target Code was generated by Eligible Compilation Processes. You
may then convey such a combination under terms of your choice,
consistent with the licensing of the Independent Modules.
2. No Weakening of GCC Copyleft.
The availability of this Exception does not imply any general
presumption that third-party software is unaffected by the copyleft
requirements of the license of GCC.

View File

@@ -1,3 +1,55 @@
2010-04-29 Release Manager
* GCC 4.4.4 released.
2010-01-21 Release Manager
* GCC 4.4.3 released.
2009-11-23 Ben Elliston <bje@au.ibm.com>
* config.sub, config.guess: Update from upstream sources.
2009-10-15 Release Manager
* GCC 4.4.2 released.
2009-07-22 Release Manager
* GCC 4.4.1 released.
2009-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
PR bootstrap/39739
* configure.ac (extra_mpfr_configure_flags): Set and AC_SUBST.
* Makefile.def (module=mpfr): Use extra_mpfr_configure_flags.
* configure, Makefile.in: Regenerate.
2009-04-21 Release Manager
* GCC 4.4.0 released.
2009-04-14 Jakub Jelinek <jakub@redhat.com>
* configure.ac: Change copyright header to refer to version
3 of the GNU General Public License and to point readers at the
COPYING3 file and the FSF's license web page.
* Makefile.def: Likewise.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerate.
2009-04-09 Nick Clifton <nickc@redhat.com>
* COPYING.RUNTIME: New file: Contains a copy of version 3.1 of
the GCC Runtime Library Exception.
2009-04-09 Jack Howarth <howarth@bromo.med.uc.edu>
* configure.ac: Restore match for darwin9 or later. Use double
brackets since regeneration eats one pair.
* configure: Regenerate.
2009-03-25 Erven Rohou <erven.rohou@inria.fr>
* MAINTAINERS: Update my email address.

View File

@@ -9,7 +9,7 @@ AutoGen definitions Makefile.tpl;
//
// This file is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// the Free Software Foundation; either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
@@ -18,8 +18,8 @@ AutoGen definitions Makefile.tpl;
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// along with this program; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// "missing" indicates that that module doesn't supply
@@ -65,7 +65,7 @@ host_modules= { module= gmp; lib_path=.libs; bootstrap=true;
host="none-${host_vendor}-${host_os}";
target="none-${host_vendor}-${host_os}"; };
host_modules= { module= mpfr; lib_path=.libs; bootstrap=true;
extra_configure_flags='--disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp';
extra_configure_flags='--disable-shared @extra_mpfr_configure_flags@';
no_install= true;
host="none-${host_vendor}-${host_os}";
target="none-${host_vendor}-${host_os}"; };

View File

@@ -3,11 +3,12 @@
#
# Makefile for directory with subdirs to build.
# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation
# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
# Free Software Foundation
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@@ -16,8 +17,8 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
#
# First, test for a proper version of make, but only where one is required.
@@ -17067,7 +17068,7 @@ configure-mpfr:
libsrcdir="$$s/mpfr"; \
$(SHELL) $${libsrcdir}/configure \
$(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
--target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp \
--target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
|| exit 1
@endif mpfr
@@ -17100,7 +17101,7 @@ configure-stage1-mpfr:
$(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
--target=none-${host_vendor}-${host_os} $${srcdiroption} \
\
--disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
--disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared @extra_mpfr_configure_flags@
@endif mpfr-bootstrap
.PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
@@ -17131,7 +17132,7 @@ configure-stage2-mpfr:
$(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
--target=none-${host_vendor}-${host_os} $${srcdiroption} \
--with-build-libsubdir=$(HOST_SUBDIR) \
@stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
@stage2_werror_flag@ --disable-shared @extra_mpfr_configure_flags@
@endif mpfr-bootstrap
.PHONY: configure-stageb2g0-mpfr maybe-configure-stageb2g0-mpfr
@@ -17162,7 +17163,7 @@ configure-stageb2g0-mpfr:
$(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
--target=none-${host_vendor}-${host_os} $${srcdiroption} \
--with-build-libsubdir=$(HOST_SUBDIR) \
@stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
@stage2_werror_flag@ --disable-shared @extra_mpfr_configure_flags@
@endif mpfr-bootstrap
.PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
@@ -17193,7 +17194,7 @@ configure-stage3-mpfr:
$(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
--target=none-${host_vendor}-${host_os} $${srcdiroption} \
--with-build-libsubdir=$(HOST_SUBDIR) \
@stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
@stage2_werror_flag@ --disable-shared @extra_mpfr_configure_flags@
@endif mpfr-bootstrap
.PHONY: configure-stageb3g2-mpfr maybe-configure-stageb3g2-mpfr
@@ -17224,7 +17225,7 @@ configure-stageb3g2-mpfr:
$(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
--target=none-${host_vendor}-${host_os} $${srcdiroption} \
--with-build-libsubdir=$(HOST_SUBDIR) \
@stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
@stage2_werror_flag@ --disable-shared @extra_mpfr_configure_flags@
@endif mpfr-bootstrap
.PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
@@ -17255,7 +17256,7 @@ configure-stage4-mpfr:
$(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
--target=none-${host_vendor}-${host_os} $${srcdiroption} \
--with-build-libsubdir=$(HOST_SUBDIR) \
@stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
@stage2_werror_flag@ --disable-shared @extra_mpfr_configure_flags@
@endif mpfr-bootstrap
.PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
@@ -17286,7 +17287,7 @@ configure-stageprofile-mpfr:
$(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
--target=none-${host_vendor}-${host_os} $${srcdiroption} \
--with-build-libsubdir=$(HOST_SUBDIR) \
@stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
@stage2_werror_flag@ --disable-shared @extra_mpfr_configure_flags@
@endif mpfr-bootstrap
.PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
@@ -17317,7 +17318,7 @@ configure-stagefeedback-mpfr:
$(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
--target=none-${host_vendor}-${host_os} $${srcdiroption} \
--with-build-libsubdir=$(HOST_SUBDIR) \
@stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
@stage2_werror_flag@ --disable-shared @extra_mpfr_configure_flags@
@endif mpfr-bootstrap

View File

@@ -6,11 +6,12 @@ in
#
# Makefile for directory with subdirs to build.
# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation
# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
# Free Software Foundation
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@@ -19,8 +20,8 @@ in
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
#
# First, test for a proper version of make, but only where one is required.

View File

@@ -1,3 +1,29 @@
2010-04-29 Release Manager
* GCC 4.4.4 released.
2010-01-21 Release Manager
* GCC 4.4.3 released.
2009-10-15 Release Manager
* GCC 4.4.2 released.
2009-07-22 Release Manager
* GCC 4.4.1 released.
2009-07-17 Kai Tietz <kai.tietz@onevision.com>
* configure.ac: Add rule for mingw targets to add -DGC_BUILD=1 to
cflags.
* configure: Regenerated.
2009-04-21 Release Manager
* GCC 4.4.0 released.
2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure: Regenerate.

46
boehm-gc/configure vendored
View File

@@ -4194,6 +4194,12 @@ case "${host}" in
;;
esac
case "${host}" in
*-*-mingw*)
gc_cflags="${gc_cflags} -DGC_BUILD=1"
;;
esac
GC_CFLAGS=${gc_cflags}
@@ -4619,13 +4625,13 @@ if test "${lt_cv_nm_interface+set}" = set; then
else
lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext
(eval echo "\"\$as_me:4622: $ac_compile\"" >&5)
(eval echo "\"\$as_me:4628: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5
(eval echo "\"\$as_me:4625: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval echo "\"\$as_me:4631: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5
(eval echo "\"\$as_me:4628: output\"" >&5)
(eval echo "\"\$as_me:4634: output\"" >&5)
cat conftest.out >&5
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
@@ -5783,7 +5789,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
echo '#line 5786 "configure"' > conftest.$ac_ext
echo '#line 5792 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -8277,11 +8283,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:8280: $lt_compile\"" >&5)
(eval echo "\"\$as_me:8286: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:8284: \$? = $ac_status" >&5
echo "$as_me:8290: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -8616,11 +8622,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:8619: $lt_compile\"" >&5)
(eval echo "\"\$as_me:8625: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:8623: \$? = $ac_status" >&5
echo "$as_me:8629: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -8721,11 +8727,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:8724: $lt_compile\"" >&5)
(eval echo "\"\$as_me:8730: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:8728: \$? = $ac_status" >&5
echo "$as_me:8734: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -8776,11 +8782,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:8779: $lt_compile\"" >&5)
(eval echo "\"\$as_me:8785: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:8783: \$? = $ac_status" >&5
echo "$as_me:8789: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -11643,7 +11649,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11646 "configure"
#line 11652 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11739,7 +11745,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11742 "configure"
#line 11748 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13765,11 +13771,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:13768: $lt_compile\"" >&5)
(eval echo "\"\$as_me:13774: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:13772: \$? = $ac_status" >&5
echo "$as_me:13778: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -13864,11 +13870,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:13867: $lt_compile\"" >&5)
(eval echo "\"\$as_me:13873: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:13871: \$? = $ac_status" >&5
echo "$as_me:13877: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -13916,11 +13922,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:13919: $lt_compile\"" >&5)
(eval echo "\"\$as_me:13925: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:13923: \$? = $ac_status" >&5
echo "$as_me:13929: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized

View File

@@ -84,6 +84,13 @@ case "${host}" in
;;
esac
dnl Add for mingw targets GC_BUILD option
case "${host}" in
*-*-mingw*)
gc_cflags="${gc_cflags} -DGC_BUILD=1"
;;
esac
dnl gc_cflags="${gc_cflags} -fno-builtin"
GC_CFLAGS=${gc_cflags}

216
config.guess vendored
View File

@@ -1,10 +1,10 @@
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.
timestamp='2008-12-18'
timestamp='2009-11-19'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -27,16 +27,16 @@ timestamp='2008-12-18'
# the same distribution terms that you use for the rest of that program.
# Originally written by Per Bothner <per@bothner.com>.
# Please send patches to <config-patches@gnu.org>. Submit a context
# diff and a properly formatted ChangeLog entry.
# Originally written by Per Bothner. Please send patches (context
# diff format) to <config-patches@gnu.org> and include a ChangeLog
# entry.
#
# This script attempts to guess a canonical system name similar to
# config.sub. If it succeeds, it prints the system name on stdout, and
# exits with 0. Otherwise, it exits with 1.
#
# The plan is that this can be called by configure scripts if you
# don't specify an explicit build system type.
# You can get the latest version of this script from:
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
me=`echo "$0" | sed -e 's,.*/,,'`
@@ -170,7 +170,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
eval $set_cc_for_build
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep __ELF__ >/dev/null
| grep -q __ELF__
then
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
# Return netbsd for either. FIX?
@@ -324,6 +324,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
case `/usr/bin/uname -p` in
sparc) echo sparc-icl-nx7; exit ;;
esac ;;
s390x:SunOS:*:*)
echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
sun4H:SunOS:5.*:*)
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
@@ -653,7 +656,7 @@ EOF
# => hppa64-hp-hpux11.23
if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
grep __LP64__ >/dev/null
grep -q __LP64__
then
HP_ARCH="hppa2.0w"
else
@@ -804,12 +807,12 @@ EOF
i*:PW*:*)
echo ${UNAME_MACHINE}-pc-pw32
exit ;;
*:Interix*:[3456]*)
*:Interix*:*)
case ${UNAME_MACHINE} in
x86)
echo i586-pc-interix${UNAME_RELEASE}
exit ;;
EM64T | authenticamd | genuineintel)
authenticamd | genuineintel | EM64T)
echo x86_64-unknown-interix${UNAME_RELEASE}
exit ;;
IA64)
@@ -819,6 +822,9 @@ EOF
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
echo i${UNAME_MACHINE}-pc-mks
exit ;;
8664:Windows_NT:*)
echo x86_64-pc-mks
exit ;;
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
# How do we know it's Interix rather than the generic POSIX subsystem?
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
@@ -848,6 +854,20 @@ EOF
i*86:Minix:*:*)
echo ${UNAME_MACHINE}-pc-minix
exit ;;
alpha:Linux:*:*)
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
EV5) UNAME_MACHINE=alphaev5 ;;
EV56) UNAME_MACHINE=alphaev56 ;;
PCA56) UNAME_MACHINE=alphapca56 ;;
PCA57) UNAME_MACHINE=alphapca56 ;;
EV6) UNAME_MACHINE=alphaev6 ;;
EV67) UNAME_MACHINE=alphaev67 ;;
EV68*) UNAME_MACHINE=alphaev68 ;;
esac
objdump --private-headers /bin/sh | grep -q ld.so.1
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
exit ;;
arm*:Linux:*:*)
eval $set_cc_for_build
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
@@ -870,6 +890,17 @@ EOF
frv:Linux:*:*)
echo frv-unknown-linux-gnu
exit ;;
i*86:Linux:*:*)
LIBC=gnu
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#ifdef __dietlibc__
LIBC=dietlibc
#endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
exit ;;
ia64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
@@ -879,78 +910,34 @@ EOF
m68*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
mips:Linux:*:*)
mips:Linux:*:* | mips64:Linux:*:*)
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#undef CPU
#undef mips
#undef mipsel
#undef ${UNAME_MACHINE}
#undef ${UNAME_MACHINE}el
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
CPU=mipsel
CPU=${UNAME_MACHINE}el
#else
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
CPU=mips
CPU=${UNAME_MACHINE}
#else
CPU=
#endif
#endif
EOF
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
/^CPU/{
s: ::g
p
}'`"
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
;;
mips64:Linux:*:*)
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#undef CPU
#undef mips64
#undef mips64el
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
CPU=mips64el
#else
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
CPU=mips64
#else
CPU=
#endif
#endif
EOF
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
/^CPU/{
s: ::g
p
}'`"
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
;;
or32:Linux:*:*)
echo or32-unknown-linux-gnu
exit ;;
ppc:Linux:*:*)
echo powerpc-unknown-linux-gnu
exit ;;
ppc64:Linux:*:*)
echo powerpc64-unknown-linux-gnu
exit ;;
alpha:Linux:*:*)
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
EV5) UNAME_MACHINE=alphaev5 ;;
EV56) UNAME_MACHINE=alphaev56 ;;
PCA56) UNAME_MACHINE=alphapca56 ;;
PCA57) UNAME_MACHINE=alphapca56 ;;
EV6) UNAME_MACHINE=alphaev6 ;;
EV67) UNAME_MACHINE=alphaev67 ;;
EV68*) UNAME_MACHINE=alphaev68 ;;
esac
objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
exit ;;
padre:Linux:*:*)
echo sparc-unknown-linux-gnu
exit ;;
parisc64:Linux:*:* | hppa64:Linux:*:*)
echo hppa64-unknown-linux-gnu
exit ;;
parisc:Linux:*:* | hppa:Linux:*:*)
# Look for CPU level
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
@@ -959,8 +946,11 @@ EOF
*) echo hppa-unknown-linux-gnu ;;
esac
exit ;;
parisc64:Linux:*:* | hppa64:Linux:*:*)
echo hppa64-unknown-linux-gnu
ppc64:Linux:*:*)
echo powerpc64-unknown-linux-gnu
exit ;;
ppc:Linux:*:*)
echo powerpc-unknown-linux-gnu
exit ;;
s390:Linux:*:* | s390x:Linux:*:*)
echo ${UNAME_MACHINE}-ibm-linux
@@ -983,66 +973,6 @@ EOF
xtensa*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
i*86:Linux:*:*)
# The BFD linker knows what the default object file format is, so
# first see if it will tell us. cd to the root directory to prevent
# problems with other programs or directories called `ld' in the path.
# Set LC_ALL=C to ensure ld outputs messages in English.
ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
| sed -ne '/supported targets:/!d
s/[ ][ ]*/ /g
s/.*supported targets: *//
s/ .*//
p'`
case "$ld_supported_targets" in
elf32-i386)
TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
;;
a.out-i386-linux)
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
exit ;;
"")
# Either a pre-BFD a.out linker (linux-gnuoldld) or
# one that does not give us useful --help.
echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
exit ;;
esac
# Determine whether the default compiler is a.out or elf
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#include <features.h>
#ifdef __ELF__
# ifdef __GLIBC__
# if __GLIBC__ >= 2
LIBC=gnu
# else
LIBC=gnulibc1
# endif
# else
LIBC=gnulibc1
# endif
#else
#if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
LIBC=gnu
#else
LIBC=gnuaout
#endif
#endif
#ifdef __dietlibc__
LIBC=dietlibc
#endif
EOF
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
/^LIBC/{
s: ::g
p
}'`"
test x"${LIBC}" != x && {
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
exit
}
test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
;;
i*86:DYNIX/ptx:4*:*)
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
# earlier versions are messed up and put the nodename in both
@@ -1071,7 +1001,7 @@ EOF
i*86:syllable:*:*)
echo ${UNAME_MACHINE}-pc-syllable
exit ;;
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
echo i386-unknown-lynxos${UNAME_RELEASE}
exit ;;
i*86:*DOS:*:*)
@@ -1115,8 +1045,11 @@ EOF
pc:*:*:*)
# Left here for compatibility:
# uname -m prints for DJGPP always 'pc', but it prints nothing about
# the processor, so we play safe by assuming i386.
echo i386-pc-msdosdjgpp
# the processor, so we play safe by assuming i586.
# Note: whatever this is, it MUST be the same as what config.sub
# prints for the "djgpp" host, or else GDB configury will decide that
# this is a cross-build.
echo i586-pc-msdosdjgpp
exit ;;
Intel:Mach:3*:*)
echo i386-pc-mach3
@@ -1154,6 +1087,16 @@ EOF
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
&& { echo i486-ncr-sysv4; exit; } ;;
NCR*:*:4.2:* | MPRAS*:*:4.2:*)
OS_REL='.3'
test -r /etc/.relid \
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
&& { echo i486-ncr-sysv4.3${OS_REL}; exit; }
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; }
/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
echo m68k-unknown-lynxos${UNAME_RELEASE}
exit ;;
@@ -1166,7 +1109,7 @@ EOF
rs6000:LynxOS:2.*:*)
echo rs6000-unknown-lynxos${UNAME_RELEASE}
exit ;;
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
echo powerpc-unknown-lynxos${UNAME_RELEASE}
exit ;;
SM[BE]S:UNIX_SV:*:*)
@@ -1259,6 +1202,16 @@ EOF
*:Darwin:*:*)
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
case $UNAME_PROCESSOR in
i386)
eval $set_cc_for_build
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
grep IS_64BIT_ARCH >/dev/null
then
UNAME_PROCESSOR="x86_64"
fi
fi ;;
unknown) UNAME_PROCESSOR=powerpc ;;
esac
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
@@ -1340,6 +1293,9 @@ EOF
i*86:rdos:*:*)
echo ${UNAME_MACHINE}-pc-rdos
exit ;;
i*86:AROS:*:*)
echo ${UNAME_MACHINE}-pc-aros
exit ;;
esac
#echo '(No uname command or uname output not recognized.)' 1>&2

45
config.sub vendored
View File

@@ -1,10 +1,10 @@
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.
timestamp='2008-12-11'
timestamp='2009-11-07'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@@ -32,13 +32,16 @@ timestamp='2008-12-11'
# Please send patches to <config-patches@gnu.org>. Submit a context
# diff and a properly formatted ChangeLog entry.
# diff and a properly formatted GNU ChangeLog entry.
#
# Configuration subroutine to validate and canonicalize a configuration type.
# Supply the specified configuration type as an argument.
# If it is invalid, we print an error message on stderr and exit with code 1.
# Otherwise, we print the canonical config type on stdout and succeed.
# You can get the latest version of this script from:
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
# This file is supposed to be the same for all GNU packages
# and recognize all the CPU types, system types and aliases
# that are meaningful with *any* GNU software.
@@ -122,6 +125,7 @@ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
kopensolaris*-gnu* | \
storm-chaos* | os2-emx* | rtmk-nova*)
os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
@@ -148,10 +152,13 @@ case $os in
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
-apple | -axis | -knuth | -cray)
-apple | -axis | -knuth | -cray | -microblaze)
os=
basic_machine=$1
;;
-bluegene*)
os=-cnk
;;
-sim | -cisco | -oki | -wec | -winbond)
os=
basic_machine=$1
@@ -271,6 +278,7 @@ case $basic_machine in
| mipsisa64sr71k | mipsisa64sr71kel \
| mipstx39 | mipstx39el \
| mn10200 | mn10300 \
| moxie \
| mt \
| msp430 \
| nios | nios2 \
@@ -279,6 +287,7 @@ case $basic_machine in
| pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
| pyramid \
| rx \
| score \
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
| sh64 | sh64le \
@@ -286,13 +295,14 @@ case $basic_machine in
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
| spu | strongarm \
| tahoe | thumb | tic4x | tic80 | tron \
| ubicom32 \
| v850 | v850e \
| we32k \
| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
| z8k | z80)
basic_machine=$basic_machine-unknown
;;
m6811 | m68hc11 | m6812 | m68hc12)
m6811 | m68hc11 | m6812 | m68hc12 | picochip)
# Motorola 68HC11/12.
basic_machine=$basic_machine-unknown
os=-none
@@ -335,7 +345,7 @@ case $basic_machine in
| lm32-* \
| m32c-* | m32r-* | m32rle-* \
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
| m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
| m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
| mips16-* \
| mips64-* | mips64el-* \
@@ -363,7 +373,7 @@ case $basic_machine in
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
| pyramid-* \
| romp-* | rs6000-* \
| romp-* | rs6000-* | rx-* \
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
@@ -372,6 +382,7 @@ case $basic_machine in
| tahoe-* | thumb-* \
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
| tron-* \
| ubicom32-* \
| v850-* | v850e-* | vax-* \
| we32k-* \
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
@@ -445,6 +456,10 @@ case $basic_machine in
basic_machine=m68k-apollo
os=-bsd
;;
aros)
basic_machine=i386-pc
os=-aros
;;
aux)
basic_machine=m68k-apple
os=-aux
@@ -461,6 +476,10 @@ case $basic_machine in
basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
os=-linux
;;
bluegene*)
basic_machine=powerpc-ibm
os=-cnk
;;
c90)
basic_machine=c90-cray
os=-unicos
@@ -713,6 +732,9 @@ case $basic_machine in
basic_machine=ns32k-utek
os=-sysv
;;
microblaze)
basic_machine=microblaze-xilinx
;;
mingw32)
basic_machine=i386-pc
os=-mingw32
@@ -1254,10 +1276,11 @@ case $os in
# Each alternative MUST END IN A *, to match a version number.
# -sysv* is not here because it comes later, after sysvr4.
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
| -kopensolaris* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
| -aos* \
| -aos* | -aros* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
@@ -1276,7 +1299,7 @@ case $os in
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
| -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
@@ -1606,7 +1629,7 @@ case $basic_machine in
-sunos*)
vendor=sun
;;
-aix*)
-cnk*|-aix*)
vendor=ibm
;;
-beos*)

View File

@@ -1,3 +1,30 @@
2010-04-29 Release Manager
* GCC 4.4.4 released.
2010-01-21 Release Manager
* GCC 4.4.3 released.
2009-10-15 Release Manager
* GCC 4.4.2 released.
2009-07-22 Release Manager
* GCC 4.4.1 released.
2009-04-21 Release Manager
* GCC 4.4.0 released.
2009-04-09 Jakub Jelinek <jakub@redhat.com>
* lead-dot.m4: Change copyright header to refer to version
3 of the GNU General Public License and to point readers at the
COPYING3 file and the FSF's license web page.
* warnings.m4: Likewise.
2009-02-11 Kai Tietz <kai.tietz@onevision.com>
* mh-cygwin (LDFLAGS): Add linker option to increase stack limit

View File

@@ -1,9 +1,9 @@
# -*- Autoconf -*-
# Copyright (C) 2003 Free Software Foundation, Inc.
# Copyright (C) 2003, 2009 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
@@ -12,9 +12,8 @@
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
# along with this program; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
# serial 1

View File

@@ -1,12 +1,12 @@
# Autoconf include file defining macros related to compile-time warnings.
# Copyright 2004, 2005, 2007 Free Software Foundation, Inc.
# Copyright 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
#This file is part of GCC.
#GCC is free software; you can redistribute it and/or modify it under
#the terms of the GNU General Public License as published by the Free
#Software Foundation; either version 2, or (at your option) any later
#Software Foundation; either version 3, or (at your option) any later
#version.
#GCC is distributed in the hope that it will be useful, but WITHOUT
@@ -15,9 +15,8 @@
#for more details.
#You should have received a copy of the GNU General Public License
#along with GCC; see the file COPYING. If not, write to the Free
#Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
#02110-1301, USA.
#along with GCC; see the file COPYING3. If not see
#<http://www.gnu.org/licenses/>.
# ACX_PROG_CC_WARNING_OPTS(WARNINGS, [VARIABLE = WARN_CFLAGS)
# Sets @VARIABLE@ to the subset of the given options which the

7
configure vendored
View File

@@ -272,7 +272,7 @@ PACKAGE_STRING=
PACKAGE_BUGREPORT=
ac_unique_file="move-if-change"
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TOPLEVEL_CONFIGURE_ARGUMENTS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc ppllibs pplinc clooglibs clooginc stage1_languages SYSROOT_CFLAGS_FOR_TARGET DEBUG_PREFIX_CFLAGS_FOR_TARGET CFLAGS_FOR_TARGET CXXFLAGS_FOR_TARGET RPATH_ENVVAR GCC_SHLIB_SUBDIR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs AR_FOR_BUILD AS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXX_FOR_BUILD DLLTOOL_FOR_BUILD GCJ_FOR_BUILD GFORTRAN_FOR_BUILD LDFLAGS_FOR_BUILD LD_FOR_BUILD NM_FOR_BUILD RANLIB_FOR_BUILD WINDMC_FOR_BUILD WINDRES_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TOPLEVEL_CONFIGURE_ARGUMENTS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc extra_mpfr_configure_flags ppllibs pplinc clooglibs clooginc stage1_languages SYSROOT_CFLAGS_FOR_TARGET DEBUG_PREFIX_CFLAGS_FOR_TARGET CFLAGS_FOR_TARGET CXXFLAGS_FOR_TARGET RPATH_ENVVAR GCC_SHLIB_SUBDIR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs AR_FOR_BUILD AS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXX_FOR_BUILD DLLTOOL_FOR_BUILD GCJ_FOR_BUILD GFORTRAN_FOR_BUILD LDFLAGS_FOR_BUILD LD_FOR_BUILD NM_FOR_BUILD RANLIB_FOR_BUILD WINDMC_FOR_BUILD WINDRES_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
ac_subst_files='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
ac_pwd=`pwd`
@@ -2215,7 +2215,7 @@ case "${target}" in
noconfigdirs="$noconfigdirs ld gas gdb gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
i[3456789]86-*-darwin* | x86_64-*-darwin9*)
i[3456789]86-*-darwin* | x86_64-*-darwin[912]*)
noconfigdirs="$noconfigdirs ld gas gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
@@ -4596,6 +4596,7 @@ fi
if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
extra_mpfr_configure_flags='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp'
# Do not test the gmp version. Assume that it is sufficient, since
# it is in the source tree, and the library has not been built yet
# but it would be included on the link line in the version check below
@@ -4810,6 +4811,7 @@ fi
# Allow host libstdc++ to be specified for static linking with PPL.
# Check whether --with-host-libstdcxx or --without-host-libstdcxx was given.
@@ -13251,6 +13253,7 @@ s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
s,@do_compare@,$do_compare,;t t
s,@gmplibs@,$gmplibs,;t t
s,@gmpinc@,$gmpinc,;t t
s,@extra_mpfr_configure_flags@,$extra_mpfr_configure_flags,;t t
s,@ppllibs@,$ppllibs,;t t
s,@pplinc@,$pplinc,;t t
s,@clooglibs@,$clooglibs,;t t

View File

@@ -4,7 +4,7 @@
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
@@ -13,8 +13,8 @@
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
##############################################################################
### WARNING: this file contains embedded tabs. Do not run untabify on this file.
@@ -450,7 +450,7 @@ case "${target}" in
noconfigdirs="$noconfigdirs ld gas gdb gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
i[[3456789]]86-*-darwin* | x86_64-*-darwin9*)
i[[3456789]]86-*-darwin* | x86_64-*-darwin[[912]]*)
noconfigdirs="$noconfigdirs ld gas gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
@@ -1250,6 +1250,7 @@ fi
if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
extra_mpfr_configure_flags='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp'
# Do not test the gmp version. Assume that it is sufficient, since
# it is in the source tree, and the library has not been built yet
# but it would be included on the link line in the version check below
@@ -1314,6 +1315,7 @@ fi
# Flags needed for both GMP and/or MPFR
AC_SUBST(gmplibs)
AC_SUBST(gmpinc)
AC_SUBST(extra_mpfr_configure_flags)
# Allow host libstdc++ to be specified for static linking with PPL.
AC_ARG_WITH(host-libstdcxx, [ --with-host-libstdcxx=L Use linker arguments L to link with libstdc++

View File

@@ -1,3 +1,56 @@
2010-04-29 Release Manager
* GCC 4.4.4 released.
2010-01-21 Release Manager
* GCC 4.4.3 released.
2009-10-15 Release Manager
* GCC 4.4.2 released.
2009-08-18 Alexandre Oliva <aoliva@redhat.com>
* compare-debug: Don't fail just because of .eh_frame
differences. Drop .eh_frame relocations too.
2009-07-22 Release Manager
* GCC 4.4.1 released.
2009-06-20 Gerald Pfeifer <gerald@pfeifer.com>
* test_summary: Only include LAST_UPDATED if it exists.
Complete copyright years.
2009-04-27 Jakub Jelinek <jakub@redhat.com>
PR testsuite/39807
* dg-extract-results.sh: Close open files and use >> instead of >
to decrease number of concurrently open files from awk. Avoid
= at the beginning of a regexp and redirect to a file determined
by curfile variable rather than concatenated strings to workaround
Solaris nawk bug.
2009-04-21 Release Manager
* GCC 4.4.0 released.
2009-04-14 Jakub Jelinek <jakub@redhat.com>
* gennews (files): Reference GCC 4.4 web pages.
2009-04-09 Jakub Jelinek <jakub@redhat.com>
* reghunt/date_based/reg_periodic: Change copyright header to refer
to version 3 of the GNU General Public License and to point readers
at the COPYING3 file and the FSF's license web page.
* reghunt/date_based/reg_search: Likewise.
* regression/GCC_Regression_Tester.wdgt/widget.html: Likewise.
* regression/btest-gcc.sh: Likewise.
* regression/objs-gcc.sh: Likewise.
2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* check_warning_flags.sh: Update flag exceptions.

View File

@@ -2,7 +2,7 @@
# Compare stripped copies of two given object files.
# Copyright (C) 2007 Free Software Foundation
# Copyright (C) 2007, 2008, 2009 Free Software Foundation
# Originally by Alexandre Oliva <aoliva@redhat.com>
# This file is part of GCC.
@@ -67,6 +67,74 @@ if cmp "$1.$suf1" "$2.$suf2"; then
status=0
else
status=1
# Assembler-generated CFI will add an .eh_frame section for -g not
# present in -g0. Try to cope with it by checking that an .eh_frame
# section is present in either object file, and then stripping it
# off before re-comparing.
cmd=
cmp1=
cmp2=
for t in objdump readelf eu-readelf; do
if ($t --help) 2>&1 | grep -e '--\[*section-\]*headers' > /dev/null; then
cmd=$t
$cmd --section-headers "$1.$suf1" | grep '\.eh_frame' > /dev/null
cmp1=$?
$cmd --section-headers "$2.$suf2" | grep '\.eh_frame' > /dev/null
cmp2=$?
break
fi
done
# If we found .eh_frame in one but not the other, or if we could not
# find a command to tell, try to strip off the .eh_frame section
# from both.
if test "x$cmp1" != "x$cmp2" || test "x$cmd" = "x"; then
suf3=$suf1.
while test -f "$1.$suf3"; do
suf3=$suf3.
done
suf4=$suf2.
while test -f "$2.$suf4"; do
suf4=$suf4.
done
trap 'rm -f "$1.$suf1" "$2.$suf2" "$1.$suf3" "$2.$suf4"' 0 1 2 15
echo stripping off .eh_frame, then retrying >&2
if (objcopy -v) 2>&1 | grep -e "--remove-section" > /dev/null; then
objcopy --remove-section .eh_frame --remove-section .rel.eh_frame --remove-section .rela.eh_frame "$1.$suf1" "$1.$suf3"
mv "$1.$suf3" "$1.$suf1"
objcopy --remove-section .eh_frame --remove-section .rel.eh_frame --remove-section .rela.eh_frame "$2.$suf2" "$2.$suf4"
mv "$2.$suf4" "$2.$suf2"
elif (strip --help) 2>&1 | grep -e --remove-section > /dev/null; then
cp "$1.$suf1" "$1.$suf3"
strip --remove-section .eh_frame --remove-section .rel.eh_frame --remove-section .rela.eh_frame "$1.$suf3"
mv "$1.$suf3" "$1.$suf1"
cp "$2.$suf2" "$2.$suf4"
strip --remove-section .eh_frame --remove-section .rel.eh_frame --remove-section .rela.eh_frame "$2.$suf4"
mv "$2.$suf4" "$2.$suf2"
else
echo failed to strip off .eh_frame >&2
fi
trap 'rm -f "$1.$suf1" "$2.$suf2"' 0 1 2 15
if cmp "$1.$suf1" "$2.$suf2"; then
status=0
else
status=1
fi
fi
fi
$rm "$1.$suf1" "$2.$suf2"

View File

@@ -6,7 +6,7 @@
# The resulting file can be used with test result comparison scripts for
# results from tests that were run in parallel. See usage() below.
# Copyright (C) 2008 Free Software Foundation
# Copyright (C) 2008, 2009 Free Software Foundation
# Contributed by Janis Johnson <janis187@us.ibm.com>
#
# This file is part of GCC.
@@ -148,26 +148,28 @@ if [ "$TOOL" = acats ]; then
ACATS_AWK=${TMP}/acats.awk
cat <<EOF > $ACATS_AWK
BEGIN {
print_prologue=1; chapter=""; insummary=0
print_prologue=1; curfile=""; insummary=0
passcnt=0; failcnt=0; unsupcnt=0; failures=""
}
/=== acats configuration ===/ {
/^[ \t]*=== acats configuration ===/ {
insummary=0
if (print_prologue) print
next
}
/=== acats tests ===/ {
/^[ \t]*=== acats tests ===/ {
if (print_prologue) print
print_prologue=0
next
}
/^Running chapter / {
chapter=\$3
print > "${TMP}/chapter-"chapter
if (curfile) close (curfile)
curfile="${TMP}/chapter-"\$3
print >> curfile
next
}
/=== acats Summary ===/ {
chapter=""
/^[ \t]*=== acats Summary ===/ {
if (curfile) close (curfile)
curfile=""
insummary=1
next
}
@@ -182,7 +184,7 @@ BEGIN {
}
{
if (print_prologue) { print; next }
if (chapter) print > "${TMP}/chapter-"chapter
if (curfile) print >> curfile
}
END {
system ("cat ${TMP}/chapter-*")
@@ -194,6 +196,7 @@ END {
}
EOF
rm -f ${TMP}/chapter-*
$AWK -f $ACATS_AWK $SUM_FILES
exit 0
fi
@@ -270,6 +273,7 @@ BEGIN {
expfileno=1
cnt=0
print_using=0
need_close=0
}
/^EXPFILE: / {
expfiles[expfileno] = \$2
@@ -287,8 +291,10 @@ BEGIN {
/^Running / {
print_using=0
if (variant == curvar) {
if (need_close) close(curfile)
curfile="${TMP}/list"expfilesr[\$2]
expfileseen[\$2]=expfileseen[\$2] + 1
need_close=0
testname="00"
next
}
@@ -303,11 +309,12 @@ BEGIN {
/^$/ { if ("$MODE" == "sum") next }
{ if (variant == curvar && curfile) {
if ("$MODE" == "sum") {
printf "%s %08d|", testname, cnt > curfile
printf "%s %08d|", testname, cnt >> curfile
cnt = cnt + 1
}
filewritten[curfile]=1
print > curfile
need_close=1
print >> curfile
} else
next
}

View File

@@ -3,7 +3,8 @@
# Script to generate the NEWS file from online release notes.
# Contributed by Joseph Myers <jsm28@cam.ac.uk>.
#
# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009
# Free Software Foundation, Inc.
# This file is part of GCC.
#
# GCC is free software; you can redistribute it and/or modify
@@ -23,6 +24,7 @@
website=http://gcc.gnu.org/
files="
gcc-4.4/index.html gcc-4.4/changes.html
gcc-4.3/index.html gcc-4.3/changes.html
gcc-4.2/index.html gcc-4.2/changes.html
gcc-4.1/index.html gcc-4.1/changes.html

View File

@@ -1,3 +1,23 @@
2010-04-29 Release Manager
* GCC 4.4.4 released.
2010-01-21 Release Manager
* GCC 4.4.3 released.
2009-10-15 Release Manager
* GCC 4.4.2 released.
2009-07-22 Release Manager
* GCC 4.4.1 released.
2009-04-21 Release Manager
* GCC 4.4.0 released.
2009-02-17 Janis Johnson <janis187@us.ibm.com>
* examples: New directory.

View File

@@ -25,11 +25,11 @@
# is STOP in the current directory.
#
#
# Copyright (c) 2002, 2003, 2005 Free Software Foundation, Inc.
# Copyright (c) 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@@ -37,9 +37,9 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# For a copy of the GNU General Public License, write the the
# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
#
########################################################################

View File

@@ -45,11 +45,11 @@
#
#
#
# Copyright (c) 2002, 2003, 2005 Free Software Foundation, Inc.
# Copyright (c) 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@@ -57,9 +57,9 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# For a copy of the GNU General Public License, write the the
# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
#
########################################################################

View File

@@ -1,3 +1,23 @@
2010-04-29 Release Manager
* GCC 4.4.4 released.
2010-01-21 Release Manager
* GCC 4.4.3 released.
2009-10-15 Release Manager
* GCC 4.4.2 released.
2009-07-22 Release Manager
* GCC 4.4.1 released.
2009-04-21 Release Manager
* GCC 4.4.0 released.
2008-11-27 Geoff Keating <geoffk@geoffk.org>
* mkindex.pl: New.

View File

@@ -1,11 +1,11 @@
<!-- Get and update the GCC regression tester's web page.
Copyright (C) 2005, 2007 Free Software Foundation, Inc.
Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2, or (at your option) any later
Software Foundation; either version 3, or (at your option) any later
version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
@@ -14,9 +14,8 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING. If not, write to the Free
Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA. -->
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<head>

View File

@@ -1,11 +1,12 @@
#!/bin/sh
# Test GCC.
# Copyright (C) 1999, 2000, 2001, 2002, 2005, 2006 Free Software Foundation, Inc.
# Copyright (C) 1999, 2000, 2001, 2002, 2005, 2006, 2009
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
@@ -14,8 +15,8 @@
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
# along with this program; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
# INPUT:
# btest <options> <target> <source> <prefix> <state> <build>

View File

@@ -1,11 +1,12 @@
#!/bin/sh
# Build tools for testing GCC.
# Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
# Copyright (C) 1999, 2000, 2001, 2002, 2009
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
@@ -14,8 +15,8 @@
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
# along with this program; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
# INPUT:
# btest <target> <source> <prefix> <state> <build>

View File

@@ -1,6 +1,7 @@
#! /bin/sh
# (C) 1998, 1999, 2000, 2002 Free Software Foundation
# (C) 1998, 1999, 2000, 2002, 2003, 2004, 2007, 2009
# Free Software Foundation
# Originally by Alexandre Oliva <oliva@dcc.unicamp.br>
# This script is Free Software, and it can be copied, distributed and
@@ -106,9 +107,11 @@ configflags == "" {
sub(/^s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,/, "", configflags);
srcdir = configflags;
sub(/\/configure .*/, "", srcdir);
printf "LAST_UPDATED: ";
system("tail -1 " srcdir "/LAST_UPDATED");
print "";
if ( system("test -f " srcdir "/LAST_UPDATED") == 0 ) {
printf "LAST_UPDATED: ";
system("tail -1 " srcdir "/LAST_UPDATED");
print "";
}
sub(/^[^ ]*\/configure */, " ", configflags);
sub(/,;t t $/, " ", configflags);

View File

@@ -1,3 +1,39 @@
2010-04-29 Release Manager
* GCC 4.4.4 released.
2010-01-21 Release Manager
* GCC 4.4.3 released.
2009-10-15 Release Manager
* GCC 4.4.2 released.
2009-07-22 Release Manager
* GCC 4.4.1 released.
2009-04-21 Release Manager
* GCC 4.4.0 released.
2009-04-09 Jakub Jelinek <jakub@redhat.com>
* Makefile.in: Change copyright header to refer to version
3 of the GNU General Public License and to point readers at the
COPYING3 file and the FSF's license web page.
* fixfixes.c: Likewise.
* fixinc.in: Likewise.
* fixincl.c: Likewise.
* fixlib.c: Likewise.
* fixlib.h: Likewise.
* fixopts.c: Likewise.
* fixtests.c: Likewise.
* genfixes: Likewise.
* mkheaders.in: Likewise.
* system.h: Likewise.
2009-03-01 Bruce Korb <bkorb@gnu.org>
Apply a positively ancient patch:

View File

@@ -1,13 +1,13 @@
# Makefile for fixincludes.
#
# Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004
# Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2009
# Free Software Foundation, Inc.
#This file is part of fixincludes.
#fixincludes is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 2, or (at your option)
#the Free Software Foundation; either version 3, or (at your option)
#any later version.
#fixincludes is distributed in the hope that it will be useful,
@@ -16,9 +16,8 @@
#GNU General Public License for more details.
#You should have received a copy of the GNU General Public License
#along with fixincludes; see the file COPYING. If not, write to
#the Free Software Foundation, 51 Franklin Street, Fifth Floor,
#Boston, MA 02110-1301, USA.
#along with fixincludes; see the file COPYING3. If not see
#<http://www.gnu.org/licenses/>.
SHELL=@SHELL@

View File

@@ -3,7 +3,7 @@
Test to see if a particular fix should be applied to a header file.
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2009
Free Software Foundation, Inc.
= = = = = = = = = = = = = = = = = = = = = = = = =
@@ -37,7 +37,7 @@ This file is part of GCC.
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
the Free Software Foundation; either version 3, or (at your option)
any later version.
GCC is distributed in the hope that it will be useful,
@@ -46,9 +46,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING. If not, write to
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
#include "fixlib.h"
#define GTYPE_SE_CT 1

View File

@@ -6,14 +6,14 @@
#
# See README-fixinc for more information.
#
# fixincludes copyright (c) 1998, 1999, 2000, 2002
# fixincludes copyright (c) 1998, 1999, 2000, 2002, 2009
# The Free Software Foundation, Inc.
#
# fixincludes is free software.
#
# You may redistribute it and/or modify it under the terms of the
# GNU General Public License, as published by the Free Software
# Foundation; either version 2, or (at your option) any later version.
# Foundation; either version 3, or (at your option) any later version.
#
# fixincludes is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -21,10 +21,8 @@
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with fixincludes. See the file "COPYING". If not,
# write to: The Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
# along with fixincludes; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
#
# # # # # # # # # # # # # # # # # # # # #

View File

@@ -2,24 +2,24 @@
files which are fixed to work correctly with ANSI C and placed in a
directory that GCC will search.
Copyright (C) 1997, 1998, 1999, 2000, 2004 Free Software Foundation, Inc.
Copyright (C) 1997, 1998, 1999, 2000, 2004, 2009
Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
the Free Software Foundation; either version 3, or (at your option)
any later version.
GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING. If not, write to
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
#include "fixlib.h"

View File

@@ -3,13 +3,13 @@
files which are fixed to work correctly with ANSI C and placed in a
directory that GCC will search.
Copyright (C) 1999, 2000, 2001, 2004 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2004, 2009 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
the Free Software Foundation; either version 3, or (at your option)
any later version.
GCC is distributed in the hope that it will be useful,
@@ -18,9 +18,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING. If not, write to
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
#include "fixlib.h"

View File

@@ -3,14 +3,14 @@
files which are fixed to work correctly with ANSI C and placed in a
directory that GCC will search.
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2004
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2009
Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
the Free Software Foundation; either version 3, or (at your option)
any later version.
GCC is distributed in the hope that it will be useful,
@@ -19,9 +19,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING. If not, write to
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
#ifndef GCC_FIXLIB_H
#define GCC_FIXLIB_H

View File

@@ -1,12 +1,12 @@
/* Handle options that are passed from environment variables.
Copyright (C) 2004 Free Software Foundation, Inc.
Copyright (C) 2004, 2009 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
the Free Software Foundation; either version 3, or (at your option)
any later version.
GCC is distributed in the hope that it will be useful,
@@ -15,9 +15,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING. If not, write to
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
#include "fixlib.h"

View File

@@ -3,7 +3,7 @@
Test to see if a particular fix should be applied to a header file.
Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
Copyright (C) 1997, 1998, 1999, 2000, 2009 Free Software Foundation, Inc.
= = = = = = = = = = = = = = = = = = = = = = = = =
@@ -32,7 +32,7 @@ This file is part of GCC.
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
the Free Software Foundation; either version 3, or (at your option)
any later version.
GCC is distributed in the hope that it will be useful,
@@ -41,9 +41,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING. If not, write to
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
#include "fixlib.h"

View File

@@ -1,11 +1,11 @@
#! /bin/sh
# Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
# Copyright (C) 1999, 2000, 2001, 2009 Free Software Foundation, Inc.
# This file is part of GCC.
# GCC is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# GCC is distributed in the hope that it will be useful,
@@ -14,9 +14,8 @@
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
# along with GCC; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
SHELL=/bin/sh
export SHELL

View File

@@ -1,12 +1,12 @@
#!/bin/sh
# Copyright (C) 2002, 2007 Free Software Foundation, Inc.
# Copyright (C) 2002, 2007, 2009 Free Software Foundation, Inc.
#This file is part of GCC.
#GCC is free software; you can redistribute it and/or modify it under
#the terms of the GNU General Public License as published by the Free
#Software Foundation; either version 2, or (at your option) any later
#Software Foundation; either version 3, or (at your option) any later
#version.
#GCC is distributed in the hope that it will be useful, but WITHOUT
@@ -15,9 +15,8 @@
#for more details.
#You should have received a copy of the GNU General Public License
#along with GCC; see the file COPYING. If not, write to the Free
#Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
#02110-1301, USA.
#along with GCC; see the file COPYING3. If not see
#<http://www.gnu.org/licenses/>.
# Basic information
target=@target@

View File

@@ -1,13 +1,13 @@
/* Get common system includes and various definitions and declarations based
on autoconf macros.
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009
Free Software Foundation, Inc.
This file is part of libcpp (aka cpplib).
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2, or (at your option) any later
Software Foundation; either version 3, or (at your option) any later
version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
@@ -16,9 +16,8 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING. If not, write to the Free
Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA. */
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
#ifndef FIXINC_SYSTEM_H

View File

@@ -1 +1 @@
4.4.0
4.4.4

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1 @@
20090327
20100429

View File

@@ -1 +0,0 @@
experimental

View File

@@ -3,7 +3,7 @@
# Copyright (C) 1987, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
# 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
# 2008, 2009 Free Software Foundation, Inc.
# 2008, 2009, 2010 Free Software Foundation, Inc.
#This file is part of GCC.
@@ -2514,7 +2514,7 @@ expr.o : expr.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
tree-pass.h $(DF_H) $(DIAGNOSTIC_H) vecprim.h
dojump.o : dojump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(TREE_H) \
$(FLAGS_H) $(FUNCTION_H) $(EXPR_H) $(OPTABS_H) $(INSN_ATTR_H) insn-config.h \
langhooks.h $(GGC_H) gt-dojump.h vecprim.h $(BASIC_BLOCK_H)
langhooks.h $(GGC_H) gt-dojump.h vecprim.h $(BASIC_BLOCK_H) output.h
builtins.o : builtins.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
$(TREE_H) $(GIMPLE_H) $(FLAGS_H) $(TARGET_H) $(FUNCTION_H) $(REGS_H) \
$(EXPR_H) $(OPTABS_H) insn-config.h $(RECOG_H) output.h typeclass.h \
@@ -2785,7 +2785,8 @@ cfgexpand.o : cfgexpand.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
value-prof.h $(TREE_INLINE_H) $(TARGET_H)
cfgrtl.o : cfgrtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
$(FLAGS_H) insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h \
output.h $(TOPLEV_H) $(FUNCTION_H) except.h $(TM_P_H) insn-config.h $(EXPR_H) \
output.h $(TOPLEV_H) $(FUNCTION_H) except.h $(TM_P_H) $(INSN_ATTR_H) \
insn-config.h $(EXPR_H) \
$(CFGLAYOUT_H) $(CFGLOOP_H) $(OBSTACK_H) $(TARGET_H) $(TREE_H) \
tree-pass.h $(DF_H) $(GGC_H)
cfganal.o : cfganal.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
@@ -3974,7 +3975,7 @@ cpp.pod: cpp.texi cppenv.texi cppopts.texi
# These next rules exist because the output name is not the same as
# the input name, so our implicit %.pod rule will not work.
gcc.pod: invoke.texi cppenv.texi cppopts.texi
gcc.pod: invoke.texi cppenv.texi cppopts.texi gcc-vers.texi
$(STAMP) $@
-$(TEXI2POD) $< > $@
gfdl.pod: fdl.texi

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2008, Free Software Foundation, Inc. --
-- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

File diff suppressed because it is too large Load Diff

2239
gcc/ada/ChangeLog-2001 Normal file

File diff suppressed because it is too large Load Diff

986
gcc/ada/ChangeLog-2002 Normal file
View File

@@ -0,0 +1,986 @@
2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
* gnat_rm.texi, gnat_ug.texi: Use @copying.
* gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
gnat_ug_wnt.texi: Regenerate.
2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
* gnat_rm.texi: Include gcc-common.texi. Use GCC version number
only.
* Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
$(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
$(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
$(srcdir)/doc/include/gcc-common.texi.
2002-12-15 Geert Bosch <bosch@gnat.com>
* sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
2002-12-14 Geert Bosch <bosch@gnat.com>
PR ada/5690
* sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
case of a body created for a Renaming_As_Body, on which
conformance checks are not performed.
2002-11-30 Zack Weinberg <zack@codesourcery.com>
* cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
not already included.
* Make-lang.in: Update dependencies.
2002-11-18 Nathanael Nerode <neroden@gcc.gnu.org>
* adaint.c (__gnat_tmp_name): Better, but good enough for now,
solution to buffer overflow bug on GNU/Linux.
2002-11-14 Nathanael Nerode <neroden@gcc.gnu.org>
PR ada/5856
PR ada/6919
* bindgen.adb: Remove all references to Public_Version.
* comperr.adb: Remove all references to Public_Version and
GNATPRO_Version; correct bug reporting instructions.
* comperr.ads: Change to match bug box.
* gnatvsn.ads: Remove all references to Public version and
GNATPRO version.
2002-11-13 Nathanael Nerode <neroden@gcc.gnu.org>
PR ada/6919
* adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
GNU/Linux.
PR ada/6558
* config-lang.in: Remove diff_excludes.
2002-11-05 Graham Stott <graham.stott@btinternet.com>
PR ada/8358
* trans.c (gnu_pending_elaboration_lists): New GC root.
(build_unit_elab): Use..
2002-10-30 Geert Bosch <bosch@gnat.com>
PR ada/6558
* misc.c : Include optabs.h
* Make-lang.in (misc.o): Add dependency on optabs.h
2002-10-29 Geert Bosch <bosch@gnat.com>
PR ada/6558
* Make-lang.in (gnatbind): Depend on CONFIG_H
2002-10-29 Geert bosch <bosch@gnat.com>
PR ada/6558
* misc.c: Unrevert misc.c (1.13)
2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>
* a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
maintainership comments.
2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
PR ada/5904
* 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
7staprop.adb: Correct statements in comments about
maintainership of GNAT.
PR ada/5904
* 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
switch-c.ads switch-m.adb switch-m.ads: Correct statements in
comments about maintainership of GNAT.
PR ada/6919 (forward port of patch for PR ada/5904)
* 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
a-except.adb a-except.ads a-excpol.adb a-exctra.adb
a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
par-endh.adb par-labl.adb par-load.adb par-prag.adb
par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
s-direio.adb s-direio.ads s-except.ads s-exctab.adb
s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
sem_type.adb sem_type.ads sem_util.adb sem_util.ads
sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
stringt.ads stringt.h style.adb style.ads stylesw.adb
stylesw.ads switch.adb switch.ads sysdep.c system.ads
table.adb table.ads targparm.adb targparm.ads targtyps.c
tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
types.adb types.ads types.h uintp.adb uintp.ads uintp.h
uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
usage.ads utils.c utils2.c validsw.adb validsw.ads
widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
xtreeprs.adb: Correct statements in comments about maintainership
of GNAT.
2002-09-23 Zack Weinberg <zack@codesourcery.com>
* Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
* Makefile.in (TOOLS_LIBS): Add ../../version.o.
* gnatvsn.ads: Gnat_Version_String is now a function.
* gnatvsn.adb: New file. When asked for Gnat_Version_String,
copy the C version_string into a String and return it.
* gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
Remove pragma Ident (Gnat_Version_String). If this was the
sole use of package Gnatvsn, remove the with statement too.
* gnat1drv.adb: Tweak -gnatv output.
2002-09-17 Richard Henderson <rth@redhat.com>
* trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
* config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
* config/mips/mips.md (fixuns_truncdfsi2): Likewise.
(fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
* config/m68k/m68k.c (floating_exact_log2): Use real_exponent
and real_2expN instead of a loop.
* doc/tm.texi (REAL_VALUE_LDEXP): Remove.
(REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
2002-08-25 Andre Leis <a.leis@gmx.net>
David Billinghurst <David.Billinghurst@riotinto.com>
* sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
2002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
Remove $(CONFIG_H) dependency.
2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
* ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* adadecode.c (ada_demangle): Use xstrdup in lieu of
xmalloc/strcpy.
* misc.c (gnat_decode_option): Likewise.
2002-07-15 Florian Weimer <fw@deneb.enyo.de>
* make.adb (Add_Switch): Make Generic_Position a procedure. The
function approach did not work well because of a side effect (the
function call could reallocate the table which was being indexed
using its result). Fixes ada/4851. [RESURRECTED]
2002-07-01 Roger Sayle <roger@eyesopen.com>
* ada/utils.c (builtin_function): Accept an additional parameter.
2002-06-28 Andreas Jaeger <aj@suse.de>
PR ada/7144
* Makefile.in: Fix typo in comment, patch by Adrian Knoth
<adi@thur.de>.
2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (SHELL): Set to @SHELL@.
2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
array size calculation.
2002-06-04 Andreas Jaeger <aj@suse.de>
* Make-lang.in (gnatbind): Readd rule that has been lost in last
patch.
2002-06-03 Geoffrey Keating <geoffk@redhat.com>
Merge from pch-branch:
* config-lang.in (gtfiles): Add ada-tree.h.
* ada-tree.h (SET_TYPE_CI_CO_LIST): New.
(SET_TYPE_MODULUS): New.
(SET_TYPE_INDEX): New.
(SET_TYPE_DIGITS_VALUE): New.
(SET_TYPE_RM_SIZE): New.
(SET_TYPE_UNCONSTRAINED_ARRAY): New.
(SET_TYPE_ADA_SIZE): New.
(SET_TYPE_ACTUAL_BOUNDS): New.
(SET_DECL_CONST_CORRESPONDING_VAR): New.
(SET_DECL_ORIGINAL_FIELD): New.
(TREE_LOOP_ID): Correct typo.
* decl.c: Use new macros.
* utils.c: Include debug.h, use new macros.
* utils2.c: Use new macros.
* ada-tree.h: Update all macros for new tree description.
(struct tree_loop_id): New.
(union lang_tree_node): New.
(struct lang_decl): New.
(struct lang_type): New.
* misc.c (gnat_mark_tree): Delete.
(LANG_HOOKS_MARK_TREE): Delete.
* trans.c (tree_transform): No longer any need to cast
for TREE_LOOP_ID.
* utils.c (struct language_function): New dummy structure.
* Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
(misc.o): Likewise.
(utils.o): Likewise; also gtype-ada.h.
* Make-lang.in (gnat1): Add dependency on s-gtype.
(gnatbind): Add dependency on $(CONFIG_H).
* utils.c: Correct last #include.
(stuct e_stack): Remove unnecessary 'static'.
(mark_e_stack): Remove unused prototype.
* scn-nlit.adb: Remove whitespace after version number to
keep lines under 80 chars.
* snames.adb: Likewise.
* treepr.ads: Likewise.
* Makefile.in (decl.o): Include gt-ada-<filename>.h.
(misc.o): Likewise.
(utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
* config-lang.in (gtfiles): New.
* decl.c: Use gengtype for roots.
* gigi.h: Use gengtype for roots.
* trans.c: Use gengtype for roots.
* utils.c: Use gengtype for roots, marking. Include gtype-ada.h.
2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
* misc.c (gnat_init): Adjust setting of internal_error_function.
2002-06-01 Joseph S. Myers <jsm28@cam.ac.uk>
* gnat_ug.texi: Use @ifnottex instead of @ifinfo.
* gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
gnat_ug_wnt.texi: Regenerate.
2002-05-31 Florian Weimer <fw@deneb.enyo.de>
* 5ntaprop.adb (with System.OS_Primitives): Remove.
* cstreams.c (max_path_len): Move from here ...
* adaint.c (__gnat_max_path_len): ... to here.
* adaint.c (__gnat_max_path_len): Declare.
* g-dirope.adb (Max_Path): Adjust.
* g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
* i-cstrea.ads (max_path_len): Adjust.
* osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
* xr_tabls.adb (Dir_Name.Max_Path: Adjust.
* Makefile.in, Make-lang.in: Documentation is now built in
Make-lang.in. Store Info and generated Texinfo files in the
source directory.
* gnat_ug.texi: Remove CVS keywords, correct version number.
Set file name correctly.
* gnat_ug_*.texi: Add.
* .cvsignore: Ignore generated Texinfo files.
2002-05-30 Zack Weinberg <zack@codesourcery.com>
* ada.h: Add MI guard macro.
(SUBTYPE): Define constants with an anonymous enum, not static
const variables.
(IN): Cast constants to appropriate type before use.
2002-05-26 Joseph S. Myers <jsm28@cam.ac.uk>
* gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
(experimental)".
2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Make-lang.in (CP, ECHO): Copy from Makefile.in.
(X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
(ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
(ALL_ADA_CFLAGS): Likewise.
(ADA_INCLUDES): Likewise.
Adapt for new working dir.
(GNATBIND): Use Makefile.in version.
(.SUFFIXES): Copy from Makefile.in.
(ada-warn): Define.
(.adb.o, .ads.o): Copy from Makefile.in.
Added $(OUTPUT_OPTION).
(GNAT1_C_OBJS): Moved from Makefile.in.
Prefix with ada subdir.
(GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
(EXTRA_GNAT1_OBJS): Moved from Makefile.in.
Adapt for new working dir.
(EXTRA_GNATBIND_OBJS): Likewise.
(ADA_BACKEND): Moved from Makefile.in.
Renamed to avoid conflict with global BACKEND.
Use that one.
(TARGET_ADA_SRCS): Moved from Makefile.in.
(gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
Use ADA_BACKEND.
(gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
(ada_extra_files): Moved from Makefile.in.
Prefix with ada subdir.
(ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
(ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
(ada/nmake.ads): Likewise.
(update-sources): Moved from Makefile.in.
Prefix with ada subdir.
(ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
(ADA_TREE_H): Likewise.
(ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
(ada/memtrack.o): Likewise.
(ada/adadecode.o): Likewise.
Update dependencies.
(ada/adaint.o): New.
(ada/argv.o): Moved from Makefile.in.
Prefix with ada subdir.
Update dependencies.
(ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
(ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
(ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
Prefix with ada subdir.
(ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
(GNAT DEPENDENCIES): Regenerate.
* Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
toplevel Makefile.in.
(EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
(TARGET_ADA_SRCS): Removed.
(GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
(GNATBIND_OBJS): Likewise.
(ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
(BACKEND): Removed.
(../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
(TREE_H): Likewise.
(ada_extra_files): Likewise.
(b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
(treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
(update-sources): Likewise.
(sdefault.adb, stamp-sdefault, sdefault.o): Likewise
(ADA_TREE_H): Likewise.
(adadecoce.o): Likewise.
(cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
(GNAT DEPENDENCIES): Likewise.
2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
* Makefile.in: Likewise.
2002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
Restore $(CONFIG_H) and prefix.o dependencies.
(ada.stage[1-4]): Depend on stage?-start.
* Makefile.in (b_gnatb.c): Depend on interfac.o.
2002-05-02 Jim Wilson <wilson@redhat.com>
* utils.c (finish_record_type): Change record_size to record_type.
2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
* ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
(ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
* misc.c (gnat_parse_file): Update.
2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
* misc.c (gnat_init): Don't set lang_attribute_common.
2002-04-21 Joseph S. Myers <jsm28@cam.ac.uk>
* gnat_rm.texi: Use @ifnottex instead of @ifinfo.
2002-04-21 Florian Weimer <fw@deneb.enyo.de>
* gnat_ug.texi: New file.
* gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi
instead of gfdl.texi
* xgnatug.adb, ug_words: New files.
* Makefile.in (doc, dvi): New targets. Build gnat_ug_*,
gnat_rm and gnat-style manuals.
2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
* gigi.h (incomplete_type_error): Remove.
* utils.c (incomplete_type_error): Remove.
2002-04-16 Mark Mitchell <mark@codesourcery.com>
* trans.c (tree_transform): Add has_scope argument to
expand_start_stmt_expr.
2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
* gigi.h (truthvalue_conversion): Rename.
* misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
* trans.c (tree_transform): Update.
* utils2.c (truthvalue_conversion): Rename, update.
(build_binary_op, build_unary_op): Update.
2002-04-04 Laurent Guerby <guerby@acm.org>
* make.adb: Implement -margs, remove restriction about file name placement.
* makeusg.adb: Documentation update.
* Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
* Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
* utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
(builtin_function): Similarly.
2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
* decl.c (gnat_to_gnu_entity): Update.
* gigi.h (mark_addressable): Rename.
* misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
* trans.c (tree_transform): Update.
* utils.c (create_var_decl): Update.
* util2.c (build_binary_op, build_unary_op,
fill_vms_descriptor): Update.
(mark_addressable): Rename, update.
2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
* gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
Rename.
* misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
* trans.c (tree_transform, convert_with_check): Update.
* utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
Rename.
2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
* gigi.h (finish_incomplete_decl): Rename.
* misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
* utils.c (gnat_init_decl_processing): Don't set hook.
(finish_incomplete_decl): Rename.
2002-03-29 Andreas Schwab <schwab@suse.de>
* Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
directory.
2001-03-28 Robert Dewar <dewar@gnat.com>
* checks.ads:
(Remove_Checks): New procedure
* checks.adb:
(Remove_Checks): New procedure
* exp_util.adb:
Use new Duplicate_Subexpr functions
(Duplicate_Subexpr_No_Checks): New procedure
(Duplicate_Subexpr_No_Checks_Orig): New procedure
(Duplicate_Subexpr): Restore original form (checks duplicated)
(Duplicate_Subexpr): Call Remove_Checks
* exp_util.ads:
(Duplicate_Subexpr_No_Checks): New procedure
(Duplicate_Subexpr_No_Checks_Orig): New procedure
Add 2002 to copyright notice
* sem_util.adb: Use new Duplicate_Subexpr functions
* sem_eval.adb:
(Eval_Indexed_Component): This is the place to call
Constant_Array_Ref and to replace the value. We simply merge
the code of this function in here, since it is now no longer
used elsewhere. This fixes the problem of the back end not
realizing we were clever enough to see that this was
constant.
(Expr_Val): Remove call to Constant_Array_Ref
(Expr_Rep_Val): Remove call to Constant_Array_Ref
Minor reformatting
(Constant_Array_Ref): Deal with string literals (patch
suggested by Zack Weinberg on the gcc list)
2001-03-28 Ed Schonberg <schonber@gnat.com>
* exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
Duplicate_Subexpr_Move_Checks.
* exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
Duplicate_Subexpr_Move_Checks.
* sem_eval.adb: (Constant_Array_Ref): Verify that constant
value of array exists before retrieving it (it may a private
protected component in a function).
2002-03-28 Geert Bosch <bosch@gnat.com>
* prj-pp.adb : New file.
* prj-pp.ads : New file.
2002-03-28 Andreas Jaeger <aj@suse.de>
* Makefile.in (stamp-sdefault): Fix path for Makefile.
2002-03-28 Neil Booth <neil@daikokuya.demon.co.uk>
* misc.c (gnat_expand_expr): Move prototype.
2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
* misc.c (insert_default_attributes): Remove.
2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
* misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
(gnat_init): Don't set hook.
(gnat_expand_expr): Fix prototype.
2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
* misc.c (ggc_p): Remove.
2002-03-27 Geert Bosch <bosch@gnat.com>
* prj-makr.ads, prj-makr.adb : New files.
2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
* misc.c (LANG_HOOKS_MARK_TREE): Redefine.
(lang_mark_tree): Make static, rename.
2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
* misc.c (maybe_build_cleanup): Remove.
2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
* gigi.h (yyparse): Remove.
2002-03-23 Florian Weimer <fw@deneb.enyo.de>
From Ben Brosgol <brosgol@gnat.com>
* gnat_rm.texi: Sync with ACT version.
2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
* misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
(gnat_init): Remove old hook.
2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
* misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
(yyparse): Rename gnat_parse_file.
2002-03-14 Geoffrey Keating <geoffk@redhat.com>
Delete all lines containing "$Revision:".
* xeinfo.adb: Don't look for revision numbers.
* xnmake.adb: Likewise.
* xsinfo.adb: Likewise.
* xsnames.adb: Likewise.
* xtreeprs.adb: Likewise.
2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* misc.c (gnat_tree_code_type, gnat_tree_code_length,
gnat_tree_code_name): Delete.
(tree_code_type, tree_code_length, tree_code_name): Define.
(gnat_init): Don't try to copy into the various tree_code
arrays.
2002-03-11 Richard Henderson <rth@redhat.com>
* Makefile.in (.NOTPARALLEL): Add fake tag.
2002-03-07 Geert Bosch <bosch@gnat.com>
* adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
switch-m.adb, switch-m.ads : New files.
2002-03-07 Geert Bosch <bosch@gnat.com>
* 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
* 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
* 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
* mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
to mdll-fil.ad[bs] and mdll-util.ad[bs]
* mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
from mdllfile.ad[bs] and mdlltool.ad[bs]
2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
lieu of explicit sizeof/sizeof.
2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
* misc.c (copy_lang_decl): Remove.
2002-02-27 Zack Weinberg <zack@codesourcery.com>
* misc.c: Delete traditional-mode-related code copied from the
C front end but not used, or used only to permit the compiler
to link.
2002-02-07 Richard Henderson <rth@redhat.com>
* adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
* adaint.h (__gnat_to_gm_time): Update prototype.
2002-01-30 Richard Henderson <rth@redhat.com>
* trans.c (tree_transform) [N_Loop_Statement]: Use
expand_exit_loop_top_cond.
Copyright (C) 2002 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.

3021
gcc/ada/ChangeLog-2003 Normal file

File diff suppressed because it is too large Load Diff

8347
gcc/ada/ChangeLog-2004 Normal file

File diff suppressed because it is too large Load Diff

8014
gcc/ada/ChangeLog-2005 Normal file

File diff suppressed because it is too large Load Diff

4462
gcc/ada/ChangeLog-2006 Normal file

File diff suppressed because it is too large Load Diff

9221
gcc/ada/ChangeLog-2007 Normal file

File diff suppressed because it is too large Load Diff

7464
gcc/ada/ChangeLog-2008 Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2007, Free Software Foundation, Inc. --
-- Copyright (C) 2007-2009 Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2005, Free Software Foundation, Inc. --
-- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2006-2007, Free Software Foundation, Inc. --
-- Copyright (C) 2006-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
-- MA 02111-1307, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2008, Free Software Foundation, Inc. --
-- Copyright (C) 2008-2009 Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,25 +6,23 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2008, Free Software Foundation, Inc. --
-- Copyright (C) 2008-2009 Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,25 +6,23 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2005, Free Software Foundation, Inc. --
-- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
-- --
-- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- sion. GNARL is distributed in the hope that it will be useful, but WITH- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNARL; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies, Inc. --

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2008, Free Software Foundation, Inc. --
-- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2008, Free Software Foundation, Inc. --
-- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
@@ -14,21 +14,19 @@
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2008, Free Software Foundation, Inc. --
-- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2008, Free Software Foundation, Inc. --
-- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
@@ -14,21 +14,19 @@
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2006-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2006-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
-- MA 02111-1307, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2006, Free Software Foundation, Inc. --
-- Copyright (C) 2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
-- MA 02111-1307, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2004-2007, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
@@ -14,21 +14,19 @@
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2004-2007, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,25 +6,23 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2004-2006, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,27 +6,25 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- This unit has originally being developed by Matthew J Heaney. --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------
-- This algorithm was adapted from GNAT.Heap_Sort_G (see g-hesorg.ad[sb])

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2005-2006, Free Software Foundation, Inc. --
-- Copyright (C) 2005-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2005-2006, Free Software Foundation, Inc. --
-- Copyright (C) 2005-2009, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
@@ -14,21 +14,19 @@
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2005, Free Software Foundation, Inc. --
-- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2008, Free Software Foundation, Inc. --
-- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
@@ -14,21 +14,19 @@
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2002-2005, Free Software Foundation, Inc. --
-- Copyright (C) 2002-2009, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
@@ -15,21 +15,19 @@
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,25 +6,23 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2004-2007, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,25 +6,23 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,25 +6,23 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2005, Free Software Foundation, Inc. --
-- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,25 +6,23 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2005, Free Software Foundation, Inc. --
-- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
@@ -14,21 +14,19 @@
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,27 +6,25 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- This unit has originally being developed by Matthew J Heaney. --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------
with Ada.Containers.Hash_Tables.Generic_Operations;

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
@@ -14,21 +14,19 @@
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,27 +6,25 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- This unit has originally being developed by Matthew J Heaney. --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------
with Ada.Unchecked_Deallocation;

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
@@ -14,21 +14,19 @@
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
@@ -14,21 +14,19 @@
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,25 +6,23 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
@@ -14,21 +14,19 @@
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2007, Free Software Foundation, Inc. --
-- Copyright (C) 2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,25 +6,23 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2007-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2007-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --

View File

@@ -6,25 +6,23 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2004-2007, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2004-2008, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
@@ -14,21 +14,19 @@
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------

View File

@@ -6,27 +6,25 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2004-2007, Free Software Foundation, Inc. --
-- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- This unit has originally being developed by Matthew J Heaney. --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------
with Ada.Unchecked_Deallocation;

Some files were not shown because too many files have changed in this diff Show More