public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/56228] New: [4.8 Regression] Indirect call fails to assemble
@ 2013-02-06 16:44 jakub at gcc dot gnu.org
2013-02-06 16:50 ` [Bug target/56228] " jakub at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-02-06 16:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56228
Bug #: 56228
Summary: [4.8 Regression] Indirect call fails to assemble
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: jakub@gcc.gnu.org
ReportedBy: jakub@gcc.gnu.org
Target: powerpc64-linux
short a[14] = { 1, 2 };
short b[15] = { 3, 4 };
int
foo ()
{
void (*fna) (void) = (void (*) (void)) a;
void (*fnb) (void) = (void (*) (void)) b;
fna ();
fnb ();
return a[1] == b[1];
}
fails on ppc64, because call_indirect_aix64bit pattern uses "m" constraint for
64-bit loads instead of "Y" constraint.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/56228] [4.8 Regression] Indirect call fails to assemble
2013-02-06 16:44 [Bug target/56228] New: [4.8 Regression] Indirect call fails to assemble jakub at gcc dot gnu.org
@ 2013-02-06 16:50 ` jakub at gcc dot gnu.org
2013-02-06 16:53 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-02-06 16:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56228
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2013-02-06
CC| |dje at gcc dot gnu.org
Target Milestone|--- |4.8.0
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/56228] [4.8 Regression] Indirect call fails to assemble
2013-02-06 16:44 [Bug target/56228] New: [4.8 Regression] Indirect call fails to assemble jakub at gcc dot gnu.org
2013-02-06 16:50 ` [Bug target/56228] " jakub at gcc dot gnu.org
@ 2013-02-06 16:53 ` jakub at gcc dot gnu.org
2013-02-06 18:16 ` dje at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-02-06 16:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56228
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-06 16:52:56 UTC ---
Created attachment 29373
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29373
gcc48-pr56228.patch
Untested fix.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/56228] [4.8 Regression] Indirect call fails to assemble
2013-02-06 16:44 [Bug target/56228] New: [4.8 Regression] Indirect call fails to assemble jakub at gcc dot gnu.org
2013-02-06 16:50 ` [Bug target/56228] " jakub at gcc dot gnu.org
2013-02-06 16:53 ` jakub at gcc dot gnu.org
@ 2013-02-06 18:16 ` dje at gcc dot gnu.org
2013-02-07 8:06 ` jakub at gcc dot gnu.org
2013-02-07 10:53 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: dje at gcc dot gnu.org @ 2013-02-06 18:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56228
--- Comment #2 from David Edelsohn <dje at gcc dot gnu.org> 2013-02-06 18:15:17 UTC ---
The proposed patch LGTM.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/56228] [4.8 Regression] Indirect call fails to assemble
2013-02-06 16:44 [Bug target/56228] New: [4.8 Regression] Indirect call fails to assemble jakub at gcc dot gnu.org
` (2 preceding siblings ...)
2013-02-06 18:16 ` dje at gcc dot gnu.org
@ 2013-02-07 8:06 ` jakub at gcc dot gnu.org
2013-02-07 10:53 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-02-07 8:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56228
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-07 08:05:10 UTC ---
Author: jakub
Date: Thu Feb 7 08:04:58 2013
New Revision: 195840
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195840
Log:
PR target/56228
* config/rs6000/rs6000.md (ptrm): New mode attr.
(call_indirect_aix<ptrsize>, call_indirect_aix<ptrsize>_nor11,
call_value_indirect_aix<pttrsize>,
call_value_indirect_aix<pttrsize>_nor11): Use <ptrm> instead of
m in constraints.
* gcc.dg/pr56228.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr56228.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/rs6000.md
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/56228] [4.8 Regression] Indirect call fails to assemble
2013-02-06 16:44 [Bug target/56228] New: [4.8 Regression] Indirect call fails to assemble jakub at gcc dot gnu.org
` (3 preceding siblings ...)
2013-02-07 8:06 ` jakub at gcc dot gnu.org
@ 2013-02-07 10:53 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-02-07 10:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56228
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> 2013-02-07 10:52:47 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-02-07 10:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-06 16:44 [Bug target/56228] New: [4.8 Regression] Indirect call fails to assemble jakub at gcc dot gnu.org
2013-02-06 16:50 ` [Bug target/56228] " jakub at gcc dot gnu.org
2013-02-06 16:53 ` jakub at gcc dot gnu.org
2013-02-06 18:16 ` dje at gcc dot gnu.org
2013-02-07 8:06 ` jakub at gcc dot gnu.org
2013-02-07 10:53 ` rguenth at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).