[Bug target/48690] gcc-4.3.5 fails for target m68k

2015-01-16 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 Jeffrey A. Law changed: What|Removed |Added CC||christos at zoulas dot com --- Comment

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-05-02 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #34 from Andreas Schwab 2011-05-02 13:05:45 UTC --- Changeing BIGGEST_ALIGNMENT changes the ABI.

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-28 Thread andreast at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #33 from Andreas Tobler 2011-04-28 16:58:53 UTC --- I was able to build a cross gcc with the patch below. But I do not know if this correct. Especially I do not know if we can lower the BIGGEST_ALIGNMENT. If not, I do not know how to

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-22 Thread andreast at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #32 from Andreas Tobler 2011-04-22 22:15:28 UTC --- The last build was successful with commenting BIGGEST_ALIGNMENT and adding PREFERRED_STACK_BOUNDARY 32. I'll continue later. Thanks Andreas!

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-22 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #31 from Andreas Schwab 2011-04-22 21:40:00 UTC --- Also BIGGEST_ALIGNMENT is bigger than (PREFERRED_)STACK_BOUNDARY.

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-22 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #30 from Andreas Schwab 2011-04-22 20:38:45 UTC --- The real problem appears to be that netbsd-elf redefines STACK_BOUNDARY to 32, but leaves PREFERRED_STACK_BOUNDARY at the default 16.

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-22 Thread andreast at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #29 from Andreas Tobler 2011-04-22 20:38:28 UTC --- Unfortunately the issue is not solved yet. I was informed that 68010 needs STRICT_ALIGNMENT. So I have to think about how to solve this. Afaik, netbsd has 68010 machines (Sun?). Lea

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-22 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #28 from diggskevin38 at gmail dot com 2011-04-22 20:31:41 UTC --- If there are any bug'etiquette steps I am supposed to perform, please tell me (i.e. I have to close/resolve it since I opened it). kevin

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-22 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #27 from diggskevin38 at gmail dot com 2011-04-22 20:29:55 UTC --- Thanks!!! This worked. I never thought to try a Linux build. Live and learn. I guess it is a good thing I'm not a gamblin' man. kevin

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-22 Thread andreast at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 Andreas Tobler changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #26 from Andreas To

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-22 Thread andreast at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 Andreas Tobler changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-22 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #24 from diggskevin38 at gmail dot com 2011-04-22 17:21:42 UTC --- (In reply to comment #23) > Ok. The breaking revision is 121736. > > If you add this to m68k/netbsd-elf.h it compiles. > > #undef STRICT_ALIGNMENT > #define STRICT_ALI

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-22 Thread andreast at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #23 from Andreas Tobler 2011-04-22 16:56:53 UTC --- Ok. The breaking revision is 121736. If you add this to m68k/netbsd-elf.h it compiles. #undef STRICT_ALIGNMENT #define STRICT_ALIGNMENT 0 I had to disable libgomp too since this n

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-22 Thread andreast at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #22 from Andreas Tobler 2011-04-22 14:16:13 UTC --- I need some time to bisect. I'll let you know asap which version is the breaking one.

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-21 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #21 from diggskevin38 at gmail dot com 2011-04-22 00:30:24 UTC --- (In reply to comment #20) > (In reply to comment #19) > > !@$#%^%^ > > > > I tried to do a build with svn release and it failed for me. Same problem. > > > > xgcc says

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-21 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #20 from diggskevin38 at gmail dot com 2011-04-22 00:28:55 UTC --- (In reply to comment #19) > !@$#%^%^ > > I tried to do a build with svn release and it failed for me. Same problem. > > xgcc says it is 4.3.0. > > What did I do wrong

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-21 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #19 from diggskevin38 at gmail dot com 2011-04-22 00:07:00 UTC --- !@$#%^%^ I tried to do a build with svn release and it failed for me. Same problem. xgcc says it is 4.3.0. What did I do wrong???

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-21 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #18 from Jonathan Wakely 2011-04-21 15:50:08 UTC --- (In reply to comment #16) > If someone wants to post svn commands to see the difference between the > m68k.md > file between 122895 & 122896 ... that would be cool (ya know ... so

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-21 Thread andreast at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #17 from Andreas Tobler 2011-04-21 15:46:44 UTC --- svn diff -r 122895:122896 m68k.md

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-21 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #16 from diggskevin38 at gmail dot com 2011-04-21 15:30:29 UTC --- If someone wants to post svn commands to see the difference between the m68k.md file between 122895 & 122896 ... that would be cool (ya know ... so I don't have to beat

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-21 Thread andreast at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #15 from Andreas Tobler 2011-04-21 11:34:32 UTC --- This was my fault. I have in mind that my breakage happened between 4.2 and 4.3. (And you write that 4.2.4 is ok, right?) Unfortunately we can not update/downgrade to this revision

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-20 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #14 from diggskevin38 at gmail dot com 2011-04-21 05:11:43 UTC --- I did: svn co svn://gcc.gnu.org/svn/gcc/tags/gcc_4_3_0_release gcc_4_3-svn blah blah blah ... Checked out revision 172810. then: svn up -r 122895 Skipped '.' I do

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-20 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #13 from diggskevin38 at gmail dot com 2011-04-20 22:05:34 UTC --- This time without the cut and paste overlap errors (Sorry): -(define_insn "ashldi_const32" - [(set (match_operand:DI 0 "nonimmediate_operand" "=rm") -(ashift:DI (m

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-20 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #12 from diggskevin38 at gmail dot com 2011-04-20 21:49:36 UTC --- Then again I suppose it could be in here: (define_insn "extendsidi2" - [(set (match_operand:DI 0 "nonimmediate_operand" "=d") - (sign_extend:DI -(match_

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-20 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #11 from diggskevin38 at gmail dot com 2011-04-20 21:24:31 UTC --- I don't know what '122895' means??? I'll do the 'svn thing'. But I am not an experienced svn user so it may take some time.

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-20 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #10 from diggskevin38 at gmail dot com 2011-04-20 21:22:12 UTC --- If I were a bettin' man I would double down that the problem is in here somewhere: -(define_insn "ashldi_const32" - [(set (match_operand:DI 0 "nonimmediate_operand" "=

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-20 Thread andreast at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 Andreas Tobler changed: What|Removed |Added CC||andreast at gcc dot gnu.org --- Comment

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-20 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #8 from diggskevin38 at gmail dot com 2011-04-20 17:46:09 UTC --- Would a diff of the 4.2.4 and 4.3.0 m68k.md file be a useful attachment?

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-20 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #7 from diggskevin38 at gmail dot com 2011-04-20 17:42:51 UTC --- This is also busted in all of 4.3 (0, 1, 2, 3, & 4) and 4.5.1.

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-19 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #6 from diggskevin38 at gmail dot com 2011-04-19 19:38:36 UTC --- Created attachment 24046 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24046 4.3.5 build log ya know: yadda-yadda make blah blah|tee It has been lzma'ed.

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-19 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #5 from diggskevin38 at gmail dot com 2011-04-19 19:24:08 UTC --- kevdig@Satellite2775XDVD:~/projects/GCC/OBJ/gcc-4.3.5-m68k/m68k-netbsdelf1.6.1/libgcc$ gdb --args ../..//gcc/cc1 ../../../../fixunsxfdi.c -m68020 -auxbase-strip _fixunsxf

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-19 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #4 from diggskevin38 at gmail dot com 2011-04-19 18:59:20 UTC --- If I understand correctly (disclosure - I might as well be trying to read Klingon), both of these failures involve 64-bit.

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-19 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #3 from diggskevin38 at gmail dot com 2011-04-19 18:57:00 UTC --- Created attachment 24045 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24045 partial -dr RTL dump This is what -dr produce before it died.

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-19 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #2 from diggskevin38 at gmail dot com 2011-04-19 18:54:30 UTC --- The result of -dr for fixunsxfdi() for 4.2.4 is 648 lines. Only 80 are produced by 4.3.5. It appears to die on the left shift.

[Bug target/48690] gcc-4.3.5 fails for target m68k

2011-04-19 Thread diggskevin38 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690 --- Comment #1 from diggskevin38 at gmail dot com 2011-04-19 18:49:00 UTC --- Created attachment 24044 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24044 standalone version of popcountdi2() from libgcc2.c