http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690
Summary: gcc-4.3.5 fails for target m68k
Product: gcc
Version: 4.3.5
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassig...@gcc.gn
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
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.
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.
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.
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
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.
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.
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?
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 "
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.
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&
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" &q
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 '
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
hav
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???
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.
>
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 p
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_ALIG
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
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
21 matches
Mail list logo