public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/5192: libgcc2.h test to see if TImode can be defined is insufficient
@ 2001-12-26 10:48 rodrigc
  0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2001-12-26 10:48 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gcc, nobody

Synopsis: libgcc2.h test to see if TImode can be defined is insufficient

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Wed Dec 26 10:48:31 2001
State-Changed-Why:
    Duplicate of PR 5190.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5192


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

* bootstrap/5192: libgcc2.h test to see if TImode can be defined is insufficient
@ 2001-12-25 17:06 gcc
  0 siblings, 0 replies; 2+ messages in thread
From: gcc @ 2001-12-25 17:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5192
>Category:       bootstrap
>Synopsis:       libgcc2.h test to see if TImode can be defined is insufficient
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 25 17:06:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dr. David Alan Gilbert
>Release:        gcc-3.0.3
>Organization:
>Environment:
Host i686-linux (Debian/unstable)
(gcc-3.0.3 is clean ftp.gnu.org code)
>Description:
On an i686-linux host compiled for an alpha target we get an error that TI mode is unavailable while building libgcc2.h,
looking at it we see:

#if MIN_UNITS_PER_WORD > 4 && HOST_BITS_PER_WIDE_INT >= 64
/* These typedefs are usually forbidden on archs with UNITS_PER_WORD 4 */
typedef          int TItype     __attribute__ ((mode (TI)));
typedef unsigned int UTItype    __attribute__ ((mode (TI)));
#endif

giving the error:

In file included from ../../gcc-3.0.3/gcc/libgcc2.c:47:
../../gcc-3.0.3/gcc/libgcc2.h:101: no data type for mode `TI'
../../gcc-3.0.3/gcc/libgcc2.h:102: no data type for mode `TI'
make[2]: *** [libgcc/./_muldi3.o] Error 1



Now I guess that the test isn't strong enough; but I can't seem to find a definition in the info files of 
 HOST_BITS_PER_WIDE_INT
or indeed what a WIDE_INT corresponds to.
>How-To-Repeat:
(on an i686-linux host)
unpack gcc-3.0.3
configure for --target=alpha-linux

make
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2001-12-26 18:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-26 10:48 bootstrap/5192: libgcc2.h test to see if TImode can be defined is insufficient rodrigc
  -- strict thread matches above, loose matches on Subject: below --
2001-12-25 17:06 gcc

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).