public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
@ 2015-08-14  7:12 doko at gcc dot gnu.org
  2015-08-14  7:39 ` [Bug target/67211] " trippels at gcc dot gnu.org
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: doko at gcc dot gnu.org @ 2015-08-14  7:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

            Bug ID: 67211
           Summary: [5 Regression] ICE (insn does not satisfy its
                    constraints) on powerpc64le-linux-gnu
           Product: gcc
           Version: 5.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

seen with r226731 from the gcc-5-branch, fails with -O3, succeeds with -O2. on
powerpc64le-linux-gnu. not seen with r226068 on the trunk.

$ g++ -c -g -O3 structure.ii
structure.ii:38:3: warning: anonymous type with no linkage used to declare
variable '<anonymous struct> a' with linkage
 } a;
   ^
structure.ii: In function 'void Linked()':
structure.ii:42:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 305 170 306 8 (set (reg:DI 9 9)
        (reg/f:DI 63 31 [orig:184 p3$_M_node ] [184])) structure.ii:20 554
{*movdi_internal64}
     (nil))
structure.ii:42:1: internal compiler error: in extract_constrain_insn, at
recog.c:2246
0x107528d3 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../src/gcc/rtl-error.c:110
0x1075292b _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../src/gcc/rtl-error.c:121
0x1071b7e7 extract_constrain_insn(rtx_insn*)
        ../../src/gcc/recog.c:2246
0x106f8527 reload_cse_simplify_operands
        ../../src/gcc/postreload.c:430
0x106f9983 reload_cse_simplify
        ../../src/gcc/postreload.c:207
0x106f9983 reload_cse_regs_1
        ../../src/gcc/postreload.c:246
0x106fb697 reload_cse_regs
        ../../src/gcc/postreload.c:94
0x106fb697 execute
        ../../src/gcc/postreload.c:2387
Please submit a full bug report,
with preprocessed source if appropriate.

$ cat structure.ii
template <typename _InputIterator, typename _ForwardIterator>
void find_first_of(_InputIterator, _InputIterator, _ForwardIterator p3,
                   _ForwardIterator p4) {
  for (; p3 != p4; ++p3)
    ;
}

template <typename, typename, typename> struct A {
  int _S_buffer_size;
  int *_M_cur;
  int *_M_first;
  int *_M_last;
  int **_M_node;
  void operator++() {
    if (_M_cur == _M_last)
      m_fn1(_M_node + 1);
  }
  void m_fn1(int **p1) {
    _M_node = p1;
    _M_first = *p1;
    _M_last = _M_first + _S_buffer_size;
  }
};

template <typename _Tp, typename _Ref, typename _Ptr>
bool operator==(A<_Tp, _Ref, _Ptr>, A<_Tp, _Ref, _Ptr>);
template <typename _Tp, typename _Ref, typename _Ptr>
bool operator!=(A<_Tp, _Ref, _Ptr> p1, A<_Tp, _Ref, _Ptr> p2) {
  return p1 == p2;
}

class B {
public:
  A<int, int, int> m_fn2();
};
struct {
  B j;
} a;
void Linked() {
  A<int, int, int> b, c, d;
  find_first_of(d, c, b, a.j.m_fn2());
}


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
  2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
@ 2015-08-14  7:39 ` trippels at gcc dot gnu.org
  2015-08-14  8:02 ` doko at gcc dot gnu.org
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-08-14  7:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trippels at gcc dot gnu.org

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
I cannot reproduce this with:
gcc version 5.2.1 20150814 (GCC)

Please post the full output of -v invocation.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
  2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
  2015-08-14  7:39 ` [Bug target/67211] " trippels at gcc dot gnu.org
@ 2015-08-14  8:02 ` doko at gcc dot gnu.org
  2015-08-14  8:32 ` rguenth at gcc dot gnu.org
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: doko at gcc dot gnu.org @ 2015-08-14  8:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

