public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/52155] New: loongson.h requires -flax-vector-conversions with newlib targets
@ 2012-02-07 18:59 rsandifo at gcc dot gnu.org
  2012-02-07 18:59 ` [Bug target/52155] " rsandifo at gcc dot gnu.org
  2012-02-07 19:24 ` rsandifo at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2012-02-07 18:59 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52155
           Summary: loongson.h requires -flax-vector-conversions with
                    newlib targets
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rsandifo@gcc.gnu.org


loongson.h maps V2SI to a vector of int32_t.  However, GCC maps
SI to integer_type_node in preference to long_integer_type_node,
while newlib's stdint.h maps int32_t to "long" in preference
to "int".  This leads to a lot of conversion errors when including
loongson.h unless -flax-vector-conversions is also used.

Testcase: gcc.target/mips/loongson-shift-count-truncated-1.c
compiled on mipsisa32-elf.


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

* [Bug target/52155] loongson.h requires -flax-vector-conversions with newlib targets
  2012-02-07 18:59 [Bug target/52155] New: loongson.h requires -flax-vector-conversions with newlib targets rsandifo at gcc dot gnu.org
@ 2012-02-07 18:59 ` rsandifo at gcc dot gnu.org
  2012-02-07 19:24 ` rsandifo at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2012-02-07 18:59 UTC (permalink / raw)
  To: gcc-bugs

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

rsandifo@gcc.gnu.org <rsandifo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |mips*-*-elf*
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-02-07
     Ever Confirmed|0                           |1


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

* [Bug target/52155] loongson.h requires -flax-vector-conversions with newlib targets
  2012-02-07 18:59 [Bug target/52155] New: loongson.h requires -flax-vector-conversions with newlib targets rsandifo at gcc dot gnu.org
  2012-02-07 18:59 ` [Bug target/52155] " rsandifo at gcc dot gnu.org
@ 2012-02-07 19:24 ` rsandifo at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2012-02-07 19:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2012-02-07 19:23:40 UTC ---
Author: rsandifo
Date: Tue Feb  7 19:23:35 2012
New Revision: 183979

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183979
Log:
gcc/testsuite/
    PR target/52155
    * gcc.target/mips/mips.exp (mips-dg-options): Handle xfail and target.
    * gcc.target/mips/loongson-shift-count-truncated-1.c: Force -mlong64
    for MIPS ELF.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/mips/loongson-shift-count-truncated-1.c
    trunk/gcc/testsuite/gcc.target/mips/mips.exp


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

end of thread, other threads:[~2012-02-07 19:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-07 18:59 [Bug target/52155] New: loongson.h requires -flax-vector-conversions with newlib targets rsandifo at gcc dot gnu.org
2012-02-07 18:59 ` [Bug target/52155] " rsandifo at gcc dot gnu.org
2012-02-07 19:24 ` rsandifo at gcc dot gnu.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).