diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2012-01-19 13:57:04 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2012-01-19 13:57:04 +0000 |
commit | aad038ca7c7322c6c050f68f8389fc1d2bd8a7da (patch) | |
tree | 0bff4647655980e1e4ad09a583414e68daa83969 /gcc/lto-wrapper.c | |
parent | 01ddefeba765c4d86ea452b41179cb8508196c4e (diff) | |
download | gcc-aad038ca7c7322c6c050f68f8389fc1d2bd8a7da.zip gcc-aad038ca7c7322c6c050f68f8389fc1d2bd8a7da.tar.gz gcc-aad038ca7c7322c6c050f68f8389fc1d2bd8a7da.tar.bz2 |
re PR lto/51280 (ICE when lto1 does not have -fgnu-tm and object file uses TM)
PR lto/51280
* lto-wrapper.c (run_gcc): Pass -fgnu_tm on.
(merge_and_complain): Same.
From-SVN: r183303
Diffstat (limited to 'gcc/lto-wrapper.c')
-rw-r--r-- | gcc/lto-wrapper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/lto-wrapper.c b/gcc/lto-wrapper.c index 1cc7bfb..6d262e8 100644 --- a/gcc/lto-wrapper.c +++ b/gcc/lto-wrapper.c @@ -403,6 +403,7 @@ merge_and_complain (struct cl_decoded_option **decoded_options, case OPT_fpie: case OPT_fcommon: case OPT_fexceptions: + case OPT_fgnu_tm: /* Do what the old LTO code did - collect exactly one option setting per OPT code, we pick the first we encounter. ??? This doesn't make too much sense, but when it doesn't @@ -555,6 +556,7 @@ run_gcc (unsigned argc, char *argv[]) case OPT_fpie: case OPT_fcommon: case OPT_fexceptions: + case OPT_fgnu_tm: break; default: |