--- Comment #2 from Matthias Klose <doko at gcc dot gnu.org> ---
Using built-in specs.
COLLECT_GCC=g++
Target: powerpc64le-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.2.1-15ubuntu1'
--with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs
--enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-5 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-libquadmath --enable-plugin --with-system-zlib
--disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-ppc64el/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-ppc64el
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-ppc64el
--with-arch-directory=ppc64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-secureplt --with-cpu=power7 --with-tune=power8
--disable-multilib --enable-multiarch --disable-werror --with-long-double-128
--enable-checking=release --build=powerpc64le-linux-gnu
--host=powerpc64le-linux-gnu --target=powerpc64le-linux-gnu
Thread model: posix
gcc version 5.2.1 20150808 (Ubuntu 5.2.1-15ubuntu1) 
COLLECT_GCC_OPTIONS='-v' '-c' '-g' '-O3' '-shared-libgcc' '-mtune=power8'
'-mcpu=power7'
 /usr/lib/gcc/powerpc64le-linux-gnu/5/cc1plus -fpreprocessed structure.ii
-msecure-plt -quiet -dumpbase structure.ii -mtune=power8 -mcpu=power7 -auxbase
structure -g -O3 -version -fstack-protector-strong -Wformat -Wformat-security
-o /tmp/ccbsT2XQ.s
GNU C++ (Ubuntu 5.2.1-15ubuntu1) version 5.2.1 20150808 (powerpc64le-linux-gnu)
        compiled by GNU C version 5.2.1 20150808, GMP version 6.0.0, MPFR
version 3.1.3, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++ (Ubuntu 5.2.1-15ubuntu1) version 5.2.1 20150808 (powerpc64le-linux-gnu)
        compiled by GNU C version 5.2.1 20150808, GMP version 6.0.0, MPFR
version 3.1.3, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 01b1e70cc2d1c174675506164f1d0933
structure.ii:38:3: warning: anonymous type with no linkage used to declare
variable '<anonymous struct> a' with linkage
 } a;
   ^
structure.ii: In function 'void Linked()':
structure.ii:42:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 305 170 306 8 (set (reg:DI 9 9)
        (reg/f:DI 63 31 [orig:184 p3$_M_node ] [184])) structure.ii:20 554
{*movdi_internal64}
     (nil))
structure.ii:42:1: internal compiler error: in extract_constrain_insn, at
recog.c:2246
0x107528d3 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../src/gcc/rtl-error.c:110
0x1075292b _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../src/gcc/rtl-error.c:121
0x1071b7e7 extract_constrain_insn(rtx_insn*)
        ../../src/gcc/recog.c:2246
0x106f8527 reload_cse_simplify_operands
        ../../src/gcc/postreload.c:430
0x106f9983 reload_cse_simplify
        ../../src/gcc/postreload.c:207
0x106f9983 reload_cse_regs_1
        ../../src/gcc/postreload.c:246
0x106fb697 reload_cse_regs
        ../../src/gcc/postreload.c:94
0x106fb697 execute
        ../../src/gcc/postreload.c:2387
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
  2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
  2015-08-14  7:39 ` [Bug target/67211] " trippels at gcc dot gnu.org
  2015-08-14  8:02 ` doko at gcc dot gnu.org
@ 2015-08-14  8:32 ` rguenth at gcc dot gnu.org
  2015-08-14 10:19 ` trippels at gcc dot gnu.org
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-08-14  8:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.3


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
  2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2015-08-14  8:32 ` rguenth at gcc dot gnu.org
@ 2015-08-14 10:19 ` trippels at gcc dot gnu.org
  2015-08-14 10:23 ` trippels at gcc dot gnu.org
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-08-14 10:19 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-08-14
     Ever confirmed|0                           |1

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Confirmed.

ICEs with:
g++ -c -mtune=power8 -mcpu=power7 -O3 con.ii


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
  2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2015-08-14 10:19 ` trippels at gcc dot gnu.org
@ 2015-08-14 10:23 ` trippels at gcc dot gnu.org
  2015-08-14 12:54 ` trippels at gcc dot gnu.org
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-08-14 10:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
The question is if -mtune=power8 -mcpu=power7 if valid for powerpc64le.

I think the minimal CPU supported for little-endian is POWER8.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
  2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2015-08-14 10:23 ` trippels at gcc dot gnu.org
@ 2015-08-14 12:54 ` trippels at gcc dot gnu.org
  2015-08-14 13:39 ` wschmidt at gcc dot gnu.org
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-08-14 12:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Closing.
You should configure gcc --with-cpu=power8 for powerpc64le on Ubuntu.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
  2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2015-08-14 12:54 ` trippels at gcc dot gnu.org
