<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in cast-overflow.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>b63ca0a0 - [Sanitizers][test] XFAIL long double tests on Solaris/sparc</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#b63ca0a0</link>
        <description>[Sanitizers][test] XFAIL long double tests on Solaris/sparcAs reported in Issue #41838, `clang` doesn&apos;t correctly implement `longdouble` on 32-bit Solaris/SPARC: the psABI requires this to be an 128-bittype.  Four sanitizer tests currently `FAIL` for this reason.While there is a WIP patch to fix `clang` (D89130&lt;https://reviews.llvm.org/D89130&gt;), it isn&apos;t complete yet and I&apos;ve hit somany brick walls while trying to finish it that I&apos;m unsure if I ever will.This patch therefore `XFAIL`s those tests in the meantime.Tested on `sparcv9-sun-solaris2.11`.Differential Revision: https://reviews.llvm.org/D119016

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Wed, 09 Feb 2022 08:20:21 +0000</pubDate>
        <dc:creator>Rainer Orth &lt;ro@gcc.gnu.org&gt;</dc:creator>
    </item>
<item>
        <title>76e85ae2 - [clang][Sparc] Default to -mcpu=v9 for Sparc V8 on Solaris</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#76e85ae2</link>
        <description>[clang][Sparc] Default to -mcpu=v9 for Sparc V8 on SolarisAs reported in Bug 42535, `clang` doesn&apos;t inline atomic ops on 32-bitSparc, unlike `gcc` on Solaris.  In a 1-stage build with `gcc`, only twotestcases are affected (currently `XFAIL`ed), while in a 2-stage build morethan 100 tests `FAIL` due to this issue.The reason for this `gcc`/`clang` difference is that `gcc` on 32-bitSolaris/SPARC defaults to `-mpcu=v9` where atomic ops are supported, unlikewith `clang`&apos;s default of `-mcpu=v8`.  This patch changes `clang` to use`-mcpu=v9` on 32-bit Solaris/SPARC, too.Doing so uncovered two bugs:`clang -m32 -mcpu=v9` chokes with any Solaris system headers included:  /usr/include/sys/isa_defs.h:461:2: error: &quot;Both _ILP32 and _LP64 are defined&quot;  #error &quot;Both _ILP32 and _LP64 are defined&quot;While `clang` currently defines `__sparcv9` in a 32-bit `-mcpu=v9`compilation, neither `gcc` nor Studio `cc` do.  In fact, the Studio 12.6`cc(1)` man page clearly states:            These predefinitions are valid in all modes:  [...]               __sparcv8 (SPARC)               __sparcv9 (SPARC -m64)At the same time, the patch defines `__GCC_HAVE_SYNC_COMPARE_AND_SWAP_[1248]`for a 32-bit Sparc compilation with any V9 cpu.  I&apos;ve also changed`MaxAtomicInlineWidth` for V9, matching what `gcc` does and the OracleDeveloper Studio 12.6: C User&apos;s Guide documents (Ch. 3, Support for AtomicTypes, 3.1 Size and Alignment of Atomic C Types).The two testcases that had been `XFAIL`ed for Bug 42535 are un-`XFAIL`edagain.Tested on `sparcv9-sun-solaris2.11` and `amd64-pc-solaris2.11`.Differential Revision: https://reviews.llvm.org/D86621

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Fri, 11 Sep 2020 07:53:19 +0000</pubDate>
        <dc:creator>Rainer Orth &lt;ro@gcc.gnu.org&gt;</dc:creator>
    </item>
<item>
        <title>13080ca1 - [compiler-rt][test] XFAIL two tests on 32-bit sparc</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#13080ca1</link>
        <description>[compiler-rt][test] XFAIL two tests on 32-bit sparcTwo tests `FAIL` on 32-bit sparc:  Profile-sparc :: Posix/instrprof-gcov-parallel.test  UBSan-Standalone-sparc :: TestCases/Float/cast-overflow.cppThe failure mode is similar:  Undefined                       first referenced   symbol                             in file  __atomic_store_4                    /var/tmp/instrprof-gcov-parallel-6afe8d.o  __atomic_load_4                     /var/tmp/instrprof-gcov-parallel-6afe8d.o  Undefined                       first referenced   symbol                             in file  __atomic_load_1                     /var/tmp/cast-overflow-72a808.oThis is a known bug: `clang` doesn&apos;t inline atomics on 32-bit sparc, unlike`gcc`.The patch therefore `XFAIL`s the tests.Tested on `sparcv9-sun-solaris2.11` and `amd64-pc-solaris2.11`.Differential Revision: https://reviews.llvm.org/D85346

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Tue, 18 Aug 2020 09:32:51 +0000</pubDate>
        <dc:creator>Rainer Orth &lt;ro@gcc.gnu.org&gt;</dc:creator>
    </item>
