* [Bug target/61387] [4.10 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211088
[not found] <bug-61387-4@http.gcc.gnu.org/bugzilla/>
@ 2014-06-02 9:57 ` iains at gcc dot gnu.org
2014-06-02 11:06 ` rguenth at gcc dot gnu.org
` (12 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: iains at gcc dot gnu.org @ 2014-06-02 9:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61387
Iain Sandoe <iains at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|x86_64-apple-darwin13 |x86_64-apple-darwin12
| |x86_64-apple-darwin13
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-06-02
Host|x86_64-apple-darwin13 |x86_64-apple-darwin12
| |x86_64-apple-darwin13
Ever confirmed|0 |1
Build|x86_64-apple-darwin13 |x86_64-apple-darwin12
| |x86_64-apple-darwin13
--- Comment #1 from Iain Sandoe <iains at gcc dot gnu.org> ---
also on darwin12.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/61387] [4.10 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211088
[not found] <bug-61387-4@http.gcc.gnu.org/bugzilla/>
2014-06-02 9:57 ` [Bug target/61387] [4.10 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211088 iains at gcc dot gnu.org
@ 2014-06-02 11:06 ` rguenth at gcc dot gnu.org
2014-06-02 11:59 ` iains at gcc dot gnu.org
` (11 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-02 11:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61387
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.10.0
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
This is a google branch rev.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/61387] [4.10 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211088
[not found] <bug-61387-4@http.gcc.gnu.org/bugzilla/>
2014-06-02 9:57 ` [Bug target/61387] [4.10 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211088 iains at gcc dot gnu.org
2014-06-02 11:06 ` rguenth at gcc dot gnu.org
@ 2014-06-02 11:59 ` iains at gcc dot gnu.org
2014-06-07 1:38 ` hp at gcc dot gnu.org
` (10 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: iains at gcc dot gnu.org @ 2014-06-02 11:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61387
--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #2)
> This is a google branch rev.
211088 is OK the revision that triggers the fail is
http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=211089
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/61387] [4.10 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211088
[not found] <bug-61387-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2014-06-02 11:59 ` iains at gcc dot gnu.org
@ 2014-06-07 1:38 ` hp at gcc dot gnu.org
2014-06-14 10:55 ` dominiq at lps dot ens.fr
` (9 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: hp at gcc dot gnu.org @ 2014-06-07 1:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61387
Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hp at gcc dot gnu.org
--- Comment #6 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #5)
> The following patch fixes the failures (not counting new ones:
> g++.dg/debug/dwarf2/imported-decl-2.C and g++.dg/tls/diag-1.C).
Is the g++.dg/tls/diag-1.C the same as in PR61436?
Seems likely as darwin is IIUC an emutls target.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/61387] [4.10 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211088
[not found] <bug-61387-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2014-06-07 1:38 ` hp at gcc dot gnu.org
@ 2014-06-14 10:55 ` dominiq at lps dot ens.fr
2014-06-15 15:20 ` dominiq at lps dot ens.fr
` (8 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-06-14 10:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61387
--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Could this PR get some attention please? To have an idea about how "fun" it is,
look at https://gcc.gnu.org/ml/gcc-testresults/2014-06/msg01182.html.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/61387] [4.10 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211088
[not found] <bug-61387-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2014-06-14 10:55 ` dominiq at lps dot ens.fr
@ 2014-06-15 15:20 ` dominiq at lps dot ens.fr
2014-06-15 19:44 ` [Bug target/61387] [4.10 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211089 ktietz at gcc dot gnu.org
` (7 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-06-15 15:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61387
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|x86_64-apple-darwin12 |x86_64-apple-darwin1*
|x86_64-apple-darwin13 |
Host|x86_64-apple-darwin12 |x86_64-apple-darwin1*
|x86_64-apple-darwin13 |
Build|x86_64-apple-darwin12 |x86_64-apple-darwin1*
|x86_64-apple-darwin13 |
--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> also on darwin12.
Also on darwin10: see
https://gcc.gnu.org/ml/gcc-testresults/2014-06/msg01321.html.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/61387] [4.10 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211089
[not found] <bug-61387-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2014-06-15 15:20 ` dominiq at lps dot ens.fr
@ 2014-06-15 19:44 ` ktietz at gcc dot gnu.org
2014-07-06 9:26 ` dominiq at lps dot ens.fr
` (6 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: ktietz at gcc dot gnu.org @ 2014-06-15 19:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61387
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ktietz at gcc dot gnu.org
--- Comment #9 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Suggested patch for fixing direct fallout is below. Nevertheless it seems that
darwin-target has here a general issue in legitimize address
Index: predicates.md
===================================================================
--- predicates.md (Revision 211685)
+++ predicates.md (Arbeitskopie)
@@ -74,7 +74,15 @@
(define_predicate "sibcall_memory_operand"
(match_operand 0 "memory_operand")
{
- return CONSTANT_P (XEXP (op, 0));
+ op = XEXP (op, 0);
+
+ if (TARGET_MACHO && TARGET_64BIT
+ && GET_CODE (op) == CONST
+ && GET_CODE (XEXP (op, 0)) == UNSPEC
+ && XINT (XEXP (op, 0), 1) == UNSPEC_GOTPCREL)
+ return false;
+
+ return CONSTANT_P (op);
})
;; Match an SI or HImode register for a zero_extract.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/61387] [4.10 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211089
[not found] <bug-61387-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2014-06-15 19:44 ` [Bug target/61387] [4.10 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211089 ktietz at gcc dot gnu.org
@ 2014-07-06 9:26 ` dominiq at lps dot ens.fr
2014-09-13 11:25 ` [Bug target/61387] [5 " fxcoudert at gcc dot gnu.org
` (5 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-07-06 9:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61387
--- Comment #11 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Is the following patch acceptable while waiting for a better understanding of
the problem?
--- ../_clean/gcc/config/i386/i386.c 2014-07-02 23:54:09.000000000 +0200
+++ gcc/config/i386/i386.c 2014-07-05 18:18:13.000000000 +0200
@@ -38899,7 +38899,7 @@ x86_output_mi_thunk (FILE *file,
because we're going to do no optimization. */
if (MEM_P (fnaddr))
{
- if (sibcall_insn_operand (fnaddr, word_mode))
+ if (sibcall_insn_operand (fnaddr, word_mode) && !TARGET_MACHO)
{
tmp = gen_rtx_CALL (VOIDmode, fnaddr, const0_rtx);
tmp = emit_call_insn (tmp);
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/61387] [5 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211089
[not found] <bug-61387-4@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2014-07-06 9:26 ` dominiq at lps dot ens.fr
@ 2014-09-13 11:25 ` fxcoudert at gcc dot gnu.org
2014-09-14 21:48 ` mrs at gcc dot gnu.org
` (4 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-09-13 11:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61387
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fxcoudert at gcc dot gnu.org
--- Comment #12 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Also happens on darwin14.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/61387] [5 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211089
[not found] <bug-61387-4@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2014-09-13 11:25 ` [Bug target/61387] [5 " fxcoudert at gcc dot gnu.org
@ 2014-09-14 21:48 ` mrs at gcc dot gnu.org
2014-09-15 9:49 ` fxcoudert at gcc dot gnu.org
` (3 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: mrs at gcc dot gnu.org @ 2014-09-14 21:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61387
--- Comment #13 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> ---
I like Ian's change the best. I've sent that to gcc-patches for consideration.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/61387] [5 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211089
[not found] <bug-61387-4@http.gcc.gnu.org/bugzilla/>
` (9 preceding siblings ...)
2014-09-14 21:48 ` mrs at gcc dot gnu.org
@ 2014-09-15 9:49 ` fxcoudert at gcc dot gnu.org
2014-10-07 19:00 ` mrs at gcc dot gnu.org
` (2 subsequent siblings)
13 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-09-15 9:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61387
--- Comment #14 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
I posted here test results with the patch:
https://gcc.gnu.org/ml/gcc-testresults/2014-09/msg01449.html (on
x86_64-apple-darwin14).
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/61387] [5 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211089
[not found] <bug-61387-4@http.gcc.gnu.org/bugzilla/>
` (10 preceding siblings ...)
2014-09-15 9:49 ` fxcoudert at gcc dot gnu.org
@ 2014-10-07 19:00 ` mrs at gcc dot gnu.org
2014-10-07 19:01 ` mrs at gcc dot gnu.org
2014-10-07 19:04 ` fxcoudert at gcc dot gnu.org
13 siblings, 0 replies; 14+ messages in thread
From: mrs at gcc dot gnu.org @ 2014-10-07 19:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61387
--- Comment #15 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> ---
Author: mrs
Date: Tue Oct 7 18:59:24 2014
New Revision: 215983
URL: https://gcc.gnu.org/viewcvs?rev=215983&root=gcc&view=rev
Log:
2014-10-07 Iain Sandoe <iain@codesourcery.com>
PR target/61387
* config/i386/i386.c (x86_output_mi_thunk): Fix darwin fallout.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/61387] [5 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211089
[not found] <bug-61387-4@http.gcc.gnu.org/bugzilla/>
` (11 preceding siblings ...)
2014-10-07 19:00 ` mrs at gcc dot gnu.org
@ 2014-10-07 19:01 ` mrs at gcc dot gnu.org
2014-10-07 19:04 ` fxcoudert at gcc dot gnu.org
13 siblings, 0 replies; 14+ messages in thread
From: mrs at gcc dot gnu.org @ 2014-10-07 19:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61387
mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #16 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/61387] [5 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211089
[not found] <bug-61387-4@http.gcc.gnu.org/bugzilla/>
` (12 preceding siblings ...)
2014-10-07 19:01 ` mrs at gcc dot gnu.org
@ 2014-10-07 19:04 ` fxcoudert at gcc dot gnu.org
13 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-10-07 19:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61387
--- Comment #17 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
> Fixed.
Thanks Mike!
^ permalink raw reply [flat|nested] 14+ messages in thread