@ 2015-08-14 13:39 ` wschmidt at gcc dot gnu.org
  2015-08-18 16:07 ` segher at gcc dot gnu.org
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: wschmidt at gcc dot gnu.org @ 2015-08-14 13:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

Bill Schmidt <wschmidt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #6 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Re-opening.  Canonical has reasons to use these particular flags for their
builds at this time.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
  2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2015-08-14 13:39 ` wschmidt at gcc dot gnu.org
@ 2015-08-18 16:07 ` segher at gcc dot gnu.org
  2015-08-19 18:06 ` meissner at gcc dot gnu.org
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: segher at gcc dot gnu.org @ 2015-08-18 16:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |segher at gcc dot gnu.org

--- Comment #7 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Also the compiler should not crash anyway; if some -mcpu= cannot work,
the compiler should detect that and fail with an informative message.
ICEing is a bit harsh.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
  2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2015-08-18 16:07 ` segher at gcc dot gnu.org
@ 2015-08-19 18:06 ` meissner at gcc dot gnu.org
  2015-08-19 18:13 ` meissner at gcc dot gnu.org
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: meissner at gcc dot gnu.org @ 2015-08-19 18:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

--- Comment #8 from Michael Meissner <meissner at gcc dot gnu.org> ---
A preliminary analysis is -mefficient-unaligned-vector is set in
rs6000_option_override_internal if -mtune=power8 is used. Note, this code uses
a variable 'rs6000_cpu' to indicate the tuning cpu, not the target cpu. Now,
long term we probably should audit the uses of rs6000_cpu to see if they are
related to tuning or arch, and possibly add rs6000_tune for those conditions.

Setting efficient unaligned vector is wrong for a tuning option. I believe the
best approach is to make -mefficient-unaligned-vector a normal masked option in
rs6000_isa. This will allow future processors to specify this option, rather
than going through the code to find (rs6000_cpu == PROCESSOR_POWER8) and adjust
it.

The reason unaligned fast vector support enables the bug is it enables the
option to convert adjacent DImode structure mode members into V2DImode. The
code builds V2DImode vectors in the VSX registers to copy the structure. At the
end of the function, there is a reference to one of the elements, and reload is
trying to combine this with the previous load. But it doesn't have a move
direct operation on a power7 cpu.

The code for power8 looks like:
        lfd 31,320(1)
        ...
        mtvsrd 12,9
        ...
        xxpermdi 63,12,31,0
        stxvd2x 63,1,26
        ...
        mfvsrd 9,31
        addi 9,9,8
        ld 10,0(9)
.LVL14:
        mtvsrd 31,9
.LVL15:
        .loc 1 24 0
        add 9,10,21

In this case, it probably doesn't win to aggregate the structure members as
V2DImode, since it involves a lot of moves and xxpermdi's.

I haven't tracked down why it doesn't fail on trunk compared to the GCC 5
branch.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
  2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2015-08-19 18:06 ` meissner at gcc dot gnu.org
@ 2015-08-19 18:13 ` meissner at gcc dot gnu.org
  2015-08-19 18:51 ` meissner at gcc dot gnu.org
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: meissner at gcc dot gnu.org @ 2015-08-19 18:13 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

--- Comment #9 from Michael Meissner <meissner at gcc dot gnu.org> ---
Created attachment 36217
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36217&action=edit
Proposed patch to fix the problem

This patch makes -mefficient-unaligned-vsx set on -mcpu=power8 instead of
-mtune=power8.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
  2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2015-08-19 18:13 ` meissner at gcc dot gnu.org
@ 2015-08-19 18:51 ` meissner at gcc dot gnu.org
  2015-08-20 21:27 ` meissner at gcc dot gnu.org
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: meissner at gcc dot gnu.org @ 2015-08-19 18:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

Michael Meissner <meissner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36217|0                           |1
        is obsolete|                            |

