This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/7643] [h8300] ___muldi3 is generated for multiplication by long long constant


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From dhazeghi@yahoo.com  2003-05-26 04:32 -------
Hello,

with gcc 3.3 branch and mainline (20030524), I get:
junk.i:4:17: warning: integer constant is too large for its type

the assembly file contains only a call to mulsi3. Is this the correct behavior? Thanks,

Dara

junk.s
        .file   "junk.i"
;       GCC For the Hitachi H8/300
;       By Hitachi America Ltd and Cygnus Support
; -O2


        .file   "junk.i"
        .global ___mulsi3
        .section .text
        .align 1
        .global _foo
_foo:
        mov.w   r6,@-r7
        mov.w   r7,r6
        mov.w   @r7+,r6
        rts
        .size   _foo, .-_foo
        .end
        .ident  "GCC: (GNU) 3.4 20030524 (experimental)"




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]