* [Bug target/61996] [SH] -musermode conflicts with -matomic-model=soft-imask
[not found] <bug-61996-4@http.gcc.gnu.org/bugzilla/>
@ 2014-08-18 8:44 ` dhowells at redhat dot com
2014-08-18 20:22 ` olegendo at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: dhowells at redhat dot com @ 2014-08-18 8:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61996
--- Comment #1 from dhowells at redhat dot com <dhowells at redhat dot com> ---
Is this something I can add to the compiler build without a patch?
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/61996] [SH] -musermode conflicts with -matomic-model=soft-imask
[not found] <bug-61996-4@http.gcc.gnu.org/bugzilla/>
2014-08-18 8:44 ` [Bug target/61996] [SH] -musermode conflicts with -matomic-model=soft-imask dhowells at redhat dot com
@ 2014-08-18 20:22 ` olegendo at gcc dot gnu.org
2014-08-20 7:31 ` olegendo at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: olegendo at gcc dot gnu.org @ 2014-08-18 20:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61996
Oleg Endo <olegendo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-08-18
Ever confirmed|0 |1
--- Comment #2 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to dhowells@redhat.com from comment #1)
> Is this something I can add to the compiler build without a patch?
No, not really. At least not that I know. It's hard-coded in the compiler and
should be fixed anyways.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/61996] [SH] -musermode conflicts with -matomic-model=soft-imask
[not found] <bug-61996-4@http.gcc.gnu.org/bugzilla/>
2014-08-18 8:44 ` [Bug target/61996] [SH] -musermode conflicts with -matomic-model=soft-imask dhowells at redhat dot com
2014-08-18 20:22 ` olegendo at gcc dot gnu.org
@ 2014-08-20 7:31 ` olegendo at gcc dot gnu.org
2014-08-21 14:43 ` dhowells at redhat dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: olegendo at gcc dot gnu.org @ 2014-08-20 7:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61996
--- Comment #3 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Created attachment 33366
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33366&action=edit
proposed patch for 5,4.9,4.8
David, could you please try out this patch and see if it fixes the issues for
you? If so, I'll add a test case and commit it.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/61996] [SH] -musermode conflicts with -matomic-model=soft-imask
[not found] <bug-61996-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2014-08-20 7:31 ` olegendo at gcc dot gnu.org
@ 2014-08-21 14:43 ` dhowells at redhat dot com
2014-08-24 10:47 ` olegendo at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: dhowells at redhat dot com @ 2014-08-21 14:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61996
--- Comment #4 from dhowells at redhat dot com <dhowells at redhat dot com> ---
That seems to work, thanks.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/61996] [SH] -musermode conflicts with -matomic-model=soft-imask
[not found] <bug-61996-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2014-08-21 14:43 ` dhowells at redhat dot com
@ 2014-08-24 10:47 ` olegendo at gcc dot gnu.org
2014-08-24 10:53 ` olegendo at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: olegendo at gcc dot gnu.org @ 2014-08-24 10:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61996
--- Comment #5 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Author: olegendo
Date: Sun Aug 24 10:46:25 2014
New Revision: 214406
URL: https://gcc.gnu.org/viewcvs?rev=214406&root=gcc&view=rev
Log:
gcc/
PR target/61996
* config/sh/sh.opt (musermode): Allow negative form.
* config/sh/sh.c (sh_option_override): Disable TARGET_USERMODE for
targets that don't support it.
* doc/invoke.texi (SH Options): Rename sh-*-linux* to sh*-*-linux*.
Document -mno-usermode option.
gcc/testsuite
PR target/61996
* gcc.target/sh/pr61996.c: New.
Added:
trunk/gcc/testsuite/gcc.target/sh/pr61996.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sh/sh.c
trunk/gcc/config/sh/sh.opt
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/61996] [SH] -musermode conflicts with -matomic-model=soft-imask
[not found] <bug-61996-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2014-08-24 10:47 ` olegendo at gcc dot gnu.org
@ 2014-08-24 10:53 ` olegendo at gcc dot gnu.org
2014-08-24 11:16 ` olegendo at gcc dot gnu.org
2014-08-24 11:20 ` olegendo at gcc dot gnu.org
7 siblings, 0 replies; 8+ messages in thread
From: olegendo at gcc dot gnu.org @ 2014-08-24 10:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61996
--- Comment #6 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Author: olegendo
Date: Sun Aug 24 10:52:58 2014
New Revision: 214407
URL: https://gcc.gnu.org/viewcvs?rev=214407&root=gcc&view=rev
Log:
gcc/
Backport from mainline
2014-08-24 Oleg Endo <olegendo@gcc.gnu.org>
PR target/61996
* config/sh/sh.opt (musermode): Allow negative form.
* config/sh/sh.c (sh_option_override): Disable TARGET_USERMODE for
targets that don't support it.
* doc/invoke.texi (SH Options): Rename sh-*-linux* to sh*-*-linux*.
Document -mno-usermode option.
gcc/testsuite
Backport from mainline
2014-08-24 Oleg Endo <olegendo@gcc.gnu.org>
PR target/61996
* gcc.target/sh/pr61996.c: New.
Added:
branches/gcc-4_9-branch/gcc/testsuite/gcc.target/sh/pr61996.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/config/sh/sh.c
branches/gcc-4_9-branch/gcc/config/sh/sh.opt
branches/gcc-4_9-branch/gcc/doc/invoke.texi
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/61996] [SH] -musermode conflicts with -matomic-model=soft-imask
[not found] <bug-61996-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2014-08-24 10:53 ` olegendo at gcc dot gnu.org
@ 2014-08-24 11:16 ` olegendo at gcc dot gnu.org
2014-08-24 11:20 ` olegendo at gcc dot gnu.org
7 siblings, 0 replies; 8+ messages in thread
From: olegendo at gcc dot gnu.org @ 2014-08-24 11:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61996
--- Comment #7 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Author: olegendo
Date: Sun Aug 24 11:15:37 2014
New Revision: 214408
URL: https://gcc.gnu.org/viewcvs?rev=214408&root=gcc&view=rev
Log:
gcc/
Backport from mainline
2014-08-24 Oleg Endo <olegendo@gcc.gnu.org>
PR target/61996
* config/sh/sh.opt (musermode): Allow negative form.
* config/sh/sh.c (sh_option_override): Disable TARGET_USERMODE for
targets that don't support it.
* doc/invoke.texi (SH Options): Rename sh-*-linux* to sh*-*-linux*.
Document -mno-usermode option.
gcc/testsuite
Backport from mainline
2014-08-24 Oleg Endo <olegendo@gcc.gnu.org>
PR target/61996
* gcc.target/sh/pr61996.c: New.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.target/sh/pr61996.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/config/sh/sh.c
branches/gcc-4_8-branch/gcc/config/sh/sh.opt
branches/gcc-4_8-branch/gcc/doc/invoke.texi
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/61996] [SH] -musermode conflicts with -matomic-model=soft-imask
[not found] <bug-61996-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2014-08-24 11:16 ` olegendo at gcc dot gnu.org
@ 2014-08-24 11:20 ` olegendo at gcc dot gnu.org
7 siblings, 0 replies; 8+ messages in thread
From: olegendo at gcc dot gnu.org @ 2014-08-24 11:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61996
Oleg Endo <olegendo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Fixed on 4.8, 4.9 and trunk.
^ permalink raw reply [flat|nested] 8+ messages in thread