[Bug libgcc/56656] Suffix or operands invalid for 'movq'

2013-03-20 Thread ubizjak at gmail dot com


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



--- Comment #5 from Uros Bizjak ubizjak at gmail dot com 2013-03-20 07:45:22 
UTC ---

This is probably fallout from move pattern unification. Can you please attach

preprocessed source and assembly? Please use -dp when compiling, it will

generate corresponding insn pattern names in the assembly.


[Bug libgcc/56656] Suffix or operands invalid for 'movq'

2013-03-20 Thread dominiq at lps dot ens.fr


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



--- Comment #6 from Dominique d'Humieres dominiq at lps dot ens.fr 2013-03-20 
08:14:55 UTC ---

Created attachment 29696

  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29696

preprocessed file


[Bug libgcc/56656] Suffix or operands invalid for 'movq'

2013-03-20 Thread dominiq at lps dot ens.fr


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



--- Comment #7 from Dominique d'Humieres dominiq at lps dot ens.fr 2013-03-20 
08:15:32 UTC ---

Created attachment 29697

  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29697

assembly with -dp


[Bug libgcc/56656] Suffix or operands invalid for 'movq'

2013-03-20 Thread dominiq at lps dot ens.fr


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



Dominique d'Humieres dominiq at lps dot ens.fr changed:



   What|Removed |Added



 Status|UNCONFIRMED |NEW

   Last reconfirmed||2013-03-20

 Ever Confirmed|0   |1



--- Comment #8 from Dominique d'Humieres dominiq at lps dot ens.fr 2013-03-20 
08:19:32 UTC ---

I see the same failure on x86_64-apple-darwin10 for 4.9. This is due to

revision 196784 (r196783 bootstraps). As asked by Uros I have attached the

preprocessed source and generated assembly obtained with



/opt/gcc/p_build/./gcc/xgcc -B/opt/gcc/p_build/./gcc/ -g -O2 -DIN_GCC -W -Wall

-Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes

-Wmissing-prototypes -Wold-style-definition -isystem ./include -fno-common

-DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fno-common -I. -I.

-I../.././gcc -I../../../p_work/libgcc -I../../../p_work/libgcc/.

-I../../../p_work/gcc -I../../../p_work/include -DHAVE_CC_TLS -DUSE_EMUTLS -o

extenddftf2_s.o -MT extenddftf2_s.o -MD -MP -MF extenddftf2_s.dep -DSHARED -c

-dp ../../../p_work/libgcc/soft-fp/extenddftf2.c -save-temps



The bootstrap is done in a directory different from the source one.


[Bug libgcc/56656] Suffix or operands invalid for 'movq'

2013-03-20 Thread jakub at gcc dot gnu.org


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



Jakub Jelinek jakub at gcc dot gnu.org changed:



   What|Removed |Added



 CC||jakub at gcc dot gnu.org



--- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org 2013-03-20 
08:57:32 UTC ---

So I guess an important question is if the svn-fetched 4.8.0 wasn't actually

svn-fetched trunk instead, Uros' changes have been committed only for 4.9 and

not on the 4.8 branch.


[Bug libgcc/56656] Suffix or operands invalid for 'movq'

2013-03-20 Thread ubizjak at gmail dot com


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



--- Comment #10 from Uros Bizjak ubizjak at gmail dot com 2013-03-20 09:29:13 
UTC ---

Author: uros

Date: Wed Mar 20 09:23:39 2013

New Revision: 196813



URL: http://gcc.gnu.org/viewcvs?rev=196813root=gccview=rev

Log:

PR bootstrap/56656

* config/i386/i386.md (*movdi_internal): Handle broken assemblers

that require movd instead of movq.





Modified:

trunk/gcc/ChangeLog

trunk/gcc/config/i386/i386.md


[Bug libgcc/56656] Suffix or operands invalid for 'movq'

2013-03-19 Thread pinskia at gcc dot gnu.org


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



--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2013-03-20 
02:08:21 UTC ---

Can you try to compile it out of the src directory in another directory?  I

think that is what is causing it.


[Bug libgcc/56656] Suffix or operands invalid for 'movq'

2013-03-19 Thread townsend at astro dot wisc.edu


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



--- Comment #2 from Rich Townsend townsend at astro dot wisc.edu 2013-03-20 
02:11:30 UTC ---

(In reply to comment #1)

 Can you try to compile it out of the src directory in another directory?  I

 think that is what is causing it.



Could you clarify what you mean -- are you saying, for instance, make a

separate directory gcc.build, and from within that directory run 'make -C

../gcc'?


[Bug libgcc/56656] Suffix or operands invalid for 'movq'

2013-03-19 Thread pinskia at gcc dot gnu.org


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



--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org 2013-03-20 
02:16:24 UTC ---

svn co svn://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch gcc-src

mkdir gcc-objdir

cd gcc-objdir

../gcc-src/configure 

make





If that does not work then can you try adding the following to configure

command line:

--host=x86_64-apple-darwin11.4.2 --target=x86_64-apple-darwin11.4.2





 --disable-multilib



Also why do you do that?


[Bug libgcc/56656] Suffix or operands invalid for 'movq'

2013-03-19 Thread townsend at astro dot wisc.edu


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



--- Comment #4 from Rich Townsend townsend at astro dot wisc.edu 2013-03-20 
04:20:56 UTC ---

(In reply to comment #3)

 svn co svn://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch gcc-src

 mkdir gcc-objdir

 cd gcc-objdir

 ../gcc-src/configure 

 make



No change



 

 

 If that does not work then can you try adding the following to configure

 command line:

 --host=x86_64-apple-darwin11.4.2 --target=x86_64-apple-darwin11.4.2

 



No change



 

  --disable-multilib

 

 Also why do you do that?



I forget ;)