--- Comment #10 from Michael Meissner <meissner at gcc dot gnu.org> ---
Created attachment 36218
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36218&action=edit
Proposed patch to fix the problem (#2)

Bill convinced me that we need setting ALLOW_MOVMISALIGN to 1 if power8. This
patch fixes that.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
  2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
                   ` (10 preceding siblings ...)
  2015-08-19 18:51 ` meissner at gcc dot gnu.org
@ 2015-08-20 21:27 ` meissner at gcc dot gnu.org
  2015-08-20 21:28 ` meissner at gcc dot gnu.org
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: meissner at gcc dot gnu.org @ 2015-08-20 21:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

Michael Meissner <meissner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36218|0                           |1
        is obsolete|                            |

--- Comment #11 from Michael Meissner <meissner at gcc dot gnu.org> ---
Created attachment 36230
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36230&action=edit
Patch to fix problem for gcc 5.x that was submitted to gcc-patches


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
  2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
                   ` (11 preceding siblings ...)
  2015-08-20 21:27 ` meissner at gcc dot gnu.org
@ 2015-08-20 21:28 ` meissner at gcc dot gnu.org
  2015-08-24 18:43 ` meissner at gcc dot gnu.org
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: meissner at gcc dot gnu.org @ 2015-08-20 21:28 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

--- Comment #12 from Michael Meissner <meissner at gcc dot gnu.org> ---
Created attachment 36231
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36231&action=edit
Patch to fix problem for gcc 6.x that was submitted to gcc-patches

[gcc]
2015-08-20  Michael Meissner  <meissner@linux.vnet.ibm.com>

        PR target/67211
        * config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Set
        -mefficient-unaligned-vsx on ISA 2.7.

        * config/rs6000/rs6000.opt (-mefficient-unaligned-vsx): Convert
        option to a masked option.

        * config/rs6000/rs6000.c (rs6000_option_override_internal): Rework
        logic for -mefficient-unaligned-vsx so that it is set via an arch
        ISA option, instead of being set if -mtune=power8 is set. Move
        -mefficient-unaligned-vsx and -mallow-movmisalign handling to be
        near other default option handling.

[gcc/testsuite]
2015-08-20  Michael Meissner  <meissner@linux.vnet.ibm.com>

        PR target/67211
        * g++.dg/pr67211.C: New test.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
  2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
                   ` (12 preceding siblings ...)
  2015-08-20 21:28 ` meissner at gcc dot gnu.org
@ 2015-08-24 18:43 ` meissner at gcc dot gnu.org
  2015-08-24 19:11 ` meissner at gcc dot gnu.org
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: meissner at gcc dot gnu.org @ 2015-08-24 18:43 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

--- Comment #13 from Michael Meissner <meissner at gcc dot gnu.org> ---
Author: meissner
Date: Mon Aug 24 18:43:02 2015
New Revision: 227144

URL: https://gcc.gnu.org/viewcvs?rev=227144&root=gcc&view=rev
Log:
[gcc]
2015-08-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

        PR target/67211
        * config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Set
        -mefficient-unaligned-vsx on ISA 2.7.

        * config/rs6000/rs6000.opt (-mefficient-unaligned-vsx): Convert
        option to a masked option.

        * config/rs6000/rs6000.c (rs6000_option_override_internal): Rework
        logic for -mefficient-unaligned-vsx so that it is set via an arch
        ISA option, instead of being set if -mtune=power8 is set. Move
        -mefficient-unaligned-vsx and -mallow-movmisalign handling to be
        near other default option handling.

[gcc/testsuite]
2015-08-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

        PR target/67211
        * g++.dg/pr67211.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/pr67211.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000-cpus.def
    trunk/gcc/config/rs6000/rs6000.c
    trunk/gcc/config/rs6000/rs6000.opt
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
  2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
                   ` (13 preceding siblings ...)
  2015-08-24 18:43 ` meissner at gcc dot gnu.org
@ 2015-08-24 19:11 ` meissner at gcc dot gnu.org
  2015-08-24 20:37 ` meissner at gcc dot gnu.org
  2015-08-24 20:39 ` meissner at gcc dot gnu.org
  16 siblings, 0 replies; 18+ messages in thread
From: meissner at gcc dot gnu.org @ 2015-08-24 19:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

--- Comment #14 from Michael Meissner <meissner at gcc dot gnu.org> ---
Author: meissner
Date: Mon Aug 24 19:11:02 2015
New Revision: 227146

URL: https://gcc.gnu.org/viewcvs?rev=227146&root=gcc&view=rev
Log:
[gcc]
2015-08-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

        PR target/67211
        * config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Set
        -mefficient-unaligned-vsx on ISA 2.7.

        * config/rs6000/rs6000.opt (-mefficient-unaligned-vsx): Convert
        option to a masked option.

        * config/rs6000/rs6000.c (rs6000_option_override_internal): Rework
        logic for -mefficient-unaligned-vsx so that it is set via an arch
        ISA option, instead of being set if -mtune=power8 is set. Move
        -mefficient-unaligned-vsx and -mallow-movmisalign handling to be
        near other default option handling.

[gcc/testsuite]
2015-08-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

        PR target/67211
        * g++.dg/pr67211.C: New test.


Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/pr67211.C
      - copied unchanged from r227144, trunk/gcc/testsuite/g++.dg/pr67211.C
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/rs6000/rs6000-cpus.def
    branches/gcc-5-branch/gcc/config/rs6000/rs6000.c
    branches/gcc-5-branch/gcc/config/rs6000/rs6000.opt
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
  2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
                   ` (14 preceding siblings ...)
  2015-08-24 19:11 ` meissner at gcc dot gnu.org
@ 2015-08-24 20:37 ` meissner at gcc dot gnu.org
  2015-08-24 20:39 ` meissner at gcc dot gnu.org
  16 siblings, 0 replies; 18+ messages in thread
From: meissner at gcc dot gnu.org @ 2015-08-24 20:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

--- Comment #15 from Michael Meissner <meissner at gcc dot gnu.org> ---
Author: meissner
Date: Mon Aug 24 20:36:35 2015
New Revision: 227149

URL: https://gcc.gnu.org/viewcvs?rev=227149&root=gcc&view=rev
Log:
[gcc]
2015-08-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

        PR target/67211
        * config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Set
        -mefficient-unaligned-vsx on ISA 2.7.

        * config/rs6000/rs6000.opt (-mefficient-unaligned-vsx): Convert
        option to a masked option.

        * config/rs6000/rs6000.c (rs6000_option_override_internal): Rework
        logic for -mefficient-unaligned-vsx so that it is set via an arch
        ISA option, instead of being set if -mtune=power8 is set. Move
        -mefficient-unaligned-vsx and -mallow-movmisalign handling to be
        near other default option handling.

[gcc/testsuite]
2015-08-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

        PR target/67211
        * g++.dg/pr67211.C: New test.


Added:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/pr67211.C
      - copied unchanged from r227144, trunk/gcc/testsuite/g++.dg/pr67211.C
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/config/rs6000/rs6000-cpus.def
    branches/gcc-4_9-branch/gcc/config/rs6000/rs6000.c
    branches/gcc-4_9-branch/gcc/config/rs6000/rs6000.opt
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu
  2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
                   ` (15 preceding siblings ...)
  2015-08-24 20:37 ` meissner at gcc dot gnu.org
@ 2015-08-24 20:39 ` meissner at gcc dot gnu.org
  16 siblings, 0 replies; 18+ messages in thread
From: meissner at gcc dot gnu.org @ 2015-08-24 20:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211

Michael Meissner <meissner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #16 from Michael Meissner <meissner at gcc dot gnu.org> ---
Trunk fixed in subversion id 227144. Gcc 5 branch fixed in 227146. Gcc 4.9
branch fixes in 227149.


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-08-24 20:39 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-14  7:12 [Bug target/67211] New: [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu doko at gcc dot gnu.org
2015-08-14  7:39 ` [Bug target/67211] " trippels at gcc dot gnu.org
2015-08-14  8:02 ` doko at gcc dot gnu.org
2015-08-14  8:32 ` rguenth at gcc dot gnu.org
2015-08-14 10:19 ` trippels at gcc dot gnu.org
2015-08-14 10:23 ` trippels at gcc dot gnu.org
2015-08-14 12:54 ` trippels at gcc dot gnu.org
2015-08-14 13:39 ` wschmidt at gcc dot gnu.org
2015-08-18 16:07 ` segher at gcc dot gnu.org
2015-08-19 18:06 ` meissner at gcc dot gnu.org
2015-08-19 18:13 ` meissner at gcc dot gnu.org
2015-08-19 18:51 ` meissner at gcc dot gnu.org
2015-08-20 21:27 ` meissner at gcc dot gnu.org
2015-08-20 21:28 ` meissner at gcc dot gnu.org
2015-08-24 18:43 ` meissner at gcc dot gnu.org
2015-08-24 19:11 ` meissner at gcc dot gnu.org
2015-08-24 20:37 ` meissner at gcc dot gnu.org
2015-08-24 20:39 ` meissner 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).