Compare commits

...

2513 Commits

Author SHA1 Message Date
GCC Administrator 086e1860db Mark as release
From-SVN: r185318
2012-03-13 08:53:46 +00:00
GCC Administrator 71fd8fe08f Mark ChangeLog
From-SVN: r185317
2012-03-13 08:53:40 +00:00
GCC Administrator c042807000 Mark ChangeLog
From-SVN: r185316
2012-03-13 08:53:36 +00:00
GCC Administrator 9bdddf331a Mark ChangeLog
From-SVN: r185315
2012-03-13 08:53:30 +00:00
GCC Administrator 2495e69623 Mark ChangeLog
From-SVN: r185314
2012-03-13 08:53:25 +00:00
GCC Administrator 7c49ff7b5e Mark ChangeLog
From-SVN: r185313
2012-03-13 08:53:20 +00:00
GCC Administrator ec05a20cae Mark ChangeLog
From-SVN: r185312
2012-03-13 08:53:14 +00:00
GCC Administrator ec2a9e740d Mark ChangeLog
From-SVN: r185311
2012-03-13 08:53:08 +00:00
GCC Administrator f2ae88970b Mark ChangeLog
From-SVN: r185310
2012-03-13 08:53:02 +00:00
GCC Administrator cc01251393 Mark ChangeLog
From-SVN: r185309
2012-03-13 08:52:56 +00:00
GCC Administrator e0654d1af1 Mark ChangeLog
From-SVN: r185308
2012-03-13 08:52:52 +00:00
GCC Administrator 6eb96c3e7d Mark ChangeLog
From-SVN: r185307
2012-03-13 08:52:47 +00:00
GCC Administrator ad495d5b4e Mark ChangeLog
From-SVN: r185306
2012-03-13 08:52:41 +00:00
GCC Administrator cd880b84d0 Mark ChangeLog
From-SVN: r185305
2012-03-13 08:52:37 +00:00
GCC Administrator a9830c9974 Mark ChangeLog
From-SVN: r185304
2012-03-13 08:52:32 +00:00
GCC Administrator 1a901d6a5c Mark ChangeLog
From-SVN: r185303
2012-03-13 08:52:27 +00:00
GCC Administrator d52d632013 Mark ChangeLog
From-SVN: r185302
2012-03-13 08:52:22 +00:00
GCC Administrator 66087d6c2c Mark ChangeLog
From-SVN: r185301
2012-03-13 08:52:16 +00:00
GCC Administrator 9d621510ee Mark ChangeLog
From-SVN: r185300
2012-03-13 08:52:12 +00:00
GCC Administrator ce74f5ea68 Mark ChangeLog
From-SVN: r185299
2012-03-13 08:52:07 +00:00
GCC Administrator 893be24727 Mark ChangeLog
From-SVN: r185298
2012-03-13 08:52:02 +00:00
GCC Administrator 810cccce18 Mark ChangeLog
From-SVN: r185297
2012-03-13 08:51:57 +00:00
GCC Administrator 2edc8b9608 Mark ChangeLog
From-SVN: r185296
2012-03-13 08:51:52 +00:00
GCC Administrator 36219cc992 Mark ChangeLog
From-SVN: r185295
2012-03-13 08:51:47 +00:00
GCC Administrator 360805c905 Mark ChangeLog
From-SVN: r185294
2012-03-13 08:51:42 +00:00
GCC Administrator f41bc34034 Mark ChangeLog
From-SVN: r185293
2012-03-13 08:51:37 +00:00
GCC Administrator ded6a70097 Mark ChangeLog
From-SVN: r185292
2012-03-13 08:51:33 +00:00
GCC Administrator f9569b1a60 Mark ChangeLog
From-SVN: r185291
2012-03-13 08:51:28 +00:00
GCC Administrator 9c00cdd909 Mark ChangeLog
From-SVN: r185290
2012-03-13 08:51:23 +00:00
GCC Administrator cb1d9a642e Mark ChangeLog
From-SVN: r185289
2012-03-13 08:51:19 +00:00
GCC Administrator ac4bb82bd9 Mark ChangeLog
From-SVN: r185288
2012-03-13 08:51:14 +00:00
GCC Administrator 09688ca290 Mark ChangeLog
From-SVN: r185287
2012-03-13 08:51:09 +00:00
GCC Administrator cdb8897664 Mark ChangeLog
From-SVN: r185286
2012-03-13 08:51:04 +00:00
GCC Administrator 12e83027ec Mark ChangeLog
From-SVN: r185285
2012-03-13 08:50:58 +00:00
GCC Administrator a052ef963f Mark ChangeLog
From-SVN: r185284
2012-03-13 08:50:53 +00:00
GCC Administrator bb17b40049 Mark ChangeLog
From-SVN: r185283
2012-03-13 08:50:48 +00:00
GCC Administrator db05c56965 Mark ChangeLog
From-SVN: r185282
2012-03-13 08:50:43 +00:00
GCC Administrator 7736768f8c Mark ChangeLog
From-SVN: r185281
2012-03-13 08:50:37 +00:00
GCC Administrator ea2ae3336a Mark ChangeLog
From-SVN: r185280
2012-03-13 08:50:32 +00:00
GCC Administrator 292f9c3223 Mark ChangeLog
From-SVN: r185279
2012-03-13 08:50:26 +00:00
GCC Administrator 7d7390a657 Daily bump.
From-SVN: r185272
2012-03-13 00:17:10 +00:00
GCC Administrator 515cef0c99 Daily bump.
From-SVN: r185203
2012-03-12 00:16:51 +00:00
GCC Administrator 17c990a781 Daily bump.
From-SVN: r185186
2012-03-11 00:17:10 +00:00
GCC Administrator 837fd4fa8c Daily bump.
From-SVN: r185161
2012-03-10 00:17:02 +00:00
GCC Administrator 10c94273af Daily bump.
From-SVN: r185116
2012-03-09 00:17:05 +00:00
GCC Administrator 2dc16e1c22 Daily bump.
From-SVN: r185084
2012-03-08 00:17:18 +00:00
GCC Administrator 06b3530ce4 Daily bump.
From-SVN: r185020
2012-03-07 00:17:04 +00:00
Jakub Jelinek 1f8be9d2f0 backport: re PR target/51934 (FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to "cdecl attribute ignored" warning)
Backported from 4.6 branch
	2012-01-25  Jason Merrill  <jason@redhat.com>

	PR target/51934
	* g++.dg/torture/pr51344.C: Limit to x86.

From-SVN: r184977
2012-03-06 09:26:22 +01:00
GCC Administrator 08e763d5c4 Daily bump.
From-SVN: r184967
2012-03-06 00:17:10 +00:00
Martin Jambor f9e45846be re PR tree-optimization/52430 (firefox miscompilation)
2012-03-05  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/52430
	* ipa-cp.c (ipcp_initialize_node_lattices): Also consider
	node->local.externally_visible as needed.

From-SVN: r184928
2012-03-05 13:50:29 +01:00
GCC Administrator d3294e94c7 Daily bump.
From-SVN: r184906
2012-03-05 00:16:43 +00:00
John David Anglin 180bad475a backport: re PR target/52408 (Incorrect assembler generated for zvdep_imm64)
Backport from mainline
	2012-03-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	PR target/52408
	* config/pa/pa.md (zvdep_imm32): Change type of variable x from int to
	unsigned HOST_WIDE_INT.
	(zvdep_imm64): Likewise.
	(vdepi_ior): Change type of variable x from int to HOST_WIDE_INT.
	(vdepi_and): Likewise.
	Likewise for unamed 64-bit patterns.
	* config/pa/predicates.md (lhs_lshift_cint_operand): Update comment.

From-SVN: r184889
2012-03-04 17:17:11 +00:00
GCC Administrator 85d49a0d2e Daily bump.
From-SVN: r184868
2012-03-04 00:17:02 +00:00
GCC Administrator 1adf864026 Daily bump.
From-SVN: r184845
2012-03-03 00:17:04 +00:00
GCC Administrator d0b944ebf2 Daily bump.
From-SVN: r184767
2012-03-02 00:16:57 +00:00
GCC Administrator c846a0faf0 Daily bump.
From-SVN: r184677
2012-03-01 00:16:54 +00:00
GCC Administrator 40280ac7c9 Daily bump.
From-SVN: r184646
2012-02-29 00:16:48 +00:00
GCC Administrator 1b90379ffe Daily bump.
From-SVN: r184610
2012-02-28 00:17:14 +00:00
GCC Administrator 358a60044f Daily bump.
From-SVN: r184586
2012-02-27 00:17:57 +00:00
GCC Administrator 6f9d011d21 Daily bump.
From-SVN: r184578
2012-02-26 00:16:55 +00:00
GCC Administrator ec47f6b7bc Daily bump.
From-SVN: r184565
2012-02-25 00:16:51 +00:00
GCC Administrator 74631acb6f Daily bump.
From-SVN: r184537
2012-02-24 00:16:52 +00:00
Uros Bizjak df94a05ba6 re PR c/52290 (internal compiler error: tree check: expected function_decl, have var_decl in start_function, at c-decl.c:7712)
PR c/52290
	* c-decl.c (start_function): Exit early if decl1 is not FUNTION_DECL.

testsuite/ChangeLog:

	PR c/52290
	* gcc.dg/noncompile/pr52290.c: New test.

From-SVN: r184518
2012-02-23 19:03:33 +01:00
GCC Administrator 27fb63ec98 Daily bump.
From-SVN: r184497
2012-02-23 00:17:20 +00:00
Uros Bizjak 60602c48ef re PR target/52330 (pr50305.c: valgrind problem on invalid asm)
PR target/52330
	* config/i386/i386.c (ix86_print_operand) <case 'H'>: Error out if x
	is not offsettable memory reference.

testsuite/ChangeLog:

	PR target/52330
	* gcc.target/i386/pr52330.c: New test.

From-SVN: r184492
2012-02-22 20:47:42 +01:00
GCC Administrator 531b910493 Daily bump.
From-SVN: r184455
2012-02-22 00:17:10 +00:00
GCC Administrator 241fb3ee91 Daily bump.
From-SVN: r184418
2012-02-21 00:16:53 +00:00
GCC Administrator fa7ab79d0b Daily bump.
From-SVN: r184382
2012-02-20 00:17:08 +00:00
GCC Administrator 0db01687dc Daily bump.
From-SVN: r184374
2012-02-19 00:17:11 +00:00
GCC Administrator 1bdb5ad3f3 Daily bump.
From-SVN: r184359
2012-02-18 00:16:51 +00:00
GCC Administrator 3733153c26 Daily bump.
From-SVN: r184324
2012-02-17 00:16:56 +00:00
GCC Administrator 5f6477e5cf Daily bump.
From-SVN: r184294
2012-02-16 00:17:38 +00:00
GCC Administrator 0f66b4ff37 Daily bump.
From-SVN: r184247
2012-02-15 00:16:54 +00:00
GCC Administrator 0ad3d1f150 Daily bump.
From-SVN: r184182
2012-02-14 00:16:54 +00:00
GCC Administrator 5ee5d43efe Daily bump.
From-SVN: r184147
2012-02-13 00:17:10 +00:00
GCC Administrator 006551414d Daily bump.
From-SVN: r184131
2012-02-12 00:16:58 +00:00
GCC Administrator 2cc3980a31 Daily bump.
From-SVN: r184118
2012-02-11 00:17:11 +00:00
GCC Administrator 23b7d501db Daily bump.
From-SVN: r184076
2012-02-10 00:16:50 +00:00
GCC Administrator 6b53eb2bd6 Daily bump.
From-SVN: r184029
2012-02-09 00:16:51 +00:00
GCC Administrator b1f589e192 Daily bump.
From-SVN: r183988
2012-02-08 00:16:46 +00:00
GCC Administrator 3f0a4b11c7 Daily bump.
From-SVN: r183948
2012-02-07 00:17:13 +00:00
GCC Administrator 8b7eab0744 Daily bump.
From-SVN: r183922
2012-02-06 00:16:47 +00:00
GCC Administrator f667f5e960 Daily bump.
From-SVN: r183897
2012-02-05 00:16:54 +00:00
GCC Administrator 91ca4eb8e8 Daily bump.
From-SVN: r183884
2012-02-04 00:17:10 +00:00
GCC Administrator 52ed177da1 Daily bump.
From-SVN: r183856
2012-02-03 00:16:54 +00:00
GCC Administrator 3df3d6ce36 Daily bump.
From-SVN: r183818
2012-02-02 00:16:49 +00:00
GCC Administrator 02d862e021 Daily bump.
From-SVN: r183784
2012-02-01 00:16:56 +00:00
GCC Administrator 4017f30f04 Daily bump.
From-SVN: r183746
2012-01-31 00:17:22 +00:00
GCC Administrator f3e729250b Daily bump.
From-SVN: r183689
2012-01-30 00:17:02 +00:00
GCC Administrator 85e16f219a Daily bump.
From-SVN: r183671
2012-01-29 00:16:43 +00:00
GCC Administrator fd152c1716 Daily bump.
From-SVN: r183657
2012-01-28 00:17:07 +00:00
GCC Administrator 809afd12c1 Daily bump.
From-SVN: r183594
2012-01-27 00:16:57 +00:00
GCC Administrator 3366a4e42b Daily bump.
From-SVN: r183544
2012-01-26 00:17:01 +00:00
GCC Administrator 621ba9ace4 Daily bump.
From-SVN: r183504
2012-01-25 00:17:16 +00:00
GCC Administrator 61cb1fe704 Daily bump.
From-SVN: r183459
2012-01-24 00:16:53 +00:00
GCC Administrator 9a54b8b9eb Daily bump.
From-SVN: r183399
2012-01-23 00:16:44 +00:00
GCC Administrator fd4b6a6f3a Daily bump.
From-SVN: r183382
2012-01-22 00:16:42 +00:00
GCC Administrator 7cd5ce2561 Daily bump.
From-SVN: r183360
2012-01-21 00:16:55 +00:00
Kai Tietz 6ee2867687 * g++.dg/torture/pr51344.C: Fix typo.
From-SVN: r183333
2012-01-20 11:37:18 +01:00
GCC Administrator 10cc06756e Daily bump.
From-SVN: r183321
2012-01-20 00:17:04 +00:00
Kai Tietz af765cc21b Backmerged from trunk PR c++/51344
Backmerged from trunk
        PR c++/51344
        * decl2.c (save_template_attributes): Use merge_attributes
        instead of chaining up via TREE_CHAIN.

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

From-SVN: r183319
2012-01-20 00:07:01 +01:00
GCC Administrator 4657b24337 Daily bump.
From-SVN: r183292
2012-01-19 00:17:12 +00:00
GCC Administrator 875e7266c6 Daily bump.
From-SVN: r183265
2012-01-18 00:16:54 +00:00
Uros Bizjak 9ea5074c39 * gcc.dg/pr51821.c (dg-options): Add -std=c99.
From-SVN: r183257
2012-01-17 17:33:53 +01:00
GCC Administrator 204eddb83e Daily bump.
From-SVN: r183225
2012-01-17 00:17:05 +00:00
GCC Administrator d46c7361d1 Daily bump.
From-SVN: r183201
2012-01-16 00:17:20 +00:00
Uros Bizjak 41a8dcc8cb re PR rtl-optimization/51821 (64bit > 32bit conversion produces incorrect results with optimizations)
PR rtl-optimization/51821
	* recog.c (peep2_find_free_register): Determine clobbered registers
	from insn pattern.

testsuite/ChangeLog:

	PR rtl-optimization/51821
	* gcc.dg/pr51821.c: New test.

From-SVN: r183200
2012-01-15 21:38:32 +01:00
GCC Administrator f07ed5f9bc Daily bump.
From-SVN: r183187
2012-01-15 00:17:17 +00:00
GCC Administrator cfd77bdd36 Daily bump.
From-SVN: r183174
2012-01-14 00:17:05 +00:00
GCC Administrator 0af2261cb0 Daily bump.
From-SVN: r183145
2012-01-13 00:17:04 +00:00
GCC Administrator 0d148636ad Daily bump.
From-SVN: r183114
2012-01-12 00:16:47 +00:00
GCC Administrator 0bc4c62e6c Daily bump.
From-SVN: r183082
2012-01-11 00:16:56 +00:00
GCC Administrator 67bf328ed7 Daily bump.
From-SVN: r183044
2012-01-10 00:16:50 +00:00
Richard Sandiford 1266ea6fb7 mips.md (loadgp_newabi_<mode>): Add missing earlyclobber.
gcc/
	* config/mips/mips.md (loadgp_newabi_<mode>): Add missing
	earlyclobber.

From-SVN: r183037
2012-01-09 22:13:40 +00:00
GCC Administrator d7e7ec7548 Daily bump.
From-SVN: r182996
2012-01-09 00:17:02 +00:00
GCC Administrator e3957c26de Daily bump.
From-SVN: r182985
2012-01-08 00:17:39 +00:00
GCC Administrator 8fba86094d Daily bump.
From-SVN: r182976
2012-01-07 00:17:17 +00:00
GCC Administrator 415c789212 Daily bump.
From-SVN: r182939
2012-01-06 00:17:02 +00:00
GCC Administrator 0745e07db3 Daily bump.
From-SVN: r182892
2012-01-05 00:17:16 +00:00
GCC Administrator bf146794db Daily bump.
From-SVN: r182861
2012-01-04 00:17:09 +00:00
GCC Administrator b732b98f0c Daily bump.
From-SVN: r182822
2012-01-03 00:16:52 +00:00
GCC Administrator d98f66434b Daily bump.
From-SVN: r182777
2012-01-02 00:16:52 +00:00
GCC Administrator 0c451ec144 Daily bump.
From-SVN: r182762
2012-01-01 00:16:48 +00:00
GCC Administrator 0410461be7 Daily bump.
From-SVN: r182748
2011-12-31 00:16:54 +00:00
GCC Administrator 8374dae542 Daily bump.
From-SVN: r182735
2011-12-30 00:16:49 +00:00
GCC Administrator 3a72bf8852 Daily bump.
From-SVN: r182715
2011-12-29 00:16:56 +00:00
GCC Administrator 4901174349 Daily bump.
From-SVN: r182699
2011-12-28 00:17:08 +00:00
GCC Administrator 17d372470a Daily bump.
From-SVN: r182687
2011-12-27 00:16:58 +00:00
GCC Administrator f523816bdc Daily bump.
From-SVN: r182681
2011-12-26 00:17:07 +00:00
GCC Administrator af7987a876 Daily bump.
From-SVN: r182677
2011-12-25 00:16:45 +00:00
GCC Administrator 23777c2c7b Daily bump.
From-SVN: r182670
2011-12-24 00:16:55 +00:00
GCC Administrator 5c5f1a87b0 Daily bump.
From-SVN: r182641
2011-12-23 00:17:09 +00:00
GCC Administrator e8ae210f4f Daily bump.
From-SVN: r182610
2011-12-22 00:17:18 +00:00
Uros Bizjak d4cb9034c3 linux-unwind.h: Update copyright years.
* config/alpha/linux-unwind.h: Update copyright years.
	(MD_FROB_UPDATE_CONTEXT): New define.
	(alpha_frob_update_context): New function.

From-SVN: r182606
2011-12-21 22:29:45 +01:00
GCC Administrator a92d56197b Daily bump.
From-SVN: r182557
2011-12-21 00:17:11 +00:00
GCC Administrator 1755d2aedf Daily bump.
From-SVN: r182513
2011-12-20 00:16:58 +00:00
GCC Administrator 2ddd172100 Daily bump.
From-SVN: r182463
2011-12-19 00:17:02 +00:00
GCC Administrator d352901ab7 Daily bump.
From-SVN: r182448
2011-12-18 00:16:58 +00:00
GCC Administrator 2a3efa2659 Daily bump.
From-SVN: r182425
2011-12-17 00:17:11 +00:00
GCC Administrator 3f007df2df Daily bump.
From-SVN: r182395
2011-12-16 00:16:58 +00:00
GCC Administrator 6ac30b3426 Daily bump.
From-SVN: r182349
2011-12-15 00:16:53 +00:00
GCC Administrator f03f2b18fc Daily bump.
From-SVN: r182316
2011-12-14 00:17:23 +00:00
Andreas Krebbel 7a0a573ad9 regmove.c (fixup_match_2): Only access call_used_regs with hard regs.
2011-12-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* regmove.c (fixup_match_2): Only access call_used_regs with hard
	regs.

From-SVN: r182303
2011-12-13 20:12:08 +00:00
GCC Administrator 9e39c311c6 Daily bump.
From-SVN: r182267
2011-12-13 00:16:54 +00:00
GCC Administrator 6651f1acb4 Daily bump.
From-SVN: r182214
2011-12-12 00:16:44 +00:00
GCC Administrator 527ef2c67f Daily bump.
From-SVN: r182195
2011-12-11 00:17:14 +00:00
GCC Administrator 6df7a245bb Daily bump.
From-SVN: r182180
2011-12-10 00:16:53 +00:00
Kazu Hirata e41a36a7a4 backport: re PR target/51408 (Miscompilation in arm.md:*minmax_arithsi)
gcc/
	Backport from mainline:

	2011-12-05  Kazu Hirata  <kazu@codesourcery.com>

	PR target/51408
	* config/arm/arm.md (*minmax_arithsi): Always require the else
	clause in the MINUS case.

testsuite/
	Backport from mainline:

	2011-12-05  Kazu Hirata  <kazu@codesourcery.com>

	PR target/51408
	* gcc.dg/pr51408.c: New.

From-SVN: r182153
2011-12-09 05:02:59 +00:00
GCC Administrator 5191d65f00 Daily bump.
From-SVN: r182145
2011-12-09 00:16:55 +00:00
Jakub Jelinek d8c80dbf68 backport: re PR target/51393 (Wrong parameter type for _mm256_insert_epi64 in avxintrin.h)
Backported from mainline
	2011-12-04  Jérémie Detrey  <Jeremie.Detrey@loria.fr>

	PR target/51393
	* config/i386/avxintrin.h (_mm256_insert_epi64): Declare second
	parameter as long long.

	2011-12-04  Uros Bizjak  <ubizjak@gmail.com>
		    Jérémie Detrey  <Jeremie.Detrey@loria.fr>

	PR target/51393
	* gcc.target/i386/pr51393.c: New test.

From-SVN: r182106
2011-12-08 11:43:13 +01:00
GCC Administrator 00803b649b Daily bump.
From-SVN: r182093
2011-12-08 00:16:55 +00:00
GCC Administrator b30e7db7ba Daily bump.
From-SVN: r182069
2011-12-07 00:16:43 +00:00
GCC Administrator e45e70c842 Daily bump.
From-SVN: r182034
2011-12-06 00:17:00 +00:00
GCC Administrator 7db3face10 Daily bump.
From-SVN: r181996
2011-12-05 00:16:52 +00:00
GCC Administrator 7c67cb40fb Daily bump.
From-SVN: r181976
2011-12-04 00:16:53 +00:00
GCC Administrator 099d6f8746 Daily bump.
From-SVN: r181956
2011-12-03 00:16:55 +00:00
GCC Administrator 5f76d9c1a0 Daily bump.
From-SVN: r181898
2011-12-02 00:16:47 +00:00
GCC Administrator e9de52772c Daily bump.
From-SVN: r181864
2011-12-01 00:17:12 +00:00
GCC Administrator 2edd0fa461 Daily bump.
From-SVN: r181826
2011-11-30 00:17:14 +00:00
GCC Administrator dce1221b9f Daily bump.
From-SVN: r181790
2011-11-29 00:17:00 +00:00
GCC Administrator 974f4c0f20 Daily bump.
From-SVN: r181767
2011-11-28 00:17:03 +00:00
GCC Administrator 2a4e389c66 Daily bump.
From-SVN: r181751
2011-11-27 00:16:53 +00:00
GCC Administrator f2d9b8fce3 Daily bump.
From-SVN: r181732
2011-11-26 00:16:46 +00:00
GCC Administrator 2f1082ab26 Daily bump.
From-SVN: r181703
2011-11-25 00:16:52 +00:00
Jakub Jelinek 789a08588d re PR bootstrap/50888 (Bootstrap failure in libjava against latest git glibc)
PR bootstrap/50888
	* prims.cc: Don't include ctype.h.
	(c_isspace): Define.
	(next_property_key, next_property_value): Use it instead
	of isspace.

From-SVN: r181688
2011-11-24 08:24:43 +01:00
GCC Administrator 42985fd5de Daily bump.
From-SVN: r181680
2011-11-24 00:16:48 +00:00
GCC Administrator c1168a631a Daily bump.
From-SVN: r181644
2011-11-23 00:16:33 +00:00
GCC Administrator adb16bd9ab Daily bump.
From-SVN: r181603
2011-11-22 00:17:07 +00:00
GCC Administrator 0b89e8b6bc Daily bump.
From-SVN: r181540
2011-11-21 00:16:57 +00:00
GCC Administrator 054a8761fa Daily bump.
From-SVN: r181518
2011-11-20 00:16:53 +00:00
GCC Administrator c978f10f09 Daily bump.
From-SVN: r181498
2011-11-19 00:17:03 +00:00
GCC Administrator 7b18a45bd1 Daily bump.
From-SVN: r181461
2011-11-18 00:16:53 +00:00
GCC Administrator 6dd3e18274 Daily bump.
From-SVN: r181428
2011-11-17 00:16:40 +00:00
GCC Administrator c3d5055ff0 Daily bump.
From-SVN: r181396
2011-11-16 00:16:45 +00:00
GCC Administrator b03a20d45c Daily bump.
From-SVN: r181373
2011-11-15 00:17:19 +00:00
GCC Administrator 39dce9e9b7 Daily bump.
From-SVN: r181342
2011-11-14 00:16:48 +00:00
GCC Administrator 15aade9526 Daily bump.
From-SVN: r181328
2011-11-13 00:17:12 +00:00
GCC Administrator 7a1cd21deb Daily bump.
From-SVN: r181303
2011-11-12 00:16:47 +00:00
GCC Administrator 507d5c90d7 Daily bump.
From-SVN: r181275
2011-11-11 00:16:51 +00:00
GCC Administrator e72774d69b Daily bump.
From-SVN: r181242
2011-11-10 00:16:44 +00:00
GCC Administrator a834ed9159 Daily bump.
From-SVN: r181184
2011-11-09 00:16:56 +00:00
GCC Administrator 5a1cf63ead Daily bump.
From-SVN: r181135
2011-11-08 00:17:05 +00:00
Alan Modra bbf41d2656 re PR target/30282 (Optimization flag -O1 -fschedule-insns2 cause red zone to be used when there is none)
PR target/30282
	* config/rs6000/rs6000.c (rs6000_emit_stack_reset): Always emit
	blockage for ABI_V4.

From-SVN: r181059
2011-11-07 11:46:01 +10:30
GCC Administrator 2cc4d549f1 Daily bump.
From-SVN: r181050
2011-11-07 00:16:49 +00:00
GCC Administrator 7d1efdf099 Daily bump.
From-SVN: r181018
2011-11-06 00:16:49 +00:00
GCC Administrator 510730a663 Daily bump.
From-SVN: r180993
2011-11-05 00:16:57 +00:00
GCC Administrator b9bf06a4fe Daily bump.
From-SVN: r180912
2011-11-04 00:16:50 +00:00
GCC Administrator 3e44b44c89 Daily bump.
From-SVN: r180807
2011-11-03 00:16:44 +00:00
GCC Administrator ff5e9c47c8 Daily bump.
From-SVN: r180753
2011-11-02 00:16:38 +00:00
GCC Administrator 34d5179656 Daily bump.
From-SVN: r180718
2011-11-01 00:16:38 +00:00
GCC Administrator 6d4d29c262 Daily bump.
From-SVN: r180691
2011-10-31 00:16:51 +00:00
John David Anglin 69d1ecf101 re PR target/50691 (Incorrect argument evaluation in call with __thread argument)
PR target/50691
	* config/pa/pa.c (emit_move_sequence): Legitimize TLS symbol references.
	* config/pa/pa.h (LEGITIMATE_CONSTANT_P): Return false for
	TLS_MODEL_GLOBAL_DYNAMIC and TLS_MODEL_LOCAL_DYNAMIC symbol references.

From-SVN: r180672
2011-10-30 03:21:45 +00:00
GCC Administrator 5c1a712329 Daily bump.
From-SVN: r180666
2011-10-30 00:16:23 +00:00
GCC Administrator 5a6e6186cd Daily bump.
From-SVN: r180643
2011-10-29 00:17:04 +00:00
GCC Administrator afff2a24d6 Daily bump.
From-SVN: r180585
2011-10-28 00:16:55 +00:00
GCC Administrator 493c1b5918 Daily bump.
From-SVN: r180553
2011-10-27 00:17:06 +00:00
GCC Administrator 5be83f0e7a Daily bump.
From-SVN: r180461
2011-10-26 00:17:10 +00:00
GCC Administrator dc293cd7ee Daily bump.
From-SVN: r180414
2011-10-25 00:17:05 +00:00
GCC Administrator ee2f703583 Daily bump.
From-SVN: r180355
2011-10-24 00:16:24 +00:00
Uros Bizjak 51d76d54d2 re PR target/50788 (ICE: in merge_overlapping_regs, at regrename.c:318 with -mavx -fpeel-loops -fstack-protector-all and __builtin_ia32_maskloadpd256)
PR target/50788
	* config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
	Remove (match_dup 0).

testsuite/ChangeLog:

	PR target/50788
	* gcc.target/i386/pr50788.c: New test.

From-SVN: r180339
2011-10-23 17:19:06 +02:00
GCC Administrator 0c52c5a135 Daily bump.
From-SVN: r180330
2011-10-23 00:16:55 +00:00
GCC Administrator 53b5cffde5 Daily bump.
From-SVN: r180317
2011-10-22 00:16:59 +00:00
GCC Administrator 008becea13 Daily bump.
From-SVN: r180279
2011-10-21 00:17:14 +00:00
GCC Administrator f2e59a0dd7 Daily bump.
From-SVN: r180229
2011-10-20 00:17:12 +00:00
Jason Merrill 2c777ba293 re PR c++/50793 (G++ doesn't value-initialize all members of non-trivial type in default argument)
PR c++/50793
	* tree.c (bot_manip): Propagate AGGR_INIT_ZERO_FIRST.

From-SVN: r180223
2011-10-19 18:21:15 -04:00
GCC Administrator 7d5888b7ca Daily bump.
From-SVN: r180170
2011-10-19 00:17:01 +00:00
Uros Bizjak 65260b8bad re PR target/50737 (FAIL: Throw_3 -O3 execution, generic dwarf2 EH problem?)
gcc/ChangeLog:

2011-10-18  Uros Bizjak  <ubizjak@gmail.com>
	    Eric Botcazou  <ebotcazou@adacore.com>

	PR target/50737
	* config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
	fs->signal_frame to 1.

libjava/ChangeLog:

2011-10-18  Uros Bizjak  <ubizjak@gmail.com>
	    Eric Botcazou  <ebotcazou@adacore.com>

	PR target/50737
	* include/dwarf2-signal.h [__alpha__]: Remove MAKE_THROW_FRAME
	definition.


Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>

From-SVN: r180158
2011-10-18 19:30:12 +02:00
GCC Administrator 24ed5cbe65 Daily bump.
From-SVN: r180115
2011-10-18 00:17:02 +00:00
GCC Administrator cf5fff635b Daily bump.
From-SVN: r180068
2011-10-17 00:16:52 +00:00
GCC Administrator d91bc048a1 Daily bump.
From-SVN: r180049
2011-10-16 00:16:52 +00:00
Janus Weil b848f23f90 re PR fortran/50659 ([F03] ICE with PROCEDURE statement)
2011-10-15  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/50659
	* expr.c (replace_symbol): Only do replacement if the symbol is a dummy.

2011-10-15  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/50659
	* gfortran.dg/proc_decl_27.f90: New.

From-SVN: r180032
2011-10-15 14:16:13 +02:00
GCC Administrator ae8dbbca06 Daily bump.
From-SVN: r180016
2011-10-15 00:17:14 +00:00
GCC Administrator 8d1b42442a Daily bump.
From-SVN: r179949
2011-10-14 00:17:04 +00:00
Jason Merrill 7cb3890d6e re PR c++/50618 (Virtual inheritance segfault)
PR c++/50618
	* init.c (expand_aggr_init_1): Don't zero-initialize virtual
	bases of a base subobject.

From-SVN: r179938
2011-10-13 14:03:06 -04:00
Jason Merrill b01ed72c42 re PR c++/48035 (Mismatch on size of class when initializing hierarchy involving virtual inheritance and empty base classes)
PR c++/48035
	* init.c (build_zero_init_1): Extracted from build_zero_init.
	Add FIELD_SIZE argument, if non-NULL and field bit_position
	as not smaller than that, don't add that field's initializer.
	Pass DECL_SIZE as last argument to build_zero_init_1
	for DECL_FIELD_IS_BASE fields.
	(build_zero_init): Use build_zero_init_1.

From-SVN: r179937
2011-10-13 14:02:53 -04:00
GCC Administrator 949f340c3b Daily bump.
From-SVN: r179882
2011-10-13 00:16:53 +00:00
GCC Administrator 75804aa64a Daily bump.
From-SVN: r179832
2011-10-12 00:16:41 +00:00
GCC Administrator 3edcece457 Daily bump.
From-SVN: r179775
2011-10-11 00:17:07 +00:00
GCC Administrator b712833f2e Daily bump.
From-SVN: r179732
2011-10-10 00:17:27 +00:00
GCC Administrator 6d34f7ec57 Daily bump.
From-SVN: r179714
2011-10-09 00:16:50 +00:00
GCC Administrator b1ad3b63be Daily bump.
From-SVN: r179704
2011-10-08 00:16:55 +00:00
GCC Administrator 8e7ab32985 Daily bump.
From-SVN: r179639
2011-10-07 00:17:39 +00:00
GCC Administrator 02bc1360c2 Daily bump.
From-SVN: r179583
2011-10-06 00:17:15 +00:00
GCC Administrator 3305521da8 Daily bump.
From-SVN: r179531
2011-10-05 00:19:42 +00:00
GCC Administrator fd7182ecab Daily bump.
From-SVN: r179481
2011-10-04 00:16:25 +00:00
GCC Administrator b997c1f96d Daily bump.
From-SVN: r179437
2011-10-03 00:17:09 +00:00
GCC Administrator 1eb26af8b9 Daily bump.
From-SVN: r179417
2011-10-02 00:16:38 +00:00
GCC Administrator c078baa86d Daily bump.
From-SVN: r179407
2011-10-01 00:16:46 +00:00
GCC Administrator 8d161f8b7b Daily bump.
From-SVN: r179372
2011-09-30 00:17:04 +00:00
GCC Administrator 558754a781 Daily bump.
From-SVN: r179324
2011-09-29 00:17:06 +00:00
GCC Administrator 8a7f85095f Daily bump.
From-SVN: r179299
2011-09-28 00:16:59 +00:00
GCC Administrator 93e582efd0 Daily bump.
From-SVN: r179222
2011-09-27 00:16:57 +00:00
GCC Administrator f846ae8a96 Daily bump.
From-SVN: r179175
2011-09-26 00:17:13 +00:00
GCC Administrator a09a8108e2 Daily bump.
From-SVN: r179151
2011-09-25 00:16:58 +00:00
GCC Administrator d1be13249b Daily bump.
From-SVN: r179135
2011-09-24 00:17:03 +00:00
GCC Administrator ace4d965ef Daily bump.
From-SVN: r179105
2011-09-23 00:16:42 +00:00
GCC Administrator 0454002c60 Daily bump.
From-SVN: r179068
2011-09-22 00:17:01 +00:00
GCC Administrator 0e3c496518 Daily bump.
From-SVN: r179026
2011-09-21 00:16:56 +00:00
GCC Administrator 7f642928f0 Daily bump.
From-SVN: r178990
2011-09-20 00:17:16 +00:00
GCC Administrator 6132febd73 Daily bump.
From-SVN: r178947
2011-09-19 00:17:12 +00:00
GCC Administrator e827ec56a9 Daily bump.
From-SVN: r178934
2011-09-18 00:17:02 +00:00
GCC Administrator b15540414b Daily bump.
From-SVN: r178922
2011-09-17 00:17:18 +00:00
GCC Administrator d051c4d526 Daily bump.
From-SVN: r178899
2011-09-16 00:17:03 +00:00
GCC Administrator 05ac0a07c3 Daily bump.
From-SVN: r178872
2011-09-15 00:17:18 +00:00
GCC Administrator 0b062f27d5 Daily bump.
From-SVN: r178836
2011-09-14 00:16:45 +00:00
GCC Administrator e36eacfada Daily bump.
From-SVN: r178800
2011-09-13 00:17:53 +00:00
GCC Administrator 60c89e5a6e Daily bump.
From-SVN: r178771
2011-09-12 00:17:05 +00:00
GCC Administrator aa6265086f Daily bump.
From-SVN: r178750
2011-09-11 00:17:36 +00:00
GCC Administrator e2a0de6798 Daily bump.
From-SVN: r178742
2011-09-10 00:17:21 +00:00
GCC Administrator 289b50bc25 Daily bump.
From-SVN: r178714
2011-09-09 00:17:18 +00:00
GCC Administrator 732e2c2934 Daily bump.
From-SVN: r178666
2011-09-08 00:17:04 +00:00
GCC Administrator 738d870130 Daily bump.
From-SVN: r178619
2011-09-07 00:17:05 +00:00
GCC Administrator 18447d7675 Daily bump.
From-SVN: r178559
2011-09-06 00:16:54 +00:00
GCC Administrator 4c565b0bca Daily bump.
From-SVN: r178514
2011-09-05 00:16:57 +00:00
GCC Administrator d169d14e67 Daily bump.
From-SVN: r178503
2011-09-04 00:17:01 +00:00
GCC Administrator 1509d14b8f Daily bump.
From-SVN: r178494
2011-09-03 00:16:50 +00:00
GCC Administrator 722a1af05a Daily bump.
From-SVN: r178428
2011-09-02 00:16:41 +00:00
Mikael Morin 13748c24d8 re PR fortran/50050 (Internal compiler error free_expr0 at expr.c:3709 via gfc_done_2)
2011-09-01  Mikael Morin  <mikael.morin@sfr.fr>

	PR fortran/50050
	* resolve.c (gfc_expr_to_initialize): Don't copy rank.
	Free copied shape.  Recalculate shape and rank.

2011-09-01  Mikael Morin  <mikael.morin@sfr.fr>

	PR fortran/50050
	* gfortran.dg/alloc_comp_initializer_3.f90: New test.
	* gfortran.dg/pointer_comp_init.f90: New test.

From-SVN: r178427
2011-09-01 19:19:55 +00:00
GCC Administrator 60a7612aac Daily bump.
From-SVN: r178390
2011-09-01 00:16:45 +00:00
GCC Administrator bb64d921c1 Daily bump.
From-SVN: r178348
2011-08-31 00:17:21 +00:00
GCC Administrator 2ccaed5feb Daily bump.
From-SVN: r178266
2011-08-30 00:17:07 +00:00
GCC Administrator f3d7bdfb8b Daily bump.
From-SVN: r178149
2011-08-29 00:17:03 +00:00
GCC Administrator 16b240b853 Daily bump.
From-SVN: r178136
2011-08-28 00:16:55 +00:00
GCC Administrator ef070f793a Daily bump.
From-SVN: r178126
2011-08-27 00:16:59 +00:00
GCC Administrator 6205df995f Daily bump.
From-SVN: r178092
2011-08-26 00:16:56 +00:00
GCC Administrator cb972211d0 Daily bump.
From-SVN: r178050
2011-08-25 00:17:05 +00:00
Uros Bizjak d58de1f48d * config.host: Revert unwanted commit.
From-SVN: r178045
2011-08-24 20:05:42 +02:00
GCC Administrator 9d3e22a247 Daily bump.
From-SVN: r178020
2011-08-24 00:17:15 +00:00
Uros Bizjak fbf1858b94 sfp-machine.h (ASM_INVALID): New define.
* config/i386/64/sfp-machine.h (ASM_INVALID): New define.
	(ASM_DIVZERO): Ditto.
	(FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.

From-SVN: r178010
2011-08-23 21:52:17 +02:00
GCC Administrator 417e5146a5 Daily bump.
From-SVN: r177979
2011-08-23 00:17:28 +00:00
GCC Administrator aafab18aff Daily bump.
From-SVN: r177946
2011-08-22 00:17:06 +00:00
GCC Administrator 43276dd27e Daily bump.
From-SVN: r177935
2011-08-21 00:16:45 +00:00
GCC Administrator 45281d8292 Daily bump.
From-SVN: r177919
2011-08-20 00:16:51 +00:00
Tobias Burnus a422ee4896 backport: re PR fortran/50109 (Formatted namelist read with multiple "!" fails with: Cannot match namelist object name !)
2011-08-19  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2011-08-18  Tobias Burnus  <burnus@net-b.de>

        PR fortran/50109
        * io/list_read.c (eat_separator): Fix skipping over "!" lines.

2011-08-19  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2011-08-18  Tobias Burnus  <burnus@net-b.de>

        PR fortran/50109
        * gfortran.dg/namelist_73.f90: New.

From-SVN: r177895
2011-08-19 13:55:16 +02:00
GCC Administrator 077fe46409 Daily bump.
From-SVN: r177886
2011-08-19 00:16:59 +00:00
GCC Administrator a761e11c9e Daily bump.
From-SVN: r177840
2011-08-18 00:17:01 +00:00
GCC Administrator 1f15774ee6 Daily bump.
From-SVN: r177817
2011-08-17 00:17:20 +00:00
GCC Administrator 2990b1500e Daily bump.
From-SVN: r177774
2011-08-16 00:17:12 +00:00
GCC Administrator cb0ee7d457 Daily bump.
From-SVN: r177752
2011-08-15 00:16:54 +00:00
GCC Administrator a0e85dbeef Daily bump.
From-SVN: r177738
2011-08-14 00:17:06 +00:00
GCC Administrator 070294b5b9 Daily bump.
From-SVN: r177725
2011-08-13 00:17:01 +00:00
GCC Administrator 23ae7014ba Daily bump.
From-SVN: r177685
2011-08-12 00:16:57 +00:00
GCC Administrator abb6e9cf26 Daily bump.
From-SVN: r177639
2011-08-11 00:17:13 +00:00
GCC Administrator eec4710c28 Daily bump.
From-SVN: r177607
2011-08-10 00:16:46 +00:00
GCC Administrator 412f02a2e0 Daily bump.
From-SVN: r177576
2011-08-09 00:16:59 +00:00
GCC Administrator 408267c907 Daily bump.
From-SVN: r177551
2011-08-08 00:17:35 +00:00
GCC Administrator 76ef0f396c Daily bump.
From-SVN: r177538
2011-08-07 00:17:04 +00:00
Uros Bizjak b33d430373 re PR rtl-optimization/50001 ([alpha]: ICE in reload_combine_note_use, at postreload.c:1538)
PR target/50001
	* config/alpha/alpha.c (alpha_instantiate_decls): New function.
	(TARGET_INSTANTIATE_DECLS): New define.

From-SVN: r177535
2011-08-06 20:54:01 +02:00
GCC Administrator 460aaacc74 Daily bump.
From-SVN: r177492
2011-08-06 00:16:49 +00:00
GCC Administrator 8a62856ca9 Daily bump.
From-SVN: r177419
2011-08-05 00:16:52 +00:00
GCC Administrator 9a4f6345ab Daily bump.
From-SVN: r177302
2011-08-04 00:17:15 +00:00
GCC Administrator 36f9233e4d Daily bump.
From-SVN: r177221
2011-08-03 00:16:49 +00:00
GCC Administrator f8d629766b Daily bump.
From-SVN: r177077
2011-08-02 00:17:25 +00:00
GCC Administrator 93d8d8e523 Daily bump.
From-SVN: r176991
2011-08-01 00:17:14 +00:00
Uros Bizjak 90ad61d4db re PR target/49920 (unable to find a register to spill in class ‘DIREG’)
PR target/49920
	* config/i386/i386.md (strset): Do not expand strset_singleop
	when %eax or $edi are fixed.
	(*strsetdi_rex_1): Disable when %eax or %edi are fixed.
	(*strsetsi_1): Ditto.
	(*strsetsi_rex_1): Ditto.
	(*strsethi_1): Ditto.
	(*strsethi_rex_1): Ditto.
	(*strsetqi_1): Ditto.
	(*strsetqi_rex_1): Ditto.
	(*rep_stosdi_rex64): Disable when %eax, %ecx or %edi are fixed.
	(*rep_stossi): Ditto.
	(*rep_stossi_rex64): Ditto.
	(*rep_stosqi): Ditto.
	(*rep_stosqi_rex64): Ditto.
	(*strlenqi_1): Ditto.
	(*strlenqi_rex_1): Ditto.
	(cmpstrnsi): Also fail when %ecx is fixed.
	(*cmpstrnqi_nz_1): Disable when %ecx, %esi or %edi are fixed.
	(*cmpstrnqi_nz_rex_1): Ditto.
	(*cmpstrnqi_1): Ditto.
	(*cmpstrnqi_rex_1): Ditto.
	(*strmovdi_rex_1): Disable when %esi or %edi are fixed.
	(*strmovsi_1): Ditto.
	(*strmovsi_rex_1): Ditto.
	(*strmovhi_1): Ditto.
	(*strmovhi_rex_1): Ditto.
	(*strmovqi_1): Ditto.
	(*strmovqi_rex_1): Ditto.
	(*rep_movdi_rex64): Disable when %ecx, %esi or %edi are fixed.
	(*rep_movsi): Ditto.
	(*rep_movsi_rex64): Ditto.
	(*rep_movqi): Ditto.
	(*rep_movqi_rex64): Ditto.

testsuite/ChangeLog:

	PR target/49920
	* gcc.target/i386/pr49920.c: New test.

From-SVN: r176983
2011-07-31 20:23:40 +02:00
GCC Administrator ca86ec3792 Daily bump.
From-SVN: r176964
2011-07-31 00:16:38 +00:00
GCC Administrator c0eec979bc Daily bump.
From-SVN: r176953
2011-07-30 00:17:06 +00:00
GCC Administrator 2911f1627a Daily bump.
From-SVN: r176907
2011-07-29 00:16:53 +00:00
Uros Bizjak cbbdf78c4d re PR target/47364 ([x32] internal compiler error: in emit_move_insn, at expr.c:3355)
PR target/47364
	* config/i386/i386.md (strlensi): Enable for !TARGET_64BIT only.
	(strlendi): Enable for TARGET_64BIT only.

From-SVN: r176877
2011-07-28 18:21:44 +02:00
Tobias Burnus 7fe6f16069 backport: re PR libfortran/49791 (Formatted namelist reads fails with: Cannot match namelist object)
2011-07-28  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2011-07-23  Tobias Burnus  <burnus@net-b.de>

        PR fortran/49791
        * io/list_read.c (nml_parse_qualifier): Remove check to
        enabled extended read for another case.

2011-07-28  Tobias Burnus  <burnus@net-b.de>

        Backported from mainline
        2011-07-23  Tobias Burnus  <burnus@net-b.de>

        PR fortran/49791
        * gfortran.dg/namelist_72.f: New.

From-SVN: r176857
2011-07-28 07:38:54 +02:00
GCC Administrator 11fb47e17d Daily bump.
From-SVN: r176853
2011-07-28 00:17:00 +00:00
Uros Bizjak 045f94d62c avx-os-support.h: New.
* gcc.target/i386/avx-os-support.h: New.
	* gcc.target/i386/avx-check.h: Include avx-os-support.h
	(main): Check avx_os_support before the test is run.
	* gcc.target/i386/aes-avx-check.h: Ditto.
	* gcc.target/i386/pclmul-avx-check.h: Ditto.

From-SVN: r176832
2011-07-27 17:54:59 +02:00
GCC Administrator 610fa10b17 Daily bump.
From-SVN: r176813
2011-07-27 00:17:01 +00:00
GCC Administrator fb3d5945c9 Daily bump.
From-SVN: r176775
2011-07-26 00:17:04 +00:00
GCC Administrator 80f8aea0d9 Daily bump.
From-SVN: r176721
2011-07-25 00:17:11 +00:00
GCC Administrator 7392b0a5e2 Daily bump.
From-SVN: r176708
2011-07-24 00:17:16 +00:00
GCC Administrator 7214685c65 Daily bump.
From-SVN: r176666
2011-07-23 00:17:03 +00:00
Uros Bizjak f5754d0e8e target-supports.exp (check_avx_os_support_available): New.
* lib/target-supports.exp (check_avx_os_support_available): New.
	(check_effective_target_avx_runtime): Use it.

From-SVN: r176645
2011-07-22 19:55:30 +02:00
GCC Administrator cc5e2e171d Daily bump.
From-SVN: r176607
2011-07-22 00:17:13 +00:00
Jakub Jelinek f69c9a9021 re PR middle-end/48973 (Inliner bug with one-bit (1-bit) bitfield)
PR middle-end/48973
	* expr.c (expand_expr_real_1) <case TRUTH_ANDIF_EXPR>: If
	the comparison has a single bit signed type, use
	constm1_rtx instead of const1_rtx for true value.

From-SVN: r176555
2011-07-21 11:39:16 +02:00
GCC Administrator 5d46ca237b Daily bump.
From-SVN: r176545
2011-07-21 00:16:57 +00:00
GCC Administrator 4d005727ee Daily bump.
From-SVN: r176491
2011-07-20 00:17:12 +00:00
Jakub Jelinek 0f5cb6b435 backport: re PR middle-end/49640 (Internal compiler in C99 code (using variable-length arrays) and OpenMP)
Backport from mainline
	2011-07-07  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/49640
	* gimplify.c (gimplify_compound_lval): For last 2 ARRAY_*REF
	operands and last COMPONENT_REF operand call gimplify_expr on it
	if non-NULL.

	* gcc.dg/gomp/pr49640.c: New test.

From-SVN: r176486
2011-07-19 21:33:30 +02:00
Jakub Jelinek 1ae304212d backport: re PR rtl-optimization/49619 (ICE in simplify_subreg, at simplify-rtx.c:5362)
Backport from mainline
	2011-07-04  Jakub Jelinek  <jakub@redhat.com>

	PR rtl-optimization/49619
	* combine.c (combine_simplify_rtx): In PLUS -> IOR simplification
	pass VOIDmode as op0_mode to recursive call.

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

From-SVN: r176485
2011-07-19 21:32:12 +02:00
Jakub Jelinek 26d5e2ee02 backport: re PR c++/49165 (ICE on for-loop/throw combination)
Backport from mainline
	2011-05-27  Jakub Jelinek  <jakub@redhat.com>

	PR c++/49165
	* c-common.c (c_common_truthvalue_conversion) <case COND_EXPR>: For
	C++ don't call c_common_truthvalue_conversion on void type arms.

	* g++.dg/eh/cond6.C: New test.

From-SVN: r176484
2011-07-19 21:31:01 +02:00
Jakub Jelinek 29f4a2e03a backport: re PR c++/49165 (ICE on for-loop/throw combination)
Backport from mainline
	2011-05-26  Jakub Jelinek  <jakub@redhat.com>

	PR c++/49165
	* gimplify.c (shortcut_cond_r): Don't special case
	COND_EXPRs if they have void type on one of their arms.

	* g++.dg/eh/cond5.C: New test.

From-SVN: r176483
2011-07-19 21:29:57 +02:00
Jakub Jelinek 380f6be646 backport: re PR middle-end/48973 (Inliner bug with one-bit (1-bit) bitfield)
Backport from mainline
	2011-05-23  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/48973
	* expr.c (expand_expr_real_1) <case LT_EXPR>: If do_store_flag
	failed and the comparison has a single bit signed type, use
	constm1_rtx instead of const1_rtx for true value.
	(do_store_flag): If TREE_TYPE (exp) is single bit signed type, disable
	single bit test optimization, pass -1 instead of 1 as last
	parameter to emit_store_flag and use constm1_rtx instead of
	const1_rtx as true value.

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

From-SVN: r176482
2011-07-19 21:28:41 +02:00
Jakub Jelinek b60b301343 backport: re PR c++/49039 (LLVM StringRef miscompilation with -O2)
Backport from mainline
	2011-05-18  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/49039
	* tree-vrp.c (extract_range_from_binary_expr): For
	MIN_EXPR <~[a, b], ~[c, d]> and MAX_EXPR <~[a, b], ~[c, d]>
	return ~[MAX_EXPR <a, c>, MIN_EXPR <b, d>].

	* gcc.c-torture/execute/pr49039.c: New test.
	* gcc.dg/tree-ssa/pr49039.c: New test.
	* g++.dg/torture/pr49039.C: New test.

From-SVN: r176481
2011-07-19 21:27:30 +02:00
GCC Administrator e8258813bf Daily bump.
From-SVN: r176427
2011-07-19 00:16:53 +00:00
GCC Administrator 1804583dc6 Daily bump.
From-SVN: r176381
2011-07-18 00:16:49 +00:00
John David Anglin 0f314501f2 re PR target/49746 (Generated PA-RISC2.0w code cannot be assembled by GNU as-2.21.1)
PR target/49746
	Revert:
	2010-12-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	* config/pa/pa.md: Add ",*" condition to 64-bit add/subtract boolean
	patterns.

From-SVN: r176380
2011-07-17 21:36:36 +00:00
GCC Administrator 7155cc5ffc Daily bump.
From-SVN: r176361
2011-07-17 00:16:50 +00:00
John David Anglin e74dc40456 re PR target/49723 (gcc.c-torture/compile/pr46934.c: ICE in do_SUBST, at combine.c:707 at -O1 and above)
PR target/49723
	* config/pa/pa.md (casesi): Use gen_int_mode instead of GEN_INT.

From-SVN: r176359
2011-07-16 18:33:43 +00:00
GCC Administrator 07e766a740 Daily bump.
From-SVN: r176344
2011-07-16 00:16:48 +00:00
GCC Administrator f49a310e62 Daily bump.
From-SVN: r176298
2011-07-15 00:16:59 +00:00
GCC Administrator bb3df3b976 Daily bump.
From-SVN: r176256
2011-07-14 00:16:39 +00:00
GCC Administrator aa19ed338f Daily bump.
From-SVN: r176219
2011-07-13 00:16:58 +00:00
GCC Administrator 3149fa49a6 Daily bump.
From-SVN: r176189
2011-07-12 00:16:26 +00:00
GCC Administrator 53714a9aa7 Daily bump.
From-SVN: r176130
2011-07-11 00:17:06 +00:00
GCC Administrator 3d5fc953f3 Daily bump.
From-SVN: r176112
2011-07-10 00:16:48 +00:00
GCC Administrator 74946f1711 Daily bump.
From-SVN: r176067
2011-07-09 00:16:41 +00:00
GCC Administrator 3a447d5479 Daily bump.
From-SVN: r176022
2011-07-08 00:16:40 +00:00
GCC Administrator 488807d711 Daily bump.
From-SVN: r175950
2011-07-07 00:16:51 +00:00
GCC Administrator 4741ea53bc Daily bump.
From-SVN: r175897
2011-07-06 00:17:20 +00:00
GCC Administrator 6dfdaf5433 Daily bump.
From-SVN: r175837
2011-07-05 00:16:52 +00:00
Richard Guenther 97ba76388e re PR tree-optimization/49615 (internal compiler error: verify_stmts failed / LHS in noreturn call with pointer-to-never-returning-member)
2011-07-04  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/49615
	* tree-cfgcleanup.c (split_bbs_on_noreturn_calls): Fix
	basic-block index check.

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

From-SVN: r175808
2011-07-04 12:21:45 +00:00
GCC Administrator 1363965228 Daily bump.
From-SVN: r175790
2011-07-04 00:17:31 +00:00
GCC Administrator f5dde2dd11 Daily bump.
From-SVN: r175782
2011-07-03 00:16:48 +00:00
GCC Administrator 0a7cde6251 Daily bump.
From-SVN: r175772
2011-07-02 00:16:48 +00:00
GCC Administrator c5cffb9ce0 Daily bump.
From-SVN: r175739
2011-07-01 00:16:40 +00:00
Eric Botcazou 8cfdffb3e0 re PR tree-optimization/49572 (gcc.dg/tree-ssa/20030709-2.c scan-tree-dump-times cddce2 ".rtmem" 0)
PR tree-optimization/49572
	* tree-ssa-dom.c (initialize_hash_element) <GIMPLE_SINGLE_RHS>: Use the
	type of the RHS instead of that of the LHS for the expression type.

From-SVN: r175724
2011-06-30 19:39:41 +00:00
Richard Guenther 195103426d re PR tree-optimization/38752 (ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817)
2011-06-30  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/38752
	* gcc.c-torture/compile/pr38752.c: New testcase.

From-SVN: r175687
2011-06-30 08:56:02 +00:00
GCC Administrator c780ac5222 Daily bump.
From-SVN: r175675
2011-06-30 00:16:50 +00:00
GCC Administrator 67eb8767de Daily bump.
From-SVN: r175613
2011-06-29 00:17:13 +00:00
Eric Botcazou a365cae76a * tree-ssa-dom.c (initialize_hash_element): Fix oversight.
From-SVN: r175603
2011-06-28 22:00:00 +00:00
GCC Administrator c0b9fd81ef Daily bump.
From-SVN: r175569
2011-06-28 00:17:11 +00:00
Hans-Peter Nilsson 166b50f5e5 configure.ac (cris-*-* | crisv32-*-*, mmix-*-*): Add target-libiberty to skipdirs.
* configure.ac (cris-*-* | crisv32-*-*, mmix-*-*): Add
	target-libiberty to skipdirs.
	* configure: Regenerate.

From-SVN: r175566
2011-06-27 21:15:57 +00:00
GCC Administrator d408c43f4f Daily bump.
From-SVN: r175413
2011-06-27 00:17:50 +00:00
GCC Administrator a60a9b55dd Daily bump.
From-SVN: r175401
2011-06-26 00:17:10 +00:00
GCC Administrator 75d79295b2 Daily bump.
From-SVN: r175391
2011-06-25 00:17:13 +00:00
GCC Administrator d967b467f2 Daily bump.
From-SVN: r175359
2011-06-24 00:17:52 +00:00
GCC Administrator ee0a174de1 Daily bump.
From-SVN: r175324
2011-06-23 00:17:30 +00:00
GCC Administrator 567476c77f Daily bump.
From-SVN: r175280
2011-06-22 00:17:10 +00:00
GCC Administrator 4f7ae5236d Daily bump.
From-SVN: r175232
2011-06-21 00:17:29 +00:00
Andrey Belevantsev e3c4f93533 backport: re PR target/43603 (gcc-4.4.3 ICE on ia64 with -O3)
Backport from mainline
        2010-12-07  Andrey Belevantsev  <abel@ispras.ru>
        PR target/43603
        * haifa-sched.c (sched_create_recovery_edges): Update
        dominator info.
        * sel-sched-ir.c (maybe_tidy_empty_bb): Update dominator info
        after deleting an empty block, verify dominators.
        (sel_remove_bb): Update dominator info after removing a block.
        (sel_redirect_edge_and_branch_force): Assert that no unreachable
        blocks will be created. Update dominator info.
        (sel_redirect_edge_and_branch): Update dominator info when
        basic blocks do not become unreachable.
        (sel_remove_loop_preheader): Update dominator info.

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

        * sel-sched-ir.c (maybe_tidy_empty_bb): Simplify comment.
        (tidy_control_flow): Tidy vertical space.
        (sel_remove_bb): New variable idx.  Use it to remember the basic
        block index before deleting the block.
        (sel_remove_empty_bb): Remove dead code, simplify and insert to ...
        (sel_merge_blocks): ... here.  Add forward declaration.
        * sel-sched-ir.h (sel_remove_empty_bb): Remove prototype.
        (sel_merge_blocks): Likewise.

2011-06-20  Andrey Belevantsev  <abel@ispras.ru>

        Backport from mainline
        2010-12-07  Andrey Belevantsev  <abel@ispras.ru>

        PR target/43603
        * gcc.target/ia64/pr43603.c: New.
        * gcc/testsuite/g++.dg/opt/pr46640.C: New.

From-SVN: r175207
2011-06-20 15:56:08 +04:00
GCC Administrator d85591f1a5 Daily bump.
From-SVN: r175196
2011-06-20 00:17:24 +00:00
GCC Administrator 347073e14f Daily bump.
From-SVN: r175185
2011-06-19 00:17:01 +00:00
GCC Administrator a7e4f9c7a1 Daily bump.
From-SVN: r175160
2011-06-18 00:17:50 +00:00
Hans-Peter Nilsson ff17c098ac re PR rtl-optimization/48542 (unchanged variables in code which calls setjmp may be clobbered (including the return-address))
PR rtl-optimization/48542
	* gcc.dg/torture/pr48542.c: New test.

From-SVN: r175145
2011-06-17 11:20:38 +00:00
Hans-Peter Nilsson 45898b407d re PR rtl-optimization/48542 (unchanged variables in code which calls setjmp may be clobbered (including the return-address))
PR rtl-optimization/48542
	* reload.c (find_equiv_reg): Stop looking when finding a
	setjmp-type call.
	* reload1.c (reload_as_needed): Invalidate all reload
	registers when crossing a setjmp-type call.

From-SVN: r175144
2011-06-17 11:20:01 +00:00
GCC Administrator a079fb105a Daily bump.
From-SVN: r175126
2011-06-17 00:17:50 +00:00
GCC Administrator 200571fb5c Daily bump.
From-SVN: r175085
2011-06-16 00:17:22 +00:00
GCC Administrator afc5b009c4 Daily bump.
From-SVN: r175067
2011-06-15 00:17:34 +00:00
GCC Administrator a8ec300f72 Daily bump.
From-SVN: r175003
2011-06-14 00:18:02 +00:00
GCC Administrator b5d6f773a0 Daily bump.
From-SVN: r174976
2011-06-13 00:17:42 +00:00
GCC Administrator 54425c8173 Daily bump.
From-SVN: r174961
2011-06-12 00:17:21 +00:00
GCC Administrator e1edc0a43c Daily bump.
From-SVN: r174935
2011-06-11 00:16:48 +00:00
GCC Administrator 9b460ca911 Daily bump.
From-SVN: r174873
2011-06-10 00:17:13 +00:00
Eric Botcazou 06f5d62fc2 * config/sparc/sparc.md (return_internal): Adjust 'length' attribute.
From-SVN: r174858
2011-06-09 19:51:17 +00:00
GCC Administrator 473855f050 Daily bump.
From-SVN: r174826
2011-06-09 00:17:30 +00:00
GCC Administrator 17a325d11f Daily bump.
From-SVN: r174785
2011-06-08 00:17:26 +00:00
GCC Administrator 3436c9ecd8 Daily bump.
From-SVN: r174730
2011-06-07 00:17:22 +00:00
GCC Administrator 18c8fda416 Daily bump.
From-SVN: r174675
2011-06-06 00:17:16 +00:00
Eric Botcazou c8b625063b sparc.c (output_return): Fix thinko in the output of an EH return when delayed branches are disabled.
* config/sparc/sparc.c (output_return): Fix thinko in the output of an
	EH return when delayed branches are disabled.

From-SVN: r174673
2011-06-05 23:20:56 +00:00
Kaz Kojima a13dc62afe re PR target/49186 (optimize problem with unsigned long long value.)
PR target/49186
	* config/sh/sh.c (expand_cbranchdi4): Set msw_skip when the high
	part of the second operand is 0.
	* gcc.c-torture/execute/pr49186.c: New.

From-SVN: r174667
2011-06-05 21:53:25 +00:00
GCC Administrator 6e98bff4dc Daily bump.
From-SVN: r174652
2011-06-05 00:17:17 +00:00
GCC Administrator 045b73e53c Daily bump.
From-SVN: r174627
2011-06-04 00:17:02 +00:00
GCC Administrator 77b3c445a1 Daily bump.
From-SVN: r174589
2011-06-03 00:17:13 +00:00
GCC Administrator 831386c815 Daily bump.
From-SVN: r174554
2011-06-02 00:17:10 +00:00
GCC Administrator 1780b82dcb Daily bump.
From-SVN: r174515
2011-06-01 00:17:12 +00:00
GCC Administrator 300395e03e Daily bump.
From-SVN: r174460
2011-05-31 00:18:03 +00:00
GCC Administrator 2748c7567d Daily bump.
From-SVN: r174419
2011-05-30 00:17:36 +00:00
Richard Sandiford 9855acf753 re PR target/43700 (global register variables defect)
gcc/
	PR target/43700
	* config/mips/mips.c (mips_cfun_call_saved_reg_p): Handle global
	registers.

gcc/testsuite/
	* gcc.target/mips/reg-var-1.c: New test.

From-SVN: r174409
2011-05-29 18:10:44 +00:00
GCC Administrator fafd89af06 Daily bump.
From-SVN: r174388
2011-05-29 00:17:21 +00:00
GCC Administrator b3d38eb9ca Daily bump.
From-SVN: r174370
2011-05-28 00:17:11 +00:00
GCC Administrator b2f1e28960 Daily bump.
From-SVN: r174312
2011-05-27 00:16:54 +00:00
GCC Administrator aebe1283ce Daily bump.
From-SVN: r174249
2011-05-26 00:17:54 +00:00
Uros Bizjak 81e97b147a re PR target/49133 (modification of aliased __m128d miscompiles)
PR target/49133
	* config/i386/sse.md (sse2_loadhpd): Remove shufpd alternative.

testsuite/ChangeLog:

	PR target/49133
	* g++.dg/other/pr49133.C: New test.

From-SVN: r174215
2011-05-25 18:39:22 +02:00
GCC Administrator d37155aa5a Daily bump.
From-SVN: r174154
2011-05-25 00:17:25 +00:00
GCC Administrator c472546d94 Daily bump.
From-SVN: r174096
2011-05-24 00:17:31 +00:00
John David Anglin 0f397dbd3d re PR rtl-optimization/49007 (ICE in extract_true_false_edges_from_block at tree-cfg.c:7379)
PR rtl-optimization/49007
	Backport from mainline:
	2009-11-30  Hans-Peter Nilsson  <hp@axis.com>

	PR rtl-optimization/40086
	* reorg.c (relax_delay_slots): When looking for redundant insn at
	the branch target, use next_real_insn, not next_active_insn.

From-SVN: r174090
2011-05-23 22:31:55 +00:00
GCC Administrator 104d88b76e Daily bump.
From-SVN: r174051
2011-05-23 00:17:44 +00:00
GCC Administrator 1a08126232 Daily bump.
From-SVN: r174018
2011-05-22 00:17:14 +00:00
Eric Botcazou bc6441b580 sparc.md (setjmp): Handle PIC mode and use the hard frame pointer.
* config/sparc/sparc.md (setjmp): Handle PIC mode and use the hard
	frame pointer.

From-SVN: r174016
2011-05-21 22:51:00 +00:00
Eric Botcazou 154af1c53b sparc.c (eligible_for_return_delay): Do not return false if there are call-saved registers here...
* config/sparc/sparc.c (eligible_for_return_delay): Do not return
	false if there are call-saved registers here...
	(sparc_can_use_return_insn_p): ...but here instead.
	(save_or_restore_regs): Fix thinko.
	(sparc_expand_prologue): Use current_function_is_leaf.
	* config/sparc/sparc.h (FRAME_POINTER_REQUIRED) : Likewise.

From-SVN: r174012
2011-05-21 22:05:52 +00:00
GCC Administrator 40d7aca1b7 Daily bump.
From-SVN: r173988
2011-05-21 00:17:15 +00:00
Jason Merrill d841f02bac re PR c++/48873 ([C++0x][noexcept] Placement-new problem with deleted destructors)
PR c++/48873
	* tree.c (stabilize_expr): Don't make gratuitous copies of classes.

From-SVN: r173978
2011-05-20 16:01:19 -04:00
GCC Administrator 7abe7b2a55 Daily bump.
From-SVN: r173932
2011-05-20 00:18:16 +00:00
GCC Administrator 9437d20b87 Daily bump.
From-SVN: r173884
2011-05-19 00:17:50 +00:00
John David Anglin e04f71654e re PR rtl-optimization/48932 (ICE in check_dep, at sched-deps.c:4097)
PR rtl-optimization/48932
	Fix type in entry.

From-SVN: r173844
2011-05-18 00:33:22 +00:00
GCC Administrator 3d7cc05115 Daily bump.
From-SVN: r173840
2011-05-18 00:17:13 +00:00
GCC Administrator ad4c1cfb0a Daily bump.
From-SVN: r173811
2011-05-17 00:18:14 +00:00
GCC Administrator e8952a78e9 Daily bump.
From-SVN: r173782
2011-05-16 00:17:46 +00:00
GCC Administrator d4fc8d6a87 Daily bump.
From-SVN: r173765
2011-05-15 00:17:09 +00:00
John David Anglin ff9fea3758 re PR rtl-optimization/48932 (ICE in check_dep, at sched-deps.c:4097)
PR rtl_optimization/48932
	Backport from mainline:
	2010-09-15  Eric Botcazou  <ebotcazou@adacore.com>

	PR rtl-optimization/45593
	* reorg.c (relax_delay_slots): Use emit_copy_of_insn_after to re-emit
	insns that were in delay slots as stand-alone insns.

	Backport from mainline:
	2010-09-15  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc.c-torture/compile/20100915-1.c: New test.

From-SVN: r173763
2011-05-14 20:39:54 +00:00
GCC Administrator 95ace1f354 Daily bump.
From-SVN: r173744
2011-05-14 00:17:39 +00:00
GCC Administrator 6234bbbac1 Daily bump.
From-SVN: r173719
2011-05-13 00:18:07 +00:00
GCC Administrator cbc40dee19 Daily bump.
From-SVN: r173688
2011-05-12 00:17:37 +00:00
GCC Administrator 19ffa9dc7e Daily bump.
From-SVN: r173638
2011-05-11 00:17:19 +00:00
Jakub Jelinek c3811910a6 backport: re PR tree-optimization/48837 (Wrong optimization of recursive function calls)
Backported from mainline
	2011-05-07  Zdenek Dvorak  <ook@ucw.cz>

	PR tree-optimization/48837
	* tree-tailcall.c (tree_optimize_tail_calls_1): Do not mark tailcalls
	when accumulator transformation is performed.

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

From-SVN: r173611
2011-05-10 10:47:09 +02:00
GCC Administrator 7c149db4e4 Daily bump.
From-SVN: r173601
2011-05-10 00:17:36 +00:00
Jason Merrill 1442bcc841 re PR c++/48936 (sizeof template parm not considered constant expression)
PR c++/48936
	* decl2.c (mark_used): Instantiate constant variables even
	in unevaluated context.

From-SVN: r173585
2011-05-09 14:00:37 -04:00
GCC Administrator baa175425d Daily bump.
From-SVN: r173554
2011-05-09 00:17:43 +00:00
GCC Administrator 0c23c7ba8d Daily bump.
From-SVN: r173540
2011-05-08 00:18:01 +00:00
GCC Administrator ccfdaf96c3 Daily bump.
From-SVN: r173522
2011-05-07 00:17:43 +00:00
Jakub Jelinek f283e32f6a re PR fortran/48894 (generic omp_get_ancestor_thread_num(l(i)) produces incorrect output)
PR fortran/48894
	* fortran.c: Include limits.h.
	(TO_INT): Define.
	(omp_set_dynamic_8_, omp_set_num_threads_8_): Use !!*set instead of
	*set.
	(omp_set_num_threads_8_, omp_set_schedule_8_,
	omp_set_max_active_levels_8_, omp_get_ancestor_thread_num_8_,
	omp_get_team_size_8_): Use TO_INT macro.
	* testsuite/libgomp.fortran/pr48894.f90: New test.

From-SVN: r173479
2011-05-06 12:14:41 +02:00
GCC Administrator 96132d772f Daily bump.
From-SVN: r173461
2011-05-06 00:17:47 +00:00
Jason Merrill 3cbb0e1045 re PR c++/40975 (ICE in copy_tree_r on array new)
PR c++/40975
	* tree-inline.c (copy_tree_r): Handle STATEMENT_LIST.

From-SVN: r173454
2011-05-05 17:02:51 -04:00
Julian Brown 0347e1b918 neon.md (vec_set<mode>_internal): Fix misplaced parenthesis in D-register case.
gcc/
	* config/arm/neon.md (vec_set<mode>_internal): Fix misplaced
       	parenthesis in D-register case.

	gcc/testsuite/
	* gcc.target/arm/neon-vset_lanes8.c: New test.

From-SVN: r173445
2011-05-05 16:39:48 +00:00
GCC Administrator 66b077b70a Daily bump.
From-SVN: r173404
2011-05-05 00:17:41 +00:00
Jakub Jelinek b8ef86ef26 backport: re PR target/48774 (gcc-4.6.0 optimization regression on x86_64-unknown-linux-gnu)
Backported from mainline
	2011-05-03  Uros Bizjak  <ubizjak@gmail.com>
		    Jakub Jelinek  <jakub@redhat.com>

	PR target/48774
	* config/i386/i386.c (ix86_match_ccmode): For CC{A,C,O,S}mode
	only succeed if req_mode is the same as set_mode.

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

From-SVN: r173359
2011-05-04 11:21:09 +02:00
Jakub Jelinek 0a11a513d2 backport: re PR testsuite/48809 (switch statement optimization error)
Backport from mainline
	2011-04-30  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/48809
	* tree-switch-conversion.c (build_arrays): Compute tidx in unsigned
	type.
	(gen_inbound_check): Don't compute index_expr - range_min in utype
	again, instead reuse SSA_NAME initialized in build_arrays.
	Remove two useless gsi_for_stmt calls.

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

From-SVN: r173358
2011-05-04 11:19:07 +02:00
Jakub Jelinek 43abdfb928 backport: re PR middle-end/48597 (x86-64 unwind register save location misses half-register write?)
Backport from mainline
	2011-04-28  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/48597
	* final.c (final_scan_insn): Call dwarf2out_frame_debug even for
	inline asm.

From-SVN: r173357
2011-05-04 11:14:00 +02:00
GCC Administrator a6c676585f Daily bump.
From-SVN: r173347
2011-05-04 00:17:43 +00:00
GCC Administrator eacd7ec124 Daily bump.
From-SVN: r173281
2011-05-03 00:17:49 +00:00
GCC Administrator 5db31e43a7 Daily bump.
From-SVN: r173237
2011-05-02 00:18:09 +00:00
GCC Administrator d1bf5c67fc Daily bump.
From-SVN: r173226
2011-05-01 00:17:17 +00:00
GCC Administrator 167507ffd8 Daily bump.
From-SVN: r173201
2011-04-30 00:17:48 +00:00
GCC Administrator f5b726801b Daily bump.
From-SVN: r173143
2011-04-29 00:17:26 +00:00
GCC Administrator aa6c64f17b Daily bump.
From-SVN: r173051
2011-04-28 00:17:28 +00:00
Jason Merrill 4febc53fbf re PR c++/42687 (The prevention of ADL with the help of parentheses doesn't work)
PR c++/42687
	* parser.c (cp_parser_primary_expression): Set *idk to
	CP_ID_KIND_NONE for a parenthesized identifier.

From-SVN: r173009
2011-04-27 01:20:33 -04:00
GCC Administrator 3b1d2e7aad Daily bump.
From-SVN: r172999
2011-04-27 00:17:51 +00:00
GCC Administrator 3dc40b23a1 Daily bump.
From-SVN: r172947
2011-04-26 00:17:46 +00:00
GCC Administrator 62c49c284b Daily bump.
From-SVN: r172926
2011-04-25 00:17:13 +00:00
John David Anglin 0fc5883b29 re PR target/48288 (ld: Unsatisfied symbol "__iordi3" in file /test/gnu/gcc/objdir/./gcc/libgcc_eh.a)
PR target/48288
	* config/pa/predicates.md (ior_operand): Delete predicate.
	(cint_ior_operand, reg_or_cint_ior_operand): New predicates.
	* config/pa/pa.md (iordi3): Use reg_or_cint_ior_operand predicate in
	expander.  Use cint_ior_operand in unnamed insn.
	(iorsi3): Likewise.
	* config/pa/pa-protos.h (ior_operand): Delete declarations.

From-SVN: r172917
2011-04-24 13:56:13 +00:00
GCC Administrator b8638fb278 Daily bump.
From-SVN: r172906
2011-04-24 00:17:46 +00:00
GCC Administrator 2dce9e268f Daily bump.
From-SVN: r172886
2011-04-23 00:17:33 +00:00
GCC Administrator 8b0039c5df Daily bump.
From-SVN: r172850
2011-04-22 00:17:02 +00:00
Jason Merrill 21e89bed26 re PR c++/48594 (Rejects valid with pointer-to-member in template)
PR c++/48594
	* decl2.c (build_offset_ref_call_from_tree): Fix calling a functor
	or pointer to (non-member) function.

From-SVN: r172804
2011-04-20 22:57:28 -04:00
GCC Administrator 3766c7e508 Daily bump.
From-SVN: r172799
2011-04-21 00:17:20 +00:00
GCC Administrator ad7ddfeaec Daily bump.
From-SVN: r172747
2011-04-20 00:17:17 +00:00
John David Anglin 64d68ee799 re PR target/48366 (ICE in extract_constrain_insn_cached, at recog.c:2024)
* config/pa/pa.h (REGISTER_MOVE_COST): Increase to 18 cost of
	move from floating point to shift amount register.

	Backport from mainline:
	2011-04-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	PR target/48366
	* config/pa/pa.c (emit_move_sequence): Remove secondary reload
	support for floating point to shift amount amount register copies.
	(pa_secondary_reload): Return GENERAL_REGS for floating point/shift
	amount register copies.
	* config/pa/pa32-regs.h (HARD_REGNO_MODE_OK): For shift amount
	register, return false if mode isn't a scalar integer mode.
	* config/pa/pa64-regs.h (HARD_REGNO_MODE_OK): Likewise.

From-SVN: r172710
2011-04-19 14:21:18 +00:00
GCC Administrator 6746e7f1bf Daily bump.
From-SVN: r172686
2011-04-19 00:17:23 +00:00
GCC Administrator f97887cbad Daily bump.
From-SVN: r172627
2011-04-18 00:16:56 +00:00
GCC Administrator 66ccd80b65 Daily bump.
From-SVN: r172599
2011-04-17 00:17:11 +00:00
Eric Botcazou c6c031c590 re PR other/48639 (pthread.h fixinclude test failure with 4.4.6)
PR other/48639
	* tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: Move around.

From-SVN: r172592
2011-04-16 19:35:52 +00:00
Jakub Jelinek 14eb2ba6cd backport: re PR target/48605 (gcc.target/i386/sse4_1-insertps-2.c FAILs with -mtune=geode - instruction insertps with memory operands behaves differently)
Backported from 4.6 branch
	2011-04-15  Jakub Jelinek  <jakub@redhat.com>

	PR target/48605
	* config/i386/sse.md (avx_insertps, sse4_1_insertps): If operands[2]
	is a MEM, offset it as needed based on top 2 bits in operands[3],
	change MEM mode to SFmode and mask those 2 bits away from operands[3].

	* gcc.target/i386/sse4_1-insertps-3.c: New test.
	* gcc.target/i386/sse4_1-insertps-4.c: New test.
	* gcc.target/i386/avx-insertps-3.c: New test.
	* gcc.target/i386/avx-insertps-4.c: New test.

From-SVN: r172583
2011-04-16 12:03:53 +02:00
Jakub Jelinek da1ba202bd BASE-VER: Set to 4.4.7.
* BASE-VER: Set to 4.4.7.
	* DEV-PHASE: Set to prerelease.

From-SVN: r172582
2011-04-16 12:01:09 +02:00
GCC Administrator e0f8c5fefc Mark as release
From-SVN: r172578
2011-04-16 08:02:58 +00:00
GCC Administrator 0a00e6cff1 Mark ChangeLog
From-SVN: r172577
2011-04-16 08:02:53 +00:00
GCC Administrator fb5f82571f Mark ChangeLog
From-SVN: r172576
2011-04-16 08:02:47 +00:00
GCC Administrator ca87a65006 Mark ChangeLog
From-SVN: r172575
2011-04-16 08:02:42 +00:00
GCC Administrator 231a074a2d Mark ChangeLog
From-SVN: r172574
2011-04-16 08:02:37 +00:00
GCC Administrator 63a052e943 Mark ChangeLog
From-SVN: r172573
2011-04-16 08:02:32 +00:00
GCC Administrator 5ec26e5a86 Mark ChangeLog
From-SVN: r172572
2011-04-16 08:02:27 +00:00
GCC Administrator e4e73b6b62 Mark ChangeLog
From-SVN: r172571
2011-04-16 08:02:22 +00:00
GCC Administrator a66598dfd2 Mark ChangeLog
From-SVN: r172570
2011-04-16 08:02:17 +00:00
GCC Administrator 68a9e896fd Mark ChangeLog
From-SVN: r172569
2011-04-16 08:02:12 +00:00
GCC Administrator c671f02a3c Mark ChangeLog
From-SVN: r172568
2011-04-16 08:02:07 +00:00
GCC Administrator d001be12bb Mark ChangeLog
From-SVN: r172567
2011-04-16 08:02:02 +00:00
GCC Administrator 1b75b0a872 Mark ChangeLog
From-SVN: r172566
2011-04-16 08:01:56 +00:00
GCC Administrator 9c79d80da0 Mark ChangeLog
From-SVN: r172565
2011-04-16 08:01:48 +00:00
GCC Administrator b534f54f8d Mark ChangeLog
From-SVN: r172564
2011-04-16 08:01:42 +00:00
GCC Administrator 0d184f9b1c Mark ChangeLog
From-SVN: r172563
2011-04-16 08:01:35 +00:00
GCC Administrator c1a232418b Mark ChangeLog
From-SVN: r172562
2011-04-16 08:01:30 +00:00
GCC Administrator a1a3130c74 Mark ChangeLog
From-SVN: r172561
2011-04-16 08:01:25 +00:00
GCC Administrator 914342cde0 Mark ChangeLog
From-SVN: r172560
2011-04-16 08:01:17 +00:00
GCC Administrator 3c939917ed Mark ChangeLog
From-SVN: r172559
2011-04-16 08:01:12 +00:00
GCC Administrator 807bbeb83c Mark ChangeLog
From-SVN: r172558
2011-04-16 08:01:04 +00:00
GCC Administrator 21d78ec478 Mark ChangeLog
From-SVN: r172557
2011-04-16 08:00:58 +00:00
GCC Administrator 6b20180d5f Mark ChangeLog
From-SVN: r172556
2011-04-16 08:00:52 +00:00
GCC Administrator 5d235f914a Mark ChangeLog
From-SVN: r172555
2011-04-16 08:00:46 +00:00
GCC Administrator ca5c45791e Mark ChangeLog
From-SVN: r172554
2011-04-16 08:00:40 +00:00
GCC Administrator c76cc99d37 Mark ChangeLog
From-SVN: r172553
2011-04-16 08:00:30 +00:00
GCC Administrator 2e2734a225 Mark ChangeLog
From-SVN: r172552
2011-04-16 08:00:23 +00:00
GCC Administrator 1f54c09920 Mark ChangeLog
From-SVN: r172551
2011-04-16 08:00:17 +00:00
GCC Administrator 7047630727 Mark ChangeLog
From-SVN: r172550
2011-04-16 08:00:09 +00:00
GCC Administrator ab0c57a7e4 Mark ChangeLog
From-SVN: r172549
2011-04-16 08:00:02 +00:00
GCC Administrator 8abd53a4ad Mark ChangeLog
From-SVN: r172548
2011-04-16 07:59:53 +00:00
GCC Administrator 75f4b38e07 Mark ChangeLog
From-SVN: r172547
2011-04-16 07:59:48 +00:00
GCC Administrator b3a1303f0c Mark ChangeLog
From-SVN: r172546
2011-04-16 07:59:42 +00:00
GCC Administrator 5df50b7281 Mark ChangeLog
From-SVN: r172545
2011-04-16 07:59:37 +00:00
GCC Administrator 623f79cf02 Mark ChangeLog
From-SVN: r172544
2011-04-16 07:59:30 +00:00
GCC Administrator 9a4a2f78d9 Mark ChangeLog
From-SVN: r172543
2011-04-16 07:59:25 +00:00
GCC Administrator be46654be1 Mark ChangeLog
From-SVN: r172542
2011-04-16 07:59:18 +00:00
GCC Administrator 76b1806ec7 Mark ChangeLog
From-SVN: r172541
2011-04-16 07:59:13 +00:00
GCC Administrator cfb823317b Mark ChangeLog
From-SVN: r172540
2011-04-16 07:59:08 +00:00
GCC Administrator 5c4fc7e473 Mark ChangeLog
From-SVN: r172539
2011-04-16 07:59:04 +00:00
GCC Administrator 86f1a51f1f Daily bump.
From-SVN: r172527
2011-04-16 00:17:25 +00:00
GCC Administrator ec391ab20b Daily bump.
From-SVN: r172463
2011-04-15 00:17:43 +00:00
GCC Administrator 4b2d1134cc Daily bump.
From-SVN: r172405
2011-04-14 00:16:57 +00:00
Jakub Jelinek 47af05dfec backport: gcov-io.c: Use GCC Runtime Library Exception.
Backported from mainline
	2011-04-06  Joseph Myers  <joseph@codesourcery.com>

	* gcov-io.c: Use GCC Runtime Library Exception.

From-SVN: r172361
2011-04-13 08:56:12 +02:00
GCC Administrator f103894294 Daily bump.
From-SVN: r172350
2011-04-13 00:17:41 +00:00
GCC Administrator 41d5f4fa9b Daily bump.
From-SVN: r172289
2011-04-12 00:17:36 +00:00
GCC Administrator d88e685b4b Daily bump.
From-SVN: r172249
2011-04-11 00:17:38 +00:00
GCC Administrator 084edd52a7 Daily bump.
From-SVN: r172233
2011-04-10 00:17:18 +00:00
GCC Administrator c73d320e99 Daily bump.
From-SVN: r172221
2011-04-09 00:17:26 +00:00
GCC Administrator 36c5bfbc5a Daily bump.
From-SVN: r172152
2011-04-08 00:17:34 +00:00
Jakub Jelinek ea5af51984 re PR fortran/48117 (ICE: OpenMP; in build_int_cst_wide, at tree.c:1178)
PR fortran/48117
	* gfortran.dg/gomp/pr48117.f90: New test.

From-SVN: r172134
2011-04-07 23:28:52 +02:00
Jakub Jelinek 2c9349b0e7 backport: re PR debug/48466 (Wrong variable locations at -O0 on i686)
Backported from mainline
	2011-04-06  Jakub Jelinek  <jakub@redhat.com>

	PR debug/48466
	* dwarf2out.c (based_loc_descr): If drap_reg is INVALID_REGNUM, use
	as base_reg whatever register reg has been eliminated to, instead
	of hardcoding STACK_POINTER_REGNUM.

From-SVN: r172133
2011-04-07 23:27:59 +02:00
Jakub Jelinek c404d187c8 backport: re PR rtl-optimization/48141 (DSE compile time hog)
Backported from mainline
	2011-03-17  Jakub Jelinek  <jakub@redhat.com>

	PR rtl-optimization/48141
	* dse.c (record_store): If no positions are needed in an insn
	that cannot be deleted, at least unchain it from active_local_stores.

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

From-SVN: r172132
2011-04-07 23:27:02 +02:00
Jakub Jelinek 438d2301ba re PR tree-optimization/46491 (ipa-pure-const.c miscompilation)
PR tree-optimization/46491
	Backported from mainline
	2010-05-14  Jan Hubicka  <jh@suse.cz>
	* ipa-pure-const.c (check_stmt): Do not use memory_identifier_string.

2011-04-07  Jakub Jelinek  <jakub@redhat.com>

	Backported from mainline
	2010-11-15  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/46491
	* gcc.target/i386/pr46491.c: New test.

From-SVN: r172129
2011-04-07 23:25:47 +02:00
GCC Administrator 243fa5e896 Daily bump.
From-SVN: r172069
2011-04-07 00:17:31 +00:00
GCC Administrator e270aed56c Daily bump.
From-SVN: r172012
2011-04-06 00:17:47 +00:00
GCC Administrator fe81e11d17 Daily bump.
From-SVN: r171963
2011-04-05 00:17:29 +00:00
GCC Administrator 1fd8478b61 Daily bump.
From-SVN: r171919
2011-04-04 00:17:00 +00:00
GCC Administrator 4881d1eaca Daily bump.
From-SVN: r171896
2011-04-03 00:17:06 +00:00
GCC Administrator f526eeb876 Daily bump.
From-SVN: r171864
2011-04-02 00:17:11 +00:00
GCC Administrator 089572a8a3 Daily bump.
From-SVN: r171810
2011-04-01 00:17:30 +00:00
GCC Administrator f6aaddb390 Daily bump.
From-SVN: r171763
2011-03-31 00:17:40 +00:00
H.J. Lu 54b878ce8b Fix a typo in FLOAT_SSE_REGS.
2011-03-30  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline
	2011-03-30  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/48349
	* config/i386/i386.h (REG_CLASS_CONTENTS): Fix a typo in
	FLOAT_SSE_REGS.

From-SVN: r171721
2011-03-30 03:48:31 -07:00
GCC Administrator c95dcbaa1e Daily bump.
From-SVN: r171709
2011-03-30 00:18:05 +00:00
GCC Administrator c3e471331b Daily bump.
From-SVN: r171645
2011-03-29 00:17:03 +00:00
GCC Administrator 247455b0ae Daily bump.
From-SVN: r171585
2011-03-28 00:17:43 +00:00
GCC Administrator 1fca7acd05 Daily bump.
From-SVN: r171564
2011-03-27 00:17:02 +00:00
GCC Administrator 08efee365c Daily bump.
From-SVN: r171534
2011-03-26 00:17:34 +00:00
GCC Administrator 9fd8468467 Daily bump.
From-SVN: r171431
2011-03-25 00:17:20 +00:00
GCC Administrator 3363af26fb Daily bump.
From-SVN: r171373
2011-03-24 00:17:05 +00:00
Jonathan Wakely 7055ee2cbf re PR middle-end/48254 (documentation minor)
2011-03-23  Jonathan Wakely  <jwakely.gcc@gmail.com>

	PR other/48254
	* doc/invoke.texi (-fipa-struct-reorg): Fix typo.

From-SVN: r171366
2011-03-23 22:02:12 +00:00
Jonathan Wakely e1c68a4fd6 re PR other/48179 (Reference mismatch in documentation chapter 6)
2011-03-23  Jonathan Wakely  <jwakely.gcc@gmail.com>

	PR other/48179
	PR other/48234
	* doc/extend.texi (Alignment): Move section to match order in TOC.
	* doc/invoke.texi (i386 and x86-64 Windows Options): Likewise.

From-SVN: r171365
2011-03-23 21:45:18 +00:00
GCC Administrator 68433ebebc Daily bump.
From-SVN: r171334
2011-03-23 00:17:48 +00:00
GCC Administrator b088f87a40 Daily bump.
From-SVN: r171275
2011-03-22 00:17:21 +00:00
GCC Administrator 7ec5d1a805 Daily bump.
From-SVN: r171199
2011-03-21 00:17:24 +00:00
GCC Administrator eef7027118 Daily bump.
From-SVN: r171187
2011-03-20 00:17:06 +00:00
GCC Administrator f022ea87a3 Daily bump.
From-SVN: r171174
2011-03-19 00:17:12 +00:00
GCC Administrator 3b43399695 Daily bump.
From-SVN: r171120
2011-03-18 00:17:43 +00:00
GCC Administrator c18c374721 Daily bump.
From-SVN: r171079
2011-03-17 00:17:18 +00:00
GCC Administrator 2e2d2d17b4 Daily bump.
From-SVN: r171023
2011-03-16 00:17:13 +00:00
GCC Administrator b75c92d0fc Daily bump.
From-SVN: r170971
2011-03-15 00:17:51 +00:00
GCC Administrator d7bba19c1a Daily bump.
From-SVN: r170926
2011-03-14 00:17:08 +00:00
GCC Administrator 606f15ceb4 Daily bump.
From-SVN: r170916
2011-03-13 00:17:28 +00:00
GCC Administrator 95073adf15 Daily bump.
From-SVN: r170892
2011-03-12 00:17:55 +00:00
GCC Administrator 2c9948648d Daily bump.
From-SVN: r170858
2011-03-11 00:17:31 +00:00
GCC Administrator ff576d6f4e Daily bump.
From-SVN: r170839
2011-03-10 00:17:43 +00:00
Jason Merrill 186dd96cfa re PR c++/44629 (ICE in unify, at cp/pt.c:15155)
PR c++/44629
	* pt.c (unify): An unresolved overload is a nondeduced context.

From-SVN: r170825
2011-03-09 12:57:48 -05:00
Jason Merrill 1c37c75b3f re PR c++/45651 (ICE in import_export_decl, at cp/decl2.c:2344)
PR c++/45651
	* pt.c (instantiate_decl): Don't clear DECL_INTERFACE_KNOWN on
	!TREE_PUBLIC decls.

From-SVN: r170805
2011-03-08 20:28:13 -05:00
GCC Administrator 8ca44716ad Daily bump.
From-SVN: r170799
2011-03-09 00:17:35 +00:00
Jason Merrill 37b663a4b7 re PR c++/47289 ([C++0x] ICE in tsubst_pack_expansion (triggered by decltype))
PR c++/47289
	* pt.c (coerce_template_parms): Fix error recovery.

From-SVN: r170797
2011-03-08 17:40:50 -05:00
Dodji Seketeli 5045ce4f3f re PR c++/47957 (Type mismatch when a class derived a same name with template parameter)
PR c++/47957

gcc/cp/

	* name-lookup.c (binding_to_template_parms_of_scope_p): Only
	consider scopes of primary template definitions.  Adjust comments.

gcc/testsuite/

	* g++.dg/lookup/template3.C: New test.

From-SVN: r170793
2011-03-08 23:20:11 +01:00
Jason Merrill 2d05576a4c re PR c++/47488 (sorry, unimplemented: string literal in function template signature)
PR c++/47488
	* mangle.c (write_template_arg_literal) [STRING_CST]: Sorry.

From-SVN: r170785
2011-03-08 12:39:10 -05:00
GCC Administrator 6093fb9cee Daily bump.
From-SVN: r170765
2011-03-08 00:17:41 +00:00
Jerry DeLisle 61d2cc4e74 backport: re PR fortran/47878 (187.facerec miscompares)
2011-03-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	Backport from mainline
	PR libgfortran/47878
	* gfortran.dg/pr47878.f90: New test.

From-SVN: r170733
2011-03-07 03:14:00 +00:00
Jerry DeLisle 797401851e backport: re PR fortran/47878 (187.facerec miscompares)
2011-03-06  Jakub Jelinek  <jakub@redhat.com>

	Backport from mainline
	PR fortran/47878
	* io/transfer.c (read_sf): Call fbuf_getptr only at the end,
	and subtract n, dtp->u.p.sf_seen_eor and seen_comma from it.

2011-03-06  Janne Blomqvist  <jb@gcc.gnu.org>
	    Jerry DeLisle    <jvdelisle@gcc.gnu.org>

	Backport from mainline
	PR libfortran/47694
	* io/io.h (fbuf_getptr): New inline function.
	* io/transfer.c (read_sf): Use fbuf_getptr and fbuf_getc to scan
	through the string instead of fbuf_read.

From-SVN: r170732
2011-03-07 03:08:08 +00:00
GCC Administrator c04857e020 Daily bump.
From-SVN: r170723
2011-03-07 00:17:54 +00:00
GCC Administrator d8e4704a6d Daily bump.
From-SVN: r170708
2011-03-06 00:17:29 +00:00
GCC Administrator dfdd45c583 Daily bump.
From-SVN: r170694
2011-03-05 00:17:35 +00:00
GCC Administrator 9ad8abb5fb Daily bump.
From-SVN: r170667
2011-03-04 00:17:25 +00:00
Uros Bizjak 4476a18b88 sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX.
* config/i386/sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX.
	(ssse3_pmaddubsw128): Ditto.
	(ssse3_pmaddubsw): Ditto.

From-SVN: r170665
2011-03-03 23:24:52 +01:00
GCC Administrator eee42bb2ff Daily bump.
From-SVN: r170629
2011-03-03 00:17:29 +00:00
GCC Administrator 2bbde7f798 Daily bump.
From-SVN: r170603
2011-03-02 00:16:55 +00:00
GCC Administrator 0948326668 Daily bump.
From-SVN: r170581
2011-03-01 00:17:31 +00:00
GCC Administrator d207d70f99 Daily bump.
From-SVN: r170552
2011-02-28 00:17:09 +00:00
H.J. Lu fa5034ff0d Remove duplicated code.
2011-02-27  H.J. Lu  <hongjiu.lu@intel.com>

	* testsuite/libgomp.fortran/task3.f90: Remove duplicated code.

From-SVN: r170545
2011-02-27 10:10:35 -08:00
Tobias Burnus c5a26c3210 backport: [multiple changes]
2011-01-27  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2011-02-26  Tobias Burnus  <burnus@net-b.de>

        PR fortran/47886
        * openmp.c (gfc_resolve_omp_directive): Resolve if()
        condition of OpenMP's task.

2011-01-27  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2011-02-27  Jakub Jelinek  <jakub@redhat.com>

        PR fortran/47886
        * testsuite/libgomp.fortran/task3.f90: New test.

From-SVN: r170542
2011-02-27 15:36:53 +01:00
GCC Administrator df2b2bbb5d Daily bump.
From-SVN: r170524
2011-02-27 00:17:45 +00:00
GCC Administrator 55b607f76e Daily bump.
From-SVN: r170510
2011-02-26 00:17:32 +00:00
GCC Administrator bdff83122e Daily bump.
From-SVN: r170483
2011-02-25 00:19:56 +00:00
GCC Administrator ae28fbf97c Daily bump.
From-SVN: r170447
2011-02-24 00:17:21 +00:00
GCC Administrator e3d7bed38d Daily bump.
From-SVN: r170419
2011-02-23 00:17:30 +00:00
Tobias Burnus 7f72d569c3 re PR libfortran/47830 (errors in intrinsics/c99_functions.c)
2011-02-22  Tobias Burnus  <burnus@net-b.de>
            Kai-Uwe Eckhardt  <kuehro@gmx.de>

        PR libfortran/47830
        * intrinsics/c99_functions.c (roundl): Make C valid for
        HAVE_NEXTAFTERL.


Co-Authored-By: Kai-Uwe Eckhardt <kuehro@gmx.de>

From-SVN: r170398
2011-02-22 13:43:38 +01:00
GCC Administrator 25b272bb14 Daily bump.
From-SVN: r170379
2011-02-22 00:17:50 +00:00
Uros Bizjak 1bc85062a0 re PR target/47840 (incorrect _mm256_insert_epi{32,64} implementations)
PR target/47840
	* config/i386/avxintrin.h (_mm256_insert_epi32): Use _mm_insert_epi32.
	(_mm256_insert_epi64): Use _mm_insert_epi64.

From-SVN: r170373
2011-02-21 21:04:57 +01:00
GCC Administrator 38f5b6ee8f Daily bump.
From-SVN: r170351
2011-02-21 00:17:53 +00:00
GCC Administrator c09dc56596 Daily bump.
From-SVN: r170332
2011-02-20 00:17:47 +00:00
Alexandre Oliva f3f7e335f0 re PR tree-optimization/46620 (32-bit structures containing bitfields are not copied correctly on -O2 , x86 backend)
PR tree-optimization/46620
* tree-sra.c (try_instantiate_multiple_fields): Don't get stuck at
padding within accessed words.

From-SVN: r170328
2011-02-19 21:15:01 +00:00
Alexandre Oliva aaea2f902a re PR tree-optimization/46620 (32-bit structures containing bitfields are not copied correctly on -O2 , x86 backend)
PR tree-optimization/46620
* gcc.dg/pr46620.c: New.

From-SVN: r170327
2011-02-19 21:14:49 +00:00
Tobias Burnus 2fa85cc4fe 2011-02-19 Tobias Burnus
PR fortran/47775
        * trans-expr.c (arrayfunc_assign_needs_temporary): Use
        esym to check whether the specific procedure returns an
        allocatable or pointer.

2011-02-19  Tobias Burnus

        PR fortran/47775
        * gfortran.dg/func_result_6.f90: New.

From-SVN: r170312
2011-02-19 12:27:52 +01:00
GCC Administrator 4f2f35f267 Daily bump.
From-SVN: r170294
2011-02-19 00:17:58 +00:00
John David Anglin ebfb71e634 config.gcc (hppa[12]*-*-hpux11*): Set extra_parts.
* config.gcc (hppa[12]*-*-hpux11*): Set extra_parts.
	* config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock,
	pthread_mutex_unlock, pthread_once): Reinstate pthread stubs.
	* config/pa/t-pa-hpux11: Add rules to build pthread stubs.
	* config/pa/t-pa64: Likewise.
	* config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Define.

From-SVN: r170290
2011-02-18 21:39:51 +00:00
GCC Administrator fe177ae2c3 Daily bump.
From-SVN: r170263
2011-02-18 00:17:59 +00:00
Uros Bizjak 84316f2547 re PR target/43653 (ICE at reload1.c:1188 with -O1 -ftree-vectorize and empty struct)
PR target/43653
	* config/i386/i386.c (ix86_secondary_reload): Handle SSE
	input reload with PLUS RTX.

testsuite/ChangeLog:

	PR target/43653
	* gcc.target/i386/pr43653.c: New test.

From-SVN: r170258
2011-02-17 23:10:37 +01:00
GCC Administrator 7618350871 Daily bump.
From-SVN: r170232
2011-02-17 00:17:45 +00:00
GCC Administrator d208b80245 Daily bump.
From-SVN: r170204
2011-02-16 00:17:39 +00:00
Rainer Orth 30e3537fdd re PR pch/14940 (PCH largefile test fails on various platforms)
PR pch/14940
	* config/alpha/host-osf.c: New file.
	* config/alpha/x-osf: New file.
	* config.host (alpha*-dec-osf*): Use it.

From-SVN: r170168
2011-02-15 09:58:01 +00:00
GCC Administrator aab47d37a3 Daily bump.
From-SVN: r170161
2011-02-15 00:18:24 +00:00
Tobias Burnus 18b98502ac re PR fortran/47569 (gfortran does not detect that the parameters for passing a partial string to a subroutine are incorrect)
2011-02-14  Tobias Burnus  <burnus@net-b.de>

        PR fortran/47569
        * interface.c (compare_parameter): Avoid ICE with
        character components.

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

        * gfortran.dg/argument_checking_13.f90: Update dg-error.
        * gfortran.dg/argument_checking_17.f90: New.

From-SVN: r170129
2011-02-14 15:05:52 +01:00
GCC Administrator 8cc0fa0f11 Daily bump.
From-SVN: r170118
2011-02-14 00:17:42 +00:00
GCC Administrator ad9e0b0cfc Daily bump.
From-SVN: r170094
2011-02-13 00:17:26 +00:00
GCC Administrator ec7f37e981 Daily bump.
From-SVN: r170064
2011-02-12 00:17:09 +00:00
John David Anglin ed87c64e7e backport: re PR boehm-gc/34544 (pthread_default_stacksize_np failed.)
Backport from mainline:
	2011-02-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	* config/pa/pa64-hpux.h (LIB_SPEC): In static links, link against
	shared libc if not linking against libpthread.
	* config/pa/pa-hpux11.h (LIB_SPEC): Likewise.

	2010-08-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

        PR boehm-gc/34544
	* gthr-posix.h (__gthread_active_init): Delete.
	(__gthread_active_p): Do activity check here.
	Don't include errno.h on hppa-hpux.  Update comment.
	* gthr-posix95.h (__gthread_active_init): Delete.
	(__gthread_active_p): Do activity check here.
	Don't include errno.h on hppa-hpux.  Update comment.

From-SVN: r170042
2011-02-11 03:00:53 +00:00
GCC Administrator 47378a52d1 Daily bump.
From-SVN: r170034
2011-02-11 00:17:30 +00:00
Rainer Orth 7ca6c614a9 re PR target/46610 (gcc.target/mips/save-restore-?.c ICEs on IRIX 6.5: unrecognizable insn)
PR target/46610
	* gcc.target/mips/save-restore-1.c: Skip on mips-sgi-irix6*.
	* gcc.target/mips/save-restore-3.c: Likewise.
	* gcc.target/mips/save-restore-4.c: Likewise.
	* gcc.target/mips/save-restore-5.c: Likewise.

From-SVN: r170014
2011-02-10 17:27:25 +00:00
GCC Administrator fe9d973607 Daily bump.
From-SVN: r169992
2011-02-10 00:17:45 +00:00
GCC Administrator f674446e28 Daily bump.
From-SVN: r169955
2011-02-09 00:17:22 +00:00
GCC Administrator 9d30824bae Daily bump.
From-SVN: r169910
2011-02-08 00:17:28 +00:00
Rainer Orth d2f64ff500 backport: target-supports.exp (check_avx_hw_available): New procedure.
Backport from mainline:
	2010-07-23  Uros Bizjak  <ubizjak@gmail.com>

	* lib/target-supports.exp (check_avx_hw_available): New procedure.
	(check_effective_target_avx_runtime): New procedure.

	* gcc.dg/compat/vector-1b_main.c: Use avx_runtime effective target.
	Remove cpuid.h include and __get_cpuid test.
	* gcc.dg/compat/vector-2b_main.c: Ditto.

	* gcc.target/i386/avx-check.h (main): Also check bit_OSXSAVE.

From-SVN: r169887
2011-02-07 16:33:00 +00:00
GCC Administrator 4daf27c02d Daily bump.
From-SVN: r169872
2011-02-07 00:18:02 +00:00
GCC Administrator daa37bb2ec Daily bump.
From-SVN: r169857
2011-02-06 00:17:03 +00:00
GCC Administrator 5036984542 Daily bump.
From-SVN: r169844
2011-02-05 00:17:55 +00:00
GCC Administrator 04c3528114 Daily bump.
From-SVN: r169817
2011-02-04 00:17:33 +00:00
Jonathan Wakely 9fec765f9c re PR c++/47589 (internal compiler error: Segmentation fault)
2011-02-03  Jonathan Wakely  <jwakely.gcc@gmail.com>

	PR c++/47589
	Backport from mainline
	2010-11-09  Jakub Jelinek  <jakub@redhat.com>

	PR c++/45894
	* tree.c (lvalue_kind): Don't crash if ref has NULL type.

From-SVN: r169813
2011-02-03 22:34:51 +00:00
GCC Administrator e453bce95f Daily bump.
From-SVN: r169773
2011-02-03 00:17:32 +00:00
GCC Administrator 4ecabcc683 Daily bump.
From-SVN: r169508
2011-02-02 00:17:44 +00:00
Nathan Froyd 0a28a0a2b1 backport: re PR target/44606 (Wrong SPE floating point during computation)
gcc/
	Backport from mainline:
	2010-12-30  Nathan Froyd  <froydnj@codesourcery.com>

        PR target/44606
        * reload1.c (choose_reload_regs): Don't look for equivalences for
        output reloads of constant loads.

gcc/testsuite/
	Backport from mainline:
	2010-12-30  Nathan Froyd  <froydnj@codesourcery.com>

        PR target/44606
        * gcc.dg/pr44606.c: New test.

From-SVN: r169465
2011-02-01 02:11:54 +00:00
GCC Administrator 384be9bcea Daily bump.
From-SVN: r169458
2011-02-01 00:17:14 +00:00
GCC Administrator 62a992e01a Daily bump.
From-SVN: r169423
2011-01-31 00:17:43 +00:00
GCC Administrator 67a03e1a56 Daily bump.
From-SVN: r169401
2011-01-30 00:17:16 +00:00
GCC Administrator 09d9e3b773 Daily bump.
From-SVN: r169382
2011-01-29 00:17:41 +00:00
GCC Administrator 85deaa063c Daily bump.
From-SVN: r169347
2011-01-28 00:17:29 +00:00
GCC Administrator fc101b5fd5 Daily bump.
From-SVN: r169315
2011-01-27 00:17:22 +00:00
GCC Administrator 74a05d9608 Daily bump.
From-SVN: r169263
2011-01-26 00:17:33 +00:00
GCC Administrator e7b2b009f8 Daily bump.
From-SVN: r169187
2011-01-25 00:17:45 +00:00
Rainer Orth f3ee6ca644 cray_pointers_2.f90: Avoid cycling through optimization options.
* gfortran.dg/cray_pointers_2.f90: Avoid cycling through
	optimization options.

From-SVN: r169159
2011-01-24 12:22:46 +00:00
GCC Administrator e659f3bced Daily bump.
From-SVN: r169148
2011-01-24 00:17:21 +00:00
GCC Administrator 7311d119e0 Daily bump.
From-SVN: r169139
2011-01-23 00:17:38 +00:00
GCC Administrator 31737a3e2a Daily bump.
From-SVN: r169116
2011-01-22 00:17:49 +00:00
Rainer Orth 7f5247c355 anon5.C: Skip on mips-sgi-irix*.
* g++.dg/other/anon5.C: Skip on mips-sgi-irix*.

	Backport from mainline:
	2010-11-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* g++.dg/other/anon5.C: Skip on alpha*-dec-osf*.

From-SVN: r169087
2011-01-21 13:10:42 +00:00
GCC Administrator c02a8c97a4 Daily bump.
From-SVN: r169074
2011-01-21 00:17:43 +00:00
GCC Administrator 87dc22127b Daily bump.
From-SVN: r169040
2011-01-20 00:17:32 +00:00
Graham Reed 40d4e48a09 re PR libstdc++/47354 (bitmap_allocator free_list::_M_get never locks mutex)
2011-01-19  Graham Reed  <greed@pobox.com>

	PR libstdc++/47354
	* src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.

From-SVN: r168986
2011-01-19 08:50:29 +00:00
GCC Administrator 8b6de5e8fa Daily bump.
From-SVN: r168976
2011-01-19 00:17:28 +00:00
GCC Administrator 0cd535a6d0 Daily bump.
From-SVN: r168939
2011-01-18 00:17:30 +00:00
Eric Botcazou 50704f3a3c backport: re PR rtl-optimization/46603 (gcc.dg/vect/slp-multitypes-2.c execution failure)
Backport from mainline
	2010-11-22  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc.dg/pr28796-2.c: SKIP on SPARC/Solaris 8.

	PR rtl-optimization/46603
	* gcc.dg/vect/slp-multitypes-2.c: XFAIL execution on SPARC 32-bit.

From-SVN: r168918
2011-01-17 17:49:25 +00:00
Rainer Orth e6968f3099 * g++.old-deja/g++.other/init19.C: Don't XFAIL on mips-sgi-irix*.
From-SVN: r168913
2011-01-17 17:12:53 +00:00
H.J. Lu 3ef2922603 Correct mask operand for AVX mask load/store.
gcc/

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

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

	PR target/47318
	* config/i386/avxintrin.h (_mm_maskload_pd): Change mask to
	__m128i.
	(_mm_maskstore_pd): Likewise.
	(_mm_maskload_ps): Likewise.
	(_mm_maskstore_ps): Likewise.
	(_mm256_maskload_pd): Change mask to __m256i.
	(_mm256_maskstore_pd): Likewise.
	(_mm256_maskload_ps): Likewise.
	(_mm256_maskstore_ps): Likewise.

	* config/i386/i386-builtin-types.def: Updated.
	(ix86_expand_special_args_builtin): Likewise.

	* config/i386/i386.c (ix86_special_builtin_type): Remove
	V8SF_FTYPE_PCV8SF_V8SF, V4DF_FTYPE_PCV4DF_V4DF,
	V4SF_FTYPE_PCV4SF_V4SF, V2DF_FTYPE_PCV2DF_V2DF,
	VOID_FTYPE_PV8SF_V8SF_V8SF, VOID_FTYPE_PV4DF_V4DF_V4DF,
	VOID_FTYPE_PV4SF_V4SF_V4SF and VOID_FTYPE_PV2DF_V2DF_V2DF.
	Add V8SF_FTYPE_PCV8SF_V8SI, V4DF_FTYPE_PCV4DF_V4DI,
	V4SF_FTYPE_PCV4SF_V4SI, V2DF_FTYPE_PCV2DF_V2DI,
	VOID_FTYPE_PV8SF_V8SI_V8SF, VOID_FTYPE_PV4DF_V4DI_V4DF,
	VOID_FTYPE_PV4SF_V4SI_V4SF and VOID_FTYPE_PV2DF_V2DI_V2DF.
	(bdesc_special_args): Update
	__builtin_ia32_maskloadpd, __builtin_ia32_maskloadps,
	__builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256,
	__builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps,
	__builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256.
	(ix86_init_mmx_sse_builtins): Updated.

	* config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
	Use <avxpermvecmode> on mask register.
	(avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise.

gcc/testsuite/

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

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

	PR target/47318
	* gcc.target/i386/avx-vmaskmovpd-1.c: New.
	* gcc.target/i386/avx-vmaskmovpd-2.c: Likewise.
	* gcc.target/i386/avx-vmaskmovps-1.c: Likewise.
	* gcc.target/i386/avx-vmaskmovps-1.c: Likewise.

	* gcc.target/i386/avx-vmaskmovpd-256-1.c (avx_test): Load mask
	as __m256i.
	* gcc.target/i386/avx-vmaskmovpd-256-2.c (avx_test): Likewise.
	* gcc.target/i386/avx-vmaskmovps-256-1.c (avx_test): Likewise.
	* gcc.target/i386/avx-vmaskmovps-256-2.c (avx_test): Likewise.

From-SVN: r168904
2011-01-17 05:54:43 -08:00
GCC Administrator b089a91fe6 Daily bump.
From-SVN: r168883
2011-01-17 00:17:37 +00:00
Jakub Jelinek d7d3660bb2 backport: re PR target/46880 (generating of shufpd is broken)
Backport from mainline
	2010-12-21  Jakub Jelinek  <jakub@redhat.com>

	PR target/46880
	* config/i386/sse.md (sse2_loadlpd, sse2_movsd): Fix shufpd source
	operand.

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

From-SVN: r168880
2011-01-16 23:57:42 +01:00
Jakub Jelinek 87e0ccb464 backport: re PR middle-end/45852 (volatile structs are broken!)
Backport from mainline
	2010-12-21  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/45852
	* expr.c (store_expr): Ignore alt_rtl if equal to target,
	but has side-effects.

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

From-SVN: r168879
2011-01-16 23:56:10 +01:00
Jakub Jelinek dedf9c9915 backport: re PR fortran/46874 ([OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147)
Backport from mainline
	2010-12-14  Jakub Jelinek  <jakub@redhat.com>

	PR fortran/46874
	* trans-openmp.c (gfc_trans_omp_array_reduction): Handle allocatable
	dummy variables.

	* libgomp.fortran/allocatable6.f90: New test.

From-SVN: r168878
2011-01-16 23:54:37 +01:00
Jakub Jelinek ad461982d7 backport: re PR rtl-optimization/46865 (Using -save-temps (or ccache, distcc) produces different results with multiline macros containing asm code)
Backport from mainline
	2010-12-10  Jakub Jelinek  <jakub@redhat.com>

	PR rtl-optimization/46865
	* rtl.c (rtx_equal_p_cb): For last operand of
	ASM_OPERANDS and ASM_INPUT if integers are different,
	call locator_eq.
	* jump.c (rtx_renumbered_equal_p): Likewise.

	* gcc.target/i386/pr46865-1.c: New test.
	* gcc.target/i386/pr46865-2.c: New test.

From-SVN: r168877
2011-01-16 23:53:09 +01:00
GCC Administrator 8284108bd8 Daily bump.
From-SVN: r168847
2011-01-16 00:17:34 +00:00
GCC Administrator 7ec3947564 Daily bump.
From-SVN: r168828
2011-01-15 00:17:33 +00:00
GCC Administrator b4c627f09f Daily bump.
From-SVN: r168768
2011-01-14 00:17:50 +00:00
Rainer Orth 4be61c2e7a * gfortran.dg/cray_pointers_2.f90: Use dg-timeout-factor 4.
From-SVN: r168761
2011-01-13 18:24:39 +00:00
GCC Administrator 0c6d5fbb78 Daily bump.
From-SVN: r168734
2011-01-13 00:17:46 +00:00
Eric Botcazou 762f8a80ef re PR testsuite/33033 (FAIL: gcc.dg/20061124-1.c: undefined reference to `__sync_add_and_fetch_2')
PR testsuite/33033
	* gcc.dg/20061124-1.c: Pass -mcpu=v9 on the SPARC.

From-SVN: r168703
2011-01-12 10:53:59 +00:00
GCC Administrator 392036477b Daily bump.
From-SVN: r168692
2011-01-12 00:17:23 +00:00
GCC Administrator 446450f25a Daily bump.
From-SVN: r168647
2011-01-11 00:17:27 +00:00
GCC Administrator 238d7d3f16 Daily bump.
From-SVN: r168621
2011-01-10 00:17:35 +00:00
GCC Administrator 53e02cc4cf Daily bump.
From-SVN: r168606
2011-01-09 00:17:12 +00:00
GCC Administrator 80c4d6b8de Daily bump.
From-SVN: r168590
2011-01-08 00:17:10 +00:00
Rainer Orth e8257a3fad backport: jni.exp (gcj_jni_get_cxxflags_invocation): Add -shared-libgcc to cxxflags for *-*-solaris*.
Backport from mainline:
	2011-01-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
	Add -shared-libgcc to cxxflags for *-*-solaris*.
	Remove -lsocket.

From-SVN: r168577
2011-01-07 15:34:26 +00:00
Rainer Orth 2ea234aecc backport: re PR target/43309 (amd64 TLS IE code sequence on Solaris 2/x86 violates spec)
Backport from mainline:
	2011-01-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR target/43309
	* config/i386/i386.c (legitimize_tls_address)
	<TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
	* config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
	(tls_initial_exec_64_sun): New pattern.

	2010-03-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* config/i386/i386.c (override_options): Don't accept
	-mtls-dialect=sun any longer.
	* config/i386/i386.h (TARGET_SUN_TLS): Define as 0.
	* config/i386/i386.md (*tls_global_dynamic_32_sun): Remove.
	(*tls_local_dynamic_base_32_sun): Likewise.
	* config/i386/sol2.h (TARGET_SUN_TLS): Redefine.

From-SVN: r168575
2011-01-07 15:27:47 +00:00
GCC Administrator 4b808cad0f Daily bump.
From-SVN: r168560
2011-01-07 00:17:19 +00:00
GCC Administrator de8fed3bc7 Daily bump.
From-SVN: r168531
2011-01-06 00:18:24 +00:00
GCC Administrator 328fd4adeb Daily bump.
From-SVN: r168497
2011-01-05 00:17:41 +00:00
Eric Botcazou d00dc3c26f re PR preprocessor/39213 (Preprocessor ICE with -m64 and --traditional-cpp)
PR preprocessor/39213
	* directives.c (end_directive): Call _cpp_remove_overlay for deferred
	pragmas as well in traditional mode.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r168492
2011-01-04 23:18:52 +00:00
GCC Administrator 776c50220f Daily bump.
From-SVN: r168449
2011-01-04 00:17:07 +00:00
GCC Administrator e19d996341 Daily bump.
From-SVN: r168412
2011-01-03 00:17:10 +00:00
GCC Administrator 84920a2486 Daily bump.
From-SVN: r168393
2011-01-02 00:17:37 +00:00
GCC Administrator f785cce59c Daily bump.
From-SVN: r168385
2011-01-01 00:16:59 +00:00
GCC Administrator 83b5bfdf42 Daily bump.
From-SVN: r168360
2010-12-31 00:17:12 +00:00
John David Anglin 70c3e3b781 pa.md: Add ",*" condition to 64-bit add/subtract boolean patterns.
* config/pa/pa.md: Add ",*" condition to 64-bit add/subtract boolean
	patterns.

From-SVN: r168354
2010-12-30 21:59:44 +00:00
GCC Administrator b38214f582 Daily bump.
From-SVN: r168329
2010-12-30 00:17:31 +00:00
GCC Administrator 7994f83ce6 Daily bump.
From-SVN: r168304
2010-12-29 00:17:35 +00:00
GCC Administrator e17462f7b4 Daily bump.
From-SVN: r168282
2010-12-28 00:18:06 +00:00
Yao Qi 0258b55957 backport: re PR debug/45447 (ICE with `-g -femit-struct-debug-baseonly')
Backport from mainline:
gcc/
        PR target/45447
        * config/arm/arm.c (arm_build_builtin_va_list): Assign
        va_list_name to TYPE_STUB_DECL (va_list_type).

gcc/testsuite/
        PR target/45447
        * gcc.target/arm/pr45447.c: New test.

From-SVN: r168269
2010-12-27 12:32:44 +00:00
GCC Administrator f9b698365f Daily bump.
From-SVN: r168259
2010-12-27 00:17:18 +00:00
GCC Administrator b328b65494 Daily bump.
From-SVN: r168246
2010-12-26 00:17:01 +00:00
GCC Administrator e2ea499676 Daily bump.
From-SVN: r168234
2010-12-25 00:17:53 +00:00
GCC Administrator a544143520 Daily bump.
From-SVN: r168218
2010-12-24 00:18:32 +00:00
GCC Administrator 8227c5dece Daily bump.
From-SVN: r168190
2010-12-23 00:18:36 +00:00
John David Anglin c35e667dcd backport: re PR target/46915 (Wrong code is generated for conditional branch followed by zero length asm)
Backport from mainline:
	2010-12-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	PR target/46915
	* config/pa/pa.c (branch_to_delay_slot_p): Use next_active_insn instead
	of next_real_insn.  Search forward checking for both ASM_INPUT and
	ASM_OPERANDS asms until exit condition is found.
	(branch_needs_nop_p): Likewise.
	(use_skip_p): New function.
	(output_cbranch): Use use_skip_p.
	(output_bb, output_bvb): Likewise.

	2009-06-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	PR target/40468
	* pa.c (branch_to_delay_slot_p, branch_needs_nop_p): New functions.
	(output_cbranch): Use new functions.
	(output_bb, output_bvb, output_dbra, output_movb): Likewise.

From-SVN: r168177
2010-12-22 18:46:57 +00:00
GCC Administrator e87725f6a7 Daily bump.
From-SVN: r168152
2010-12-22 00:19:47 +00:00
GCC Administrator 40b5506767 Daily bump.
From-SVN: r168099
2010-12-21 00:17:16 +00:00
GCC Administrator c231b67ac0 Daily bump.
From-SVN: r168077
2010-12-20 00:17:35 +00:00
GCC Administrator 9ad339b878 Daily bump.
From-SVN: r168036
2010-12-19 00:17:14 +00:00
GCC Administrator ff71e535a0 Daily bump.
From-SVN: r168007
2010-12-18 00:17:31 +00:00
GCC Administrator 81dbaae72a Daily bump.
From-SVN: r167966
2010-12-17 00:17:41 +00:00
GCC Administrator 41057869b8 Daily bump.
From-SVN: r167888
2010-12-16 00:16:49 +00:00
GCC Administrator 15799c04b8 Daily bump.
From-SVN: r167831
2010-12-15 00:17:37 +00:00
GCC Administrator 85400a4241 Daily bump.
From-SVN: r167776
2010-12-14 00:16:57 +00:00
Rainer Orth 7f125b1b8a backport: osf.h (MD_UNWIND_SUPPORT): Define.
Backport from mainline:
	2010-09-15  Olivier Hainque  <hainque@adacore.com>
        	    Jose Ruiz  <ruiz@adacore.com>

	* config/alpha/osf.h (MD_UNWIND_SUPPORT): Define.
	* config/alpha/osf-unwind.h: New file.

	2009-08-09  Olivier Hainque  <hainque@adacore.com>
		    Douglas B Rupp  <rupp@gnat.com>

	* config/alpha/alpha.h (DWARF_FRAME_REGNUM): Define.

From-SVN: r167766
2010-12-13 19:16:57 +00:00
Rainer Orth fd50302e2c backport: _Pragma1.C: Skip on alpha*-dec-osf*.
Backport from mainline:
	2010-04-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* g++.dg/cpp/_Pragma1.C: Skip on alpha*-dec-osf*.
	* g++.dg/eh/spbp.C: Likewise.
	* g++.dg/other/pragma-ep-1.C: Properly define p, remove
	superfluous casts.
	* objc.dg/dwarf-1.m: Skip on  alpha*-dec-osf*.
	* objc.dg/dwarf-2.m: Likewise.

From-SVN: r167765
2010-12-13 18:39:29 +00:00
Rainer Orth 028fa0738b backport: jvmti.exp (gcj_jvmti_compile_cxx_to_o): Add -pthread on alpha*-dec-osf*.
Backport from mainline:
	2010-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_compile_cxx_to_o):
	Add -pthread on alpha*-dec-osf*.
	* testsuite/libjava.jvmti/jvmti-interp.exp
	(gcj_jni_compile_c_to_so): Likewise.

From-SVN: r167763
2010-12-13 18:34:05 +00:00
Rainer Orth 8a2389cd53 backport: re PR target/22224 (Several Tru64 UNIX testsuite failures: Length of .lcomm was less than 1)
Backport from mainline:
	2010-04-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR target/22224
	* config/alpha/osf.h (ASM_OUTPUT_LOCAL): Redefine.

From-SVN: r167762
2010-12-13 18:30:20 +00:00
Rainer Orth 3dca470502 gcc:
Backport from mainline:
	2010-11-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* config/mips/iris.h [!IRIX_USING_GNU_LD]
	(SUPPORTS_INIT_PRIORITY): Define.

	gcc/testsuite:
	Backport from mainline:
	2010-11-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* lib/prune.exp (prune_gcc_output): Ignore IRIX 6 linker multiline
	warning.
	* g++.dg/cpp/_Pragma1.C: Skip on mips-sgi-irix*.

From-SVN: r167761
2010-12-13 18:26:35 +00:00
Rainer Orth 6fd995bf5c backport: inclhack.def (irix_pthread_init): New fix.
Backport from mainline:
	2010-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* inclhack.def (irix_pthread_init): New fix.
	* fixincl.x: Regenerate.
	* tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: New test.

From-SVN: r167760
2010-12-13 18:22:09 +00:00
Rainer Orth 88aefd2a52 backport: configure.ac (*-*-irix6*): Disable set_have_as_tls.
Backport from mainline:
	2010-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* configure.ac (*-*-irix6*): Disable set_have_as_tls.
	(*-*-osf*): Likewise.
	* configure: Regenerate.

From-SVN: r167759
2010-12-13 18:19:43 +00:00
GCC Administrator e03bf4b833 Daily bump.
From-SVN: r167734
2010-12-13 00:17:32 +00:00
GCC Administrator 208fdb1f93 Daily bump.
From-SVN: r167719
2010-12-12 00:18:05 +00:00
GCC Administrator d8c4f198fa Daily bump.
From-SVN: r167705
2010-12-11 00:17:59 +00:00
Rainer Orth 4d9ae435bf backport: configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS.
Backport from mainline:
	2010-12-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS.

From-SVN: r167694
2010-12-10 16:28:44 +00:00
Rainer Orth e20fb3cf3d libstdc++.exp (v3-build_support): Delete libtestc++.a before creation.
* testsuite/lib/libstdc++.exp (v3-build_support): Delete
	libtestc++.a before creation.

From-SVN: r167693
2010-12-10 16:25:51 +00:00
GCC Administrator a103dc54a7 Daily bump.
From-SVN: r167672
2010-12-10 00:17:31 +00:00
Daniel Kraft cd441c9e1b re PR fortran/46794 (ICE on valid code involving power of small integer kinds)
2010-12-09  Daniel Kraft  <d@domob.eu>

	PR fortran/46794
	* trans-expr.c (gfc_conv_power_op): Handle kind of result expression
	correctly for integer kind 1 and 2 operands.

2010-12-09  Daniel Kraft  <d@domob.eu>

	PR fortran/46794
	* gfortran.dg/power2.f90: New test.

From-SVN: r167644
2010-12-09 16:55:13 +01:00
Paul Thomas 4f0c5578bf re PR fortran/45081 (ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208)
2010-12-09  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/45081
        * simplify.c (is_constant_array_expr): Allow structure array
        elements as well as constants.
        (gfc_simplify_reshape): Copy the derived type of source to
        the result.

2010-12-09  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/45081
        * gfortran.dg/derived_array_intrinsics_1.f90 : New test.

From-SVN: r167627
2010-12-09 09:09:52 +01:00
GCC Administrator a618e6b3ac Daily bump.
From-SVN: r167619
2010-12-09 00:18:33 +00:00
GCC Administrator 2a6117688b Daily bump.
From-SVN: r167577
2010-12-08 00:18:34 +00:00
Jakub Jelinek 059673f857 backport: re PR fortran/46753 (ICE: OpenMP - in extract_omp_for_data, at omp-low.c:335)
Backport from mainline
	2010-12-02  Jakub Jelinek  <jakub@redhat.com>

	PR fortran/46753
	* trans-openmp.c (gfc_trans_omp_do): Use build2_loc instead of
	fold_build2_loc for OMP_FOR conditions.

	* libgomp.fortran/pr46753.f90: New test.

From-SVN: r167561
2010-12-07 20:01:36 +01:00
Jakub Jelinek 1206840905 backport: re PR libgomp/45240 (parallel.c: GOMP_parallel_end locks a mutex but fails to unlock it after atomic operation complete)
Backport from mainline
	2010-12-02  Jakub Jelinek  <jakub@redhat.com>

	PR libgomp/45240
	* parallel.c (GOMP_parallel_end): Unlock gomp_remaining_threads_lock
	at the end if sync builtins aren't supported.

From-SVN: r167560
2010-12-07 19:59:03 +01:00
Jakub Jelinek bf101c01c7 backport: re PR c++/46538 (ICE: SIGSEGV in cp_make_fname_decl (decl.c:3690) on invalid code when using __PRETTY_FUNCTION__)
Backport from mainline
	2010-11-20  Jakub Jelinek  <jakub@redhat.com>
 
	PR c++/46538
	* decl.c (cp_make_fname_decl): Return error_mark_node if
	current_binding_level has already sk_function_parms kind.

	* g++.dg/other/error34.C: New test.

From-SVN: r167559
2010-12-07 19:58:18 +01:00
Jakub Jelinek adcb78e009 re PR middle-end/46534 (ICE optimizing printf ("...>10MBstring\n") into puts)
PR middle-end/46534
	* builtins.c (expand_builtin_printf): Don't copy and modify string
	before build_string_literal, instead modify what
	build_string_literal returned.

	Backport from mainline
	2010-11-18  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/46534
	* builtins.c (fold_builtin_printf): Don't copy and modify string
	before build_string_literal, instead modify what
	build_string_literal returned.

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

From-SVN: r167558
2010-12-07 19:56:56 +01:00
GCC Administrator d2383d62b3 Daily bump.
From-SVN: r167523
2010-12-07 00:17:39 +00:00
Rainer Orth e34625fbdf configure.ac (libffi_cv_as_ascii_pseudo_op): Use double backslashes.
* configure.ac (libffi_cv_as_ascii_pseudo_op): Use double
	backslashes.
	(libffi_cv_as_string_pseudo_op): Likewise.
	* configure: Regenerate.

From-SVN: r167504
2010-12-06 16:20:18 +00:00
Rainer Orth 00420c92cc run_acats (which): Assign output to temporary variable, only use if successful.
* ada/acats/run_acats (which): Assign output to temporary
	variable, only use if successful.
	Use last field of type output.

From-SVN: r167501
2010-12-06 16:12:37 +00:00
GCC Administrator 78a81cf56b Daily bump.
From-SVN: r167476
2010-12-06 00:17:23 +00:00
Richard Guenther c752146f9e re PR tree-optimization/46663 (ICE: SIGSEGV in vect_recog_pow_pattern (gimple.h:2055) with -O -fexceptions -ftree-vectorize)
PR tree-optimization/46663
	* tree-vect-patterns.c (vect_recog_pow_pattern): Check that
	FUNCTION_DECL exists and that it's a builtin.


Co-Authored-By: Ira Rosen <irar@il.ibm.com>

From-SVN: r167472
2010-12-05 11:31:09 +00:00
GCC Administrator 7bc9f31dbf Daily bump.
From-SVN: r167462
2010-12-05 00:17:25 +00:00
GCC Administrator c7f679f4bb Daily bump.
From-SVN: r167448
2010-12-04 00:17:54 +00:00
Rainer Orth 7a0e5cc4ee backport: vla8.f90: Use dg-timeout-factor 2.0.
Backport from mainline:
	2010-12-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* testsuite/libgomp.fortran/vla8.f90: Use dg-timeout-factor 2.0.

From-SVN: r167411
2010-12-03 09:56:01 +00:00
GCC Administrator fa7dea0336 Daily bump.
From-SVN: r167403
2010-12-03 00:17:35 +00:00
GCC Administrator b3d01cf0fa Daily bump.
From-SVN: r167361
2010-12-02 00:19:01 +00:00
GCC Administrator bfb80b1813 Daily bump.
From-SVN: r167320
2010-12-01 00:17:20 +00:00
GCC Administrator 6b6c91a1fe Daily bump.
From-SVN: r167280
2010-11-30 00:19:06 +00:00
Eric Botcazou 6e1b96a3df re PR rtl-optimization/46337 (dse.c:replace_inc_dec mis-use of gen_int_mode)
PR rtl-optimization/46337
	Backport from mainline
	2009-04-20  Ian Lance Taylor  <iant@google.com>

	* dse.c (replace_inc_dec): Reverse parameters to gen_int_mode.

From-SVN: r167235
2010-11-29 08:57:53 +00:00
GCC Administrator 11fe478fd3 Daily bump.
From-SVN: r167227
2010-11-29 00:19:05 +00:00
Eric Botcazou ecc26de14e aliasing2.adb (dg-final): Robustify pattern matching.
* gnat.dg/aliasing2.adb (dg-final): Robustify pattern matching.
	* gnat.dg/pack9.adb (dg-final): Likewise.

From-SVN: r167224
2010-11-28 17:34:50 +00:00
GCC Administrator b055a94913 Daily bump.
From-SVN: r167214
2010-11-28 00:18:18 +00:00
Tobias Burnus 4eb7eae23c re PR fortran/46638 (Wrong result with TRANSFER from string to DT)
2010-11-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/46638
        PR fortran/46668
        * gfortran.dg/transfer_simplify_10.f90: Fix endian issue.

From-SVN: r167211
2010-11-27 22:27:49 +01:00
GCC Administrator 45601c744c Daily bump.
From-SVN: r167192
2010-11-27 00:18:59 +00:00
GCC Administrator 3065ccdd7e Daily bump.
From-SVN: r167156
2010-11-26 00:18:08 +00:00
Tobias Burnus a361b0d2ad re PR fortran/46638 (Wrong result with TRANSFER from string to DT)
2010-11-25  Tobias Burnus  <burnus@net-b.de>

        PR fortran/46638
        * target-memory.c (gfc_interpret_derived): Correctly handle
        component offset.

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

        PR fortran/46638
        * gfortran.dg/transfer_simplify_10.f90: New.

From-SVN: r167138
2010-11-25 09:04:46 +01:00
GCC Administrator 6e5f97c85e Daily bump.
From-SVN: r167133
2010-11-25 00:17:21 +00:00
GCC Administrator b9fba4b483 Daily bump.
From-SVN: r167101
2010-11-24 00:19:32 +00:00
GCC Administrator fcff00005c Daily bump.
From-SVN: r167066
2010-11-23 00:17:06 +00:00
GCC Administrator 4de928502f Daily bump.
From-SVN: r167016
2010-11-22 00:18:30 +00:00
GCC Administrator 6a25d51bd5 Daily bump.
From-SVN: r166989
2010-11-21 00:18:19 +00:00
GCC Administrator 159ae97b6e Daily bump.
From-SVN: r166970
2010-11-20 00:18:06 +00:00
GCC Administrator 1bfa445b58 Daily bump.
From-SVN: r166924
2010-11-19 00:19:41 +00:00
GCC Administrator b99b5a655c Daily bump.
From-SVN: r166892
2010-11-18 00:17:26 +00:00
GCC Administrator 0c2a30f722 Daily bump.
From-SVN: r166842
2010-11-17 00:17:43 +00:00
GCC Administrator 2e265fd55e Daily bump.
From-SVN: r166784
2010-11-16 00:17:39 +00:00
GCC Administrator c2147073a4 Daily bump.
From-SVN: r166740
2010-11-15 00:17:22 +00:00
GCC Administrator 306bc82250 Daily bump.
From-SVN: r166726
2010-11-14 00:17:26 +00:00
Tobias Burnus eeb1856993 re PR fortran/45742 (VOLATILE has no effect)
2010-11-13  Tobias Burnus  <burnus@net-b.de>

        PR fortran/45742
        * trans-common.c (build_field): Add TREE_SIDE_EFFECTS for
        * volatile.
        * trans-decl.c (gfc_finish_var_decl): Ditto.
        (create_function_arglist): Handle volatile dummy arguments.

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

        PR fortran/45742
        * gfortran.dg/volatile12.f90: New.

From-SVN: r166715
2010-11-13 18:25:28 +01:00
GCC Administrator 9d655f0a9a Daily bump.
From-SVN: r166692
2010-11-13 00:17:22 +00:00
Jakub Jelinek ed56217b79 backport: re PR middle-end/43690 (Internal compiler error detected by avr-gcc.)
Backport from mainline
	2010-11-05  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/43690
	* gimplify.c (gimplify_asm_expr): If a "m" input is a
	{pre,post}{in,de}crement, fail.

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

From-SVN: r166650
2010-11-12 12:30:27 +01:00
Jakub Jelinek bc1345169a backport: re PR tree-optimization/46107 (-ftree-loop-distribute-patterns caused verify_loop_structure problem)
Backport from mainline
	2010-11-03  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/46107
	* cfgloopmanip.c (loop_version): Set irred_flag back into entry->flags
	if cfg_hook_duplicate_loop_to_header_edge failed.

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

From-SVN: r166649
2010-11-12 12:28:32 +01:00
GCC Administrator 56b671d28c Daily bump.
From-SVN: r166639
2010-11-12 00:17:29 +00:00
Jerry DeLisle 578dce4bf3 re PR libfortran/46373 (fflush called when reading from a string)
2010-11-10  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/46373
	Backport from mainline:
	* io/transfer.c (data_transfer_init): Do not call flush_if_preconnected
	if this is an internal unit.

From-SVN: r166589
2010-11-11 03:24:26 +00:00
GCC Administrator ed7350117d Daily bump.
From-SVN: r166580
2010-11-11 00:17:40 +00:00
Uros Bizjak 0ab6ed1421 re PR target/46419 (_mm_cvtpu16_ps (and hence _mm_cvtpu8_ps) returns false result)
PR middle-end/46419
	* config/i386/xmmintrin.h (_mm_cvtpi16_ps): Swap __hisi and __losi.
	(_mm_cvtpu16_ps): Ditto.

testsuite/ChangeLog:

	PR target/46419
	* gcc-target/i386/pr46419.c: New test.

From-SVN: r166572
2010-11-11 00:28:03 +01:00
GCC Administrator e161d15355 Daily bump.
From-SVN: r166512
2010-11-10 00:17:00 +00:00
GCC Administrator 5514c6e521 Daily bump.
From-SVN: r166463
2010-11-09 00:18:05 +00:00
Rainer Orth 6508f6634f backport: i386.exp (FLAGS): Remove.
Backport from mainline:
	2010-11-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gcc.target/i386/i386.exp (FLAGS): Remove.
	Wrap gcc_target_compile with $clearcap_ldflags added to options.

From-SVN: r166437
2010-11-08 15:58:23 +00:00
GCC Administrator 3e24593cc6 Daily bump.
From-SVN: r166424
2010-11-08 00:17:30 +00:00
GCC Administrator e740346f42 Daily bump.
From-SVN: r166410
2010-11-07 00:16:42 +00:00
GCC Administrator 06539c769f Daily bump.
From-SVN: r166388
2010-11-06 00:17:05 +00:00
GCC Administrator ce8534bbdd Daily bump.
From-SVN: r166341
2010-11-05 00:16:54 +00:00
Jerry DeLisle e9c462af10 backport: re PR fortran/46010 (I/O: Namelist-reading bug)
2010-11-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	Backport from mainline:
	PR libgfortran/46010
	* gfortran.dg/namelist_66.f90: New test.

From-SVN: r166295
2010-11-04 00:38:17 +00:00
Jerry DeLisle 74a16ffe4a re PR fortran/46010 (I/O: Namelist-reading bug)
2010-11-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/46010
	Backport from mainline:
	* io/list_read.c (nml_parse_qualifier): Add additional conditions for
	setting the end index for loop specification. Fix some whitespace.

From-SVN: r166294
2010-11-04 00:34:16 +00:00
GCC Administrator 6b36833ebd Daily bump.
From-SVN: r166290
2010-11-04 00:17:31 +00:00
Uros Bizjak 8197abecff Revert:
2010-10-30  Uros Bizjak  <ubizjak@gmail.com>

	PR middle-end/44569
	* lower-suberg.c (simplify_subreg_concatn): For VOIDmode elements,
	determine the mode of a subreg by GET_MODE_INNER of CONCATN RTX.

From-SVN: r166282
2010-11-03 23:44:04 +01:00
Alan Modra e977d24c8e rs6000.c (rs6000_pic_labelno): Make static.
* config/rs6000/rs6000.c (rs6000_pic_labelno): Make static.
	(rs6000_emit_load_toc_table): Don't use rs6000_pic_labelno when
	TARGET_SECURE_PLT.
	* config/rs6000/sysv4.h (rs6000_pic_labelno): Don't declare.
	* config/rs6000/rs6000.md (load_toc_v4_PIC_3b): Use "b" constraint
	on input, "r" on output.

From-SVN: r166249
2010-11-04 00:26:04 +10:30
GCC Administrator 3f347d8c82 Daily bump.
From-SVN: r166224
2010-11-03 00:16:49 +00:00
GCC Administrator fe73b2272f Daily bump.
From-SVN: r166159
2010-11-02 00:17:10 +00:00
GCC Administrator 684a40c1d2 Daily bump.
From-SVN: r166116
2010-11-01 00:17:24 +00:00
GCC Administrator 706bf72526 Daily bump.
From-SVN: r166098
2010-10-31 00:17:02 +00:00
Uros Bizjak 048a2aa10e re PR middle-end/44569 (ICE in simplify_subreg for debug insn with CONCATN)
PR middle-end/44569
	* lower-suberg.c (simplify_subreg_concatn): For VOIDmode elements,
	determine the mode of a subreg by GET_MODE_INNER of CONCATN RTX.

From-SVN: r166095
2010-10-30 22:50:12 +02:00
GCC Administrator d1e0d115d1 Daily bump.
From-SVN: r166082
2010-10-30 00:16:39 +00:00
GCC Administrator 10d2279fb2 Daily bump.
From-SVN: r166053
2010-10-29 00:17:43 +00:00
GCC Administrator b1a25d8e9c Daily bump.
From-SVN: r166024
2010-10-28 00:17:45 +00:00
GCC Administrator f6bd8801a6 Daily bump.
From-SVN: r165992
2010-10-27 00:17:16 +00:00
GCC Administrator f0fef5b0a1 Daily bump.
From-SVN: r165930
2010-10-26 00:16:39 +00:00
Steven G. Kargl a7d0ea52ab re PR fortran/46140 (Include not found - but exit status code is zero)
2010-10-25  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/46140
	* fortran/scanner.c (include_line): Check return value of load_file.

From-SVN: r165924
2010-10-25 16:11:54 +00:00
GCC Administrator 14d14c28f5 Daily bump.
From-SVN: r165908
2010-10-25 00:17:14 +00:00
GCC Administrator e0f6f89395 Daily bump.
From-SVN: r165893
2010-10-24 00:16:47 +00:00
GCC Administrator a696709e87 Daily bump.
From-SVN: r165877
2010-10-23 00:17:25 +00:00
Uros Bizjak 021274a4a7 re PR target/45946 (ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer)
PR target/45946
	* config/i386/i386.md (*pushti2): New insn pattern.
	(pushti2 splitter): New insn splitter.

testsuite/ChangeLog:

	PR target/45946
	* gcc.target/i386/pr45946.c: New test.


Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com>

From-SVN: r165824
2010-10-22 14:29:03 +02:00
GCC Administrator 1cb6fd731d Daily bump.
From-SVN: r165796
2010-10-22 00:17:30 +00:00
Rainer Orth 93e3c9fb53 fixincludes:
Backport from mainline:
	2010-10-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR c++/46024
	* inclhack.def (solaris_sys_va_list): New fix.
	* fixincl.x: Regenerate.
	* tests/base/sys/va_list.h: New test.

	gcc/testsuite:
	Backport from mainline:
	2010-10-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR c++/46024
	* g++.dg/warn/miss-format-1.C: Enclose dg-error target list in braces.

	2010-08-04  Daniel Gutson  <dgutson@codesourcery.com>

	* g++.dg/warn/miss-format-1.C: Update line number.

	2010-05-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* g++.dg/warn/miss-format-1.C (bar): xfail dg-warning on
	alpha*-dec-osf*.

From-SVN: r165783
2010-10-21 17:23:24 +00:00
GCC Administrator 8e534d0eed Daily bump.
From-SVN: r165743
2010-10-21 00:17:14 +00:00
Vladimir Makarov 56c290afa5 re PR fortran/42169 (gfortran.dg/pr41928.f90:47: internal compiler error: in store_can_be_removed_p, at ira-emit.c:371)
2010-10-20  Vladimir Makarov  <vmakarov@redhat.com>

	PR fortran/42169
	* ira-emit.c (store_can_be_removed_p): Return false instead of
	gcc_unreachable.

From-SVN: r165724
2010-10-20 14:06:08 +00:00
GCC Administrator cdbb6d8c1b Daily bump.
From-SVN: r165710
2010-10-20 00:16:48 +00:00
GCC Administrator afdb0fc439 Daily bump.
From-SVN: r165671
2010-10-19 00:17:48 +00:00
Jakub Jelinek 3cac8db81e re PR middle-end/46019 (x / (0x200000000ULL << y) miscompilation with 32-bit HWI)
PR middle-end/46019
	* fold-const.c (fold_binary_loc): If integer_pow2p has
	TREE_INT_CST_LOW zero, look at TREE_INT_CST_HIGH.

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

From-SVN: r165621
2010-10-18 12:08:47 +02:00
GCC Administrator f60493fa1b Daily bump.
From-SVN: r165604
2010-10-18 00:17:20 +00:00
John David Anglin a49c438e84 backport: re PR libfortran/33595 (FAIL: gfortran.dg/nint_2.f90 -O0 execution test)
Backport from mainline
	2009-03-29  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	PR fortran/33595
	* intrinsics/c99_functions.c (round): Use floor instead of ceil.
	Revise checks to round up.
	(roundf): Likewise.

From-SVN: r165574
2010-10-17 00:29:12 +00:00
GCC Administrator 820040aaeb Daily bump.
From-SVN: r165571
2010-10-17 00:16:50 +00:00
John David Anglin 5df0091e4d Backport PRs 18451, 40738, 40858, 45543
Backport from mainline
	2010-09-06  Jakub Jelinek  <jakub@redhat.com>

	PR testsuite/45543
	* g++.dg/debug/dwarf2/typedef1.C: Expect just one
	DW_TAG_enumeration_type DIE.

	2010-09-04  Andreas Schwab  <schwab@linux-m68k.org>
	* g++.dg/debug/dwarf2/typedef1.C: Replace ".*" by "\[^\n\]*".

	2009-11-07  Jason Merrill  <jason@redhat.com>

	PR c++/18451
	PR c++/40738
	* g++.dg/other/typedef1.C: Update expected errors.

	2009-08-03  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	PR testsuite/40858
	* g++.dg/debug/dwarf2/typedef1.C: Also match assembler string used with
	.ascii.

From-SVN: r165568
2010-10-16 23:00:55 +00:00
John David Anglin 86515ee1cc backport: pubnames-1.C: Replace ".*" by "\[^\n\]*".
Backport from mainline
	2010-09-04  Andreas Schwab  <schwab@linux-m68k.org>
	* g++.dg/debug/dwarf2/pubnames-1.C: Replace ".*" by "\[^\n\]*".

	2010-07-07  Tom Tromey  <tromey@redhat.com>
	* g++.dg/debug/dwarf2/pubnames-1.C: Make darwin-specific.

	2009-09-08  Dodji Seketeli  <dodji@redhat.com>
	* g++.dg/debug/dwarf2/pubnames-1.C: Use -fno-merge-debug-string
	and adjust.  Also, adjust to take darwin specifics in account.

From-SVN: r165567
2010-10-16 22:55:58 +00:00
GCC Administrator 9d89ebe1b9 Daily bump.
From-SVN: r165535
2010-10-16 00:17:13 +00:00
GCC Administrator ba14fc346a Daily bump.
From-SVN: r165488
2010-10-15 00:16:53 +00:00
GCC Administrator 534258764a Daily bump.
From-SVN: r165440
2010-10-14 00:17:03 +00:00
GCC Administrator 9e8b72009d Daily bump.
From-SVN: r165406
2010-10-13 00:18:12 +00:00
Rainer Orth c0a6b97be5 pragma-init-fini.c: Skip on i?86-*-solaris2.8 && !gas.
* gcc.dg/pragma-init-fini.c: Skip on i?86-*-solaris2.8 && !gas.
	* gcc.dg/pragma-init-fini-2.c: XFAIL on i?86-*-solaris2.8 && !gas.

From-SVN: r165365
2010-10-12 12:03:56 +00:00
GCC Administrator 514a311a84 Daily bump.
From-SVN: r165345
2010-10-12 00:18:20 +00:00
GCC Administrator 616a1fa66b Daily bump.
From-SVN: r165266
2010-10-11 00:17:50 +00:00
John David Anglin c8ee2f4ad0 backport: inline2.c: Replace ".*" by "\[^\n\]*".
Backport from mainline
	2010-09-04  Andreas Schwab  <schwab@linux-m68k.org>

	* gcc.dg/debug/dwarf2/inline2.c: Replace ".*" by "\[^\n\]*".

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

	* gcc.dg/debug/dwarf2/inline2.c (third): Make a a global var
	and add volatile keyword.

	2009-11-23  Steve Ellcey  <sje@cup.hp.com>

	* gcc.dg/debug/dwarf2/inline2.c: Modify scan.

From-SVN: r165260
2010-10-10 18:48:15 +00:00
John David Anglin 4d90bcc2c8 pr41555.c: Require stdint types.
* gcc.dg/torture/pr41555.c: Require stdint types.

From-SVN: r165258
2010-10-10 18:12:28 +00:00
GCC Administrator c3347925b8 Daily bump.
From-SVN: r165244
2010-10-10 00:17:41 +00:00
GCC Administrator d042050376 Daily bump.
From-SVN: r165210
2010-10-09 00:16:51 +00:00
GCC Administrator eacc6d2a72 Daily bump.
From-SVN: r165140
2010-10-08 00:17:53 +00:00
John David Anglin 4435df995a re PR target/45820 (FAIL: gcc.c-torture/compile/pr45728.c at -O1 and above)
PR target/45820
	* config/pa/pa.c (pa_secondary_reload): Handle symbolic operands
	earlier.

From-SVN: r165128
2010-10-07 17:59:30 +00:00
Jerry DeLisle 14cca48176 backport: re PR fortran/45710 (Adjust format and padding for WRITE of NAMELIST group to internal file)
2010-10-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	Backport from mainline
	PR libfortran/45710
	* gfortran.dg/namelist_65.f90: New test.

From-SVN: r165080
2010-10-07 02:38:00 +00:00
Jerry DeLisle 92e0f542f1 backport: re PR fortran/45710 (Adjust format and padding for WRITE of NAMELIST group to internal file)
2010-10-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	Backport from mainline:
	PR libfortran/45710
	* io/write.c (namelist_write_newline): Pad character array internal
	unit records with spaces.

From-SVN: r165079
2010-10-07 02:31:14 +00:00
GCC Administrator ba466cc65e Daily bump.
From-SVN: r165071
2010-10-07 00:17:16 +00:00
GCC Administrator f8227749f7 Daily bump.
From-SVN: r165008
2010-10-06 00:17:27 +00:00
GCC Administrator 423f8be24a Daily bump.
From-SVN: r164964
2010-10-05 00:17:25 +00:00
John David Anglin 709cdc5ee4 pr45678-1.c: Add -fno-common to options on 32-bit hppa*-*-hpux*.
* gcc.dg/torture/pr45678-1.c: Add -fno-common to options on 32-bit
	hppa*-*-hpux*.
	* gcc.dg/torture/pr45678-2.c: Likewise.

From-SVN: r164953
2010-10-04 18:13:14 +00:00
GCC Administrator 8264aa9821 Daily bump.
From-SVN: r164922
2010-10-04 00:16:58 +00:00
GCC Administrator 17a7dd5062 Daily bump.
From-SVN: r164910
2010-10-03 00:17:02 +00:00
Ralf Wildenhues fcebb0a590 Fix unportable shell quoting.
/:
	PR bootstrap/44621
	* configure.ac: Fix unportable shell quoting.
	* configure: Regenerate.

config/:
	* po.m4 (AM_PO_SUBDIRS): Fix unportable shell quoting.

intl/:
	PR bootstrap/44621
	* configure: Regenerate.

From-SVN: r164903
2010-10-02 11:40:32 +00:00
GCC Administrator 61ac929bad Daily bump.
From-SVN: r164897
2010-10-02 00:17:11 +00:00
Jakub Jelinek dfc1101486 * testsuite/libffi.call/many2.c: Don't use uint8_t.
From-SVN: r164894
2010-10-01 21:59:54 +02:00
Jakub Jelinek 11a5fedde5 backport: re PR target/45843 (__builtin_va_arg overwrites into adjacent stack location)
Backport from mainline
	2010-09-30  Jakub Jelinek  <jakub@redhat.com>

	PR target/45843
	* config/i386/i386.c (ix86_gimplify_va_arg): Use
	INTVAL (XEXP (slot, 1)) as prev_size.

	2010-06-21  Jakub Jelinek  <jakub@redhat.com>
 
	PR target/44575
	* config/i386/i386.c (ix86_gimplify_va_arg): When copying
	va_arg from a set of register save slots into a temporary,
	if the container is bigger than type size, do the copying
	using smaller mode or using memcpy.

	Backport from mainline
	2010-09-30  Jakub Jelinek  <jakub@redhat.com>

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

	2010-06-21  Jakub Jelinek  <jakub@redhat.com>

	PR target/44575
	* gcc.c-torture/execute/pr44575.c: New test.

From-SVN: r164884
2010-10-01 15:13:31 +02:00
Jakub Jelinek 1e1677391f re PR libffi/45677 (Bad stack allocation for ffi function calls on x86-64)
PR libffi/45677
	* src/x86/ffi64.c (ffi_prep_cif_machdep): Ensure cif->bytes is
	a multiple of 8.
	* testsuite/libffi.call/many2.c: New test.

From-SVN: r164882
2010-10-01 14:45:25 +02:00
Jakub Jelinek dce08698ed BASE-VER: Set to 4.4.6.
* BASE-VER: Set to 4.4.6.
	* DEV-PHASE: Set to prerelease.

From-SVN: r164875
2010-10-01 13:30:37 +02:00
GCC Administrator 7b36b7493f Mark as release
From-SVN: r164870
2010-10-01 08:05:48 +00:00
GCC Administrator a8a85800d2 Mark ChangeLog
From-SVN: r164869
2010-10-01 08:05:43 +00:00
GCC Administrator c16492be8d Mark ChangeLog
From-SVN: r164868
2010-10-01 08:05:35 +00:00
GCC Administrator 944bd91da5 Mark ChangeLog
From-SVN: r164867
2010-10-01 08:05:28 +00:00
GCC Administrator e0a2a0c37d Mark ChangeLog
From-SVN: r164866
2010-10-01 08:05:22 +00:00
GCC Administrator 839dbdce83 Mark ChangeLog
From-SVN: r164865
2010-10-01 08:05:15 +00:00
GCC Administrator 500ce35f5d Mark ChangeLog
From-SVN: r164864
2010-10-01 08:05:10 +00:00
GCC Administrator f282f90a0f Mark ChangeLog
From-SVN: r164863
2010-10-01 08:05:04 +00:00
GCC Administrator 8f80b3ab9e Mark ChangeLog
From-SVN: r164862
2010-10-01 08:04:57 +00:00
GCC Administrator 4a3e07cba4 Mark ChangeLog
From-SVN: r164861
2010-10-01 08:04:52 +00:00
GCC Administrator 74f36c3810 Mark ChangeLog
From-SVN: r164860
2010-10-01 08:04:46 +00:00
GCC Administrator 3d2cbc644d Mark ChangeLog
From-SVN: r164859
2010-10-01 08:04:41 +00:00
GCC Administrator 851fe90e27 Mark ChangeLog
From-SVN: r164858
2010-10-01 08:04:36 +00:00
GCC Administrator 67156c282f Mark ChangeLog
From-SVN: r164857
2010-10-01 08:04:29 +00:00
GCC Administrator eb59ed4f22 Mark ChangeLog
From-SVN: r164856
2010-10-01 08:04:24 +00:00
GCC Administrator 0a6a6e49c8 Mark ChangeLog
From-SVN: r164855
2010-10-01 08:04:18 +00:00
GCC Administrator eda8fe987a Mark ChangeLog
From-SVN: r164854
2010-10-01 08:04:13 +00:00
GCC Administrator 9cb89ca7ef Mark ChangeLog
From-SVN: r164853
2010-10-01 08:04:08 +00:00
GCC Administrator 21ecaf1faa Mark ChangeLog
From-SVN: r164852
2010-10-01 08:04:03 +00:00
GCC Administrator 266d540f4f Mark ChangeLog
From-SVN: r164851
2010-10-01 08:03:58 +00:00
GCC Administrator 7cc5a3d469 Mark ChangeLog
From-SVN: r164850
2010-10-01 08:03:53 +00:00
GCC Administrator 9f1c9a0c4b Mark ChangeLog
From-SVN: r164849
2010-10-01 08:03:48 +00:00
GCC Administrator 4d7cb91259 Mark ChangeLog
From-SVN: r164848
2010-10-01 08:03:42 +00:00
GCC Administrator 1655e1f9c6 Mark ChangeLog
From-SVN: r164847
2010-10-01 08:03:34 +00:00
GCC Administrator 6115ea2057 Mark ChangeLog
From-SVN: r164846
2010-10-01 08:03:26 +00:00
GCC Administrator 7c805db808 Mark ChangeLog
From-SVN: r164845
2010-10-01 08:03:20 +00:00
GCC Administrator 26e1efa2a9 Mark ChangeLog
From-SVN: r164844
2010-10-01 08:03:14 +00:00
GCC Administrator 1c94cfc53a Mark ChangeLog
From-SVN: r164843
2010-10-01 08:03:08 +00:00
GCC Administrator 4ba5e27004 Mark ChangeLog
From-SVN: r164842
2010-10-01 08:03:02 +00:00
GCC Administrator c768eb3ccd Mark ChangeLog
From-SVN: r164841
2010-10-01 08:02:56 +00:00
GCC Administrator c8fa15a401 Mark ChangeLog
From-SVN: r164840
2010-10-01 08:02:50 +00:00
GCC Administrator 5dc81257fe Mark ChangeLog
From-SVN: r164839
2010-10-01 08:02:43 +00:00
GCC Administrator 01904adfc4 Mark ChangeLog
From-SVN: r164838
2010-10-01 08:02:35 +00:00
GCC Administrator 8409e64222 Mark ChangeLog
From-SVN: r164837
2010-10-01 08:02:29 +00:00
GCC Administrator 46010e57bd Mark ChangeLog
From-SVN: r164836
2010-10-01 08:02:22 +00:00
GCC Administrator eb1eb795b3 Mark ChangeLog
From-SVN: r164835
2010-10-01 08:02:15 +00:00
GCC Administrator b5060b90ae Mark ChangeLog
From-SVN: r164834
2010-10-01 08:02:08 +00:00
GCC Administrator 0cbe270bc7 Mark ChangeLog
From-SVN: r164833
2010-10-01 08:02:00 +00:00
GCC Administrator 57663c3cb9 Mark ChangeLog
From-SVN: r164832
2010-10-01 08:01:54 +00:00
GCC Administrator b869b56258 Mark ChangeLog
From-SVN: r164831
2010-10-01 08:01:48 +00:00
GCC Administrator 4fb577ba04 Daily bump.
From-SVN: r164821
2010-10-01 00:18:22 +00:00
GCC Administrator ff4ff9acc5 Daily bump.
From-SVN: r164738
2010-09-30 00:17:05 +00:00
GCC Administrator 771cdb8e7b Daily bump.
From-SVN: r164710
2010-09-29 00:18:15 +00:00
Rainer Orth 327bdbc99e re PR target/44452 (gcc.target/i386/abi-2.c and gcc.target/i386/pr22076.c fail on 32-bit Solaris 10+/x86)
PR target/44452
	* gcc.target/i386/abi-2.c: XFAIL on i?86-*-solaris2* && ilp32.
	* gcc.target/i386/pr22076.c: Skip on i?86-solaris2* && ilp32.

From-SVN: r164691
2010-09-28 16:55:40 +00:00
GCC Administrator bf1bfe7c1e Daily bump.
From-SVN: r164673
2010-09-28 00:17:20 +00:00
GCC Administrator 6c16e6bedf Daily bump.
From-SVN: r164641
2010-09-27 00:16:47 +00:00
GCC Administrator 55f4cebbd7 Daily bump.
From-SVN: r164625
2010-09-26 00:16:38 +00:00
GCC Administrator 310cc83cf2 Daily bump.
From-SVN: r164613
2010-09-25 00:17:26 +00:00
Jakub Jelinek 9f99fc5900 Revert:
2010-09-17  H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/45234
	* calls.c (expand_call): Make sure that all variable sized
	adjustments are multiple of preferred stack boundary after
	stack alignment.

	* gcc.dg/torture/stackalign/alloca-5.c: Remove.

From-SVN: r164596
2010-09-24 17:07:36 +02:00
GCC Administrator a0ccf2fbe8 Daily bump.
From-SVN: r164576
2010-09-24 00:18:58 +00:00
Eric Botcazou b841f0c748 re PR middle-end/44763 (SEGV in allocno_priority_compare_func on Solaris 8)
PR middle-end/44763
	* ira-color.c (SORTGT): New macro, helper for qsort callbacks.
	(allocno_priority_compare_func): Use it instead of a straight
	difference computation over priorities.

From-SVN: r164563
2010-09-23 13:07:01 +00:00
Jakub Jelinek 07953bbf0c alloca-4.c: Remove -m32 from dg-options.
* gcc.dg/torture/stackalign/alloca-4.c: Remove -m32 from dg-options.
	* gcc.dg/torture/stackalign/alloca-5.c: Likewise.  Fix up -DDEBUG
	build.

From-SVN: r164557
2010-09-23 13:03:45 +02:00
Jakub Jelinek 26f67c311c re PR rtl-optimization/45728 (ICE: in gen_lowpart_general, at rtlhooks.c:59 at -O1 when comparing union members)
PR rtl-optimization/45728
	* expr.c (expand_expr_real_1): If op0 isn't REG or MEM, try
	gen_lowpart_common first and if that fails, force_reg first
	before calling gen_lowpart.

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

From-SVN: r164549
2010-09-23 09:41:30 +02:00
Jerry DeLisle 585b607776 backport: re PR fortran/45532 (gfortran namelist read error)
2010-09-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	Backport from mainline
	PR libfortran/45532
	* gfortran.dg/namelist_64.f90: New test.

From-SVN: r164547
2010-09-23 01:21:10 +00:00
Jerry DeLisle 55b19b39e8 backport: re PR fortran/45532 (gfortran namelist read error)
2010-09-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	Backport from mainline:
	PR libfortran/45532
	* io/list_read.c (nml_get_obj_data): Set first_nl if the previous
	is NULL.

From-SVN: r164546
2010-09-23 01:19:13 +00:00
GCC Administrator 2c589d117b Daily bump.
From-SVN: r164540
2010-09-23 00:17:29 +00:00
Eric Botcazou 693ae1a2a3 re PR target/35664 (unable to find a register to spill in class 'FP_REGS')
PR target/35664
	* config/sparc/constraints.md ('e'): Return NO_REGS if !TARGET_FPU.
	('f'): Likewise.

From-SVN: r164514
2010-09-22 08:36:35 +00:00
GCC Administrator 2d0a6a11c5 Daily bump.
From-SVN: r164504
2010-09-22 00:16:59 +00:00
Jakub Jelinek a970910f31 re PR rtl-optimization/45678 (crash on vector code with -m32 -msse)
PR middle-end/45678
	* expr.c (expand_expr_real_1) <case VIEW_CONVERT_EXPR>: If
	op0 isn't sufficiently aligned and there is movmisalignM
	insn for mode, use it to load op0 into a temporary register.

	Backport from mainline
	2010-09-20  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/45678
	* cfgexpand.c (expand_one_stack_var_at): Limit alignment to
	crtl->max_used_stack_slot_alignment.

	Backport from mainline
	2010-09-17  Richard Guenther  <rguenther@suse.de>
		    H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/45678
	* gcc.dg/torture/pr45678-1.c: New.
	* gcc.dg/torture/pr45678-2.c: Likewise.

From-SVN: r164486
2010-09-21 18:30:21 +02:00
GCC Administrator ee4adf629b Daily bump.
From-SVN: r164470
2010-09-21 00:18:14 +00:00
Eric Botcazou a42e106985 re PR rtl-optimization/42775 (GCC fails to rebuild itself with STAGE1_CFLAGS=-O1)
PR rtl-optimization/42775
	* cfgrtl.c (rest_of_pass_free_cfg): Recompute notes if delay slot
	scheduling is enabled.

From-SVN: r164461
2010-09-20 21:31:14 +00:00
H.J. Lu 8d8fc970e8 Make sure that all variable sized adjustments are multiple of preferred
stack boundary after stack alignment.
    
gcc/

2010-09-20  H.J. Lu  <hongjiu.lu@intel.com>

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

	PR middle-end/45234
	* calls.c (expand_call): Make sure that all variable sized
	adjustments are multiple of preferred stack boundary after
	stack alignment.

gcc/testsuite/

2010-09-20  H.J. Lu  <hongjiu.lu@intel.com>

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

	PR middle-end/45234
	* gcc.dg/torture/stackalign/alloca-5.c: New.

From-SVN: r164453
2010-09-20 13:32:41 -07:00
GCC Administrator f3e61810ac Daily bump.
From-SVN: r164427
2010-09-20 00:16:49 +00:00
GCC Administrator cda2a0064a Daily bump.
From-SVN: r164407
2010-09-19 00:16:44 +00:00
Richard Guenther 5b2fb080b8 re PR tree-optimization/45709 (internal compiler error: in add_phi_arg, at tree-phinodes.c:395)
2010-09-18  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/45709
	* tree-inline.c (copy_phis_for_bb): Delay commit of edge
	insertions until after all PHI nodes of the block are processed.

	* g++.dg/torture/pr45709.C: New testcase.
	* g++.dg/torture/pr45709-2.C: Likewise.

From-SVN: r164399
2010-09-18 17:23:20 +00:00
GCC Administrator 498acbba48 Daily bump.
From-SVN: r164385
2010-09-18 00:16:57 +00:00
Rainer Orth 99614d765a backport: fpu-387.h (has_sse): Remove cw_sse, unused.
Backport from mainline:
	2010-08-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* config/fpu-387.h (has_sse): Remove cw_sse, unused.
	Use fixed-length asm.

From-SVN: r164364
2010-09-17 10:23:03 +00:00
Rainer Orth 641f3dab26 backport: 14220.cc: XFAIL on Solaris 9/x86, 32-bit Solaris 10/x86 and 64-bit Solaris 10/SPARC.
Backport from mainline:
	2010-07-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* testsuite/22_locale/num_put/put/char/14220.cc: XFAIL on Solaris
	9/x86, 32-bit Solaris 10/x86 and 64-bit Solaris 10/SPARC.
	* testsuite/22_locale/num_put/put/wchar_t/14220.cc: XFAIL on
	Solaris 9/x86 and 32-bit Solaris 10/x86.

	* testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
	Only XFAIL on Solaris 8 and 9.
	* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
	Likewise.

	* testsuite/ext/enc_filebuf/char/13598.cc: XFAIL before Solaris 11.

From-SVN: r164362
2010-09-17 10:19:35 +00:00
Rainer Orth dfffab470f Backport from mainline:
2010-09-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* lib/target-supports.exp
	(check_effective_target_run_expensive_tests): New proc.
	* gcc.c-torture/compile/limits-fnargs.c: Use
	dg-require-effective-target run_expensive_tests.

From-SVN: r164360
2010-09-17 10:14:35 +00:00
GCC Administrator d019a39872 Daily bump.
From-SVN: r164351
2010-09-17 00:17:03 +00:00
GCC Administrator 50fd84b056 Daily bump.
From-SVN: r164324
2010-09-16 00:17:35 +00:00
GCC Administrator 5898f4b0fd Daily bump.
From-SVN: r164292
2010-09-15 00:16:48 +00:00
GCC Administrator 4a11d313f5 Daily bump.
From-SVN: r164263
2010-09-14 00:16:46 +00:00
GCC Administrator 19d4eed3c8 Daily bump.
From-SVN: r164237
2010-09-13 00:16:35 +00:00
Alexander Monakov b47d6dc1c7 backport: re PR rtl-optimization/44919 (ICE on ia64 with -O3 at sel-sched.c:4672)
Backport from mainline
	2010-09-06  Andrey Belevantsev  <abel@ispras.ru>

	PR rtl-optimization/44919
	* sel-sched.c (move_cond_jump): Remove assert, check that
	the several blocks case can only happen with mutually exclusive
	insns instead.  Rewrite the movement code to support moving through
	several basic blocks.

	* g++.dg/opt/pr44919.C: New.

From-SVN: r164235
2010-09-13 00:35:53 +04:00
Jakub Jelinek b58c11270b pr40386.c: Remove part that has been applied twice.
* gcc.c-torture/execute/pr40386.c: Remove part that has been applied
	twice.
	* gcc.c-torture/execute/pr40386.x: Likewise.

From-SVN: r164229
2010-09-12 13:22:56 +02:00
GCC Administrator 0a434b7ccc Daily bump.
From-SVN: r164220
2010-09-12 00:16:56 +00:00
GCC Administrator 0a08893c0b Daily bump.
From-SVN: r164207
2010-09-11 00:16:52 +00:00
GCC Administrator bb65b1366e Daily bump.
From-SVN: r164138
2010-09-10 00:17:02 +00:00
Vladimir Makarov 4d2ac83d40 re PR middle-end/45312 (GCC 4.4.4 miscompiles the Linux kernel)
2010-09-09  Vladimir Makarov  <vmakarov@redhat.com>

	PR middle-end/45312
	* reload1.c (merge_assigned_reloads): Remove.
	(reload_as_needed): Don't call it.

From-SVN: r164117
2010-09-09 18:37:17 +00:00
Vladimir Makarov c290d67604 re PR middle-end/44554 (Stack space after sigsetjmp is reused)
2010-09-09  Vladimir Makarov  <vmakarov@redhat.com>

	PR middle-end/44554
	* ira.c (ira): Switch off sharing spill slots if setjmp is called.

From-SVN: r164107
2010-09-09 13:58:24 +00:00
Vladimir Makarov b60f03ef63 re PR middle-end/40386 (wrong code generation for several SPEC CPU2000 benchmarks (lucas, mgrid, face, applu, apsi) with -O1 -fno-ira-share-spill-slots)
2010-09-08  Vladimir Makarov  <vmakarov@redhat.com>

	PR middle-end/40386
	* ira.c (pseudo_for_reload_consideration_p): Don't use
	flag_ira_share_spill_slots.

2010-09-08  Vladimir Makarov  <vmakarov@redhat.com>

	PR middle-end/40386
	* gcc.c-torture/execute/{pr40386.c,pr40386.x}: New testcase.

From-SVN: r164095
2010-09-09 13:42:51 +00:00
GCC Administrator 88cf7bc8f7 Daily bump.
From-SVN: r164039
2010-09-09 00:17:54 +00:00
Martin Jambor b0546598e2 re PR other/45443 (GCC documentation for -O3 flag doesn't mention -fipa-cp-clone)
2010-09-08  Martin Jambor  <mjambor@suse.cz>

	PR other/45443
	* doc/invoke.texi: Add -fipa-cp-clone to list of switches turned on
	at -O3.

From-SVN: r164018
2010-09-08 20:13:03 +02:00
Jakub Jelinek 6e9585acf0 re PR fortran/45595 (segfault on omp collapse)
PR fortran/45595
	* openmp.c (resolve_omp_do): Report not enough do loops for
	collapse even if block->next is NULL.

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

From-SVN: r164008
2010-09-08 19:23:52 +02:00
GCC Administrator c7ba846fb2 Daily bump.
From-SVN: r163982
2010-09-08 00:17:27 +00:00
Ian Bolton 627bbb1a53 backport: [multiple changes]
2010-09-07  Ian Bolton  <ian.bolton@arm.com>

	Backport from mainline
	2010-09-01  Ian Bolton  <ian.bolton@arm.com>

	* Makefile.in (tree-switch-conversion.o): Update dependencies.
	
	2010-08-19  Ian Bolton  <ian.bolton@arm.com>
	
	PR target/45070
	* config/arm/arm.c (arm_output_epilogue): Ensure that return
	value of size 1-3 is handled correctly.

	* gcc.c-torture/execute/pr45070.c: New.

	2010-08-19  Ian Bolton  <ian.bolton@arm.com>

	* tree-switch-conversion.c (gen_inbound_check): Ensure that the
	type for the conditional has wide enough range.

	* g++.dg/pr44328.C: New test.

	2010-08-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
	
	* config/arm/linux-atomic.c (SUBWORD_VAL_CAS): Instantiate with
	'unsigned short' and 'unsigned char' instead of 'short' and 'char'.
	(SUBWORD_BOOL_CAS): Likewise.
	(SUBWORD_SYNC_OP): Likewise.
	(SUBWORD_TEST_AND_SET): Likewise.
	(FETCH_AND_OP_WORD): Parenthesise INF_OP
	(SUBWORD_SYNC_OP): Likewise.
	(OP_AND_FETCH_WORD): Likewise.

	* lib/target-supports.exp: (check_effective_target_sync_int_long):
	Add arm*-*-linux-gnueabi.
	(check_effective_target_sync_char_short): Likewise.

From-SVN: r163945
2010-09-07 11:07:31 +00:00
GCC Administrator 8bf4a81ae4 Daily bump.
From-SVN: r163938
2010-09-07 00:16:42 +00:00
GCC Administrator 3096243ab9 Daily bump.
From-SVN: r163890
2010-09-06 00:16:41 +00:00
GCC Administrator 92b7902115 Daily bump.
From-SVN: r163870
2010-09-05 00:16:58 +00:00
GCC Administrator ddb285ef82 Daily bump.
From-SVN: r163851
2010-09-04 00:16:58 +00:00
Rainer Orth ce3a9c4c4b abi-avx.exp: Link with gcc.target/i386/clearcap.map if supported.
* gcc.target/x86_64/abi/avx/abi-avx.exp: Link with
	gcc.target/i386/clearcap.map if supported.

From-SVN: r163829
2010-09-03 15:07:55 +00:00
GCC Administrator 497340bfd5 Daily bump.
From-SVN: r163795
2010-09-03 00:17:22 +00:00
Jakub Jelinek 038824a432 backport: re PR middle-end/45423 (#pragma omp atomic on bool has issues)
Backport from mainline
	2010-08-30  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/45423
	* gimplify.c (goa_stabilize_expr): Handle TRUTH_NOT_EXPR
	and TRUTH_{AND,OR,XOR}_EXPR.
	* c-parser.c (c_parser_omp_atomic): Handle boolean
	{PRE,POST}_{INC,DEC}REMENT.
cp/
	* parser.c (cp_parser_omp_atomic): Handle boolean
	{PRE,POST}_INCREMENT.
testsuite/
	* gcc.dg/gomp/atomic-12.c: New test.
	* gcc.dg/gomp/atomic-13.c: New test.
	* gcc.dg/gomp/atomic-14.c: New test.
	* g++.dg/gomp/atomic-11.C: New test.
	* g++.dg/gomp/atomic-12.C: New test.
	* g++.dg/gomp/atomic-13.C: New test.
	* g++.dg/gomp/atomic-14.C: New test.

From-SVN: r163762
2010-09-02 10:00:55 +02:00
GCC Administrator a468523930 Daily bump.
From-SVN: r163751
2010-09-02 00:16:58 +00:00
Eric Botcazou b4573f54e9 backport: re PR rtl-optimization/45353 (ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in sel_bb_head, at sel-sched-ir.c:4329 with -fselective-scheduling and __builtin_unreachable())
Backport from mainline
	2010-08-20  Jakub Jelinek  <jakub@redhat.com>

	PR rtl-optimization/45353
	* sel-sched-ir.c (sel_bb_head): Return NULL even if next_nonnote_insn
	after bb_note is a BARRIER.

From-SVN: r163731
2010-09-01 12:24:35 +00:00
Eric Botcazou aa69e489ec gimplify.c (gimplify_init_constructor): Do not create a temporary for a volatile LHS if...
* gimplify.c (gimplify_init_constructor): Do not create a temporary for
	a volatile LHS if the constructor has only one element.

From-SVN: r163729
2010-09-01 12:19:11 +00:00
GCC Administrator 2574ca46d7 Daily bump.
From-SVN: r163710
2010-09-01 00:16:38 +00:00
GCC Administrator af631f9d76 Daily bump.
From-SVN: r163663
2010-08-31 00:16:44 +00:00
Jason Merrill bb85b3fb65 re PR c++/44991 (default argument with '<' cause compilation error)
PR c++/44991
	* parser.c (cp_parser_parameter_declaration): Pop parameter decls
	after tentative parsing.

From-SVN: r163644
2010-08-30 09:38:09 -04:00
GCC Administrator 4c30e8519c Daily bump.
From-SVN: r163633
2010-08-30 00:16:33 +00:00
GCC Administrator e415b9732b Daily bump.
From-SVN: r163622
2010-08-29 00:16:57 +00:00
Uros Bizjak da79959f54 re PR target/41484 (Please add memory forms of pmovzx* (SSE4.1))
PR target/41484
	* config/i386/sse.md (sse4_1_extendv8qiv8hi2): Also accept memory
	operands for operand 1.
	(sse4_1_extendv4qiv4si2): Ditto.
	(sse4_1_extendv2qiv2di2): Ditto.
	(sse4_1_extendv4hiv4si2): Ditto.
	(sse4_1_extendv2hiv2di2): Ditto.
	(sse4_1_extendv2siv2di2): Ditto.
	(sse4_1_zero_extendv8qiv8hi2): Ditto.
	(sse4_1_zero_extendv4qiv4si2): Ditto.
	(sse4_1_zero_extendv2qiv2di2): Ditto.
	(sse4_1_zero_extendv4hiv4si2): Ditto.
	(sse4_1_zero_extendv2hiv2di2): Ditto.
	(sse4_1_zero_extendv2siv2di2): Ditto.
	(*sse4_1_extendv8qiv8hi2): Remove insn pattern.
	(*sse4_1_extendv4qiv4si2): Ditto.
	(*sse4_1_extendv2qiv2di2): Ditto.
	(*sse4_1_extendv4hiv4si2): Ditto.
	(*sse4_1_extendv2hiv2di2): Ditto.
	(*sse4_1_extendv2siv2di2): Ditto.
	(*sse4_1_zero_extendv8qiv8hi2): Ditto.
	(*sse4_1_zero_extendv4qiv4si2): Ditto.
	(*sse4_1_zero_extendv2qiv2di2): Ditto.
	(*sse4_1_zero_extendv4hiv4si2): Ditto.
	(*sse4_1_zero_extendv2hiv2di2): Ditto.
	(*sse4_1_zero_extendv2siv2di2): Ditto.

From-SVN: r163614
2010-08-28 16:27:33 +02:00
GCC Administrator 51aed6a236 Daily bump.
From-SVN: r163604
2010-08-28 00:17:55 +00:00
GCC Administrator f5c70a9cc4 Daily bump.
From-SVN: r163577
2010-08-27 00:16:52 +00:00
GCC Administrator d6fe76138b Daily bump.
From-SVN: r163558
2010-08-26 00:16:30 +00:00
GCC Administrator 4dd838c594 Daily bump.
From-SVN: r163534
2010-08-25 00:16:53 +00:00
Andrey Belevantsev a5034e25cd backport: re PR rtl-optimization/44691 (ICE: RTL check: expected code 'reg', have 'plus' in rhs_regno, at rtl.h:1050)
Backport from mainline:
        PR rtl-optimization/44691
        * sel-sched.c (count_occurrences_1): Also punt when SUBREG_REG
        is not a register.

        * gfortran.dg/pr44691.f: New test.

From-SVN: r163516
2010-08-24 13:11:48 +04:00
Andrey Belevantsev 9b6b8023df sel-sched.c: Add 2010 to copyright years.
* sel-sched.c: Add 2010 to copyright years.
        * sel-sched-ir.c: Likewise.
        * sel-sched-ir.h: Likewise.

From-SVN: r163515
2010-08-24 13:10:40 +04:00
Andrey Belevantsev 9439d0c53e backport: sel-sched-ir.c (sel_restore_other_notes): Rename to sel_restore_notes.
Backport from mainline:
 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

        * sel-sched-ir.c (sel_restore_other_notes): Rename to sel_restore_notes.
        Update all callers.  Call reemit_notes for all insns.

From-SVN: r163514
2010-08-24 13:09:36 +04:00
Andrey Belevantsev df2b4d5fa8 backport: re PR rtl-optimization/42246 (ICE in init_seqno for 186.crafty with sel-sched)
Backport from mainline:
 PR rtl-optimization/42246
         * sel-sched-ir.h (get_all_loop_exits): Include exits from inner
         loops.

From-SVN: r163513
2010-08-24 13:08:23 +04:00
Andrey Belevantsev b568511a1a backport: sel-sched.c (compute_av_set_at_bb_end): Do not test that number of all successors is the same as number of successors...
Backport from mainline:
        * sel-sched.c (compute_av_set_at_bb_end): Do not test that number of
         all successors is the same as number of successors in current region.

From-SVN: r163512
2010-08-24 13:06:59 +04:00
Andrey Belevantsev 93e66df2e3 backport: sel-sched.c (maybe_emit_renaming_copy): Exit early when expression to rename is not separable.
Backport from mainline:
 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

        * sel-sched.c (maybe_emit_renaming_copy): Exit early when expression
        to rename is not separable.  Otherwise check that its LHS is not NULL.

From-SVN: r163511
2010-08-24 13:05:46 +04:00
Andrey Belevantsev e9b7434933 backport: sel-sched.c (choose_best_reg_1): Loop over all regs for mode.
Backport from mainline:
 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

        * sel-sched.c (choose_best_reg_1):  Loop over all regs for mode.

From-SVN: r163510
2010-08-24 13:04:29 +04:00
Andrey Belevantsev 2e84372e2f backport: sel-sched.c (mark_unavailable_hard_regs): Do not try to search available registers when failed to discover LHS register class.
Backport from mainline:
 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

        * sel-sched.c (mark_unavailable_hard_regs): Do not try to search
        available registers when failed to discover LHS register class.
        Fix indentation.  Update comment.

From-SVN: r163509
2010-08-24 13:03:31 +04:00
Andrey Belevantsev 7bb3593c93 backport: re PR rtl-optimization/42389 (ICE in advance_state_on_fence with sel-schd for 175.vpr)
Backport from mainline:
        PR rtl-optimization/42389
         * sel-sched.c (advance_one_cycle): Set FENCE_ISSUE_MORE
         to can_issue_more.
         (advance_state_on_fence): Likewise.
         (sel_target_adjust_priority): Print debug output only when
         sched_verbose >= 4, not 2.
         (get_expr_cost): Do not issue all unique insns on the next cycle.
         (fill_insns): Initialize can_issue_more from the value saved
         with the fence.
         * sel-sched-ir.c (flist_add): New parameter issue_more.
         Init FENCE_ISSUE_MORE with it.
         (merge_fences): Likewise.
         (init_fences): Update call to flist_add.
         (add_to_fences, add_clean_fence_to_fences)
         (add_dirty_fence_to_fences): Likewise.
         (move_fence_to_fences): Update call to merge_fences.
         (invoke_reorder_hooks): Do not reset can_issue_more on insns from
         sched groups.
         * sel-sched-ir.h (struct _fence): New field issue_more.
         (FENCE_ISSUE_MORE): New accessor macro.

From-SVN: r163508
2010-08-24 13:02:30 +04:00
Andrey Belevantsev ac84195e75 backport: re PR rtl-optimization/42388 (ICE in move_bb_info with sel-sched and modulo-sched for 176.gcc)
Backport from mainline:
        PR rtl-optimization/42388
         * sel-sched-ir.c (maybe_tidy_empty_bb): Do not delete empty blocks
         that have no predecessors nor successors.  Do not call move_bb_info
         for empty blocks outside of current region.

From-SVN: r163507
2010-08-24 13:01:18 +04:00
Andrey Belevantsev 9de2c3922f backport: re PR rtl-optimization/42294 (ICE in code_motion_path_driver for 416.gamess)
Backport from mainline:
 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

        PR rtl-optimization/42294
        * sel-sched-ir.h (struct _sel_insn_data): Update comment.
        * sel-sched.c (move_exprs_to_boundary): Transitively add all
        originators' originators.

From-SVN: r163506
2010-08-24 12:59:47 +04:00
Andrey Belevantsev 5f196b8cc1 backport: re PR rtl-optimization/39453 (ICE : in init_seqno, at sel-sched.c:6433)
Backport from mainline:
 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

        PR rtl-optimization/39453
        PR rtl-optimization/42246
        * sel-sched-ir.c (considered_for_pipelining_p): Do not test
        for pipelining_p.
        (sel_add_loop_preheaders): Add preheader to last_added_blocks.

        * gcc.dg/pr39453.c: New.
        * gcc.dg/pr42246.c: New.

From-SVN: r163505
2010-08-24 12:58:36 +04:00
Andrey Belevantsev 8b97cddde8 backport: re PR middle-end/42245 (ICE in verify_backedges for 197.parser with sel-sched)
Backport from mainline:
 2010-01-14  Andrey Belevantsev  <abel@ispras.ru>
            Alexander Monakov  <amonakov@ispras.ru>

        PR middle-end/42245
        * sel-sched-ir.c (sel_recompute_toporder): New.  Use it...
        (maybe_tidy_empty_bb): ... here.  Make static.  Add new
        argument.  Update all callers.
        (tidy_control_flow): ... and here.  Recompute topological order
        of basic blocks in region if necessary.
        (sel_redirect_edge_and_branch): Change return type.  Return true
        if topological order might have been invalidated.
        (purge_empty_blocks): Export and move from...
        * sel-sched.c (purge_empty_blocks): ... here.
        * sel-sched-ir.h (sel_redirect_edge_and_branch): Update prototype.
        (maybe_tidy_empty_bb): Delete prototype.
        (purge_empty_blocks): Declare.

From-SVN: r163504
2010-08-24 12:57:18 +04:00
Andrey Belevantsev ca8c82b82e backport: re PR rtl-optimization/42294 (ICE in code_motion_path_driver for 416.gamess)
Backport from mainline:
        PR rtl-optimization/42294
         * sel-sched.c (try_replace_dest_reg): When chosen register
         and original register is the same, do not bail out early, but
         still check all original insns for validity of replacing destination
         register.  Set EXPR_TARGET_AVAILABLE to 1 before leaving function
         in this case.

From-SVN: r163503
2010-08-24 12:55:33 +04:00
Andrey Belevantsev 6befa42b92 backport: re PR rtl-optimization/41697 (ICE on gcc.c-torture/compile/20090917-1.c)
Backport from mainline:
 PR rtl-optimization/41697
         * sel-sched-ir.c (fallthru_bb_of_jump): Bail out when a block with
         a conditional jump has a single successor.

From-SVN: r163502
2010-08-24 12:54:02 +04:00
Andrey Belevantsev bc37349418 backport: sched-deps.c (init_deps): New parameter lazy_reg_last.
Backport from mainline:
 2009-11-13  Andrey Belevantsev  <abel@ispras.ru>

        * sched-deps.c (init_deps): New parameter lazy_reg_last.  Don't
        allocate reg_last when in case lazy_reg_last is true.
        (init_deps_reg_last): New.
        (free_deps): When max_reg is 0, this context is already freed.
        * sched-int.h (init_deps_reg_last): Export.
        (init_deps): Update prototype.
        * sched-ebb.c (schedule_ebb): Update the call to init_deps.
        * sched-rgn.c (sched_rgn_compute_dependencies): Likewise.
        * ddg.c (build_intra_loop_deps): Likewise.
        * sel-sched-ir.c (copy_deps_context, create_deps_context,
        reset_deps_context, deps_init_id): Likewise.
        (init_first_time_insn_data): Lazy allocate INSN_DEPS_CONTEXT.
        (free_data_for_scheduled_insn): New, break down from ...
        (free_first_time_insn_data): ... here.
        (has_dependence_p): Allocate reg_last now, when it is needed.
        (extend_insn_data): When maximal LUID is big enough, allocate
        per-insn data in smaller chunks.
        * sel-sched-ir.h (free_data_for_scheduled_insn): Export.
        * sel-sched.c (update_seqnos_and_stage): Free INSN_DEPS_CONTEXT
        in scheduled insn.

From-SVN: r163500
2010-08-24 12:53:11 +04:00
Andrey Belevantsev 0cc232de19 backport: re PR rtl-optimization/41697 (ICE on gcc.c-torture/compile/20090917-1.c)
Backport from mainline:
 2009-10-15  Steve Ellcey  <sje@cup.hp.com>

        PR rtl-optimization/41697
        * sel-sched-ir.h (_eligible_successor_edge_p): Check successor count.

From-SVN: r163499
2010-08-24 12:51:56 +04:00
Andrey Belevantsev 5f86e30342 backport: re PR rtl-optimization/40101 (200.sixtrack ICEs in get_seqno_by_preds, at sel-sched-ir.c:3752)
Backport from mainline:
        PR rtl-optimization/40101
         * sel-sched-ir.c (get_seqno_by_preds): Allow returning negative
         seqno.  Adjust comment.
         * sel-sched.c (find_seqno_for_bookkeeping): Assert that when
         inserting bookkeeping before a jump, the jump is not scheduled.
         When no positive seqno found, provide a value.  Add comment.

From-SVN: r163498
2010-08-24 12:50:50 +04:00
Andrey Belevantsev 059e63a929 backport: 20071210-2.c: New testcase.
Backport from mainline:

gcc/testsuite/Changelog:

2009-04-28  Alexander Monakov  <amonakov@ispras.ru>
        * gcc.target/ia64/20071210-2.c: New testcase.

gcc/Changelog:

2009-04-28  Alexander Monakov  <amonakov@ispras.ru>
        * sel-sched-ir.c (maybe_tidy_empty_bb): Do not attempt to delete a
        block if there are complex incoming edges.
        (sel_merge_blocks): Remove useless assert.
        (sel_redirect_edge_and_branch): Check that edge was redirected.
        * sel-sched-ir.h (_eligible_successor_edge_p): Remove assert.
        (sel_find_rgns): Delete declaration.
        * sel-sched.c (purge_empty_blocks): Attempt to remove first block of
        the region when it is not a preheader.

From-SVN: r163497
2010-08-24 12:49:50 +04:00
GCC Administrator 20b5cf9443 Daily bump.
From-SVN: r163492
2010-08-24 00:16:48 +00:00
Jason Merrill 64dc68e4c1 re PR c++/45315 (ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317)
PR c++/45315
	* init.c (build_new_1): Don't use build_value_init in a template.

From-SVN: r163467
2010-08-23 02:39:47 -04:00
GCC Administrator 8877a6f61e Daily bump.
From-SVN: r163463
2010-08-23 00:16:46 +00:00
GCC Administrator 6b80a836d4 Daily bump.
From-SVN: r163451
2010-08-22 00:17:01 +00:00
GCC Administrator 710f6048dd Daily bump.
From-SVN: r163435
2010-08-21 00:16:34 +00:00
GCC Administrator b58253a243 Daily bump.
From-SVN: r163391
2010-08-20 00:16:44 +00:00
GCC Administrator e115395766 Daily bump.
From-SVN: r163360
2010-08-19 00:16:30 +00:00
GCC Administrator 6148f5c4e9 Daily bump.
From-SVN: r163321
2010-08-18 00:16:31 +00:00
Uros Bizjak 38ea272750 re PR target/45296 (register long double ICE at -O2, -Os, -O3)
PR target/45296
	* reginfo.c (globalize_reg): Reject stack registers.

testsuite/ChangeLog:

	PR target/45296
	* gcc.target/i386/pr45296.c: New test.

From-SVN: r163307
2010-08-17 16:25:52 +02:00
GCC Administrator 934bee9e61 Daily bump.
From-SVN: r163289
2010-08-17 00:16:41 +00:00
John David Anglin 405715122e backport: re PR tree-optimization/44632 (wrong code for complex division)
Backport from mainline:
	2010-08-09  Richard Guenther  <rguenther@suse.de>

	PR middle-end/44632
	* function.c (gimplify_parameters): Do not clear addressable
	bit of the original parameter.

From-SVN: r163285
2010-08-16 20:24:54 +00:00
GCC Administrator 14caa25b23 Daily bump.
From-SVN: r163273
2010-08-16 00:16:35 +00:00
Uros Bizjak e00d231de2 cast.C: Change fields of structures to "long" to pass the test on targets with...
* g++.dg/cast.C: Change fields of structures to "long" to pass
	the test on targets with STRUCTURE_SIZE_BOUNDARY != BITS_PER_UNIT.
	* g++.dg/cpp0x/iop.C: Ditto.
	* g++.dg/cpp0x/named_refs.C: Ditto.
	* g++.dg/cpp0x/rv1p.C: Ditto.
	* g++.dg/cpp0x/rv2p.C: Ditto.
	* g++.dg/cpp0x/rv3p.C: Ditto.
	* g++.dg/cpp0x/rv4p.C: Ditto.
	* g++.dg/cpp0x/rv5p.C: Ditto.
	* g++.dg/cpp0x/rv6p.C: Ditto.
	* g++.dg/cpp0x/rv7p.C: Ditto.
	* g++.dg/cpp0x/rv8p.C: Ditto.
	* g++.dg/cpp0x/unnamed_refs.C: Ditto.

From-SVN: r163265
2010-08-15 19:14:56 +02:00
GCC Administrator b8696e87ec Daily bump.
From-SVN: r163256
2010-08-15 00:16:35 +00:00
John David Anglin 1ed97863e8 Revert:
2010-08-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	PR boehm-gc/34544
	* gthr-posix.h (__gthread_start): Delete.
	(__gthread_active_init): Use pthread_default_stacksize_np instead of
	pthread_create to determine if hpux pthreads are active.
	* gthr-posix95.h (__gthread_start): Delete.
	(__gthread_active_init): Likewise use pthread_default_stacksize_np.

From-SVN: r163243
2010-08-14 14:42:43 +00:00
GCC Administrator 8b37ac3675 Daily bump.
From-SVN: r163233
2010-08-14 00:16:37 +00:00
GCC Administrator d4eb1af979 Daily bump.
From-SVN: r163216
2010-08-13 00:16:43 +00:00
Jakub Jelinek 68bd7fdeac re PR middle-end/45262 (Optimization results in wrong result on expression x>>31||(-x)>>31)
PR middle-end/45262
	* fold-const.c (make_range) <case NEGATE_EXPR>: Punt if
	-a overflows.  Normalize the range.

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

From-SVN: r163195
2010-08-12 17:28:40 +02:00
GCC Administrator a89026a168 Daily bump.
From-SVN: r163180
2010-08-12 00:17:36 +00:00
GCC Administrator 3193e8563d Daily bump.
From-SVN: r163083
2010-08-11 00:16:51 +00:00
Steve Ellcey 01afaf88fe backport: re PR middle-end/41551 (ia64: ICE: in instantiate_virtual_regs_in_insn, at function.c:1630)
2010-08-10  Steve Ellcey  <sje@cup.hp.com>
	    Jakub Jelinek <jakub@redhat.com>

	Backport from mainline:
	PR middle-end/41551
	* function.c (instantiate_virtual_regs_in_insn): Copy to new reg
	before forcing mode.
	* testsuite/gcc.dg/pr41551.c: New test.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r163072
2010-08-10 15:40:14 +00:00
GCC Administrator c2097378fd Daily bump.
From-SVN: r163044
2010-08-10 00:16:38 +00:00
GCC Administrator 8e6e94d23e Daily bump.
From-SVN: r163022
2010-08-09 00:16:48 +00:00
John David Anglin 6f9356953e backport: re PR target/44805 (FAIL: gcc.c-torture/execute/builtins/strpcpy-2.c execution, at -O1 and above)
Backport from mainline.
	2010-07-17  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	PR target/44805
	* config/pa/pa.h (CONSTANT_ALIGNMENT): Align strings to BITS_PER_WORD
	on all targets.

From-SVN: r163018
2010-08-08 19:57:46 +00:00
Richard Guenther 4a21760510 re PR tree-optimization/45109 (ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932)
2010-08-08  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/45109
	* tree-ssa-structalias.c (get_constraint_for_component_ref):
	Explicitly strip handled components and indirect references.

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

From-SVN: r163010
2010-08-08 15:51:14 +00:00
John David Anglin 2c02e37e62 re PR boehm-gc/34544 (pthread_default_stacksize_np failed.)
PR boehm-gc/34544
	* gthr-posix.h (__gthread_start): Delete.
	(__gthread_active_init): Use pthread_default_stacksize_np instead of
	pthread_create to determine if hpux pthreads are active.
	* gthr-posix95.h (__gthread_start): Delete.
	(__gthread_active_init): Likewise use pthread_default_stacksize_np.

From-SVN: r163005
2010-08-08 15:11:20 +00:00
Uros Bizjak f7a86e8eb9 thunk3.C: Skip for targets with generic thunk support.
* g++.old-deja/g++.jason/thunk3.C: Skip for targets with
	generic thunk support.

From-SVN: r163000
2010-08-08 15:05:43 +02:00
Daniel Franke 2518310139 re PR fortran/31588 (gfortran should be able to output Makefile dependencies with -M* options)
2010-08-07  Daniel Franke  <franke.daniel@gmail.com>

	PR fortran/31588
	PR fortran/43954
	Backport from mainline:
	* gfortranspec.c (lang_specific_driver): Removed deprecation
	warning for -M.
	* lang.opt: Add options -M, -MM, -MD, -MMD, -MF, -MG, -MP, -MT, -MQ.
	* lang-specs.h (CPP_FORWARD_OPTIONS): Add -M* options.
	* cpp.h (gfc_cpp_makedep): New.
	(gfc_cpp_add_dep): New.
	(gfc_cpp_add_target): New.
	* cpp.c (gfc_cpp_option): Add deps* members.
	(gfc_cpp_makedep): New.
	(gfc_cpp_add_dep): New.
	(gfc_cpp_add_target): New.
	(gfc_cpp_init_options): Initialize new options.
	(gfc_cpp_handle_option): Handle new options.
	(gfc_cpp_post_options): Map new options to libcpp-options.
	(gfc_cpp_init): Handle deferred -MQ and -MT options.
	(gfc_cpp_done): If requested, write dependencies to file.
	* module.c (gfc_dump_module): Add a module filename as target.
	* scanner.c (open_included_file): New parameter system; add the
	included file as dependency.
	(gfc_open_included_file): Add the included file as dependency.
	(gfc_open_intrinsic_module): Likewise.
	* invoke.texi: Removed deprecation warning for -M.
	* gfortran.texi: Removed Makefile-dependencies project.

From-SVN: r162990
2010-08-08 01:59:15 +00:00
GCC Administrator f34c48224a Daily bump.
From-SVN: r162987
2010-08-08 00:16:40 +00:00
GCC Administrator ee77cc7948 Daily bump.
From-SVN: r162971
2010-08-07 00:16:44 +00:00
Eric Botcazou a349873ef7 re PR target/44942 (Bug in argument passing of long double)
PR target/44942
	* config/sparc/sparc.c (function_arg_advance): Always take into account
	the padding, if any.

From-SVN: r162969
2010-08-06 23:23:29 +00:00
Mikael Morin 8f14d009f4 re PR fortran/44660 (ICE in resolve_equivalence())
2010-08-06  Mikael Morin  <mikael@gcc.gnu.org>

	PR fortran/44660
	* gfortran.h (gfc_namespace): New field old_equiv.
	(gfc_free_equiv_until): New prototype.
	* match.c (gfc_free_equiv_until): New, renamed from gfc_free_equiv with
	a parameterized stop condition.
	(gfc_free_equiv): Use gfc_free_equiv_until.
	* parse.c (next_statement): Save equivalence list.
	(reject_statement): Restore equivalence list.

From-SVN: r162949
2010-08-06 17:17:37 +00:00
Uros Bizjak 2b350c1006 expmed.c (expand_mult_const): Expand shift into temporary.
2010-08-06  Uros Bizjak  <ubizjak@gmail.com>

	* expmed.c (expand_mult_const) <case alg_shift>: Expand shift into
	temporary. Emit move from temporary to accum, so REG_EQUAL note will
	be attached to this insn in correct mode.

2010-08-06  Uros Bizjak  <ubizjak@gmail.com>

	* config/i386/i386.c (ix86_decompose_address): Check for SI_REG
	using REGNO of base_reg directly.

From-SVN: r162940
2010-08-06 09:52:04 +02:00
GCC Administrator 4030ae76ca Daily bump.
From-SVN: r162926
2010-08-06 00:16:49 +00:00
GCC Administrator d74561377c Daily bump.
From-SVN: r162894
2010-08-05 00:17:33 +00:00
Ulrich Weigand 295128cc5e spu.c (spu_emit_branch_hint): Do not access NOTE_KIND of non-NOTE insns.
* config/spu/spu.c (spu_emit_branch_hint): Do not access NOTE_KIND of
	non-NOTE insns.

From-SVN: r162870
2010-08-04 18:40:05 +00:00
GCC Administrator 47433429cf Daily bump.
From-SVN: r162851
2010-08-04 00:16:53 +00:00
GCC Administrator 811093680b Daily bump.
From-SVN: r162832
2010-08-03 00:16:37 +00:00
Andrew Haley fe56c3c68c backport: JobStateReasons.java (add): Fix infinite recursion with call to super.
Merge from trunk:

2010-07-30  Andrew Haley  <aph@redhat.com>

        * javax/print/attribute/standard/JobStateReasons.java (add): Fix
        infinite recursion with call to super.

2010-04-27  Andrew Haley  <aph@redhat.com>

        * java/util/concurrent/CopyOnWriteArrayList.java: Fix for empty
        list.

2010-04-27  Andrew Haley  <aph@redhat.com>

        * gnu/javax/print/ipp/IppResponse.java (parseAttributes): Handle
        IppValueTag.UNKNOWN.  
        * gnu/javax/print/ipp/IppRequest.java (writeOperationAttributes):
        Handle RequestedAttributes.
        * gnu/javax/print/ipp/IppPrintService.java (processResponse): Add
        DocFlavor.SERVICE_FORMATTED.PAGEABLE and
        DocFlavor.SERVICE_FORMATTED.PRINTABLE.

From-SVN: r162820
2010-08-02 14:25:47 +00:00
GCC Administrator 1f84d9e06e Daily bump.
From-SVN: r162807
2010-08-02 00:16:48 +00:00
GCC Administrator 9448b142ba Daily bump.
From-SVN: r162790
2010-08-01 00:16:43 +00:00
GCC Administrator 29dad2c0d9 Daily bump.
From-SVN: r162728
2010-07-31 00:16:52 +00:00
GCC Administrator 973e0010a1 Daily bump.
From-SVN: r162699
2010-07-30 00:17:00 +00:00
GCC Administrator 6b014c95dd Daily bump.
From-SVN: r162664
2010-07-29 00:16:45 +00:00
Ulrich Weigand 3d2a0e0363 backport: re PR middle-end/42509 (nonoverlapping_memrefs_p misinterprets NULL MEM_OFFSET as const0_rtx)
Backport from mainline:
	2010-04-03  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42509
	* alias.c (nonoverlapping_memrefs_p): For spill-slot accesses
	require a non-NULL MEM_OFFSET.

From-SVN: r162650
2010-07-28 18:00:08 +00:00
GCC Administrator 34a5632922 Daily bump.
From-SVN: r162613
2010-07-28 00:16:36 +00:00
Richard Guenther 266e437ca9 re PR c/44555 (Pointer evalutions, is that expected ?)
2010-07-27  Richard Guenther  <rguenther@suse.de>

	PR c/44555
	* c-common.c (c_common_truthvalue_conversion): Remove
	premature and wrong optimization concering ADDR_EXPRs.

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

From-SVN: r162566
2010-07-27 13:07:28 +00:00
Richard Guenther aa8f9a5e14 re PR tree-optimization/44977 (ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728)
2010-07-27  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/44977
	* tree-ssa-dom.c (propagate_rhs_into_lhs): Do not create invalid
	SSA form.

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

From-SVN: r162565
2010-07-27 13:05:17 +00:00
GCC Administrator 9c39e8bea4 Daily bump.
From-SVN: r162552
2010-07-27 00:16:51 +00:00
GCC Administrator 32276d9be8 Daily bump.
From-SVN: r162523
2010-07-26 00:16:42 +00:00
GCC Administrator ac3ab1e761 Daily bump.
From-SVN: r162505
2010-07-25 00:17:13 +00:00
GCC Administrator c5284fadf3 Daily bump.
From-SVN: r162494
2010-07-24 00:16:44 +00:00
Tobias Burnus 8f15186775 re PR fortran/45019 (Aliasing of TARGET dummy argument not detected correctly)
2010-07-23  Tobias Burnus  <burnus@net-b.de>

        PR fortran/45019
        * dependency.c (gfc_check_dependency): Add argument alising
        * check.
        * symbol.c (gfc_symbols_could_alias): Add argument alising
        * check.

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

        PR fortran/45019
        * gfortran.dg/aliasing_dummy_5.f90: New.

From-SVN: r162448
2010-07-23 10:40:00 +02:00
GCC Administrator dcf31977fb Daily bump.
From-SVN: r162435
2010-07-23 00:17:15 +00:00
Jakub Jelinek 6031417ef7 backport: re PR target/44942 (Bug in argument passing of long double)
Backport from mainline
	2010-07-16  Jakub Jelinek  <jakub@redhat.com>

	PR target/44942
	* config/i386/i386-protos.h (ix86_function_arg_boundary): Change second
	argument to const_tree.
	* config/i386/i386.c (function_arg_advance): If padding needs to be
	inserted before argument, increment cum->words by number of padding
	words as well.
	(contains_aligned_value_p): Change argument to const_tree.
	(ix86_function_arg_boundary): Change second argument to const_tree.

	* gcc.c-torture/execute/pr44942.c: New test.
	* gcc.target/i386/pr44942.c: New test.

From-SVN: r162399
2010-07-22 08:46:28 +02:00
GCC Administrator fb1057d23a Daily bump.
From-SVN: r162394
2010-07-22 00:16:45 +00:00
Steve Ellcey 7fd1b3f8ce re PR target/42869 (GOMP_critical_start wrong on Itanium due to __sync miscompilation)
2010-07-21  Steve Ellcey  <sje@cup.hp.com>

        PR target/42869
        * config/ia64/sync.md (sync_compare_and_swap): Move memory fence.

From-SVN: r162387
2010-07-21 22:37:53 +00:00
Rainer Orth e3a8dd06bb backport: target-supports.exp (check_sse_os_support_available): New proc.
Backport from mainline:
	2010-07-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* lib/target-supports.exp (check_sse_os_support_available): New
	proc.
	(check_sse_hw_available): New proc.
	(check_effective_target_sse_runtime): New proc.
	(check_effective_target_sse2_runtime): New proc.
	* lib/fortran-torture.exp (get-fortran-torture-options): Only add
	-msse2 if check_sse_os_support_available.
	* g++.dg/vect/vect.exp: Only run -msse2 tests if
	check_sse_os_support_available.
	* gcc.dg/vect/vect.exp: Likewise.
	* gfortran.dg/vect/vect.exp: Likewise.
	* gcc.target/i386/sol2-check: Renamed to ...
	* gcc.target/i386/sse-os-support.h: ... this.
	(sol2_check): Renamed to ...
	(sse_os_support): ... this.
	Only test movss with xmm registers.
	* gcc.target/i386/sse-check.h: Reflect new header and function names.
	Removed ILL_INSN, ILL_INSN_LEN.
	* gcc.target/i386/sse2-check.h: Likewise.
	* gcc.target/i386/sse3-check.h: Likewise.
	* gcc.dg/pr40550.c: Use dg-require-effective-target sse_runtime.
	Removed cpuid.h, __get_cpuid test.
	* g++.dg/other/i386-1.C: Use dg-require-effective-target sse2_runtime.
	Removed cpuid.h, __get_cpuid test.
	* g++.dg/other/pr40446.C: Likewise.
	* gcc.dg/compat/union-m128-1_main.c: Likewise.
	* gcc.dg/compat/vector-1a_main.c: Likewise.
	* gcc.dg/compat/vector-2a_main.c: Likewise.
	* gcc.dg/pr36584.c: Likewise.
	* gcc.dg/pr37544.c: Likewise.
	* gcc.dg/torture/pr16104-1.c: Likewise.
	* gcc.dg/torture/stackalign/alloca-2.c: Likewise.
	* gcc.dg/torture/stackalign/alloca-3.c: Likewise.
	* gcc.dg/torture/stackalign/push-1.c: Likewise.
	* gcc.dg/torture/stackalign/vararg-3.c: Likewise.
	* gcc.dg/torture/pr35771.h: Removed cpuid.h, __get_cpuid test.
	* gcc.dg/torture/pr35771-1.c: Use dg-require-effective-target
	sse2_runtime.
	* gcc.dg/torture/pr35771-2.c: Likewise.
	* gcc.dg/torture/pr35771-3.c: Likewise.

From-SVN: r162376
2010-07-21 14:37:33 +00:00
Rainer Orth 5dfd37c784 backport: re PR testsuite/38946 (gcc trunk 143562 - Testsuite - gfortran failing tests that worked previously)
Backport from mainline:
	2010-06-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR testsuite/38946
	* gfortran.dg/array_constructor_23.f: Update test to allow for small
	error in comparing reals.

From-SVN: r162367
2010-07-21 09:06:42 +00:00
GCC Administrator 1180e5df53 Daily bump.
From-SVN: r162358
2010-07-21 00:16:43 +00:00
GCC Administrator 53466f518e Daily bump.
From-SVN: r162320
2010-07-20 00:16:52 +00:00
GCC Administrator 72901f5ec9 Daily bump.
From-SVN: r162289
2010-07-19 00:16:32 +00:00
GCC Administrator 4a18d5ae5f Daily bump.
From-SVN: r162280
2010-07-18 00:16:46 +00:00
GCC Administrator 7734c51dfd Daily bump.
From-SVN: r162272
2010-07-17 00:16:45 +00:00
GCC Administrator d2051c2cc6 Daily bump.
From-SVN: r162236
2010-07-16 00:16:43 +00:00
Rainer Orth b9df05b97e backport: pr42427.c: Require c99_runtime.
Backport from mainline:
	2010-07-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gcc.dg/pr42427.c: Require c99_runtime.
	* gcc.target/i386/avx-vcmppd-1.c: Use dg-require-effective-target
	c99_runtime.
	* gcc.target/i386/avx-vcmppd-256-1.c: Likewise.
	* gcc.target/i386/avx-vcmpps-1.c: Likewise.
	* gcc.target/i386/avx-vcmpps-256-1.c: Likewise.
	* gcc.target/i386/avx-vcmpsd-1.c: Likewise.
	* gcc.target/i386/avx-vcmpss-1.c: Likewise.
	* gcc.target/i386/pr37275.c: Require visibility support.

From-SVN: r162214
2010-07-15 10:14:23 +00:00
Rainer Orth fa18a5767c backport: i386.c (ix86_sol10_return_in_memory): Rename to ix86_solaris_return_in_memory.
Backport from mainline:
	2010-07-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* config/i386/i386.c (ix86_sol10_return_in_memory): Rename to
	ix86_solaris_return_in_memory.
	* config/i386-protos.h: Reflect this.
	* config/i386/vx-common.h (SUBTARGET_RETURN_IN_MEMORY): Likewise.
	* config/i386/sol2-10.h (SUBTARGET_RETURN_IN_MEMORY): Likewise.
	Move ...
	* config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): ... here.

From-SVN: r162213
2010-07-15 10:08:56 +00:00
Rainer Orth 75bf9027a2 backport: inclhack.def (solaris_cond_init): New fix.
Backport from mainline:
	2010-07-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* inclhack.def (solaris_cond_init): New fix.
	* fixincl.x: Regenerate.
	* tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: New test.
	[SOLARIS_MUTEX_INIT_2_CHECK]: Adapt.

From-SVN: r162212
2010-07-15 10:04:48 +00:00
Rainer Orth 9e86287c26 gcc:
Backport from mainline:
	2010-07-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* doc/install.texi (Specific, i?86-*-solaris2.[89]): Recommend GNU as.
	Document SSE/SSE2 support.

	gcc/testsuite:
	Backport from mainline:
	2010-07-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* lib/target-supports.exp (check_effective_target_sse): New proc.
	* gcc.target/i386/sol2-check.h: New file.
	* gcc.target/i386/sse-check.h (ILL_INSN, ILL_INSN_LEN): Define.
	Include sol2-check.h.
	(main) Only run sse_test () if sol2_check ().
	* gcc.target/i386/sse2-check.h: Likewise.
	* gcc.target/i386/sse3-check.h: Likewise.
	* gcc.target/i386/math-torture/math-torture.exp: Only add options
	with -msse to MATH_TORTURE_OPTIONS if check_effective_target_sse.
	* g++.dg/debug/dwarf2/const2b.C: Use dg-require-effective-target sse.
	* g++.dg/ext/vector14.C: Likewise.
	* g++.dg/other/mmintrin.C: Likewise.
	* gcc.dg/20020418-1.c: Likewise.
	* gcc.dg/debug/dwarf2/const-2b.c: Likewise.
	* gcc.dg/format/ms_unnamed-1.c: Likewise.
	* gcc.dg/format/unnamed-1.c: Likewise.
	Adapt dg-warning line number.
	* gcc.dg/graphite/pr40281.c: Likewise.
	* gcc.dg/pr32176.c: Likewise.
	* gcc.dg/pr40550.c: Likewise.
	* gcc.dg/prefetch-loop-arrays-1.c: Likewise.
	* gcc.dg/torture/pr36891.c: Likewise.
	* gcc.target/i386/20020218-1.c: Likewise.
	* gcc.target/i386/20020523.c: Likewise.
	* gcc.target/i386/abi-1.c: Likewise.
	* gcc.target/i386/fastcall-sseregparm.c: Likewise.
	* gcc.target/i386/pr13366.c: Likewise.
	* gcc.target/i386/pr13685.c: Likewise.
	* gcc.target/i386/pr24306.c: Likewise.
	* gcc.target/i386/pr31486.c: Likewise.
	* gcc.target/i386/pr32065-1.c: Likewise.
	* gcc.target/i386/pr32065-2.c: Likewise.
	* gcc.target/i386/pr32389.c: Likewise.
	* gcc.target/i386/pr38824.c: Likewise.
	* gcc.target/i386/pr38931.c: Likewise.
	* gcc.target/i386/pr39592-1.c: Likewise.
	* gcc.target/i386/recip-divf.c: Likewise.
	* gcc.target/i386/recip-sqrtf.c: Likewise.
	* gcc.target/i386/recip-vec-divf.c: Likewise.
	* gcc.target/i386/recip-vec-sqrtf.c: Likewise.
	* gcc.target/i386/sse-1.c: Likewise.
	* gcc.target/i386/sse-16.c: Likewise.
	* gcc.target/i386/sse-2.c: Likewise.
	* gcc.target/i386/sse-20.c: Likewise.
	* gcc.target/i386/sse-3.c: Likewise.
	* gcc.target/i386/sse-7.c: Likewise.
	* gcc.target/i386/sse-9.c: Likewise.
	* gcc.target/i386/sse-addps-1.c: Likewise.
	* gcc.target/i386/sse-addss-1.c: Likewise.
	* gcc.target/i386/sse-andnps-1.c: Likewise.
	* gcc.target/i386/sse-andps-1.c: Likewise.
	* gcc.target/i386/sse-comiss-1.c: Likewise.
	* gcc.target/i386/sse-comiss-2.c: Likewise.
	* gcc.target/i386/sse-comiss-3.c: Likewise.
	* gcc.target/i386/sse-comiss-4.c: Likewise.
	* gcc.target/i386/sse-comiss-5.c: Likewise.
	* gcc.target/i386/sse-comiss-6.c: Likewise.
	* gcc.target/i386/sse-cvtsi2ss-1.c: Likewise.
	* gcc.target/i386/sse-cvtsi2ss-2.c: Likewise.
	* gcc.target/i386/sse-cvtss2si-1.c: Likewise.
	* gcc.target/i386/sse-cvtss2si-2.c: Likewise.
	* gcc.target/i386/sse-cvttss2si-1.c: Likewise.
	* gcc.target/i386/sse-cvttss2si-2.c: Likewise.
	* gcc.target/i386/sse-divps-1.c: Likewise.
	* gcc.target/i386/sse-divss-1.c: Likewise.
	* gcc.target/i386/sse-init-v4hi-1.c: Likewise.
	* gcc.target/i386/sse-init-v4sf-1.c: Likewise.
	* gcc.target/i386/sse-maxps-1.c: Likewise.
	* gcc.target/i386/sse-maxss-1.c: Likewise.
	* gcc.target/i386/sse-minps-1.c: Likewise.
	* gcc.target/i386/sse-minss-1.c: Likewise.
	* gcc.target/i386/sse-movaps-1.c: Likewise.
	* gcc.target/i386/sse-movaps-2.c: Likewise.
	* gcc.target/i386/sse-movhlps-1.c: Likewise.
	* gcc.target/i386/sse-movhps-1.c: Likewise.
	* gcc.target/i386/sse-movhps-2.c: Likewise.
	* gcc.target/i386/sse-movlhps-1.c: Likewise.
	* gcc.target/i386/sse-movmskps-1.c: Likewise.
	* gcc.target/i386/sse-movntps-1.c: Likewise.
	* gcc.target/i386/sse-movss-1.c: Likewise.
	* gcc.target/i386/sse-movss-2.c: Likewise.
	* gcc.target/i386/sse-movss-3.c: Likewise.
	* gcc.target/i386/sse-movups-1.c: Likewise.
	* gcc.target/i386/sse-movups-2.c: Likewise.
	* gcc.target/i386/sse-mulps-1.c: Likewise.
	* gcc.target/i386/sse-mulss-1.c: Likewise.
	* gcc.target/i386/sse-orps-1.c: Likewise.
	* gcc.target/i386/sse-rcpps-1.c: Likewise.
	* gcc.target/i386/sse-recip-vec.c: Likewise.
	* gcc.target/i386/sse-recip.c: Likewise.
	* gcc.target/i386/sse-rsqrtps-1.c: Likewise.
	* gcc.target/i386/sse-set-ps-1.c: Likewise.
	* gcc.target/i386/sse-sqrtps-1.c: Likewise.
	* gcc.target/i386/sse-subps-1.c: Likewise.
	* gcc.target/i386/sse-subss-1.c: Likewise.
	* gcc.target/i386/sse-ucomiss-1.c: Likewise.
	* gcc.target/i386/sse-ucomiss-2.c: Likewise.
	* gcc.target/i386/sse-ucomiss-3.c: Likewise.
	* gcc.target/i386/sse-ucomiss-4.c: Likewise.
	* gcc.target/i386/sse-ucomiss-5.c: Likewise.
	* gcc.target/i386/sse-ucomiss-6.c: Likewise.
	* gcc.target/i386/sse-unpckhps-1.c: Likewise.
	* gcc.target/i386/sse-unpcklps-1.c: Likewise.
	* gcc.target/i386/sse-xorps-1.c: Likewise.
	* gcc.target/i386/ssefn-1.c: Likewise.
	* gcc.target/i386/ssefn-3.c: Likewise.
	* gcc.target/i386/sseregparm-1.c: Likewise.
	* gcc.target/i386/stackalign/return-3.c: Likewise.
	* gcc.target/i386/vectorize1.c: Likewise.
	* gcc.target/i386/vperm-v4sf-1.c: Likewise.
	* gcc.target/i386/xorps-sse.c: Likewise.
	* gfortran.dg/pr28158.f90: Likewise.
	* gfortran.dg/pr30667.f: Likewise.

	libgfortran:
	Backport from mainline:
	2010-07-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* config/fpu-387.h [__sun__ && __svr4__] Include <signal.h>,
	<ucontext.h>.
	(sigill_caught): New.
	(sigill_hdlr): New function
	(has_sse) [__sun__ && __svr4__]: Check if SSE instruction causes
	SIGILL.

From-SVN: r162210
2010-07-15 09:26:30 +00:00
GCC Administrator aa7aec4472 Daily bump.
From-SVN: r162197
2010-07-15 00:16:37 +00:00
GCC Administrator a42eaea90e Daily bump.
From-SVN: r162163
2010-07-14 00:17:17 +00:00
Rainer Orth 2909574732 re PR target/33743 (unwinding through signal frames)
* config/i386/sol2-unwind.h (x86_64_fallback_frame_state): Correct
	explanation.
	Find ucontext_t * on Solaris 11.
	(x86_fallback_frame_state): Handle Solaris 9 multi-threaded pattern.
	Handle new Solaris 11 __sighndlr patterns.

	Backport from mainline:
	2009-10-11  Olivier Hainque  <hainque@adacore.com>
		    Eric Botcazou  <ebotcazou@adacore.com>

	PR target/33743
	* config/i386/sol2.h (MD_UNWIND_SUPPORT): Define.
	* config/i386/sol2-unwind.h: New file.

From-SVN: r162131
2010-07-13 09:14:59 +00:00
Rainer Orth 5773523d62 backport: re PR pch/14940 (PCH largefile test fails on various platforms)
Backport from mainline:
	2010-07-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR pch/14940
	* config/host-solaris.c (mmap_fixed): New function.
	(sol_gt_pch_get_address): Use it.
	(sol_gt_pch_use_address): Likewise.

From-SVN: r162128
2010-07-13 09:07:18 +00:00
GCC Administrator 1f14650520 Daily bump.
From-SVN: r162117
2010-07-13 00:16:35 +00:00
GCC Administrator 7515be57c6 Daily bump.
From-SVN: r162063
2010-07-12 00:16:40 +00:00
GCC Administrator 44cfa2008a Daily bump.
From-SVN: r162049
2010-07-11 00:16:33 +00:00
Paul Thomas 102de1e541 re PR fortran/44582 (gfortran generates wrong results due to wrong ABI in function with array return)
2010-07-10  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/44582
	* trans-expr.c (arrayfunc_assign_needs_temporary): New function
	to determine if a function assignment can be made without a
	temporary.
	(gfc_trans_arrayfunc_assign): Move all the conditions that
	suppress the direct function call to the above new functon and
	call it.

	PR fortran/44773
	* trans-expr.c (arrayfunc_assign_needs_temporary): No temporary
	if the lhs has never been host associated, as well as not being
	use associated, a pointer or a target.
	* resolve.c (resolve_variable): Mark variables that are host
	associated.
	* gfortran.h: Add the host_assoc bit to the symbol_attribute
	structure.

2010-07-10  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/44582
	* gfortran.dg/aliasing_array_result_1.f90 : New test.

From-SVN: r162041
2010-07-10 17:08:48 +00:00
GCC Administrator 324707e015 Daily bump.
From-SVN: r162027
2010-07-10 00:17:45 +00:00
Jason Merrill aef5998e46 Revert previous checkin.
From-SVN: r162012
2010-07-09 15:47:35 -04:00
Jason Merrill e9b5bc9bbf re PR c++/43120 (Virtual inheritance with covariant return type confuses GCC)
PR c++/43120
	* class.c (update_vtable_entry_for_fn): Fix handling of dummy
	virtual bases for covariant thunks.

From-SVN: r162011
2010-07-09 15:45:53 -04:00
Rainer Orth 5455da27db asm-support.S (snapshot): Replace multiplication by values.
* gcc.target/x86_64/abi/asm-support.S (snapshot): Replace
	multiplication by values.
	* gcc.target/x86_64/abi/asm-support-darwin.s (_snapshot): Likewise.
	* gcc.target/x86_64/abi/avx/asm-support.S (snapshot): Likewise.

From-SVN: r161993
2010-07-09 11:15:32 +00:00
GCC Administrator 05732001cc Daily bump.
From-SVN: r161979
2010-07-09 00:16:55 +00:00
Jakub Jelinek bb8a9f2c8c re PR fortran/44847 (ICE: OpenMP with Collapse clause and CYCLE stmt in loop)
PR fortran/44847
	* match.c (match_exit_cycle): Error on EXIT also from collapsed
	!$omp do loops.  Error on CYCLE to non-innermost collapsed
	!$omp do loops.

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

From-SVN: r161969
2010-07-08 19:35:32 +02:00
GCC Administrator 38489e0a35 Daily bump.
From-SVN: r161939
2010-07-08 00:16:46 +00:00
GCC Administrator e90f414ad7 Daily bump.
From-SVN: r161895
2010-07-07 00:16:43 +00:00
GCC Administrator 7fbbc001a2 Daily bump.
From-SVN: r161859
2010-07-06 00:16:43 +00:00
GCC Administrator 8833dd700a Daily bump.
From-SVN: r161815
2010-07-05 00:16:48 +00:00
GCC Administrator 02e60c7e23 Daily bump.
From-SVN: r161793
2010-07-04 00:16:43 +00:00
John David Anglin 6c30f4e05e re PR target/44597 (FAIL: gcc.c-torture/execute/builtin-prefetch-2.c compilation, ICE)
PR target/44597
	* config/pa/predicates.md (prefetch_cc_operand): Remove.
	(prefetch_nocc_operand): Likewise.
	* config/pa/pa.md (prefetch): Revise expander to use prefetch_20.
	(prefetch_20): New insn.
	(prefetch_cc): Remove.
	(prefetch_nocc): Likewise.

From-SVN: r161790
2010-07-03 22:50:37 +00:00
John David Anglin 2420160995 re PR target/44705 (FAIL: gcc.dg/pr44674.c (internal compiler error))
PR target/44705
	* config/pa/pa.h (GO_IF_LEGITIMATE_ADDRESS): Reject LABEL_REF.

From-SVN: r161783
2010-07-03 20:40:30 +00:00
GCC Administrator 555a18f833 Daily bump.
From-SVN: r161758
2010-07-03 00:18:15 +00:00
GCC Administrator 67ab3e7eab Daily bump.
From-SVN: r161683
2010-07-02 00:16:39 +00:00
Jakub Jelinek 9fbde9382b backport: re PR tree-optimization/40421 (Revision 148352 failed 416.gamess in SPEC CPU 2006)
Backport from mainline
	2009-06-13  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/40421
	* tree-predcom.c (should_unroll_loop_p): Remove.
	(tree_predictive_commoning_loop): Use can_unroll_loop_p.

	* gfortran.fortran-torture/compile/pr40421.f: New testcase.

	* gfortran.fortran-torture/compile/pr40421.f90: New test.

From-SVN: r161668
2010-07-01 14:47:26 +02:00
GCC Administrator 38350e51d0 Daily bump.
From-SVN: r161651
2010-07-01 00:16:44 +00:00
GCC Administrator 56b043b176 Daily bump.
From-SVN: r161572
2010-06-30 00:16:43 +00:00
Jason Merrill 1f3459408e re PR c++/44587 (ICE in instantiate_decl)
PR c++/44587
	* pt.c (has_value_dependent_address): New.
	(value_dependent_expression_p): Check it.
	(convert_nontype_argument): Likewise.  Call decay_conversion before
	folding if we want a pointer.
	* semantics.c (finish_id_expression): Don't add SCOPE_REF if the
	scope is the current instantiation.

From-SVN: r161562
2010-06-29 15:30:29 -04:00
GCC Administrator a42093e042 Daily bump.
From-SVN: r161519
2010-06-29 00:16:41 +00:00
Rainer Orth aa24d6cbb3 ltrans-1.c: Add -march=i486 for i?86-*-* && ilp32.
* gcc.dg/tree-ssa/ltrans-1.c: Add -march=i486 for i?86-*-* && ilp32.
	* gcc.dg/tree-ssa/ltrans-3.c: Likewise.
	* gcc.dg/tree-ssa/ltrans-4.c: Likewise.
	* gcc.dg/tree-ssa/ltrans-5.c: Likewise.
	* gcc.dg/tree-ssa/ltrans-6.c: Likewise.
	* gcc.dg/tree-ssa/ltrans-8.c: Likewise.
	* gcc.dg/tree-ssa/vrp47.c: Add -march=i586 for i?86-*-* && ilp32.
	* gfortran.dg/ltrans-7.f90: Add -march=i486 for i?86-*-* && ilp32.

From-SVN: r161494
2010-06-28 14:05:08 +00:00
GCC Administrator eb7020c4f8 Daily bump.
From-SVN: r161478
2010-06-28 00:16:37 +00:00
Paul Thomas f439004a24 re PR fortran/43841 (Missing temporary for ELEMENTAL function call)
2010-06-27  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/43841
	PR fortran/43843
	* trans-expr.c (gfc_conv_expr): Supply an address expression for
	GFC_SS_REFERENCE.
	(gfc_conv_expr_reference): Call gfc_conv_expr and return for
	GFC_SS_REFERENCE.
	* trans-array.c (gfc_add_loop_ss_code): Store the value rather
	than the address of a GFC_SS_REFERENCE.
	* trans.h : Change comment on GFC_SS_REFERENCE. 

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

	PR fortran/43841
	PR fortran/43843
	* gfortran.dg/elemental_scalar_args_1.f90 : New test.

From-SVN: r161472
2010-06-27 16:22:27 +00:00
Richard Guenther 2683009ace re PR tree-optimization/44683 (Optimization bug with copysign builtin)
2010-06-27  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/44683
	* tree-ssa-dom.c (record_edge_info): Record equivalences for the
	false edge from the inverted condition.

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

From-SVN: r161469
2010-06-27 11:22:06 +00:00
GCC Administrator e85813bda1 Daily bump.
From-SVN: r161449
2010-06-27 00:16:25 +00:00
GCC Administrator 87fa1e936f Daily bump.
From-SVN: r161422
2010-06-26 00:16:37 +00:00
GCC Administrator 007413cb22 Daily bump.
From-SVN: r161352
2010-06-25 00:17:28 +00:00
GCC Administrator a4d9b2c43a Daily bump.
From-SVN: r161303
2010-06-24 00:17:05 +00:00
GCC Administrator 05d0a743f5 Daily bump.
From-SVN: r161238
2010-06-23 00:16:53 +00:00
Jakub Jelinek c521807639 re PR c++/44627 (ICE in dump_expr, at cp/error.c:1735)
PR c++/44627
	* error.c (dump_expr): Don't look at CALL_EXPR_ARG (t, 0) if
	the CALL_EXPR has no arguments.

	* g++.dg/other/method1.C: New test.

From-SVN: r161229
2010-06-22 22:48:24 +02:00
John David Anglin 2aa01de233 Add missing '*'.
From-SVN: r161177
2010-06-22 13:06:40 +00:00
GCC Administrator 1ef363e74c Daily bump.
From-SVN: r161126
2010-06-22 00:16:44 +00:00
John David Anglin efe7115977 re PR target/39690 (ld: An unknown relocation type 8)
PR target/39690
	config/pa/pa.c (override_options): Disable
	-freorder-blocks-and-partition.

From-SVN: r161123
2010-06-21 23:51:10 +00:00
H.J. Lu 04fb94d1ec Add -mtune=k8 to gcc.target/i386/amd64-abi-3.c.
2010-06-21  H.J. Lu  <hongjiu.lu@intel.com>

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

	PR target/44615
	* gcc.target/i386/amd64-abi-3.c: Add -mtune=k8.

From-SVN: r161114
2010-06-21 13:28:24 -07:00
Rainer Orth a2cabc4d9d backport: target-supports.exp (check_effective_target_ucn_nocache): New function.
Backport from mainline:
	2010-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* lib/target-supports.exp (check_effective_target_ucn_nocache):
	New function.
	(check_effective_target_ucn): Likewise.

	* g++.dg/other/ucnid-1.C: Don't XFAIL on *-*-solaris2.*, but skip
	if !ucn.
	* gcc.dg/ucnid-2.c: Likewise.
	* gcc.dg/ucnid-3.c: Likewise.
	* gcc.dg/ucnid-4.c: Likewise.
	* gcc.dg/ucnid-11.c: Likewise.
	* gcc.dg/ucnid-12.c: Likewise.
	* gcc.dg/ucnid-6.c: Skip if !ucn.
	* gcc.dg/ucnid-9.c: Likewise.

From-SVN: r161104
2010-06-21 17:23:53 +00:00
Rainer Orth 078f73ae72 backport: clearcap.map: New file.
Backport from mainline:
	2010-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gcc.target/i386/clearcap.map: New file.
	* gcc.target/i386/i386.exp: Check for linker -M mapfile support.
	Pass clearcap.map by default if supported.

From-SVN: r161103
2010-06-21 17:21:31 +00:00
Jakub Jelinek 17d7d2839f re PR bootstrap/44426 (gcc 4.5.0 requires c9x compiler to build)
PR bootstrap/44426
	* sel-sched-dump.h (sel_prepare_string_for_dot_label): Remove
	prototype.
	(sel_print_to_dot): Remove macro.
	(sel_print): Likewise.  New prototype.
	* sel-sched-dump.c (sel_prepare_string_for_dot_label): Make static.
	(sel_print): New function.

From-SVN: r161102
2010-06-21 19:10:02 +02:00
Rainer Orth 5b2e887b68 backport: target-supports.exp (check_effective_target_gas): New proc.
Backport from mainline:
	2010-06-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* lib/target-supports.exp (check_effective_target_gas): New proc.
	* gcc.c-torture/execute/960321-1.x: New file.

	2009-10-03  Ben Elliston  <bje@au.ibm.com>
		    Janis Johnson  <janis187@us.ibm.com>
	    	    Diego Novillo  <dnovillo@google.com>

	* lib/c-torture.exp: Load target-supports.exp.

From-SVN: r161090
2010-06-21 15:59:01 +00:00
GCC Administrator bc3f8a9bd9 Daily bump.
From-SVN: r161058
2010-06-21 00:16:48 +00:00
Gerald Pfeifer 479ed4ce88 backport: pass51-frag.c (MAP_FAILED): Define, if not in system header; use it.
Backport from mainline:
	2009-09-01  Loren J. Rittle  <ljrittle@acm.org>
	            Andreas Schwab  <schwab@linux-m68k.org>

	* testsuite/libmudflap.c/pass51-frag.c (MAP_FAILED): Define,
	if not in system header; use it.  On FreeBSD, must pass fd==-1
	with MAP_ANON flag.  Correct mmap error check.
	* testsuite/libmudflap.c/fail40-frag.c: Ditto.

From-SVN: r161051
2010-06-20 19:42:19 +00:00
Gerald Pfeifer 9cb3d37229 backport: mf-runtime.c (__mf_init): Support FreeBSD.
Backport from mainline:
	2009-09-01  Loren J. Rittle  <ljrittle@acm.org>

	* mf-runtime.c (__mf_init): Support FreeBSD.
	Prime mutex which calls calloc upon first lock to avoid deadlock.
	* mf-hooks1.c (__mf_0fn_mmap): Support FreeBSD.
	Ignore red zone allocation request for initial thread's stack.

From-SVN: r161050
2010-06-20 19:40:29 +00:00
Gerald Pfeifer b4f7736037 backport: PR testsuite/32843 (strikes again)
Backport from mainline:
	2009-09-17  Loren J. Rittle  <ljrittle@acm.org>

	PR testsuite/32843 (strikes again)
	src/x86/ffi.c (ffi_prep_cif_machdep): Add X86_FREEBSD to
	enable proper extension on char and short.

From-SVN: r161048
2010-06-20 17:12:11 +00:00
Gerald Pfeifer 80c0c6229b backport: configure.ac (*-*-freebsd*): Enable check for __stack_chk_fail.
Backport from mainline:
	2009-09-11  Loren J. Rittle  <ljrittle@acm.org>

	* configure.ac (*-*-freebsd*): Enable check for __stack_chk_fail.
	* configure: Regenerate.

From-SVN: r161047
2010-06-20 15:43:53 +00:00
GCC Administrator 56fdc8e076 Daily bump.
From-SVN: r161043
2010-06-20 00:16:34 +00:00
John David Anglin 755af15fd3 backport: re PR target/44261 (Multiplying -1 by NaN is not valid.)
Backport from mainline
	2010-05-29  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	PR target/44261
	config/pa/pa.md (negdf2_slow, negsf2_slow): New patterns.
	(negdf2): Adjust expander pattern and use negdf2_slow.
	(negsf2): Likewise.

From-SVN: r161035
2010-06-19 18:28:28 +00:00
GCC Administrator 1619b0b687 Daily bump.
From-SVN: r161015
2010-06-19 00:16:36 +00:00
John David Anglin d82c3509f9 backport: re PR testsuite/43739 (FAIL: gcc.dg/pr43643.c (test for excess errors))
Backport from mainline
	2010-04-14  Steve Ellcey  <sje@cup.hp.com>

	PR testsuite/43739
	* gcc.dg/pr43643.c: Use static link on hppa*-*-hpux*.

From-SVN: r161013
2010-06-18 22:38:32 +00:00
John David Anglin 217e47dd65 re PR target/43740 (FAIL: gcc.dg/tree-ssa/20031015-1.c (internal compiler error))
PR target/43740
	config/pa/pa.c (emit_move_sequence): Don't infer REG_POINTER flag for
	SET source operand from SET destination operand.

From-SVN: r160957
2010-06-18 00:29:30 +00:00
GCC Administrator 469f0ab7cd Daily bump.
From-SVN: r160952
2010-06-18 00:17:08 +00:00
Matthias Klose e811e96ea7 compatibility.cc: Export long double versions of "C" math library for arm-linux-gnueabi...
2010-06-16  Matthias Klose  <doko@ubuntu.com>

        * src/compatibility.cc: Export long double versions of "C" math
        library for arm-linux-gnueabi, m68k-linux-gnu (ColdFire),
        mips*-linux-gnu (o32 ABI), sh*-linux-gnu (32 bit).

From-SVN: r160901
2010-06-17 12:10:47 +00:00
GCC Administrator 258948b089 Daily bump.
From-SVN: r160867
2010-06-17 00:16:46 +00:00
GCC Administrator 3298d188fb Daily bump.
From-SVN: r160816
2010-06-16 00:16:56 +00:00
Jakub Jelinek 65e077a29e re PR bootstrap/44544 (build failure due to lhd_pass_through_t)
PR bootstrap/44544
	Backport from mainline
	2009-09-13  Richard Guenther  <rguenther@suse.de>
		    Rafael Avila de Espindola  <espindola@google.com>

	* langhooks-def.h (lhd_pass_through_t): Declare.
	* langhooks.c (lhd_pass_through_t): New function.

From-SVN: r160798
2010-06-15 18:32:24 +02:00
Jakub Jelinek 94ea129639 re PR fortran/44536 (OMP: missing error with default(none))
PR fortran/44536
	* langhooks.h (struct lang_hooks_for_decls): Add omp_report_decl.
	* langhooks-def.h (LANG_HOOKS_OMP_REPORT_DECL): Define.
	(LANG_HOOKS_DECLS): Add it.
	* gimplify.c (omp_notice_variable): Call
	lang_hooks.decls.omp_report_decl.

	* trans-openmp.c (gfc_omp_predetermined_sharing): Don't return
	OMP_CLAUSE_DEFAULT_SHARED for artificial vars with
	GFC_DECL_SAVED_DESCRIPTOR set.
	(gfc_omp_report_decl): New function.
	* trans.h (gfc_omp_report_decl): New prototype.
	* f95-lang.c (LANG_HOOKS_OMP_REPORT_DECL): Redefine.

	* gfortran.dg/gomp/pr44536.f90: New test.
	* gfortran.dg/gomp/sharing-3.f90: Remove xfail.

From-SVN: r160783
2010-06-15 14:27:01 +02:00
GCC Administrator 78b31ae62c Daily bump.
From-SVN: r160768
2010-06-15 00:16:44 +00:00
H.J. Lu 91a500b985 Replace 0x1 with 0x0 in AVX vec_extract_lo_* patterns.
gcc/

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

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

	PR target/44534
	* config/i386/sse.md (vec_extract_lo_<mode>): Replace 0x1 with
	0x0.
	(vec_extract_lo_v16hi): Likewise.
	(vec_extract_lo_v32qi): Likewise.

gcc/testsuite/

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

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

	PR target/44534
	* gcc.target/i386/avx-vextractf128-256-3.c: New.
	* gcc.target/i386/avx-vextractf128-256-4.c: Likewise.

From-SVN: r160758
2010-06-14 11:07:13 -07:00
Jakub Jelinek efdaa3f127 re PR tree-optimization/44508 (libgomp.fortran/vla1.f90 ICE on s390)
PR tree-optimization/44508
	* tree-ssa-propagate.c (substitute_and_fold): Don't do DCE
	when called from tree-vrp.c.

	* gcc.dg/tree-ssa/pr21086.c: Adjust.

From-SVN: r160752
2010-06-14 17:28:00 +02:00
GCC Administrator 36f0fee5fe Daily bump.
From-SVN: r160692
2010-06-14 00:16:33 +00:00
Gerald Pfeifer 93c26bc7a7 backport: config.gcc (*-*-freebsd*): Enable default_use_cxa_atexit to match the system compiler's configuration at...
Backport from mainline:
	2009-09-11  Loren J. Rittle  <ljrittle@acm.org>

	* config.gcc (*-*-freebsd*): Enable default_use_cxa_atexit
	to match the system compiler's configuration at inflection point.

From-SVN: r160689
2010-06-13 22:16:50 +00:00
GCC Administrator 99722df92f Daily bump.
From-SVN: r160666
2010-06-13 00:16:44 +00:00
Uros Bizjak 2a995bf4aa re PR target/44481 (__builtin_parity() causes ICE in trunc_int_for_mode())
PR target/44481
	* config/i386/i386.md (UNSPEC_PARITY): New unspec.
	(paritydi2_cmp): Use UNSPEC_PARITY unspec insted of parity RTX.
	(partiysi2_cmp): Ditto.
	(*partiyhi2_cmp): Ditto.
	(*parityqi2_cmp): Remove.

testsuite/ChangeLog:

	PR target/44481
	* gcc.target/i386/pr44481.c: New test.

From-SVN: r160654
2010-06-12 09:43:40 +02:00
GCC Administrator 744f9485fc Daily bump.
From-SVN: r160642
2010-06-12 00:17:20 +00:00
Rainer Orth 5c0c3d25e8 re PR libgcj/44216 (All libjava tests fail on IRIX 6.5: ld warns about -no-merge-exidx-entries)
config:
	* override.m4 (AC_LANG_WERROR): Redefine to autoconf 2.62 version.

	libjava:
	Backport from mainline:
	2010-05-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR libgcj/44216
	* configure.ac (libgcj_cv_exidx): Enable AC_LANG_WERROR.
	Save and restore werror flag.
	* configure: Regenerate.

From-SVN: r160603
2010-06-11 11:49:16 +00:00
GCC Administrator c8e2c55666 Daily bump.
From-SVN: r160586
2010-06-11 00:17:04 +00:00
Jakub Jelinek 98d7984464 re PR other/43838 (Incorrect output from abi::__cxa_demangle)
PR other/43838
	* cp-demangle.c (struct d_print_info): Add flush_count field.
	(d_print_init): Initialize it to 0.
	(d_print_flush): Increment it.
	(d_print_comp): If needed flush before appending ", ".  Only
	decrement dpi->len if no flushes happened during the recursive
	call.
	* testsuite/demangle-expected: Add a test for this.

2009-06-16  Nick Clifton  <nickc@redhat.com>

	PR 10197
	* testsuite/test-demangle.c: Rename getline to get_line to avoid
	conflicts with system function of the same name.

From-SVN: r160556
2010-06-10 17:31:56 +02:00
Rainer Orth fb0e39260c backport: pr32000-2.c: Add missing include and exclude lists to dg-skip-if.
Backport from mainline:
	2010-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gcc.target/i386/pr32000-2.c: Add missing include and exclude
	lists to dg-skip-if.
	* gcc.target/i386/stackalign/return-3.c: Likewise.

From-SVN: r160543
2010-06-10 12:34:42 +00:00
Rainer Orth f4bbccfc3c gcc/testsuite:
Backport from mainline:
	2010-01-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* g++.old-deja/g++.mike/eh16.C: Rename err to e.
	* g++.old-deja/g++.mike/eh17.C: Likewise.
	* g++.old-deja/g++.mike/p5571.C: Likewise.

	libgomp:
	Backport from mainline:
	2010-01-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* testsuite/libgomp.c++/task-1.C: Renamed err to e.
	* testsuite/libgomp.c++/task-6.C: Likewise.

From-SVN: r160542
2010-06-10 12:32:12 +00:00
Rainer Orth 3a1b5accbd backport: dg-extract-results.sh: Fix result order to match sequential case.
Backport from mainline:
	2010-03-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* dg-extract-results.sh: Fix result order to match sequential case.

From-SVN: r160540
2010-06-10 12:27:08 +00:00
GCC Administrator efd6843cc4 Daily bump.
From-SVN: r160520
2010-06-10 00:17:28 +00:00
Rainer Orth 86ad0a4df6 dwarf2.C: Don't xfail on i386-pc-solaris*.
* g++.old-deja/g++.oliva/dwarf2.C: Don't xfail on i386-pc-solaris*.
	* g++.old-deja/g++.oliva/dwarf3.C: Likewise.
	* g++.old-deja/g++.other/init19.C: Don't xfail on *-*-solaris2*.

From-SVN: r160501
2010-06-09 17:59:09 +00:00
Steven G. Kargl 3f50f5d5a2 mvbits_9.f90: New test.
2010-06-09  Steven G. Kargl  <kargl@gcc.gnu.org>

	* testsuite/gfortran.dg/mvbits_9.f90: New test.
	* testsuite/gfortran.dg/ibset_1.f90: Ditto.
	* testsuite/gfortran.dg/ibits_1.f90: Ditto.
	* testsuite/gfortran.dg/btest_1.f90: Ditto.
	* testsuite/gfortran.dg/ibclr_1.f90: Ditto.

2010-06-09  Steven G. Kargl  <kargl@gcc.gnu.org>

	* fortran/intrinsic.c (add_functions): Change gfc_check_btest,
	gfc_check_ibclr, and gfc_check_ibset to gfc_check_bitfcn.
	* fortran/intrinsic.h: Remove prototypes for gfc_check_btest,
	gfc_check_ibclr, and gfc_check_ibset.  Add prototype for
	gfc_check_bitfcn.
	* fortran/check.c (nonnegative_check, less_than_bitsize1, 
	less_than_bitsize2): New functions.
	(gfc_check_btest): Renamed to gfc_check_bitfcn.  Use
	nonnegative_check and less_than_bitsize1.
	(gfc_check_ibclr, gfc_check_ibset): Removed.
	(gfc_check_ibits,gfc_check_mvbits): Use nonnegative_check and
	less_than_bitsize1.

From-SVN: r160495
2010-06-09 16:37:05 +00:00
GCC Administrator 19acf488f3 Daily bump.
From-SVN: r160451
2010-06-09 00:16:59 +00:00
Uros Bizjak 7a0423a5c9 i386.md (*movsi_1): Use %a modifier to output operand 1.
* config/i386/i386.md (*movsi_1) <TYPE_LEA>: Use %a modifier
	to output operand 1.
	(ashift_zext lea splitter): Use DImode for multiplication.

	* config/i386/i386.c (ix86_expand_epilogue): Do not use ix86_gen_add
	to generate addition.

From-SVN: r160429
2010-06-08 11:41:58 +02:00
GCC Administrator e7286f3084 Daily bump.
From-SVN: r160412
2010-06-08 00:17:17 +00:00
Rainer Orth 75226b5376 backport: configure.ac (gcc_cv_ld_sol2_emulation): Test for GNU ld *_sol2 linker emulations.
Backport from mainline:
	2010-06-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* configure.ac (gcc_cv_ld_sol2_emulation): Test for GNU ld *_sol2
	linker emulations.
	* configure: Regenerate.
	* config.in: Regenerate.

	* config/i386/sol2-10.h [TARGET_GNU_LD] (I386_EMULATION): Define.
	(X86_64_EMULATION): Define.
	(TARGET_LD_EMULATION): Use them.

	* config/sparc/sol2-gld-bi.h (SPARC32_EMULATION): Define.
	(SPARC64_EMULATION): Define.
	(LINK_ARCH_SPEC): Use them.

From-SVN: r160400
2010-06-07 20:55:36 +00:00
Rainer Orth 1b858cc423 backport: deallocate_global.cc: Require __cxa_atexit.
Backport from mainline:
	2010-02-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* testsuite/ext/new_allocator/deallocate_global.cc: Require
	__cxa_atexit.
	* testsuite/ext/throw_allocator/deallocate_global.cc: Likewise.

From-SVN: r160396
2010-06-07 20:38:34 +00:00
Rainer Orth cf8891c5b8 toplevel:
Backport from mainline:
	2010-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR libstdc++/32499
	* configure.ac (RANLIB): Default to true.
	(STRIP): Likewise.
	(RANLIB_FOR_TARGET): Remove superfluous : argument.
	* configure: Regenerate.

	libstdc++-v3:
	Backport from mainline:
	2010-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR libstdc++/32499
	* testsuite/Makefile.am (check-DEJAGNU
	$(check_DEJAGNU_normal_targets)): Export AR, RANLIB.
	* testsuite/Makefile.in: Regenerate.

From-SVN: r160395
2010-06-07 20:10:41 +00:00
Rainer Orth 4fa8758d82 fp-int-convert-float128-timode.c: Skip on i?86-*-solaris2*.
* gcc.dg/torture/fp-int-convert-float128-timode.c: Skip on
	i?86-*-solaris2*.
	* gcc.dg/torture/fp-int-convert-float128.c: Likewise.

From-SVN: r160393
2010-06-07 19:25:07 +00:00
GCC Administrator c8d887c8f3 Daily bump.
From-SVN: r160354
2010-06-07 00:16:32 +00:00
GCC Administrator 767d0605ae Daily bump.
From-SVN: r160332
2010-06-06 00:16:52 +00:00
GCC Administrator 57cb886446 Daily bump.
From-SVN: r160302
2010-06-05 00:17:07 +00:00
Rainer Orth 44e6ab0969 backport: 20011009-1.c (COMMENT): Define.
Backport from mainline:
	2010-05-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gcc.target/i386/20011009-1.c (COMMENT): Define.
	(main): Use it.
	* gcc.target/i386/pr25993.c [__sun__]: Use .globl.

	2010-05-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gcc.target/i386/pr25993.c: Use @function as type specifier.

From-SVN: r160271
2010-06-04 14:39:55 +00:00
Rainer Orth 8714514250 check_jni_methods.sh.in: Don't use diff -U.
libjava/classpath:
	* scripts/check_jni_methods.sh.in: Don't use diff -U.
	Adapt grep regex, ignore file and problem message.

	contrib:
	* test_summary: Don't use diff -u.
	Adapt egrep regex.

From-SVN: r160266
2010-06-04 14:06:27 +00:00
Uros Bizjak b09a5fbd58 i386.md (*addqi_4): Check for incdec_operand in QImode.
* config/i386/i386.md (*addqi_4): Check for incdec_operand in QImode.

From-SVN: r160256
2010-06-04 11:50:04 +02:00
Alan Modra 55deda78f3 re PR target/44075 (__builtin_eh_return miscompiled)
PR target/44075
	* gcc/config/rs6000/rs6000.c (struct machine_function): Reorder
	fields for better packing.  Add lr_save_state.
	(rs6000_ra_ever_killed): Return lr_save_state if set.
	(rs6000_emit_eh_reg_restore): Set lr_save_state.

From-SVN: r160247
2010-06-04 14:27:21 +09:30
GCC Administrator 2902c826c8 Daily bump.
From-SVN: r160241
2010-06-04 00:17:15 +00:00
Alan Modra efbc6cbeef re PR rtl-optimization/44169 (Wrong code while generating TLS offsets)
PR target/44169
	* config/rs6000/rs6000.md (load_toc_v4_PIC_1b): Add label operand.
	* config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Pass label
	rtx to gen_load_toc_v4_PIC_1b.  Tidy.
	(rs6000_emit_load_toc_table): Likewise.

From-SVN: r160208
2010-06-03 12:38:32 +09:30
GCC Administrator 2b4b888302 Daily bump.
From-SVN: r160201
2010-06-03 00:17:01 +00:00
Rainer Orth 0485b3bdd7 backport: sysv4.h (PUSHSECTION_FORMAT): Remove undef.
Backport from mainline:
	2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* config/sparc/sysv4.h (PUSHSECTION_FORMAT): Remove undef.
	(PUSHSECTION_ASM_OP): Remove.
	(POPSECTION_ASM_OP): Remove.
	(PUSHSECTION_FORMAT): Remove.
	* config/sol2.h (PUSHSECTION_FORMAT): Define.
	* config/sparc/sol2.h [!USE_GAS] (PUSHSECTION_FORMAT): Redefine.
	* config/sol2.c (solaris_output_init_fini): Use it.

	2010-03-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* config.gcc (sparc*-*-solaris2*) [$gas=yes]: Add usegas.h to tm_file.

From-SVN: r160181
2010-06-02 17:51:29 +00:00
Rainer Orth bd26e16602 backport: sol2-gld.h: Remove SPARC reference.
Backport from mainline:
	2010-04-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* config/sparc/sol2-gld.h: Remove SPARC reference.  Rename ...
	* config/sol2-gld.h: ... here.
	* config.gcc (sparc*-*-solaris2*): Reflect this.
	(i[34567]86-*-solaris2*): Use it.

From-SVN: r160180
2010-06-02 17:45:45 +00:00
Rainer Orth 8843688a8e backport: socket1.adb: Disable on *-*-solaris2*.
Backport from mainline:
	2010-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gnat.dg/socket1.adb: Disable on *-*-solaris2*.

From-SVN: r160179
2010-06-02 17:41:33 +00:00
Rainer Orth 88d0b1d04f backport: re PR pch/14940 (PCH largefile test fails on various platforms)
Backport from mainline:
	2010-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR pch/14940
	* config/host-solaris.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Redefine
	to sol_gt_pch_get_address.
	(TRY_EMPTY_VM_SPACE): Define for all combinations of 32 and
	64-bit, SPARC and x86.
	(sol_gt_pch_get_address): New function.

From-SVN: r160176
2010-06-02 17:28:24 +00:00
Rainer Orth 11b35a1af6 backport: sol2.h (NO_DBX_BNSYM_ENSYM): Define.
Backport from mainline:
	2010-02-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* config/i386/sol2.h (NO_DBX_BNSYM_ENSYM): Define.
	* config/i386/sol2-gas.h: New file.
	* config.gcc (i[34567]86-*-solaris2*): Use it.

From-SVN: r160175
2010-06-02 17:25:42 +00:00
Rainer Orth f52a1541b9 backport: configure.ac (gcc_cv_as_cfi_directive): Disable cfi directives unless GCC and gas agree on using read-only .eh_frame...
Backport from mainline:
	2010-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* configure.ac (gcc_cv_as_cfi_directive) [i?86-*-solaris*]:
	Disable cfi directives unless GCC and gas agree on using read-only
	.eh_frame sections for 64-bit.
	* configure: Regenerate.

From-SVN: r160174
2010-06-02 17:21:33 +00:00
Rainer Orth 840d32dc79 backport: linkage.exp: Remove mips-sgi-irix6*o32 support.
Backport from mainline:
	2010-01-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gcc.misc-tests/linkage.exp: Remove mips-sgi-irix6*o32 support.
	Add i?86-*-solaris2* support.

From-SVN: r160173
2010-06-02 17:18:44 +00:00
Rainer Orth 0ac1d2cd64 backport: re PR libobjc/36610 (objc_msg_sendv is broken for targets which pass argument via registers)
Backport from mainline:
	2010-02-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR libobjc/36610
	* objc/execute/forward-1.x: XFAIL on alpha*-dec-osf*, 64-bit
	i?86-*-solaris2*, mips-sgi-irix*, sparc*-sun-solaris2* with
	-fgnu-runtime.
	Sort entries.

From-SVN: r160172
2010-06-02 17:16:55 +00:00
Rainer Orth 31d8036850 backport: Makefile.am (GJDOC_EX): Use find -name pattern -prune -o.
Backport from mainline:
	2010-01-18  Andreas Tobler  <andreast@fgznet.ch>

	* tools/Makefile.am (GJDOC_EX): Use find -name pattern -prune -o.
	* tools/Makefile.in: Regenerate.

From-SVN: r160171
2010-06-02 17:08:19 +00:00
Rainer Orth 493cb02db0 backport: re PR libgcj/38251 (tools.zip doesn't build on systems with short command lines)
Backport from mainline:
	2010-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR libgcj/38251
	* tools/Makefile.am (dist-hook): Prune .svn directories in asm and
	classes copies.
	* tools/Makefile.in: Regenerate.

	Revert:
	2008-11-05  Andrew Haley  <aph@redhat.com>

	* tools/Makefile.am (UPDATE_TOOLS_ZIP, CREATE_TOOLS_ZIP): Exclude
	.svn direcories.

From-SVN: r160168
2010-06-02 16:57:10 +00:00
Rainer Orth 6d73b980d5 backport: inclhack.def (alpha_assert): Allow for more whitespace in select.
Backport from mainline:
	2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* inclhack.def (alpha_assert): Allow for more whitespace in
	select.
	* fixincl.x: Regenerate.

From-SVN: r160167
2010-06-02 16:52:51 +00:00
Rainer Orth eb414873e1 backport: re PR libfortran/41169 (libgfortran fails to build on Solaris 10+: '_Imaginary_I' undeclared)
Backport from mainline:
	2009-09-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR libfortran/41169
	* inclhack.def (irix_complex): New fix.
	(solaris_complex): Likewise.
	* fixincl.x: Regenerate.
	* tests/base/complex.h [IRIX_COMPLEX_CHECK, SOLARIS_COMPLEX_CHECK]:
	New tests.

	2009-09-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* inclhack.def (solaris_complex): Remove superfluous backslashes from
	replacement string.  Replace \+ operator with \{1,\}.

From-SVN: r160166
2010-06-02 16:49:39 +00:00
Rainer Orth 438ca7cf87 backport: write_float.def (WRITE_FLOAT): Use __builtin_signbit.
Backport from mainline:
	2010-02-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* io/write_float.def (WRITE_FLOAT): Use __builtin_signbit.

From-SVN: r160162
2010-06-02 16:38:06 +00:00
Rainer Orth c851db1ee3 backport: re PR fortran/42900 (gfortran.dg/stat_[12].f90 may fail on NFS filesystems)
Backport from mainline:
	2010-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR fortran/42900
	* gfortran.dg/stat_1.f90: Accept 'testfile' gid == parent dir gid.
	Explain this.
	* gfortran.dg/stat_2.f90: Likewise.

From-SVN: r160161
2010-06-02 16:35:15 +00:00
Andreas Krebbel 51eab27d21 2097.md (z10_fhex): Remove insn reservation.
2010-06-02  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/2097.md (z10_fhex): Remove insn reservation.
	* config/s390/s390.md (UNSPEC_COPYSIGN): Remove unused constant.
	(*mov<mode>_64 TD_TF, *mov<mode>_31 TD_TF, *mov<mode>_64dfp DD_DF,
	*mov<mode>_64 DD_DF, *mov<mode>_31, mov<mode>): Remove load zero
	instruction.
	* config/s390/s390.c: Don't accept fp zeros as valid constants
	anymore.

From-SVN: r160149
2010-06-02 12:00:02 +00:00
Tobias Burnus 59ed407a06 re PR fortran/44360 (wrong-code: host-associated procedure wrongly favoured to use-associated one)
2010-06-02  Tobias Burnus  <burnus@net-b.de>

        PR fortran/44360
        * parse.c (gfc_fixup_sibling_symbols): Do not "fix"
        use-associated symbols.

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

        PR fortran/44360
        * gfortran.dg/use_13.f90: New test case.

From-SVN: r160140
2010-06-02 08:06:27 +02:00
GCC Administrator 39883b559f Daily bump.
From-SVN: r160128
2010-06-02 00:16:50 +00:00
GCC Administrator e11a9b9ccc Daily bump.
From-SVN: r160090
2010-06-01 00:16:50 +00:00
GCC Administrator 0d89163a6a Daily bump.
From-SVN: r160063
2010-05-31 00:16:40 +00:00
GCC Administrator d71bb8f2ee Daily bump.
From-SVN: r160042
2010-05-30 00:16:36 +00:00
GCC Administrator 6ed35992c4 Daily bump.
From-SVN: r160012
2010-05-29 00:17:06 +00:00
Andreas Krebbel cf9c283c93 s390.md (movqi): Fix typo ('*' -> '#').
2010-05-28  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.md (movqi): Fix typo ('*' -> '#').

From-SVN: r159977
2010-05-28 13:59:35 +00:00
GCC Administrator edd2f6b1d7 Daily bump.
From-SVN: r159957
2010-05-28 00:16:54 +00:00
Jason Merrill 76b7391b43 re PR c++/43555 (wrong address calculation of multidimensional variable-length array element)
PR c++/43555
	* decl.c (grokdeclarator) [cdk_pointer et al]: Force evaluation of
	anonymous VLA size.

From-SVN: r159942
2010-05-27 15:00:33 -04:00
Matthias Klose 992d8f14e4 backport: re PR rtl-optimization/39580 (Revision 145204 caused libgomp.c++/collapse-2.C)
2010-05-27  Matthias Klose  <doko@ubuntu.com>

	Backport from mainline:
	2009-04-22  Andrey Belevantsev  <abel@ispras.ru>

	PR rtl-optimization/39580
	* sel-sched-ir.c (insert_in_history_vect): Remove incorrect gcc_assert.

From-SVN: r159909
2010-05-27 06:29:55 +00:00
GCC Administrator 33904980e4 Daily bump.
From-SVN: r159904
2010-05-27 00:16:54 +00:00
Jakub Jelinek 23ffa72fc3 re PR target/44199 (ppc64 glibc miscompilation)
PR target/44199
	* config/rs6000/rs6000.c (rs6000_emit_epilogue): Fix up a backport
	glitch.

From-SVN: r159878
2010-05-26 18:09:25 +02:00
Jakub Jelinek b32f4c3557 re PR target/44199 (ppc64 glibc miscompilation)
PR target/44199
	* config/rs6000/rs6000.c (rs6000_emit_epilogue): If cfun->calls_alloca
	or total_size is larger than red zone size for non-V4 ABI, emit a
	stack_tie resp. frame_tie insn before stack pointer restore.
	* config/rs6000/rs6000.md (frame_tie): New insn.

From-SVN: r159855
2010-05-26 08:05:29 +02:00
GCC Administrator 5ec26bb8e2 Daily bump.
From-SVN: r159849
2010-05-26 00:17:03 +00:00
Rainer Orth e6683ea946 configure.ac: Redirect grep stdout, stderr to /dev/null instead of grep -q.
libjava:
	* configure.ac: Redirect grep stdout, stderr to /dev/null instead
	of grep -q.
	Use -- instead of grep -e.
	* configure: Regenerate.

	contrib:
	* dg-extract-results.sh: Redirect grep output to /dev/null instead
	of grep -q.

	Backport from mainline:
	2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* dg-extract-results.sh: Don't use tail -n.

From-SVN: r159843
2010-05-25 20:20:59 +00:00
GCC Administrator 96f75462c3 Daily bump.
From-SVN: r159802
2010-05-25 00:16:49 +00:00
Uros Bizjak 3d35e21ec8 backport: re PR target/43733 (bootstrap fails on Solaris 10 x86 with GNU as 2.15 and --with-arch=core2)
Backport from mainline:
	2010-05-20  Uros Bizjak  <ubizjak@gmail.com>

	PR target/43733
	* configure.ac (gcc_cv_as_ix86_sahf): Switch to 64bit mode.
	* configure: Regenerate.
	* config.in: Regenerate.
	* config/i386/i386.md (x86_sahf_1): Conditionally output 0x9e
	instead of sahf only for 64bit targets.

From-SVN: r159786
2010-05-24 18:26:17 +02:00
GCC Administrator d19648f9d3 Daily bump.
From-SVN: r159772
2010-05-24 00:16:52 +00:00
H.J. Lu 4d423a4125 Properly check OPTION_MASK_ISA_64BIT.
gcc/

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

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

	PR target/44245
	* config/i386/i386.c (def_builtin): Properly check
	OPTION_MASK_ISA_64BIT.

gcc/testsuite/

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

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

	PR target/44245
	* gcc.target/i386/crc32-3.c: New.
	* gcc.target/i386/crc32-4.c: Likewise.

From-SVN: r159770
2010-05-23 15:17:27 -07:00
GCC Administrator 09ceddb9cb Daily bump.
From-SVN: r159751
2010-05-23 00:16:37 +00:00
GCC Administrator d1e655bc4c Daily bump.
From-SVN: r159689
2010-05-22 00:16:53 +00:00
Andreas Krebbel 9e3b02e14d s390.c (override_options): Increase the default of max-completely-peel-times.
2010-05-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.c (override_options): Increase the default
	of max-completely-peel-times.

From-SVN: r159674
2010-05-21 15:42:33 +00:00
Richard Guenther 53c9df5add re PR tree-optimization/43845 (Segfault when using __attribute__((const)), versions 4.4.3 and 4.6)
2010-05-21  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43845
	* tree-ssa-pre.c (create_component_ref_by_pieces_1): Properly
	lookup the CALL_EXPR function and arguments.

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

From-SVN: r159660
2010-05-21 12:56:49 +00:00
Jakub Jelinek 08a47eb7b9 * configure: Regenerate.
From-SVN: r159659
2010-05-21 14:33:10 +02:00
Jakub Jelinek a7f04ac2e4 re PR debug/44205 (Wrong .debug_line for -O0 -g)
PR debug/44205
	* tree-cfgcleanup.c (tree_forwarder_block_p): Return false if
	at -O0 goto_locus of any of the incoming edges differs from
	goto_locus of outgoing edge, or gimple_location of any of the
	labels differs.

From-SVN: r159654
2010-05-21 11:30:07 +02:00
GCC Administrator 230937f88c Daily bump.
From-SVN: r159648
2010-05-21 00:16:51 +00:00
Kenneth Zadeck 043200a81c re PR bootstrap/43870 (ICE in gcc/config/soft-fp/divtf3.c)
PR bootstrap/43870
	* df-scan.c (df_ref_compare): Stabilize sort.

From-SVN: r159627
2010-05-20 12:08:34 +00:00
Jakub Jelinek 335ee5ee8f re PR target/44074 (Solaris 2.9 x86 Sun assembler doesn't like rep/lock prefixes on same line)
PR target/44074
	* configure: Regenerate.

From-SVN: r159622
2010-05-20 12:28:36 +02:00
Hans-Peter Nilsson 85b852bcad re PR target/44202 (Missing compare after add)
PR target/44202
	* config/cris/cris.md ("*addsi3_v32"): Correct "cc"
	settings for 16-bit-constant "addo" alternative.

From-SVN: r159616
2010-05-20 06:51:05 +00:00
Hans-Peter Nilsson d52d66af69 re PR target/44202 (Missing compare after add)
PR target/44202
	* gcc.c-torture/execute/pr44202-1.c: New test.

From-SVN: r159615
2010-05-20 06:50:15 +00:00
GCC Administrator 0173f37601 Daily bump.
From-SVN: r159606
2010-05-20 00:16:55 +00:00
Rainer Orth 666a2bf7e7 backport: re PR target/44074 (Solaris 2.9 x86 Sun assembler doesn't like rep/lock prefixes on same line)
Backport from mainline:
	2010-05-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR target/44074
	* configure.ac (HAVE_AS_IX86_REP_LOCK_PREFIX): New test.
	* configure: Regenerate.
	* config.in: Regenerate.
	* config/i386/i386.c (print_operand) <case ;>: Also print ; if
	!HAVE_AS_IX86_REP_LOCK_PREFIX.
	Don't emit whitespace.
	* config/i386/i386.md (*rep_movdi_rex64): Use {%;} after rep.
	(*rep_movsi): Likewise.
	(*rep_movsi_rex64): Likewise.
	(*rep_movqi): Likewise.
	(*rep_movqi_rex64): Likewise.
	(*rep_stosdi_rex64): Likewise.
	(*rep_stossi): Likewise.
	(*rep_stossi_rex64): Likewise.
	(*rep_stosqi): Likewise.
	(*rep_stosqi_rex64): Likewise.
	(*cmpstrnqi_nz_1): Use {%;} after repz.
	(*cmpstrnqi_nz_rex_1): Likewise.
	(*cmpstrnqi_1): Likewise.
	(*cmpstrnqi_rex_1): Likewise.
	(*strlenqi_1): Use {%;} after repnz.
	(*strlenqi_rex_1): Likewise.
	* config/i386/sync.md (memory_barrier_nosse): Replace {%;| } by {%;} .
	(*sync_compare_and_swap<mode>): Likewise.
	(sync_double_compare_and_swap<mode>): Likewise.
	(*sync_double_compare_and_swapdi_pic): Likewise.
	(sync_old_add<mode>): Likewise.
	(sync_add<mode>): Likewise.
	(sync_sub<mode>): Likewise.
	(sync_<code><mode>): Likewise.

From-SVN: r159591
2010-05-19 17:42:00 +00:00
Rainer Orth 5b5ffb7e69 sourcebuild.texi (Directives): Document optional dg-require-effective-target selector.
gcc:
	* doc/sourcebuild.texi (Directives): Document optional
	dg-require-effective-target selector.

	gcc/testsuite:
	* lib/target-supports.exp (check_effective_target_sse2): New proc.
	* lib/target-supports-dg.exp (dg-require-effective-target): Allow
	for optional selector.
	* gcc.target/i386/i386.exp (check_effective_target_3dnow): New proc.
	(check_effective_target_sse3): New proc.
	* gcc.target/i386/math-torture/math-torture.exp: Load
	target-supports.exp.
	Only add options with -msse2 to MATH_TORTURE_OPTIONS if
	check_effective_target_sse2.
	* gcc.dg/vect/vect.exp: Return unless check_effective_target_sse2.
	* gcc.dg/vect/costmodel/i386/i386-costmodel-vect.exp: Likewise.
	* g++.dg/vect/vect.exp: Likewise.
	* gfortran.dg/vect/vect.exp: Likewise.
	* lib/fortran-torture.exp (get-fortran-torture-options): Only use
	-msse2 if check_effective_target_sse2.

	* gcc.target/i386/3dnow-1.c: Use dg-require-effective-target 3dnow.
	* gcc.target/i386/3dnow-2.c: Likewise.
	* gcc.target/i386/3dnowA-1.c: Likewise.
	* gcc.target/i386/3dnowA-2.c: Likewise.
	* gcc.target/i386/pr42549.c: Likewise.

	* gcc.target/i386/sse3-addsubpd.c: Use dg-require-effective-target sse3.
	* gcc.target/i386/sse3-addsubps.c: Likewise.
	* gcc.target/i386/sse3-haddpd.c: Likewise.
	* gcc.target/i386/sse3-haddps.c: Likewise.
	* gcc.target/i386/sse3-hsubpd.c: Likewise.
	* gcc.target/i386/sse3-hsubps.c: Likewise.
	* gcc.target/i386/sse3-lddqu.c: Likewise.
	* gcc.target/i386/sse3-movddup.c: Likewise.
	* gcc.target/i386/sse3-movshdup.c: Likewise.
	* gcc.target/i386/sse3-movsldup.c: Likewise.

	* g++.dg/abi/mangle42.C: Use dg-require-effective-target sse2.
	* g++.dg/ext/attrib35.C: Likewise.
	* g++.dg/opt/pr40496.C: Likewise.
	* g++.dg/other/i386-1.C: Likewise.
	* g++.dg/other/i386-4.C: Likewise.
	* g++.dg/other/pr34435.C: Likewise.
	* g++.dg/other/pr39496.C: Likewise.
	* g++.dg/other/pr40446.C: Likewise.
	* gcc.dg/compat/union-m128-1_main.c: Likewise.
	* gcc.dg/compat/vector-1a_main.c: Likewise.
	* gcc.dg/compat/vector-2a_main.c: Likewise.
	* gcc.dg/pr34856.c: Likewise.
	* gcc.dg/pr36584.c: Likewise.
	* gcc.dg/pr36997.c: Likewise.  Adapt dg-message line number.
	* gcc.dg/pr37544.c: Likewise.
	* gcc.dg/torture/pr16104-1.c: Likewise.
	* gcc.dg/torture/pr35771-1.c: Likewise.
	* gcc.dg/torture/pr35771-2.c: Likewise.
	* gcc.dg/torture/pr35771-3.c: Likewise.
	* gcc.dg/torture/stackalign/alloca-2.c: Likewise.
	* gcc.dg/torture/stackalign/alloca-3.c: Likewise.
	* gcc.dg/torture/stackalign/push-1.c: Likewise.
	* gcc.dg/torture/stackalign/vararg-3.c: Likewise.
	* gcc.dg/tree-ssa/prefetch-6.c: Likewise.
	* gcc.dg/tree-ssa/prefetch-7.c: Likewise.
	* gcc.dg/vect/vect-debug-pr41926.c: Likewise.
	* gcc.target/i386/20060512-1.c: Likewise.
	* gcc.target/i386/20060512-3.c: Likewise.
	* gcc.target/i386/float128-1.c: Likewise.
	* gcc.target/i386/float128-2.c: Likewise.
	* gcc.target/i386/fpcvt-1.c: Likewise.
	* gcc.target/i386/fpcvt-2.c: Likewise.
	* gcc.target/i386/fpcvt-3.c: Likewise.
	* gcc.target/i386/fpprec-1.c: Likewise.
	* gcc.target/i386/funcspec-9.c: Likewise.
	* gcc.target/i386/incoming-1.c: Likewise.
	* gcc.target/i386/incoming-2.c: Likewise.
	* gcc.target/i386/incoming-3.c: Likewise.
	* gcc.target/i386/incoming-4.c: Likewise.
	* gcc.target/i386/opt-1.c: Likewise.
	* gcc.target/i386/opt-2.c: Likewise.
	* gcc.target/i386/ordcmp-1.c: Likewise.
	* gcc.target/i386/pr17692.c: Likewise.
	* gcc.target/i386/pr18614-1.c: Likewise.
	* gcc.target/i386/pr22152.c: Likewise.
	* gcc.target/i386/pr23570.c: Likewise.
	* gcc.target/i386/pr23575.c: Likewise.
	* gcc.target/i386/pr26449-1.c: Likewise.
	* gcc.target/i386/pr26600.c: Likewise.
	* gcc.target/i386/pr27790.c: Likewise.
	* gcc.target/i386/pr28839.c: Likewise.
	* gcc.target/i386/pr30970.c: Likewise.
	* gcc.target/i386/pr32000-1.c: Likewise.
	* gcc.target/i386/pr32000-2.c: Likewise.
	* gcc.target/i386/pr32280.c: Likewise.
	* gcc.target/i386/pr32661.c: Likewise.
	* gcc.target/i386/pr32708-1.c: Likewise.
	* gcc.target/i386/pr32961.c: Likewise.
	* gcc.target/i386/pr33329.c: Likewise.
	* gcc.target/i386/pr35714.c: Likewise.
	* gcc.target/i386/pr35767-1.c: Likewise.
	* gcc.target/i386/pr35767-1d.c: Likewise.
	* gcc.target/i386/pr35767-1i.c: Likewise.
	* gcc.target/i386/pr35767-2.c: Likewise.
	* gcc.target/i386/pr35767-2d.c: Likewise.
	* gcc.target/i386/pr35767-2i.c: Likewise.
	* gcc.target/i386/pr35767-3.c: Likewise.
	* gcc.target/i386/pr35767-5.c: Likewise.
	* gcc.target/i386/pr36222-1.c: Likewise.
	* gcc.target/i386/pr36578-1.c: Likewise.
	* gcc.target/i386/pr36578-2.c: Likewise.
	* gcc.target/i386/pr36992-1.c: Likewise.
	* gcc.target/i386/pr37101.c: Likewise.
	* gcc.target/i386/pr37434-1.c: Likewise.
	* gcc.target/i386/pr37434-2.c: Likewise.
	* gcc.target/i386/pr37843-3.c: Likewise.
	* gcc.target/i386/pr39162.c: Likewise.
	* gcc.target/i386/pr39445.c: Likewise.
	* gcc.target/i386/pr39496.c: Likewise.
	* gcc.target/i386/pr40809.c: Likewise.
	* gcc.target/i386/pr40906-3.c: Likewise.
	* gcc.target/i386/pr41019.c: Likewise.
	* gcc.target/i386/pr42542-1.c: Likewise.
	* gcc.target/i386/pr42542-2.c: Likewise.
	* gcc.target/i386/pr42542-3.c: Likewise.
	* gcc.target/i386/pr42542-3a.c: Likewise.
	* gcc.target/i386/pr42881.c: Likewise.
	* gcc.target/i386/push-1.c: Likewise.
	* gcc.target/i386/quad-sse.c: Likewise.
	* gcc.target/i386/reload-1.c: Likewise.
	* gcc.target/i386/sse-10.c: Likewise.
	* gcc.target/i386/sse-11.c: Likewise.
	* gcc.target/i386/sse-15.c: Likewise.
	* gcc.target/i386/sse-17.c: Likewise.
	* gcc.target/i386/sse-18.c: Likewise.
	* gcc.target/i386/sse-19.c: Likewise.
	* gcc.target/i386/sse-4.c: Likewise.
	* gcc.target/i386/sse-6.c: Likewise.
	* gcc.target/i386/sse-vect-types.c: Likewise.
	* gcc.target/i386/sse2-addpd-1.c: Likewise.
	* gcc.target/i386/sse2-addsd-1.c: Likewise.
	* gcc.target/i386/sse2-andnpd-1.c: Likewise.
	* gcc.target/i386/sse2-andpd-1.c: Likewise.
	* gcc.target/i386/sse2-comisd-1.c: Likewise.
	* gcc.target/i386/sse2-comisd-2.c: Likewise.
	* gcc.target/i386/sse2-comisd-3.c: Likewise.
	* gcc.target/i386/sse2-comisd-4.c: Likewise.
	* gcc.target/i386/sse2-comisd-5.c: Likewise.
	* gcc.target/i386/sse2-comisd-6.c: Likewise.
	* gcc.target/i386/sse2-cvtdq2pd-1.c: Likewise.
	* gcc.target/i386/sse2-cvtdq2ps-1.c: Likewise.
	* gcc.target/i386/sse2-cvtpd2dq-1.c: Likewise.
	* gcc.target/i386/sse2-cvtpd2ps-1.c: Likewise.
	* gcc.target/i386/sse2-cvtps2dq-1.c: Likewise.
	* gcc.target/i386/sse2-cvtps2pd-1.c: Likewise.
	* gcc.target/i386/sse2-cvtsd2si-1.c: Likewise.
	* gcc.target/i386/sse2-cvtsd2si-2.c: Likewise.
	* gcc.target/i386/sse2-cvtsd2ss-1.c: Likewise.
	* gcc.target/i386/sse2-cvtsi2sd-1.c: Likewise.
	* gcc.target/i386/sse2-cvtsi2sd-2.c: Likewise.
	* gcc.target/i386/sse2-cvtss2sd-1.c: Likewise.
	* gcc.target/i386/sse2-cvttpd2dq-1.c: Likewise.
	* gcc.target/i386/sse2-cvttps2dq-1.c: Likewise.
	* gcc.target/i386/sse2-cvttsd2si-1.c: Likewise.
	* gcc.target/i386/sse2-cvttsd2si-2.c: Likewise.
	* gcc.target/i386/sse2-divpd-1.c: Likewise.
	* gcc.target/i386/sse2-divsd-1.c: Likewise.
	* gcc.target/i386/sse2-init-v16qi-1.c: Likewise.
	* gcc.target/i386/sse2-init-v2di-1.c: Likewise.
	* gcc.target/i386/sse2-init-v4si-1.c: Likewise.
	* gcc.target/i386/sse2-init-v8hi-1.c: Likewise.
	* gcc.target/i386/sse2-lrint-vec.c: Likewise.
	* gcc.target/i386/sse2-lrintf-vec.c: Likewise.
	* gcc.target/i386/sse2-maxpd-1.c: Likewise.
	* gcc.target/i386/sse2-maxsd-1.c: Likewise.
	* gcc.target/i386/sse2-minpd-1.c: Likewise.
	* gcc.target/i386/sse2-minsd-1.c: Likewise.
	* gcc.target/i386/sse2-mmx.c: Likewise.
	* gcc.target/i386/sse2-movapd-1.c: Likewise.
	* gcc.target/i386/sse2-movapd-2.c: Likewise.
	* gcc.target/i386/sse2-movd-1.c: Likewise.
	* gcc.target/i386/sse2-movd-2.c: Likewise.
	* gcc.target/i386/sse2-movdqa-1.c: Likewise.
	* gcc.target/i386/sse2-movdqa-2.c: Likewise.
	* gcc.target/i386/sse2-movdqu-1.c: Likewise.
	* gcc.target/i386/sse2-movdqu-2.c: Likewise.
	* gcc.target/i386/sse2-movhpd-1.c: Likewise.
	* gcc.target/i386/sse2-movhpd-2.c: Likewise.
	* gcc.target/i386/sse2-movlpd-1.c: Likewise.
	* gcc.target/i386/sse2-movlpd-2.c: Likewise.
	* gcc.target/i386/sse2-movmskpd-1.c: Likewise.
	* gcc.target/i386/sse2-movntdq-1.c: Likewise.
	* gcc.target/i386/sse2-movntpd-1.c: Likewise.
	* gcc.target/i386/sse2-movq-1.c: Likewise.
	* gcc.target/i386/sse2-movq-2.c: Likewise.
	* gcc.target/i386/sse2-movq-3.c: Likewise.
	* gcc.target/i386/sse2-movsd-1.c: Likewise.
	* gcc.target/i386/sse2-movsd-2.c: Likewise.
	* gcc.target/i386/sse2-movupd-1.c: Likewise.
	* gcc.target/i386/sse2-movupd-2.c: Likewise.
	* gcc.target/i386/sse2-mulpd-1.c: Likewise.
	* gcc.target/i386/sse2-mulsd-1.c: Likewise.
	* gcc.target/i386/sse2-orpd-1.c: Likewise.
	* gcc.target/i386/sse2-packssdw-1.c: Likewise.
	* gcc.target/i386/sse2-packsswb-1.c: Likewise.
	* gcc.target/i386/sse2-packuswb-1.c: Likewise.
	* gcc.target/i386/sse2-paddb-1.c: Likewise.
	* gcc.target/i386/sse2-paddd-1.c: Likewise.
	* gcc.target/i386/sse2-paddq-1.c: Likewise.
	* gcc.target/i386/sse2-paddsb-1.c: Likewise.
	* gcc.target/i386/sse2-paddsw-1.c: Likewise.
	* gcc.target/i386/sse2-paddusb-1.c: Likewise.
	* gcc.target/i386/sse2-paddusw-1.c: Likewise.
	* gcc.target/i386/sse2-paddw-1.c: Likewise.
	* gcc.target/i386/sse2-pand-1.c: Likewise.
	* gcc.target/i386/sse2-pandn-1.c: Likewise.
	* gcc.target/i386/sse2-pavgb-1.c: Likewise.
	* gcc.target/i386/sse2-pavgw-1.c: Likewise.
	* gcc.target/i386/sse2-pcmpeqb-1.c: Likewise.
	* gcc.target/i386/sse2-pcmpeqd-1.c: Likewise.
	* gcc.target/i386/sse2-pcmpeqw-1.c: Likewise.
	* gcc.target/i386/sse2-pcmpgtb-1.c: Likewise.
	* gcc.target/i386/sse2-pcmpgtd-1.c: Likewise.
	* gcc.target/i386/sse2-pcmpgtw-1.c: Likewise.
	* gcc.target/i386/sse2-pmaddwd-1.c: Likewise.
	* gcc.target/i386/sse2-pmaxsw-1.c: Likewise.
	* gcc.target/i386/sse2-pmaxub-1.c: Likewise.
	* gcc.target/i386/sse2-pminsw-1.c: Likewise.
	* gcc.target/i386/sse2-pminub-1.c: Likewise.
	* gcc.target/i386/sse2-pmovmskb-1.c: Likewise.
	* gcc.target/i386/sse2-pmulhuw-1.c: Likewise.
	* gcc.target/i386/sse2-pmulhw-1.c: Likewise.
	* gcc.target/i386/sse2-pmullw-1.c: Likewise.
	* gcc.target/i386/sse2-pmuludq-1.c: Likewise.
	* gcc.target/i386/sse2-por-1.c: Likewise.
	* gcc.target/i386/sse2-psadbw-1.c: Likewise.
	* gcc.target/i386/sse2-pshufd-1.c: Likewise.
	* gcc.target/i386/sse2-pshufhw-1.c: Likewise.
	* gcc.target/i386/sse2-pshuflw-1.c: Likewise.
	* gcc.target/i386/sse2-pslld-1.c: Likewise.
	* gcc.target/i386/sse2-pslld-2.c: Likewise.
	* gcc.target/i386/sse2-pslldq-1.c: Likewise.
	* gcc.target/i386/sse2-psllq-1.c: Likewise.
	* gcc.target/i386/sse2-psllq-2.c: Likewise.
	* gcc.target/i386/sse2-psllw-1.c: Likewise.
	* gcc.target/i386/sse2-psllw-2.c: Likewise.
	* gcc.target/i386/sse2-psrad-1.c: Likewise.
	* gcc.target/i386/sse2-psrad-2.c: Likewise.
	* gcc.target/i386/sse2-psraw-1.c: Likewise.
	* gcc.target/i386/sse2-psraw-2.c: Likewise.
	* gcc.target/i386/sse2-psrld-1.c: Likewise.
	* gcc.target/i386/sse2-psrld-2.c: Likewise.
	* gcc.target/i386/sse2-psrldq-1.c: Likewise.
	* gcc.target/i386/sse2-psrlq-1.c: Likewise.
	* gcc.target/i386/sse2-psrlq-2.c: Likewise.
	* gcc.target/i386/sse2-psrlw-1.c: Likewise.
	* gcc.target/i386/sse2-psrlw-2.c: Likewise.
	* gcc.target/i386/sse2-psubb-1.c: Likewise.
	* gcc.target/i386/sse2-psubd-1.c: Likewise.
	* gcc.target/i386/sse2-psubq-1.c: Likewise.
	* gcc.target/i386/sse2-psubsb-1.c: Likewise.
	* gcc.target/i386/sse2-psubsw-1.c: Likewise.
	* gcc.target/i386/sse2-psubw-1.c: Likewise.
	* gcc.target/i386/sse2-punpckhbw-1.c: Likewise.
	* gcc.target/i386/sse2-punpckhdq-1.c: Likewise.
	* gcc.target/i386/sse2-punpckhqdq-1.c: Likewise.
	* gcc.target/i386/sse2-punpckhwd-1.c: Likewise.
	* gcc.target/i386/sse2-punpcklbw-1.c: Likewise.
	* gcc.target/i386/sse2-punpckldq-1.c: Likewise.
	* gcc.target/i386/sse2-punpcklqdq-1.c: Likewise.
	* gcc.target/i386/sse2-punpcklwd-1.c: Likewise.
	* gcc.target/i386/sse2-pxor-1.c: Likewise.
	* gcc.target/i386/sse2-set-epi32-1.c: Likewise.
	* gcc.target/i386/sse2-set-epi64x-1.c: Likewise.
	* gcc.target/i386/sse2-set-v16qi-1.c: Likewise.
	* gcc.target/i386/sse2-set-v16qi-2.c: Likewise.
	* gcc.target/i386/sse2-set-v16qi-3.c: Likewise.
	* gcc.target/i386/sse2-set-v8hi-1.c: Likewise.
	* gcc.target/i386/sse2-set-v8hi-1a.c: Likewise.
	* gcc.target/i386/sse2-set-v8hi-2.c: Likewise.
	* gcc.target/i386/sse2-set-v8hi-2a.c: Likewise.
	* gcc.target/i386/sse2-shufpd-1.c: Likewise.
	* gcc.target/i386/sse2-shufps-1.c: Likewise.
	* gcc.target/i386/sse2-sqrtpd-1.c: Likewise.
	* gcc.target/i386/sse2-subpd-1.c: Likewise.
	* gcc.target/i386/sse2-subsd-1.c: Likewise.
	* gcc.target/i386/sse2-ucomisd-1.c: Likewise.
	* gcc.target/i386/sse2-ucomisd-2.c: Likewise.
	* gcc.target/i386/sse2-ucomisd-3.c: Likewise.
	* gcc.target/i386/sse2-ucomisd-4.c: Likewise.
	* gcc.target/i386/sse2-ucomisd-5.c: Likewise.
	* gcc.target/i386/sse2-ucomisd-6.c: Likewise.
	* gcc.target/i386/sse2-unpack-1.c: Likewise.
	* gcc.target/i386/sse2-unpckhpd-1.c: Likewise.
	* gcc.target/i386/sse2-unpcklpd-1.c: Likewise.
	* gcc.target/i386/sse2-vec-1.c: Likewise.
	* gcc.target/i386/sse2-vec-2.c: Likewise.
	* gcc.target/i386/sse2-vec-3.c: Likewise.
	* gcc.target/i386/sse2-vec-4.c: Likewise.
	* gcc.target/i386/sse2-vec-5.c: Likewise.
	* gcc.target/i386/sse2-vec-6.c: Likewise.
	* gcc.target/i386/sse2-xorpd-1.c: Likewise.
	* gcc.target/i386/ssefn-2.c: Likewise.
	* gcc.target/i386/ssefn-4.c: Likewise.
	* gcc.target/i386/ssefp-1.c: Likewise.
	* gcc.target/i386/ssefp-2.c: Likewise.
	* gcc.target/i386/sseregparm-3.c: Likewise.
	* gcc.target/i386/sseregparm-4.c: Likewise.
	* gcc.target/i386/sseregparm-5.c: Likewise.
	* gcc.target/i386/sseregparm-6.c: Likewise.
	* gcc.target/i386/sseregparm-7.c: Likewise.
	* gcc.target/i386/ssetype-1.c: Likewise.
	* gcc.target/i386/ssetype-2.c: Likewise.
	* gcc.target/i386/ssetype-3.c: Likewise.
	* gcc.target/i386/ssetype-4.c: Likewise.
	* gcc.target/i386/ssetype-5.c: Likewise.
	* gcc.target/i386/unordcmp-1.c: Likewise.
	* gcc.target/i386/vararg-1.c: Likewise.
	* gcc.target/i386/vararg-2.c: Likewise.
	* gcc.target/i386/vararg-3.c: Likewise.
	* gcc.target/i386/vararg-4.c: Likewise.
	* gcc.target/i386/vararg-7.c: Likewise.
	* gcc.target/i386/vararg-8.c: Likewise.
	* gcc.target/i386/vecinit-1.c: Likewise.
	* gcc.target/i386/vecinit-2.c: Likewise.
	* gcc.target/i386/vecinit-3.c: Likewise.
	* gcc.target/i386/vecinit-4.c: Likewise.
	* gcc.target/i386/vecinit-5.c: Likewise.
	* gcc.target/i386/vecinit-6.c: Likewise.
	* gcc.target/i386/vectorize2.c: Likewise.
	* gcc.target/i386/vectorize3.c: Likewise.
	* gcc.target/i386/vectorize4.c: Likewise.
	* gcc.target/i386/vectorize6.c: Likewise.
	* gcc.target/i386/xorps-sse2.c: Likewise.
	* gcc.target/i386/xorps.c: Likewise.

From-SVN: r159588
2010-05-19 17:21:58 +00:00
Rainer Orth b134b9f37b configure.ac (libffi_cv_as_x86_pcrel): Check for illegal in as output, too.
* configure.ac (libffi_cv_as_x86_pcrel): Check for illegal in as
	output, too.
	(libffi_cv_as_ascii_pseudo_op): Check for .ascii.
	(libffi_cv_as_string_pseudo_op): Check for .string.
	* configure: Regenerate.
	* fficonfig.h.in: Regenerate.
	* src/x86/sysv.S (.eh_frame): Use .ascii, .string or error.

From-SVN: r159583
2010-05-19 15:57:18 +00:00
Rainer Orth eddd960d04 sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun assembler syntax.
libgcc:
	* config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
	assembler syntax.

	gcc:
	* configure.ac (gcc_cv_as_hidden): Check for Solaris 9/x86 as
	hidden alias bug.
	(gcc_cv_as_ix86_quad): Check for .quad directive.
	* configure: Regenerate.
	* config.in: Regenerate.
	* config/i386/sol2.h (ASM_QUAD): Change guard to !HAVE_AS_IX86_QUAD.

From-SVN: r159581
2010-05-19 15:56:56 +00:00
Jason Merrill a134381373 re PR c++/44193 (function types, cv-quals and typename)
PR c++/44193
	* pt.c (tsubst) [TYPENAME_TYPE]: Discard cv-quals on
	function/reference type.

From-SVN: r159576
2010-05-19 11:44:33 -04:00
Rainer Orth 566131c778 backport: configure.ac (libffi_cv_as_x86_64_unwind_section_type): New test.
Backport from mainline:
	2010-03-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* configure.ac (libffi_cv_as_x86_64_unwind_section_type): New test.
	* configure: Regenerate.
	* fficonfig.h.in: Regenerate.
	* libffi/src/x86/unix64.S (.eh_frame)
	[HAVE_AS_X86_64_UNWIND_SECTION_TYPE]: Use @unwind section type.

From-SVN: r159574
2010-05-19 15:43:37 +00:00
GCC Administrator 1711472892 Daily bump.
From-SVN: r159551
2010-05-19 00:17:19 +00:00
GCC Administrator 704c222ad3 Daily bump.
From-SVN: r159521
2010-05-18 00:16:54 +00:00
Alan Modra 3134707c14 rs6000.c (rs6000_emit_allocate_stack): Delete unnecessary prototype.
* config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Delete
	unnecessary prototype.  Replace copy_r12 and copy_r11 flag params
	with copy_reg rtx param.
	(rs6000_emit_prologue): Update rs6000_emit_allocate_stack calls.
	Correct cases where code for ABI_V4 did not initialise the reg
	used to access frame.  Also leave frame_reg_rtx as sp for large
	frames that save no regs.

From-SVN: r159486
2010-05-17 23:08:42 +09:30
GCC Administrator 0b9fdb0a84 Daily bump.
From-SVN: r159469
2010-05-17 00:16:35 +00:00
GCC Administrator 2f8f387d2e Daily bump.
From-SVN: r159447
2010-05-16 00:16:33 +00:00
GCC Administrator ddcfbdde57 Daily bump.
From-SVN: r159423
2010-05-15 00:16:38 +00:00
Steven G. Kargl ec50d6d615 re PR fortran/44135 (Negative array bounds lead to spurious warning)
2010-05-14  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/44135
	* gfortran.dg/actual_array_interface_2.f90: New test.

2010-05-14  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/44135
	* fortran/interface.c (get_sym_storage_size): Use signed instead of
	unsigned mpz_get_?i routines.

From-SVN: r159419
2010-05-14 22:40:01 +00:00
GCC Administrator 1b5e170cc5 Daily bump.
From-SVN: r159379
2010-05-14 00:16:40 +00:00
Jakub Jelinek 30ac74a04b re PR fortran/44036 (I can't declare an external function in an OMP shared statement.)
PR fortran/44036
	* openmp.c (resolve_omp_clauses): Allow procedure pointers in clause
	variable lists.
	* trans-openmp.c (gfc_omp_privatize_by_reference): Don't privatize
	by reference dummy procedures or non-dummy procedure pointers.
	(gfc_omp_predetermined_sharing): Return
	OMP_CLAUSE_DEFAULT_FIRSTPRIVATE for dummy procedures.

	* gfortran.dg/gomp/pr44036-1.f90: New test.
	* gfortran.dg/gomp/pr44036-2.f90: New test.
	* gfortran.dg/gomp/pr44036-3.f90: New test.

From-SVN: r159365
2010-05-13 14:39:17 +02:00
GCC Administrator 190cb53fc5 Daily bump.
From-SVN: r159346
2010-05-13 00:16:40 +00:00
Jakub Jelinek a918af29b6 re PR middle-end/44085 (OpenMP - untied task accesses threadprivate - non-conforming but no msg)
PR middle-end/44085
	* gimplify.c (enum omp_region_type): Add ORT_UNTIED_TASK,
	change value of ORT_TASK.
	(new_omp_context): Handle ORT_UNTIED_TASK like ORT_TASK.
	(omp_notice_threadprivate_variable): New function.
	(omp_notice_variable): Call it for threadprivate variables.
	If enclosing ctx is a task, print enclosing task rather than
	enclosing parallel.  Handle ORT_UNTIED_TASK like ORT_TASK.
	(gimplify_omp_task): Pass ORT_UNTIED_TASK instead of ORT_TASK
	if task has untied clause.

	* gcc.dg/gomp/pr44085.c: New test.
	* gfortran.dg/gomp/pr44085.f90: New test.

From-SVN: r159318
2010-05-12 14:30:21 +02:00
GCC Administrator ede95136c4 Daily bump.
From-SVN: r159298
2010-05-12 00:16:52 +00:00
GCC Administrator 6173eb79b2 Daily bump.
From-SVN: r159249
2010-05-11 00:16:37 +00:00
GCC Administrator 1c5d992fcf Daily bump.
From-SVN: r159209
2010-05-10 00:16:42 +00:00
GCC Administrator e44782bcd1 Daily bump.
From-SVN: r159193
2010-05-09 00:16:51 +00:00
GCC Administrator 2b9606edf7 Daily bump.
From-SVN: r159177
2010-05-08 00:16:41 +00:00
Ralf Wildenhues 4452100833 Fix link to outdated cxx0x status page.
gcc/:
        PR documentation/44016
        * doc/standards.texi (Standards): Link to unversioned
        cxx0x_status.html page.

From-SVN: r159170
2010-05-07 20:11:01 +00:00
GCC Administrator ae34f5e17d Daily bump.
From-SVN: r159141
2010-05-07 00:17:03 +00:00
GCC Administrator 4724edfecf Daily bump.
From-SVN: r159092
2010-05-06 00:16:47 +00:00
Kaz Kojima d329298828 backport: re PR target/43744 (SH: Error: pcrel too far)
Backport from mainline:
	2010-04-22  Kaz Kojima  <kkojima@gcc.gnu.org>

	PR target/43744
	* config/sh/sh.c (find_barrier): Don't emit a constant pool
	in the middle of insns for casesi_worker_2.

From-SVN: r159088
2010-05-05 22:27:57 +00:00
Jason Merrill f7d83e2af2 re PR debug/43370 (ICE gen_type_die_with_usage, at dwarf2out.c:14745)
PR debug/43370
	* c-common.c (handle_aligned_attribute): Respect
	ATTR_FLAG_TYPE_IN_PLACE.

From-SVN: r159084
2010-05-05 16:31:53 -04:00
GCC Administrator 56eec111d7 Daily bump.
From-SVN: r159052
2010-05-05 00:16:33 +00:00
H.J. Lu 0cf902980e Handle the same VALUE for true dependence.
gcc/

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

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

	PR middle-end/43671
	* alias.c (true_dependence): Handle the same VALUE in x and mem.
	(canon_true_dependence): Likewise.
	(write_dependence_p): Likewise.

gcc/testsuite/

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

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

	PR middle-end/43671
	* gcc.target/i386/pr43671.c: New.

From-SVN: r159035
2010-05-04 08:50:53 -07:00
GCC Administrator 7ca5bf53b6 Daily bump.
From-SVN: r159013
2010-05-04 00:16:54 +00:00
Rainer Orth 627c02b70f run_acats (which): New function.
* ada/acats/run_acats (which): New function.
	(host_gnatchop, host_gnatmake): Use it.

From-SVN: r158996
2010-05-03 16:42:58 +00:00
GCC Administrator f485cfd5b8 Daily bump.
From-SVN: r158986
2010-05-03 00:16:35 +00:00
Uros Bizjak b917482f9c i386.c (ix86_target_string): Output 'flags', not 'isa', when processing flag options.
* config/i386/i386.c (ix86_target_string): Output 'flags', not 'isa',
	when processing flag options.

From-SVN: r158981
2010-05-02 22:37:41 +02:00
GCC Administrator 15f20bbda4 Daily bump.
From-SVN: r158967
2010-05-02 00:16:44 +00:00
GCC Administrator 68b13c9898 Daily bump.
From-SVN: r158955
2010-05-01 00:16:35 +00:00
Eric Botcazou 25a367c855 tree-ssa-loop-ivopts.c (may_be_unaligned_p): Check the alignment of the variable part of the offset as well.
* tree-ssa-loop-ivopts.c (may_be_unaligned_p): Check the alignment of
	the variable part of the offset as well.  Use highest_pow2_factor for
	all alignment checks.

From-SVN: r158951
2010-04-30 21:22:53 +00:00
Jakub Jelinek 881139c3ef re PR c/43893 (Error: Invalid controlling predicate with -fopenmp)
PR c/43893
	* c-omp.c (c_finish_omp_for): Handle also EQ_EXPR.

	* testsuite/libgomp.c/pr43893.c: New test.
	* testsuite/libgomp.c++/pr43893.C: New test.

From-SVN: r158942
2010-04-30 20:41:42 +02:00
GCC Administrator 18fbb9e578 Daily bump.
From-SVN: r158915
2010-04-30 00:16:54 +00:00
Jakub Jelinek f4c2d3cdfb re PR other/43620 ([4.3 Release Blocker] Uploading to gnu.org will fail due to automake security issue)
PR other/43620
libgomp/
	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist option.
	* Makefile.in: Regenerated.
libstdc++-v3/
	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist option.
	* Makefile.in: Regenerated.
libgfortran/
	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist option.
	* Makefile.in: Regenerated.
libmudflap/
	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist option.
	* Makefile.in: Regenerated.
libffi/
	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist option.
	* Makefile.in: Regenerated.
libssp/
	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist option.
	* Makefile.in: Regenerated.
libjava/
	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist option.
	* Makefile.in: Regenerated.
libjava/libltdl/
	* Makefile.am (AUTOMAKE_OPTIONS): Add no-dist option.
	* Makefile.in: Regenerated.
libjava/classpath/
	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist option.
	* Makefile.in: Regenerated.

From-SVN: r158903
2010-04-29 17:03:38 +02:00
Jakub Jelinek 5f24a97362 BASE-VER: Set to 4.4.5.
* BASE-VER: Set to 4.4.5.
	* DEV-PHASE: Set to prerelease.

From-SVN: r158899
2010-04-29 13:48:41 +02:00
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
9583 changed files with 300328 additions and 269044 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,90 @@
2012-03-13 Release Manager
* GCC 4.4.7 released.
2011-06-27 Hans-Peter Nilsson <hp@axis.com>
* configure.ac (cris-*-* | crisv32-*-*, mmix-*-*): Add
target-libiberty to skipdirs.
* configure: Regenerate.
2011-04-16 Release Manager
* GCC 4.4.6 released.
2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
PR bootstrap/44621
* configure.ac: Fix unportable shell quoting.
* configure: Regenerate.
2010-10-01 Release Manager
* GCC 4.4.5 released.
2010-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Backport from mainline:
2010-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR libstdc++/32499
* configure.ac (RANLIB): Default to true.
(STRIP): Likewise.
(RANLIB_FOR_TARGET): Remove superfluous : argument.
* configure: Regenerate.
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,41 @@
2012-03-13 Release Manager
* GCC 4.4.7 released.
2011-04-16 Release Manager
* GCC 4.4.6 released.
2010-10-01 Release Manager
* GCC 4.4.5 released.
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,50 @@
2012-03-13 Release Manager
* GCC 4.4.7 released.
2011-04-16 Release Manager
* GCC 4.4.6 released.
2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* po.m4 (AM_PO_SUBDIRS): Fix unportable shell quoting.
2010-10-01 Release Manager
* GCC 4.4.5 released.
2010-06-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* override.m4 (AC_LANG_WERROR): Redefine to autoconf 2.62 version.
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

@ -249,3 +249,13 @@ m4_define([m4_wrap], [m4_ifdef([_$0_text],
[m4_define([_$0_text], [$1])m4_builtin([m4wrap],
[m4_default(m4_defn([_$0_text])m4_undefine([_$0_text]))])])])
])
# AC_LANG_WERROR
# ------------------
# This is the same code as in 2.59, but sets the werror_flag to default to
# empty as expected by the rest of the code.
m4_version_prereq([2.62],, [
AC_DEFUN([AC_LANG_WERROR],
[m4_divert_text([DEFAULTS], [ac_[]_AC_LANG_ABBREV[]_werror_flag=])
ac_[]_AC_LANG_ABBREV[]_werror_flag=yes])# AC_LANG_WERROR
])

View File

@ -96,7 +96,7 @@ AC_DEFUN([AM_PO_SUBDIRS],
case "$ac_file" in */Makefile.in)
# Adjust a relative srcdir.
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
# In autoconf-2.13 it is called $ac_given_srcdir.
# In autoconf-2.50 it is called $srcdir.

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

15
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`
@ -2078,7 +2078,7 @@ if test "${ENABLE_GOLD}" = "yes"; then
# Check for target supported by gold.
case "${target}" in
i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-*)
configdirs="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
configdirs=`echo " ${configdirs} " | sed -e 's/ ld / gold /'`
;;
esac
fi
@ -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"
;;
@ -2377,6 +2377,7 @@ case "${target}" in
;;
cris-*-* | crisv32-*-*)
unsupported_languages="$unsupported_languages java"
skipdirs="$skipdirs target-libiberty"
case "${target}" in
*-*-aout)
unsupported_languages="$unsupported_languages fortran"
@ -2548,6 +2549,7 @@ case "${target}" in
noconfigdirs="$noconfigdirs target-libstdc++-v3"
;;
mmix-*-*)
skipdirs="$skipdirs target-libiberty"
noconfigdirs="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
unsupported_languages="$unsupported_languages fortran java"
;;
@ -4596,6 +4598,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 +4813,7 @@ fi
# Allow host libstdc++ to be specified for static linking with PPL.
# Check whether --with-host-libstdcxx or --without-host-libstdcxx was given.
@ -7717,7 +7721,7 @@ fi
done
if test -z "$ac_cv_prog_RANLIB" ; then
RANLIB=":"
RANLIB="true"
fi
@ -7847,7 +7851,7 @@ fi
done
if test -z "$ac_cv_prog_STRIP" ; then
STRIP=":"
STRIP="true"
fi
@ -13251,6 +13255,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

@ -1,10 +1,10 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
# 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
# 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
# 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, 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.
@ -319,7 +319,7 @@ if test "${ENABLE_GOLD}" = "yes"; then
# Check for target supported by gold.
case "${target}" in
i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-*)
configdirs="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
configdirs=`echo " ${configdirs} " | sed -e 's/ ld / gold /'`
;;
esac
fi
@ -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"
;;
@ -612,6 +612,7 @@ case "${target}" in
;;
cris-*-* | crisv32-*-*)
unsupported_languages="$unsupported_languages java"
skipdirs="$skipdirs target-libiberty"
case "${target}" in
*-*-aout)
unsupported_languages="$unsupported_languages fortran"
@ -783,6 +784,7 @@ case "${target}" in
noconfigdirs="$noconfigdirs target-libstdc++-v3"
;;
mmix-*-*)
skipdirs="$skipdirs target-libiberty"
noconfigdirs="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
unsupported_languages="$unsupported_languages fortran java"
;;
@ -1250,6 +1252,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 +1317,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++
@ -2762,8 +2766,8 @@ NCN_STRICT_CHECK_TOOLS(DLLTOOL, dlltool)
NCN_STRICT_CHECK_TOOLS(LD, ld)
NCN_STRICT_CHECK_TOOLS(LIPO, lipo)
NCN_STRICT_CHECK_TOOLS(NM, nm)
NCN_STRICT_CHECK_TOOLS(RANLIB, ranlib, :)
NCN_STRICT_CHECK_TOOLS(STRIP, strip, :)
NCN_STRICT_CHECK_TOOLS(RANLIB, ranlib, true)
NCN_STRICT_CHECK_TOOLS(STRIP, strip, true)
NCN_STRICT_CHECK_TOOLS(WINDRES, windres)
NCN_STRICT_CHECK_TOOLS(WINDMC, windmc)
NCN_STRICT_CHECK_TOOLS(OBJCOPY, objcopy)
@ -2799,7 +2803,7 @@ ACX_CHECK_INSTALLED_TARGET_TOOL(LD_FOR_TARGET, ld)
ACX_CHECK_INSTALLED_TARGET_TOOL(LIPO_FOR_TARGET, lipo)
ACX_CHECK_INSTALLED_TARGET_TOOL(NM_FOR_TARGET, nm)
ACX_CHECK_INSTALLED_TARGET_TOOL(OBJDUMP_FOR_TARGET, objdump)
ACX_CHECK_INSTALLED_TARGET_TOOL(RANLIB_FOR_TARGET, ranlib, :)
ACX_CHECK_INSTALLED_TARGET_TOOL(RANLIB_FOR_TARGET, ranlib)
ACX_CHECK_INSTALLED_TARGET_TOOL(STRIP_FOR_TARGET, strip)
ACX_CHECK_INSTALLED_TARGET_TOOL(WINDRES_FOR_TARGET, windres)
ACX_CHECK_INSTALLED_TARGET_TOOL(WINDMC_FOR_TARGET, windmc)

View File

@ -1,3 +1,90 @@
2012-03-13 Release Manager
* GCC 4.4.7 released.
2011-04-16 Release Manager
* GCC 4.4.6 released.
2010-10-01 Release Manager
* GCC 4.4.5 released.
2010-06-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Backport from mainline:
2010-03-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* dg-extract-results.sh: Fix result order to match sequential case.
2010-06-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* test_summary: Don't use diff -u.
Adapt egrep regex.
2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* dg-extract-results.sh: Redirect grep output to /dev/null instead
of grep -q.
Backport from mainline:
2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* dg-extract-results.sh: Don't use tail -n.
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
@ -221,7 +224,7 @@ else
VARIANTS=""
for VAR in $VARS
do
grep -q "Running target $VAR" $SUM_FILES && VARIANTS="$VARIANTS $VAR"
grep "Running target $VAR" $SUM_FILES > /dev/null && VARIANTS="$VARIANTS $VAR"
done
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
}
@ -358,8 +365,8 @@ BEGIN {
END {
printf ("\t\t=== %s Summary for %s ===\n\n", tool, variant)
if (passcnt != 0) printf ("# of expected passes\t\t%d\n", passcnt)
if (xpasscnt != 0) printf ("# of unexpected successes\t%d\n", xpasscnt)
if (failcnt != 0) printf ("# of unexpected failures\t%d\n", failcnt)
if (xpasscnt != 0) printf ("# of unexpected successes\t%d\n", xpasscnt)
if (xfailcnt != 0) printf ("# of expected failures\t\t%d\n", xfailcnt)
if (untstcnt != 0) printf ("# of untested testcases\t\t%d\n", untstcnt)
if (unrescnt != 0) printf ("# of unresolved testcases\t%d\n", unrescnt)
@ -411,6 +418,6 @@ cat ${TMP}/var-* | $AWK -f $TOTAL_AWK
# This is ugly, but if there's version output from the compiler under test
# at the end of the file, we want it. The other thing that might be there
# is the final summary counts.
tail -n 2 $FIRST_SUM | grep -q '^#' || tail -n 2 $FIRST_SUM
tail -2 $FIRST_SUM | grep '^#' > /dev/null || tail -2 $FIRST_SUM
exit 0

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,35 @@
2012-03-13 Release Manager
* GCC 4.4.7 released.
2011-04-16 Release Manager
* GCC 4.4.6 released.
2010-10-01 Release Manager
* GCC 4.4.5 released.
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,35 @@
2012-03-13 Release Manager
* GCC 4.4.7 released.
2011-04-16 Release Manager
* GCC 4.4.6 released.
2010-10-01 Release Manager
* GCC 4.4.5 released.
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, 2010
# Free Software Foundation
# Originally by Alexandre Oliva <oliva@dcc.unicamp.br>
# This script is Free Software, and it can be copied, distributed and
@ -74,9 +75,9 @@ for file in $files; do
[ -f $file ] &&
anyfile=true &&
{ $anychange ||
anychange=`diff -u $file.sent $file 2>/dev/null |
anychange=`diff $file.sent $file 2>/dev/null |
if test ! -f $file.sent ||
egrep '^[-+](XPASS|FAIL)' >/dev/null; then
egrep '^[<>] (XPASS|FAIL)' >/dev/null; then
echo true
else
echo false
@ -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,111 @@
2012-03-13 Release Manager
* GCC 4.4.7 released.
2011-04-16 Eric Botcazou <ebotcazou@adacore.com>
PR other/48639
* tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: Move around.
2011-04-16 Release Manager
* GCC 4.4.6 released.
2010-12-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Backport from mainline:
2010-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* inclhack.def (irix_pthread_init): New fix.
* fixincl.x: Regenerate.
* tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: New test.
2010-10-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Backport from mainline:
2010-10-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR c++/46024
* inclhack.def (solaris_sys_va_list): New fix.
* fixincl.x: Regenerate.
* tests/base/sys/va_list.h: New test.
2010-10-01 Release Manager
* GCC 4.4.5 released.
2010-07-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Backport from mainline:
2010-07-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* inclhack.def (solaris_cond_init): New fix.
* fixincl.x: Regenerate.
* tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: New test.
[SOLARIS_MUTEX_INIT_2_CHECK]: Adapt.
2010-06-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Backport from mainline:
2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* inclhack.def (alpha_assert): Allow for more whitespace in
select.
* fixincl.x: Regenerate.
2010-06-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Backport from mainline:
2009-09-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR libfortran/41169
* inclhack.def (irix_complex): New fix.
(solaris_complex): Likewise.
* fixincl.x: Regenerate.
* tests/base/complex.h [IRIX_COMPLEX_CHECK, SOLARIS_COMPLEX_CHECK]:
New tests.
2009-09-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* inclhack.def (solaris_complex): Remove superfluous backslashes from
replacement string. Replace \+ operator with \{1,\}.
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

@ -2,11 +2,11 @@
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
* It has been AutoGen-ed Saturday February 28, 2009 at 10:11:41 AM PST
* It has been AutoGen-ed Thursday December 9, 2010 at 04:55:48 PM MET
* From the definitions inclhack.def
* and the template file fixincl
*/
/* DO NOT SVN-MERGE THIS FILE, EITHER Sat Feb 28 10:11:41 PST 2009
/* DO NOT SVN-MERGE THIS FILE, EITHER Thu Dec 9 16:55:48 MET 2010
*
* You must regenerate it. Use the ./genfixes script.
*
@ -15,7 +15,7 @@
* certain ANSI-incompatible system header files which are fixed to work
* correctly with ANSI C and placed in a directory that GNU C will search.
*
* This file contains 180 fixup descriptions.
* This file contains 185 fixup descriptions.
*
* See README for more information.
*
@ -832,7 +832,7 @@ tSCC zAlpha_AssertList[] =
* content selection pattern - do fix if pattern found
*/
tSCC zAlpha_AssertSelect0[] =
"(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
"(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
#define ALPHA_ASSERT_TEST_CT 1
static tTestDesc aAlpha_AssertTests[] = {
@ -3786,6 +3786,45 @@ static const char* apzIrix_Asm_ApostrophePatch[] = {
"^([ \t]*#.*[Ww]e)'re",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Irix_Complex fix
*/
tSCC zIrix_ComplexName[] =
"irix_complex";
/*
* File name selection pattern
*/
tSCC zIrix_ComplexList[] =
"complex.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzIrix_ComplexMachs[] = {
"mips-sgi-irix6.5",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zIrix_ComplexSelect0[] =
"#define[ \t]_Complex_I[ \t]\\(\\(float[ \t]_Complex\\)[ \t]\\(__I__\\)\\)";
#define IRIX_COMPLEX_TEST_CT 1
static tTestDesc aIrix_ComplexTests[] = {
{ TT_EGREP, zIrix_ComplexSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Irix_Complex
*/
static const char* apzIrix_ComplexPatch[] = { sed_cmd_z,
"-e", "s/#define[ \t]_Complex_I[ \t]((float[ \t]_Complex)[ \t](__I__))/#define _Complex_I (__extension__ 1.0iF)/",
"-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
"-e", "/#define[ \t]_Imaginary_I/d",
"-e", "s/#define[ \t]I[ \t]_Imaginary_I/#define I _Complex_I/",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Irix_Limits_Const fix
@ -3821,6 +3860,43 @@ static const char* apzIrix_Limits_ConstPatch[] = {
"extern __const ",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Irix_Pthread_Init fix
*/
tSCC zIrix_Pthread_InitName[] =
"irix_pthread_init";
/*
* File name selection pattern
*/
tSCC zIrix_Pthread_InitList[] =
"pthread.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzIrix_Pthread_InitMachs[] = {
"mips-sgi-irix6.5",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zIrix_Pthread_InitSelect0[] =
"^(#define[ \t]+PTHREAD_.*_INITIALIZER[ \t]+)(\\{ 0 \\})";
#define IRIX_PTHREAD_INIT_TEST_CT 1
static tTestDesc aIrix_Pthread_InitTests[] = {
{ TT_EGREP, zIrix_Pthread_InitSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Irix_Pthread_Init
*/
static const char* apzIrix_Pthread_InitPatch[] = {
"format",
"%1{ %2 }",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Irix_Socklen_T fix
@ -5299,6 +5375,83 @@ static const char* apzSco_MathPatch[] = { sed_cmd_z,
#endif /* ! __GNUC__ */",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Solaris_Complex fix
*/
tSCC zSolaris_ComplexName[] =
"solaris_complex";
/*
* File name selection pattern
*/
tSCC zSolaris_ComplexList[] =
"complex.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzSolaris_ComplexMachs[] = {
"*-*-solaris2.*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zSolaris_ComplexSelect0[] =
"#define[ \t]_Complex_I[ \t]_Complex_I";
#define SOLARIS_COMPLEX_TEST_CT 1
static tTestDesc aSolaris_ComplexTests[] = {
{ TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Solaris_Complex
*/
static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
"-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
"-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
"-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
"-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Solaris_Cond_Init fix
*/
tSCC zSolaris_Cond_InitName[] =
"solaris_cond_init";
/*
* File name selection pattern
*/
tSCC zSolaris_Cond_InitList[] =
"pthread.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzSolaris_Cond_InitMachs[] = {
"*-*-solaris2.8",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zSolaris_Cond_InitSelect0[] =
"@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
#define SOLARIS_COND_INIT_TEST_CT 1
static tTestDesc aSolaris_Cond_InitTests[] = {
{ TT_EGREP, zSolaris_Cond_InitSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Solaris_Cond_Init
*/
static const char* apzSolaris_Cond_InitPatch[] = {
"format",
"%1, 0x4356%2",
"^(#define[ \t]+PTHREAD_COND_INITIALIZER[ \t]+\\{.*0)(\\},[ \t]*0\\}.*)$",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Solaris_Math_1 fix
@ -5809,6 +5962,51 @@ static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
"-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Solaris_Sys_Va_List fix
*/
tSCC zSolaris_Sys_Va_ListName[] =
"solaris_sys_va_list";
/*
* File name selection pattern
*/
tSCC zSolaris_Sys_Va_ListList[] =
"sys/va_list.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzSolaris_Sys_Va_ListMachs[] = {
"*-*-solaris2.[89]",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zSolaris_Sys_Va_ListSelect0[] =
"#if.*__STDC__.*\n\
typedef void \\*__va_list;\n\
#else\n\
typedef char \\*__va_list;\n\
#endif";
#define SOLARIS_SYS_VA_LIST_TEST_CT 1
static tTestDesc aSolaris_Sys_Va_ListTests[] = {
{ TT_EGREP, zSolaris_Sys_Va_ListSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Solaris_Sys_Va_List
*/
static const char* apzSolaris_Sys_Va_ListPatch[] = {
"format",
"#ifdef __GNUC__\n\
typedef __builtin_va_list __va_list;\n\
#else\n\
%0\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Statsswtch fix
@ -7308,9 +7506,9 @@ static const char* apzX11_SprintfPatch[] = {
*
* List of all fixes
*/
#define REGEX_COUNT 226
#define REGEX_COUNT 231
#define MACH_LIST_SIZE_LIMIT 181
#define FIX_COUNT 180
#define FIX_COUNT 185
/*
* Enumerate the fixes
@ -7408,7 +7606,9 @@ typedef enum {
IRIX___GENERIC1_FIXIDX,
IRIX___GENERIC2_FIXIDX,
IRIX_ASM_APOSTROPHE_FIXIDX,
IRIX_COMPLEX_FIXIDX,
IRIX_LIMITS_CONST_FIXIDX,
IRIX_PTHREAD_INIT_FIXIDX,
IRIX_SOCKLEN_T_FIXIDX,
IRIX_STDINT_C99_FIXIDX,
IRIX_STDIO_VA_LIST_FIXIDX,
@ -7447,6 +7647,8 @@ typedef enum {
RS6000_FCHMOD_FIXIDX,
RS6000_PARAM_FIXIDX,
SCO_MATH_FIXIDX,
SOLARIS_COMPLEX_FIXIDX,
SOLARIS_COND_INIT_FIXIDX,
SOLARIS_MATH_1_FIXIDX,
SOLARIS_MATH_2_FIXIDX,
SOLARIS_MATH_3_FIXIDX,
@ -7459,6 +7661,7 @@ typedef enum {
SOLARIS_ONCE_INIT_1_FIXIDX,
SOLARIS_ONCE_INIT_2_FIXIDX,
SOLARIS_STDIO_TAG_FIXIDX,
SOLARIS_SYS_VA_LIST_FIXIDX,
STATSSWTCH_FIXIDX,
STDIO_STDARG_H_FIXIDX,
STDIO_VA_LIST_FIXIDX,
@ -7959,11 +8162,21 @@ tFixDesc fixDescList[ FIX_COUNT ] = {
IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
{ zIrix_ComplexName, zIrix_ComplexList,
apzIrix_ComplexMachs,
IRIX_COMPLEX_TEST_CT, FD_MACH_ONLY,
aIrix_ComplexTests, apzIrix_ComplexPatch, 0 },
{ zIrix_Limits_ConstName, zIrix_Limits_ConstList,
apzIrix_Limits_ConstMachs,
IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
{ zIrix_Pthread_InitName, zIrix_Pthread_InitList,
apzIrix_Pthread_InitMachs,
IRIX_PTHREAD_INIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aIrix_Pthread_InitTests, apzIrix_Pthread_InitPatch, 0 },
{ zIrix_Socklen_TName, zIrix_Socklen_TList,
apzIrix_Socklen_TMachs,
IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
@ -8154,6 +8367,16 @@ tFixDesc fixDescList[ FIX_COUNT ] = {
SCO_MATH_TEST_CT, FD_MACH_ONLY,
aSco_MathTests, apzSco_MathPatch, 0 },
{ zSolaris_ComplexName, zSolaris_ComplexList,
apzSolaris_ComplexMachs,
SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
{ zSolaris_Cond_InitName, zSolaris_Cond_InitList,
apzSolaris_Cond_InitMachs,
SOLARIS_COND_INIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aSolaris_Cond_InitTests, apzSolaris_Cond_InitPatch, 0 },
{ zSolaris_Math_1Name, zSolaris_Math_1List,
apzSolaris_Math_1Machs,
SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
@ -8214,6 +8437,11 @@ tFixDesc fixDescList[ FIX_COUNT ] = {
SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
{ zSolaris_Sys_Va_ListName, zSolaris_Sys_Va_ListList,
apzSolaris_Sys_Va_ListMachs,
SOLARIS_SYS_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aSolaris_Sys_Va_ListTests, apzSolaris_Sys_Va_ListPatch, 0 },
{ zStatsswtchName, zStatsswtchList,
apzStatsswtchMachs,
STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,

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

@ -509,7 +509,7 @@ fix = {
fix = {
hackname = alpha_assert;
files = "assert.h";
select = '(#define assert\(EX\).*)\(\(int\) \(EX\)\)';
select = "(#[ \t]*" 'define assert\(EX\).*)\(\(int\) \(EX\)\)';
c_fix = format;
c_fix_arg = "%1(EX)";
test_text = '#define assert(EX) (((int) (EX)) ? (void)0 '
@ -2065,6 +2065,29 @@ fix = {
};
/*
* IRIX 6.5 complex.h defines _Complex_I and _Imaginary_I in terms of __I__,
* which is a MIPSpro compiler builtin. Remove _Imaginary_I and imaginary
* definitions which are not supported by GCC.
*/
fix = {
hackname = irix_complex;
mach = "mips-sgi-irix6.5";
files = complex.h;
select = "#define[ \t]_Complex_I[ \t]\\(\\(float[ \t]_Complex\\)[ \t]\\(__I__\\)\\)";
sed = "s/#define[ \t]_Complex_I[ \t]((float[ \t]_Complex)[ \t](__I__))/"
"#define _Complex_I (__extension__ 1.0iF)/";
sed = "/#define[ \t]imaginary[ \t]_Imaginary/d";
sed = "/#define[ \t]_Imaginary_I/d";
sed = "s/#define[ \t]I[ \t]_Imaginary_I/#define I _Complex_I/";
test_text = "#define _Complex_I ((float _Complex) (__I__))\n"
"#define imaginary _Imaginary\n"
"// #define _Imaginary_I ((float _Imaginary) 1)\n"
"#define _Imaginary_I __I__\n"
"#define I _Imaginary_I";
};
/*
* Non-traditional "const" declaration in Irix's limits.h.
*/
@ -2078,6 +2101,24 @@ fix = {
};
/*
* IRIX 6.5 PTHREAD_*_INITIALIZER need an additional level of braces in
* <pthread.h>.
*/
fix = {
hackname = irix_pthread_init;
files = pthread.h;
select = "^(#define[ \t]+PTHREAD_.*_INITIALIZER[ \t]+)(\\{ 0 \\})";
mach = "mips-sgi-irix6.5";
c_fix = format;
c_fix_arg = "%1{ %2 }";
test_text = "#define PTHREAD_MUTEX_INITIALIZER { 0 }\n"
"#define PTHREAD_COND_INITIALIZER { 0 }\n"
"#define PTHREAD_RWLOCK_INITIALIZER { 0 }";
};
/*
* IRIX 6.5.1[78] <sys/socket.h> has a broken definition of socklen_t.
* Various socket function prototypes use different types instead,
@ -2806,6 +2847,50 @@ fix = {
};
/*
* Solaris 10+ complex.h defines _Complex_I and _Imaginary_I in terms of
* themselves, which are Sun Studio compiler intrinsics. Remove _Imaginary_I
* and imaginary definitions which are not supported by GCC.
*/
fix = {
hackname = solaris_complex;
mach = "*-*-solaris2.*";
files = complex.h;
select = "#define[ \t]_Complex_I[ \t]_Complex_I";
sed = "s/#define[ \t]_Complex_I[ \t]_Complex_I/"
"#define\t_Complex_I\t(__extension__ 1.0iF)/";
sed = "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d";
sed = "/#define[ \t]imaginary[ \t]_Imaginary/d";
sed = "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/";
test_text = "#define _Complex_I _Complex_I\n"
"#define complex _Complex\n"
"#define _Imaginary_I _Imaginary_I\n"
"#define imaginary _Imaginary\n"
"#undef I\n"
"#define I _Imaginary_I";
};
/*
* Solaris 8 PTHREAD_COND_INITIALIZER lacks the __pthread_cond_magic field.
* COND_MAGIC is only defined in <synch.h> and pollutes the namespace, so
* use the value literally instead.
*/
fix = {
hackname = solaris_cond_init;
select = '@\(#\)pthread.h' "[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
files = pthread.h;
mach = '*-*-solaris2.8';
c_fix = format;
c_fix_arg = "%1, 0x4356%2";
c_fix_arg = "^(#define[ \t]+PTHREAD_COND_INITIALIZER[ \t]+"
"\\{.*0)(\\},[ \t]*0\\}.*)$";
test_text =
'#pragma ident "@(#)pthread.h 1.29 01/07/07 SMI"'"\n"
'#define PTHREAD_COND_INITIALIZER {{{0}, 0}, 0} /* = DEFAULTCV */';
};
/*
* Sun Solaris 10 defines several C99 math macros in terms of
* builtins specific to the Studio compiler, in particular not
@ -3075,6 +3160,34 @@ fix = {
};
/*
* On Solaris 8 and 9, __va_list needs to become a typedef for
* __builtin_va_list to make -Wmissing-format-attribute work.
*/
fix = {
hackname = solaris_sys_va_list;
files = sys/va_list.h;
mach = '*-*-solaris2.[89]';
select = "#if.*__STDC__.*\n"
"typedef void \\*__va_list;\n"
"#else\n"
"typedef char \\*__va_list;\n"
"#endif";
c_fix = format;
c_fix_arg = "#ifdef __GNUC__\n"
"typedef __builtin_va_list __va_list;\n"
"#else\n"
"%0\n"
"#endif";
test_text = "#if defined(__STDC__) && !defined(__ia64)\n"
"typedef void *__va_list;\n"
"#else\n"
"typedef char *__va_list;\n"
"#endif";
};
/*
* a missing semi-colon at the end of the statsswtch structure definition.
*/

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

@ -0,0 +1,23 @@
/* DO NOT EDIT THIS FILE.
It has been auto-edited by fixincludes from:
"fixinc/tests/inc/complex.h"
This had to be done to correct non-standard usages in the
original, manufacturer supplied header file. */
#if defined( IRIX_COMPLEX_CHECK )
#define _Complex_I (__extension__ 1.0iF)
#define I _Complex_I
#endif /* IRIX_COMPLEX_CHECK */
#if defined( SOLARIS_COMPLEX_CHECK )
#define _Complex_I (__extension__ 1.0iF)
#define complex _Complex
#undef I
#define I _Complex_I
#endif /* SOLARIS_COMPLEX_CHECK */

View File

@ -96,6 +96,13 @@
#endif /* GLIBC_MUTEX_INIT_CHECK */
#if defined( IRIX_PTHREAD_INIT_CHECK )
#define PTHREAD_MUTEX_INITIALIZER { { 0 } }
#define PTHREAD_COND_INITIALIZER { { 0 } }
#define PTHREAD_RWLOCK_INITIALIZER { { 0 } }
#endif /* IRIX_PTHREAD_INIT_CHECK */
#if defined( PTHREAD_PAGE_SIZE_CHECK )
extern int __page_size;
#endif /* PTHREAD_PAGE_SIZE_CHECK */
@ -106,6 +113,16 @@ extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask);
#endif /* PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_CHECK */
#if defined( SOLARIS_COND_INIT_CHECK )
#pragma ident "@(#)pthread.h 1.29 01/07/07 SMI"
#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)
#define PTHREAD_COND_INITIALIZER {{{0}, 0, 0x4356}, 0} /* = DEFAULTCV */
#else
#define PTHREAD_COND_INITIALIZER {{{0}, 0, 0x4356}, {0}} /* = DEFAULTCV */
#endif
#endif /* SOLARIS_COND_INIT_CHECK */
#if defined( SOLARIS_MUTEX_INIT_2_CHECK )
#ident "@(#)pthread.h 1.26 98/04/12 SMI"
#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)
@ -114,9 +131,9 @@ extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask);
#define PTHREAD_MUTEX_INITIALIZER {{{0},0}, {{{0}}}, {0}}
#endif
#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)
#define PTHREAD_COND_INITIALIZER {{{0}, 0}, 0} /* DEFAULTCV */
#define PTHREAD_COND_INITIALIZER {{{0}, 0, 0x4356}, 0} /* DEFAULTCV */
#else
#define PTHREAD_COND_INITIALIZER {{{0}, 0}, {0}} /* DEFAULTCV */
#define PTHREAD_COND_INITIALIZER {{{0}, 0, 0x4356}, {0}} /* DEFAULTCV */
#endif
#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)
#define PTHREAD_MUTEX_INITIALIZER /* = DEFAULTMUTEX */ \

View File

@ -0,0 +1,22 @@
/* DO NOT EDIT THIS FILE.
It has been auto-edited by fixincludes from:
"fixinc/tests/inc/sys/va_list.h"
This had to be done to correct non-standard usages in the
original, manufacturer supplied header file. */
#if defined( SOLARIS_SYS_VA_LIST_CHECK )
#ifdef __GNUC__
typedef __builtin_va_list __va_list;
#else
#if defined(__STDC__) && !defined(__ia64)
typedef void *__va_list;
#else
typedef char *__va_list;
#endif
#endif
#endif /* SOLARIS_SYS_VA_LIST_CHECK */

View File

@ -1 +1 @@
4.4.0
4.4.7

File diff suppressed because it is too large Load Diff

View File

@ -1 +1 @@
20090327
20120313

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 \
@ -2718,7 +2718,7 @@ tree-switch-conversion.o : tree-switch-conversion.c $(CONFIG_H) $(SYSTEM_H) \
$(TREE_H) $(TM_P_H) $(TREE_FLOW_H) $(DIAGNOSTIC_H) $(TREE_INLINE_H) \
$(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) $(GIMPLE_H) \
tree-pass.h $(FLAGS_H) $(EXPR_H) $(BASIC_BLOCK_H) output.h \
$(GGC_H) $(OBSTACK_H) $(PARAMS_H) $(CPPLIB_H) $(PARAMS_H)
$(GGC_H) $(OBSTACK_H) $(PARAMS_H) $(CPPLIB_H) $(PARAMS_H) langhooks.h
tree-complex.o : tree-complex.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
$(TM_H) $(RTL_H) $(REAL_H) $(FLAGS_H) $(TREE_FLOW_H) $(GIMPLE_H) \
tree-iterator.h tree-pass.h tree-ssa-propagate.h $(DIAGNOSTIC_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. --
------------------------------------------------------------------------------

Some files were not shown because too many files have changed in this diff Show More