public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/22594] New: HOST_LONG_LONG_FORMAT not used in HOST_WIDE_INT_PRINT macro
@ 2005-07-21 16:46 wintermute2k4 at ntlworld dot com
  2005-07-21 16:47 ` [Bug other/22594] " wintermute2k4 at ntlworld dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: wintermute2k4 at ntlworld dot com @ 2005-07-21 16:46 UTC (permalink / raw)
  To: gcc-bugs

For mips target hosted on mingw32 building libgcc2 fails.

ccAFaaaa.s: Assembler messages:
ccAFaaaa.s:19: Warning: expected `$'
ccAFaaaa.s:19: Error: junk at end of line, first unrecognized character is `n'
make[2]: *** [libgcc/./_muldi3.o] Error 1 

the offending code is the function prologue produced by
mips_output_function_prologue in gcc/config/mips/mips.c

__muldi3:
   .frame    $sp,0,(null)        # vars= 7640055, regs= 0/0, args= 0, gp= 0

which should have been

__muldi3:
   .frame    $sp,0,$31        # vars= 0, regs= 0/0, args= 0, gp= 0


this is caused by the HOST_WIDE_INT_PRINT_DEC macro in gcc/hwint.h not using the
HOST_LONG_LONG_FORMAT override from /gcc/config/i386/xm-mingw32.h

-- 
           Summary: HOST_LONG_LONG_FORMAT not used in HOST_WIDE_INT_PRINT
                    macro
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wintermute2k4 at ntlworld dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-mingw32
  GCC host triplet: i686-pc-mingw32


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/22594] HOST_LONG_LONG_FORMAT not used in HOST_WIDE_INT_PRINT macro
  2005-07-21 16:46 [Bug other/22594] New: HOST_LONG_LONG_FORMAT not used in HOST_WIDE_INT_PRINT macro wintermute2k4 at ntlworld dot com
@ 2005-07-21 16:47 ` wintermute2k4 at ntlworld dot com
  2005-07-21 16:52 ` wintermute2k4 at ntlworld dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: wintermute2k4 at ntlworld dot com @ 2005-07-21 16:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From wintermute2k4 at ntlworld dot com  2005-07-21 16:46 -------
Created an attachment (id=9322)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9322&action=view)
proposed patch to hwint.h

the attached patch seems to fix the problem

-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/22594] HOST_LONG_LONG_FORMAT not used in HOST_WIDE_INT_PRINT macro
  2005-07-21 16:46 [Bug other/22594] New: HOST_LONG_LONG_FORMAT not used in HOST_WIDE_INT_PRINT macro wintermute2k4 at ntlworld dot com
  2005-07-21 16:47 ` [Bug other/22594] " wintermute2k4 at ntlworld dot com
@ 2005-07-21 16:52 ` wintermute2k4 at ntlworld dot com
  2005-07-21 16:53 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: wintermute2k4 at ntlworld dot com @ 2005-07-21 16:52 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wintermute2k4 at ntlworld
                   |                            |dot com


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/22594] HOST_LONG_LONG_FORMAT not used in HOST_WIDE_INT_PRINT macro
  2005-07-21 16:46 [Bug other/22594] New: HOST_LONG_LONG_FORMAT not used in HOST_WIDE_INT_PRINT macro wintermute2k4 at ntlworld dot com
  2005-07-21 16:47 ` [Bug other/22594] " wintermute2k4 at ntlworld dot com
  2005-07-21 16:52 ` wintermute2k4 at ntlworld dot com
@ 2005-07-21 16:53 ` pinskia at gcc dot gnu dot org
  2005-07-21 17:37 ` pinskia at gcc dot gnu dot org
  2005-08-23 15:13 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-21 16:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-21 16:52 -------
Could you send your patch to gcc-patches@?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  GCC build triplet|i686-pc-mingw32             |
 GCC target triplet|                            |HWI_size==64
           Keywords|                            |build


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/22594] HOST_LONG_LONG_FORMAT not used in HOST_WIDE_INT_PRINT macro
  2005-07-21 16:46 [Bug other/22594] New: HOST_LONG_LONG_FORMAT not used in HOST_WIDE_INT_PRINT macro wintermute2k4 at ntlworld dot com
                   ` (2 preceding siblings ...)
  2005-07-21 16:53 ` pinskia at gcc dot gnu dot org
@ 2005-07-21 17:37 ` pinskia at gcc dot gnu dot org
  2005-08-23 15:13 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-21 17:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-21 17:23 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |07/msg01413.html
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |patch
   Last reconfirmed|0000-00-00 00:00:00         |2005-07-21 17:23:35
               date|                            |


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/22594] HOST_LONG_LONG_FORMAT not used in HOST_WIDE_INT_PRINT macro
  2005-07-21 16:46 [Bug other/22594] New: HOST_LONG_LONG_FORMAT not used in HOST_WIDE_INT_PRINT macro wintermute2k4 at ntlworld dot com
                   ` (3 preceding siblings ...)
  2005-07-21 17:37 ` pinskia at gcc dot gnu dot org
@ 2005-08-23 15:13 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-23 15:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-23 15:06 -------
Fixed by:

+2005-08-23  Mark Mitchell  <mark@codesourcery.com>
+
+	* hwint.h (HOST_WIDE_INT_PRINT): Use HOST_LONG_LONG_FORMAT.
+

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-08-23 15:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-21 16:46 [Bug other/22594] New: HOST_LONG_LONG_FORMAT not used in HOST_WIDE_INT_PRINT macro wintermute2k4 at ntlworld dot com
2005-07-21 16:47 ` [Bug other/22594] " wintermute2k4 at ntlworld dot com
2005-07-21 16:52 ` wintermute2k4 at ntlworld dot com
2005-07-21 16:53 ` pinskia at gcc dot gnu dot org
2005-07-21 17:37 ` pinskia at gcc dot gnu dot org
2005-08-23 15:13 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).