<item>
        <title>1f7bd40f - [ubsan][test] Fix cast-overflow.cpp and delete float-divide-by-zero test after D63793/rC365272</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#1f7bd40f</link>
        <description>[ubsan][test] Fix cast-overflow.cpp and delete float-divide-by-zero test after D63793/rC365272llvm-svn: 365307

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Mon, 08 Jul 2019 09:47:04 +0000</pubDate>
        <dc:creator>Fangrui Song &lt;maskray@google.com&gt;</dc:creator>
    </item>
<item>
        <title>3efd1c51 - [Sanitizers, test] Fix sanitizer tests on Solaris (PR 33274)</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#3efd1c51</link>
        <description>[Sanitizers, test] Fix sanitizer tests on Solaris (PR 33274)Summary:This patch (on top of the previous two (https://reviews.llvm.org/D40898 andhttps://reviews.llvm.org/D40899) complete the compiler-rt side of the the Solarissanitizer port.It contains the following sets of changes:* For the time being, the port is for 32-bit x86 only, so reject the various tests on  x86_64.* When compiling as C++, &lt;setjmp.h&gt; resp. &lt;iso/setjmp_iso.h&gt; only declares  _setjmp and _longjmp inside namespace std.* MAP_FILE is a Windows feature.  While e.g. Linux &lt;sys/mman.h&gt; provides a  no-op compat define, Solaris does not.* test/asan/TestCases/Posix/coverage.cc was initially failing like this:/vol/gcc/src/llvm/llvm/local/projects/compiler-rt/lib/sanitizer_common/scripts/sancov.py: 4 files merged; 2 PCs totalrm: cannot remove &apos;/var/gcc/llvm/local/projects/compiler-rt/test/asan/I386SunOSConfig/TestCases/Posix/Output/coverage&apos;: Invalid argument  Further digging revealed that the rm was trying to remove the running test&apos;s working  directory which failed as observed.  cd&apos;ing out of the dir before let the test pass.* Two tests needed a declaration of alloca. I&apos;ve now copied the existing code from  test/asan/TestCases/alloca_constant_size.cc, but it may be more profitable and  maintainable to have a common testsuite header where such code is collected.* Similarly, Solaris&apos; printf %p format doesn&apos;t include the leading 0x.* In test/asan/TestCases/malloc-no-intercept.c, I had to undef __EXTENSIONS__  (predefined by clang for no apparent reason) to avoid conflicting declarations  for memalign.* test/ubsan/TestCases/Float/cast-overflow.cpp has different platform dependent  ways to define BYTE_ORDER and friends.  Why not just use __BYTE_ORDER__ and  friends as predefined by clang and gcc?Patch by Rainer Orth.Reviewers: kcc, alekseyshlReviewed By: alekseyshlSubscribers: srhines, kubamracek, mgorny, krytarowski, fedor.sergeev, JDevlieghere, llvm-commits, #sanitizersTags: #sanitizersDifferential Revision: https://reviews.llvm.org/D40900llvm-svn: 322635

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Wed, 17 Jan 2018 12:26:04 +0000</pubDate>
        <dc:creator>Kamil Rytarowski &lt;n54@gmx.com&gt;</dc:creator>
    </item>
<item>
        <title>c9bcc8dc - Enable ubsan on NetBSD</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#c9bcc8dc</link>
        <description>Enable ubsan on NetBSDSummary:Part of the code inspired by the original work on libsanitizer in GCC 5.4 by Christos Zoulas.Sponsored by &lt;The NetBSD Foundation&gt;Reviewers: joerg, vitalybuka, kcc, filcab, fjricciReviewed By: fjricciSubscribers: srhines, kubamracek, mgorny, llvm-commits, #sanitizersTags: #sanitizersDifferential Revision: https://reviews.llvm.org/D36483llvm-svn: 310412

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Tue, 08 Aug 2017 20:49:20 +0000</pubDate>
        <dc:creator>Kamil Rytarowski &lt;n54@gmx.com&gt;</dc:creator>
    </item>
<item>
        <title>f2e6206f - [ubsan] Make the cast overflow message less redundant</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#f2e6206f</link>
        <description>[ubsan] Make the cast overflow message less redundantllvm-svn: 301589

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Thu, 27 Apr 2017 20:48:17 +0000</pubDate>
        <dc:creator>Vedant Kumar &lt;vsk@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>39a02a7b - Fix bad regression from r263077 when building with MSVC.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#39a02a7b</link>
        <description>Fix bad regression from r263077 when building with MSVC.That change did:  -#if defined(__BIG_ENDIAN__)  +#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__If __BYTE_ORDER__ and __ORDER_BIG_ENDIAN__ aren&apos;t defined, likethey are with MSVC, this condition is true (0 == 0).Fixes PR26919.llvm-svn: 263324

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Sat, 12 Mar 2016 01:57:31 +0000</pubDate>
        <dc:creator>Nico Weber &lt;nicolasweber@gmx.de&gt;</dc:creator>
    </item>
<item>
        <title>4b4e7588 - Disable a test that started failing recently; see PR26919.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#4b4e7588</link>
        <description>Disable a test that started failing recently; see PR26919.llvm-svn: 263311

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Sat, 12 Mar 2016 00:23:33 +0000</pubDate>
        <dc:creator>Nico Weber &lt;nicolasweber@gmx.de&gt;</dc:creator>
    </item>
<item>
        <title>6448fe63 - [ubsan/float-cast-overflow] Make the test also work with C++11 narrowing</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#6448fe63</link>
        <description>[ubsan/float-cast-overflow] Make the test also work with C++11 narrowingllvm-svn: 262733

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Fri, 04 Mar 2016 18:33:44 +0000</pubDate>
        <dc:creator>Filipe Cabecinhas &lt;me@filcab.net&gt;</dc:creator>
    </item>
<item>
        <title>47aa53e9 - [UBSan] Test churn: use the approach from r244839 and r245962 in UBSan lit tests.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#47aa53e9</link>
        <description>[UBSan] Test churn: use the approach from r244839 and r245962 in UBSan lit tests.Introduce %env_ubsan_opts= substitution instead of specifyingUBSAN_OPTIONS manually in the RUN-lines. This will come in handyonce we introduce some default UBSAN_OPTIONS for the whole testsuite(for instance, make abort_on_error common option).llvm-svn: 245967

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Tue, 25 Aug 2015 19:01:44 +0000</pubDate>
        <dc:creator>Alexey Samsonov &lt;vonosmas@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>f3b9c895 - [UBSan] Add the ability to print more precise error kind in summary line.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#f3b9c895</link>
        <description>[UBSan] Add the ability to print more precise error kind in summary line.Reviewers: rsmith, pccSubscribers: cfe-commitsDifferential Revision: http://reviews.llvm.org/D12215llvm-svn: 245897

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Mon, 24 Aug 2015 23:18:49 +0000</pubDate>
        <dc:creator>Alexey Samsonov &lt;vonosmas@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>7317de6c - [compiler-rt] Add SourceLocations for float_cast_overflow data.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#7317de6c</link>
        <description>[compiler-rt] Add SourceLocations for float_cast_overflow data.Summary:Compiler-rt part of http://reviews.llvm.org/D11757I ended up making UBSan work with both the old version and the newversion of the float_cast_overflow data (instead of just erroring withthe previous version). The old version will try to symbolize its caller.Now we compile the float_cast_overflow tests without -g, and make surewe have the source file+line+column.If you think I&apos;m trying too hard to make sure we can still use bothversions, let me know.Reviewers: samsonov, rsmithSubscribers: llvm-commitsDifferential Revision: http://reviews.llvm.org/D11793llvm-svn: 244567

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Tue, 11 Aug 2015 04:19:24 +0000</pubDate>
        <dc:creator>Filipe Cabecinhas &lt;me@filcab.net&gt;</dc:creator>
    </item>
<item>
        <title>a68d90fa - UBSan: Enable runtime library tests on Windows, and get most tests passing.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#a68d90fa</link>
        <description>UBSan: Enable runtime library tests on Windows, and get most tests passing.Specifically:- Disable int128 tests on Windows, as MSVC cl.exe does not support  int128, so we might not have been able to build the runtime  with int128 support.- XFAIL the vptr tests as we lack Microsoft ABI support.- XFAIL enum.cpp as UBSan fails to add the correct instrumentation code  for some reason.- Modify certain tests that build executables multiple times to use  unique names for each executable. This works around a race condition  observed on Windows.- Implement IsAccessibleMemoryRange for Windows to fix the last  misaligned.cpp test.- Introduce a substitution for testing crashes on Windows using  KillTheDoctor.Differential Revision: http://reviews.llvm.org/D10864llvm-svn: 241303

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Thu, 02 Jul 2015 22:08:38 +0000</pubDate>
        <dc:creator>Peter Collingbourne &lt;peter@pcc.me.uk&gt;</dc:creator>
    </item>
<item>
        <title>4df0ebef - Address old FIXMEs in UBSan test cases.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#4df0ebef</link>
        <description>Address old FIXMEs in UBSan test cases.llvm-svn: 235961

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Tue, 28 Apr 2015 01:29:36 +0000</pubDate>
        <dc:creator>Alexey Samsonov &lt;vonosmas@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>434984ef - [UBSan] Make sure proper error summary is printed for -fsanitize=float-cast-overflow.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#434984ef</link>
        <description>[UBSan] Make sure proper error summary is printed for -fsanitize=float-cast-overflow.float-cast-overflow handler doesn&apos;t have source location provided by thecompiler, but we still have *some* source location if we have asymbolizer.llvm-svn: 235567

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Thu, 23 Apr 2015 01:08:31 +0000</pubDate>
        <dc:creator>Alexey Samsonov &lt;vonosmas@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>7ea4cfcf - [ubsan] Stop cast-overflow.cpp test leaking undefined behaviour into the exit code.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#7ea4cfcf</link>
        <description>[ubsan] Stop cast-overflow.cpp test leaking undefined behaviour into the exit code.Summary:ubsan was correctly catching the undefined behaviour but lit&apos;s shell wasfailing the test anyway because the exit code was non-zero as a result of theundefined behaviour.This fixes the test on a mips-linux-gnu target.Reviewers: samsonovReviewed By: samsonovSubscribers: samsonov, llvm-commits, rsmith, sagarDifferential Revision: http://reviews.llvm.org/D9155llvm-svn: 235518

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Wed, 22 Apr 2015 16:14:01 +0000</pubDate>
        <dc:creator>Daniel Sanders &lt;daniel.sanders@imgtec.com&gt;</dc:creator>
    </item>
<item>
        <title>f1b82e3a - Remove XFAILs from cast-overflow.cpp</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#f1b82e3a</link>
        <description>Remove XFAILs from cast-overflow.cppMy fix for power also fixed armv7l-unknown-linux-gnueabihf and aarch64llvm-svn: 233827

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Wed, 01 Apr 2015 17:50:39 +0000</pubDate>
        <dc:creator>Bill Seurer &lt;seurer@linux.vnet.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>4c413665 - [PPC64]This activates UBSan for the power architecture.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#4c413665</link>
        <description>[PPC64]This activates UBSan for the power architecture.One test case is updated to allow for differences between power and other architectures in behavior when returning from main in certain instanceshttp://reviews.llvm.org/D8743llvm-svn: 233813

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Wed, 01 Apr 2015 15:33:22 +0000</pubDate>
        <dc:creator>Bill Seurer &lt;seurer@linux.vnet.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>ea56f08b - XFAIL AArch64 UBsan test, just like ARM</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp#ea56f08b</link>
        <description>XFAIL AArch64 UBsan test, just like ARMllvm-svn: 225370

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp</description>
        <pubDate>Wed, 07 Jan 2015 20:03:47 +0000</pubDate>
        <dc:creator>Renato Golin &lt;renato.golin@linaro.org&gt;</dc:creator>
    </item>
</channel>
</rss>
