public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/63557] New: builtin __udivti3
@ 2014-10-16 10:42 postjb at gmx dot net
  2014-10-16 10:46 ` [Bug c/63557] " rguenth at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: postjb at gmx dot net @ 2014-10-16 10:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63557

            Bug ID: 63557
           Summary: builtin __udivti3
           Product: gcc
           Version: 4.3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: postjb at gmx dot net

Created attachment 33732
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33732&action=edit
test-source

__udivti3 doesn't work.
Any simple testcase fails.

build:###########
$ gcc tst.c -o tst -lm

file:###########
./tst: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux
2.6.4,                                       dynamically linked (uses shared
libs), not stripped

version:###########
$ gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/                                      usr/share/man
--libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c             
                        ++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-di                                
     r=/usr/include/c++/4.3 --enable-ssp --disable-libssp
--with-bugurl=http://bugs.o                                      pensuse.org/
--with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudfla            
                         p --with-slibdir=/lib64 --with-system-zlib
--enable-__cxa_atexit --enable-libstd                                     
cxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs                                      
--program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cp
                                     u=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)

run:################
$ ./tst
1310749
140734356054592

source:##############
unsigned long long a,b;
a = __udivti3(1000ULL,10ULL,&b);
printf("%llu\n",a);
printf("%llu\n",b);


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

* [Bug c/63557] builtin __udivti3
  2014-10-16 10:42 [Bug c/63557] New: builtin __udivti3 postjb at gmx dot net
@ 2014-10-16 10:46 ` rguenth at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-10-16 10:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63557

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
You don't supply TImode args and miss a prototype.


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

end of thread, other threads:[~2014-10-16 10:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-16 10:42 [Bug c/63557] New: builtin __udivti3 postjb at gmx dot net
2014-10-16 10:46 ` [Bug c/63557] " rguenth 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).