[Bug middle-end/57134] [4.9 Regression] ICE with -mstrict-align and inline assembly on ppc64

2013-09-24 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57134

Alan Modra  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Alan Modra  ---
Fixed


[Bug middle-end/57134] [4.9 Regression] ICE with -mstrict-align and inline assembly on ppc64

2013-09-24 Thread amodra at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57134

--- Comment #6 from Alan Modra  ---
Author: amodra
Date: Tue Sep 24 11:32:28 2013
New Revision: 202866

URL: http://gcc.gnu.org/viewcvs?rev=202866&root=gcc&view=rev
Log:
PR middle-end/57134
PR middle-end/57586
* stmt.c (expand_asm_operands): Call expand_expr with
EXPAND_MEMORY for output operands that disallow regs.  Don't
use EXPAND_WRITE on inout operands.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/stmt.c


[Bug middle-end/57134] [4.9 Regression] ICE with -mstrict-align and inline assembly on ppc64

2013-09-16 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57134

--- Comment #5 from Alan Modra  ---
r200086 fixed Anton's first testcase but then he found another one.  See
http://gcc.gnu.org/ml/gcc-patches/2013-09/msg00983.html


[Bug middle-end/57134] [4.9 Regression] ICE with -mstrict-align and inline assembly on ppc64

2013-09-16 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57134

--- Comment #4 from Martin Jambor  ---
I suppose this has been fixed by r200086 ?


[Bug middle-end/57134] [4.9 Regression] ICE with -mstrict-align and inline assembly on ppc64

2013-08-04 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57134

--- Comment #3 from Anton Blanchard  ---
Created attachment 30607
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30607&action=edit
Compilation failure with -mstrict-align on ppc64

The original testcase isn't failing, but this test fails to compile with
-mstrict-align:

/tmp/testcase.c: In function 'testcase':
/tmp/testcase.c:12:2: error: output number 0 not directly addressable
  asm volatile("# %0": "+m" (b->zot));
  ^

and passes without -mstrict-align.


[Bug middle-end/57134] [4.9 Regression] ICE with -mstrict-align and inline assembly on ppc64

2013-06-12 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57134

Alan Modra  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
URL||http://gcc.gnu.org/ml/gcc-p
   ||atches/2013-06/msg00642.htm
   ||l
   Assignee|unassigned at gcc dot gnu.org  |amodra at gmail dot com


[Bug middle-end/57134] [4.9 Regression] ICE with -mstrict-align and inline assembly on ppc64

2013-05-02 Thread rguenth at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57134



Richard Biener  changed:



   What|Removed |Added



 Target||powerpc64

  Known to work||4.7.2

   Target Milestone|--- |4.9.0

Summary|ICE with -mstrict-align and |[4.9 Regression] ICE with

   |inline assembly on ppc64|-mstrict-align and inline

   ||assembly on ppc64

  Known to fail||4.9.0



--- Comment #2 from Richard Biener  2013-05-02 
08:06:45 UTC ---

Eventually somebody check 4.8.x.