c-opts.c (c_common_post_options): PCH is not compatible with no-unit-at-a-time.
authorJan Hubicka <jh@suse.cz>
Wed, 18 Jun 2008 19:07:51 +0000 (21:07 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 18 Jun 2008 19:07:51 +0000 (19:07 +0000)
commita7bf199e10bfe7a3ce99d86421632711de48bcc3
tree3173e61d1d42583002338162fcf951ee703f626f
parent3f737aa91438a3586bca1452f1a5ee8de514a906
c-opts.c (c_common_post_options): PCH is not compatible with no-unit-at-a-time.

* c-opts.c (c_common_post_options): PCH is not compatible with
no-unit-at-a-time.
* opts.c (handle_options): Enable unit-at-a-time at O0 along with
-fno-toplevel-reorder by default now.
* gcc.dg/weak/weak-2.c: We no longer complain about incompatibilty.
* gcc.dg/weak/weak-3.c: We no longer complain about incompatibilty.
* gcc.dg/weak/weak-4.c: We no longer complain about incompatibilty.
* gcc.dg/weak/weak-5.c: We no longer complain about incompatibilty.
* gcc.dg/weak/weak-6.c: Fix thinko in previous change.
* gcc.dg/weak/weak-7.c: Likewise.

From-SVN: r136903
gcc/ChangeLog
gcc/c-opts.c
gcc/opts.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/weak/weak-2.c
gcc/testsuite/gcc.dg/weak/weak-3.c
gcc/testsuite/gcc.dg/weak/weak-4.c
gcc/testsuite/gcc.dg/weak/weak-5.c
gcc/testsuite/gcc.dg/weak/weak-6.c
gcc/testsuite/gcc.dg/weak/weak-7.c