[Bug target/69034] ICE: RTL check: expected elt 1 type 'e' or 'u', have 'i' (rtx unspec) in copy_replacements_1, at reload.c:6323 with -fPIC and "X" asm input

2017-03-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69034

Segher Boessenkool  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #6 from Segher Boessenkool  ---
So, it's a dup.

I don't agree with your patch either, unfortunately.  Inline asm should
as much as possible work the same as all other RTL does, "X" should not
mean something more restricted in inline asm.

*** This bug has been marked as a duplicate of bug 59155 ***

[Bug target/69034] ICE: RTL check: expected elt 1 type 'e' or 'u', have 'i' (rtx unspec) in copy_replacements_1, at reload.c:6323 with -fPIC and "X" asm input

2017-03-06 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69034

--- Comment #5 from Bernd Edlinger  ---
FYI: The latest version of my patch is here:

https://gcc.gnu.org/ml/gcc-patches/2016-06/msg01363.html


Unfortunately there was no consensus about it ...

[Bug target/69034] ICE: RTL check: expected elt 1 type 'e' or 'u', have 'i' (rtx unspec) in copy_replacements_1, at reload.c:6323 with -fPIC and "X" asm input

2017-03-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69034

Segher Boessenkool  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2017-03-07
 CC||segher at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #4 from Segher Boessenkool  ---
Still fails on trunk (needs -mno-lra there, on powerpc -- the bug is
(exposed) in reload).

[Bug target/69034] ICE: RTL check: expected elt 1 type 'e' or 'u', have 'i' (rtx unspec) in copy_replacements_1, at reload.c:6323 with -fPIC and "X" asm input

2016-01-04 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69034

--- Comment #2 from Zdenek Sojka  ---
Created attachment 37217
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37217=edit
reduced testcase

(In reply to Bernd Edlinger from comment #1)
> Hi,
> 
> I don't see any test case.

Hello Bernd, thanks, I've added it now. It is more or less the same as for the
other PRs.

[Bug target/69034] ICE: RTL check: expected elt 1 type 'e' or 'u', have 'i' (rtx unspec) in copy_replacements_1, at reload.c:6323 with -fPIC and "X" asm input

2016-01-04 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69034

--- Comment #3 from Bernd Edlinger  ---
(In reply to Zdenek Sojka from comment #2)
> Created attachment 37217 [details]
> reduced testcase
> 
> (In reply to Bernd Edlinger from comment #1)
> > Hi,
> > 
> > I don't see any test case.
> 
> Hello Bernd, thanks, I've added it now. It is more or less the same as for
> the other PRs.

Ok, I see.  You can try the patch that I attached to PR59155 today.

[Bug target/69034] ICE: RTL check: expected elt 1 type 'e' or 'u', have 'i' (rtx unspec) in copy_replacements_1, at reload.c:6323 with -fPIC and "X" asm input

2016-01-03 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69034

Bernd Edlinger  changed:

   What|Removed |Added

 CC||bernd.edlinger at hotmail dot 
de

--- Comment #1 from Bernd Edlinger  ---
Hi,

I don't see any test case.