Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package CastXML for openSUSE:Factory checked in at 2024-07-08 19:08:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/CastXML (Old) and /work/SRC/openSUSE:Factory/.CastXML.new.2080 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "CastXML" Mon Jul 8 19:08:49 2024 rev:19 rq:1186105 version:0.6.7 Changes: -------- --- /work/SRC/openSUSE:Factory/CastXML/CastXML.changes 2024-05-14 13:40:25.147088413 +0200 +++ /work/SRC/openSUSE:Factory/.CastXML.new.2080/CastXML.changes 2024-07-08 19:09:13.832869202 +0200 @@ -1,0 +2,6 @@ +Mon Jul 8 07:50:09 UTC 2024 - Atri Bhattacharya <[email protected]> + +- Update to version 0.6.7: + * Add support for GNU builtin __float80 type. + +------------------------------------------------------------------- Old: ---- CastXML-0.6.6.tar.gz New: ---- CastXML-0.6.7.tar.gz _scmsync.obsinfo build.specials.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ CastXML.spec ++++++ --- /var/tmp/diff_new_pack.knzhKv/_old 2024-07-08 19:09:14.736902265 +0200 +++ /var/tmp/diff_new_pack.knzhKv/_new 2024-07-08 19:09:14.736902265 +0200 @@ -17,7 +17,7 @@ Name: CastXML -Version: 0.6.6 +Version: 0.6.7 Release: 0 Summary: C-family Abstract Syntax Tree XML Output License: Apache-2.0 ++++++ CastXML-0.6.6.tar.gz -> CastXML-0.6.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.6/src/Output.cxx new/CastXML-0.6.7/src/Output.cxx --- old/CastXML-0.6.6/src/Output.cxx 2024-05-03 20:32:27.000000000 +0200 +++ new/CastXML-0.6.7/src/Output.cxx 2024-07-02 20:47:55.000000000 +0200 @@ -1760,7 +1760,9 @@ { this->OS << " <FundamentalType"; this->PrintIdAttribute(dn); - if (d->getName() == "__castxml__float128") { + if (d->getName() == "__castxml__float80") { + this->OS << " name=\"__float80\" size=\"128\" align=\"128\""; + } else if (d->getName() == "__castxml__float128") { this->OS << " name=\"__float128\" size=\"128\" align=\"128\""; } else if (d->getName() == "__castxml_Float32") { this->OS << " name=\"_Float32\" size=\"32\" align=\"32\""; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.6/src/RunClang.cxx new/CastXML-0.6.7/src/RunClang.cxx --- old/CastXML-0.6.6/src/RunClang.cxx 2024-05-03 20:32:27.000000000 +0200 +++ new/CastXML-0.6.7/src/RunClang.cxx 2024-07-02 20:47:55.000000000 +0200 @@ -289,7 +289,6 @@ "#undef __BFLT16_MIN_EXP__\n" "#undef __BFLT16_MIN__\n" "#undef __BFLT16_NORM_MAX__\n" - "#undef __SIZEOF_FLOAT80__\n" "#undef __STDCPP_BFLOAT16_T__\n" "#undef __STDCPP_FLOAT128_T__\n" "#undef __STDCPP_FLOAT16_T__\n" @@ -306,6 +305,14 @@ "#define __builtin_va_arg_pack_len() 1\n"; } + // Provide __float80 if simulating the actual GNU compiler. + if (this->NeedFloat80(this->Opts.Predefines)) { + // Clang does not support this builtin. Approximate it. + builtins += "\n" + "typedef long double __castxml__float80;\n" + "#define __float80 __castxml__float80\n"; + } + // Provide __float128 if simulating the actual GNU compiler. if (!this->HaveFloat128(CI) && this->NeedFloat128(this->Opts.Predefines)) { @@ -532,7 +539,7 @@ return this->IsActualGNU(pd); } - bool NeedFloat128(std::string const& pd) const + bool NeedFloat80(std::string const& pd) const { return (this->IsActualGNU(pd) && (pd.find("#define __i386__ ") != pd.npos || @@ -540,6 +547,11 @@ pd.find("#define __ia64__ ") != pd.npos)); } + bool NeedFloat128(std::string const& pd) const + { + return this->NeedFloat80(pd); + } + bool HaveFloat128(clang::CompilerInstance const& CI) const { #if LLVM_VERSION_MAJOR > 3 || LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR > 8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.6/src/Version.cmake new/CastXML-0.6.7/src/Version.cmake --- old/CastXML-0.6.6/src/Version.cmake 2024-05-03 20:32:27.000000000 +0200 +++ new/CastXML-0.6.7/src/Version.cmake 2024-07-02 20:47:55.000000000 +0200 @@ -1,7 +1,7 @@ # CastXML version number components. set(CastXML_VERSION_MAJOR 0) set(CastXML_VERSION_MINOR 6) -set(CastXML_VERSION_PATCH 6) +set(CastXML_VERSION_PATCH 7) #set(CastXML_VERSION_RC 0) set(CastXML_VERSION_IS_DIRTY 0) @@ -13,7 +13,7 @@ endif() # If this source was exported by 'git archive', use its commit info. -set(git_info "37ca39a5 CastXML 0.6.6") +set(git_info "48e25c7a CastXML 0.6.7") # Otherwise, try to identify the current development source version. if(NOT git_info MATCHES "^([0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]?[0-9a-f]?)[0-9a-f]* " diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.6/test/CMakeLists.txt new/CastXML-0.6.7/test/CMakeLists.txt --- old/CastXML-0.6.6/test/CMakeLists.txt 2024-05-03 20:32:27.000000000 +0200 +++ new/CastXML-0.6.7/test/CMakeLists.txt 2024-07-02 20:47:55.000000000 +0200 @@ -710,6 +710,7 @@ unset(castxml_test_output_extra_arguments) set(castxml_test_output_extra_arguments --castxml-cc-gnu-c "(" $<TARGET_FILE:cc-gnu> --cc-define=__x86_64__ ")") +castxml_test_output_c(GNU-__float80) castxml_test_output_c(GNU-__float128) set(castxml_test_output_custom_start "") castxml_test_output_c(GNU-__float128-nostart) @@ -717,6 +718,7 @@ unset(castxml_test_output_extra_arguments) set(castxml_test_output_extra_arguments --castxml-cc-gnu "(" $<TARGET_FILE:cc-gnu> --cc-define=__x86_64__ ")") +castxml_test_output(GNU-__float80) castxml_test_output(GNU-__float128) set(castxml_test_output_custom_start "") castxml_test_output(GNU-__float128-nostart) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.6/test/cc-gnu.c new/CastXML-0.6.7/test/cc-gnu.c --- old/CastXML-0.6.6/test/cc-gnu.c 2024-05-03 20:32:27.000000000 +0200 +++ new/CastXML-0.6.7/test/cc-gnu.c 2024-07-02 20:47:55.000000000 +0200 @@ -66,7 +66,6 @@ "#define __BFLT16_MIN_EXP__\n" "#define __BFLT16_MIN__\n" "#define __BFLT16_NORM_MAX__\n" - "#define __SIZEOF_FLOAT80__\n" "#define __STDCPP_BFLOAT16_T__\n" "#define __STDCPP_FLOAT128_T__\n" "#define __STDCPP_FLOAT16_T__\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.6/test/expect/castxml1.any.GNU-__float80.xml.txt new/CastXML-0.6.7/test/expect/castxml1.any.GNU-__float80.xml.txt --- old/CastXML-0.6.6/test/expect/castxml1.any.GNU-__float80.xml.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/CastXML-0.6.7/test/expect/castxml1.any.GNU-__float80.xml.txt 2024-07-02 20:47:55.000000000 +0200 @@ -0,0 +1,9 @@ +^<\?xml version="1.0"\?> +<CastXML[^>]*> + <Function id="_1" name="start" returns="_2" context="_3" location="f1:1" file="f1" line="1" mangled="[^"]+"> + <Argument type="_2" location="f1:1" file="f1" line="1"/> + </Function> + <FundamentalType id="_2" name="__float80" size="[0-9]+" align="[0-9]+"/> + <Namespace id="_3" name="::"/> + <File id="f1" name=".*/test/input/GNU-__float80.cxx"/> +</CastXML>$ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.6/test/expect/castxml1.c.GNU-__float80.xml.txt new/CastXML-0.6.7/test/expect/castxml1.c.GNU-__float80.xml.txt --- old/CastXML-0.6.6/test/expect/castxml1.c.GNU-__float80.xml.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/CastXML-0.6.7/test/expect/castxml1.c.GNU-__float80.xml.txt 2024-07-02 20:47:55.000000000 +0200 @@ -0,0 +1,9 @@ +^<\?xml version="1.0"\?> +<CastXML[^>]*> + <Function id="_1" name="start" returns="_2" context="_3" location="f1:1" file="f1" line="1"> + <Argument type="_2" location="f1:1" file="f1" line="1"/> + </Function> + <FundamentalType id="_2" name="__float80" size="[0-9]+" align="[0-9]+"/> + <Namespace id="_3" name="::"/> + <File id="f1" name=".*/test/input/GNU-__float80.c"/> +</CastXML>$ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.6/test/expect/cmd.cc-gnu-c-tgt-i386-opt-E.stdout.txt new/CastXML-0.6.7/test/expect/cmd.cc-gnu-c-tgt-i386-opt-E.stdout.txt --- old/CastXML-0.6.6/test/expect/cmd.cc-gnu-c-tgt-i386-opt-E.stdout.txt 2024-05-03 20:32:27.000000000 +0200 +++ new/CastXML-0.6.7/test/expect/cmd.cc-gnu-c-tgt-i386-opt-E.stdout.txt 2024-07-02 20:47:55.000000000 +0200 @@ -18,6 +18,7 @@ #define __castxml_major__ [0-9]+ #define __castxml_minor__ [0-9]+ #define __castxml_patch__ [0-9]+( +#define __float80 __castxml__float80)?( #define __float128 __castxml__float128)? #define __i386__ 1( #define __malloc__\(\.\.\.\) __malloc__)?$ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.6/test/expect/cmd.cc-gnu-tgt-i386-opt-E.stdout.txt new/CastXML-0.6.7/test/expect/cmd.cc-gnu-tgt-i386-opt-E.stdout.txt --- old/CastXML-0.6.6/test/expect/cmd.cc-gnu-tgt-i386-opt-E.stdout.txt 2024-05-03 20:32:27.000000000 +0200 +++ new/CastXML-0.6.7/test/expect/cmd.cc-gnu-tgt-i386-opt-E.stdout.txt 2024-07-02 20:47:55.000000000 +0200 @@ -19,6 +19,7 @@ #define __castxml_minor__ [0-9]+ #define __castxml_patch__ [0-9]+ #define __cplusplus 199711L( +#define __float80 __castxml__float80)?( #define __float128 __castxml__float128)? #define __i386__ 1( #define __malloc__\(\.\.\.\) __malloc__)?$ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.6/test/expect/gccxml.any.GNU-__float80.xml.txt new/CastXML-0.6.7/test/expect/gccxml.any.GNU-__float80.xml.txt --- old/CastXML-0.6.6/test/expect/gccxml.any.GNU-__float80.xml.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/CastXML-0.6.7/test/expect/gccxml.any.GNU-__float80.xml.txt 2024-07-02 20:47:55.000000000 +0200 @@ -0,0 +1,9 @@ +^<\?xml version="1.0"\?> +<GCC_XML[^>]*> + <Function id="_1" name="start" returns="_2" context="_3" location="f1:1" file="f1" line="1" mangled="[^"]+"> + <Argument type="_2" location="f1:1" file="f1" line="1"/> + </Function> + <FundamentalType id="_2" name="__float80" size="[0-9]+" align="[0-9]+"/> + <Namespace id="_3" name="::"/> + <File id="f1" name=".*/test/input/GNU-__float80.cxx"/> +</GCC_XML>$ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.6/test/expect/gccxml.c.GNU-__float80.xml.txt new/CastXML-0.6.7/test/expect/gccxml.c.GNU-__float80.xml.txt --- old/CastXML-0.6.6/test/expect/gccxml.c.GNU-__float80.xml.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/CastXML-0.6.7/test/expect/gccxml.c.GNU-__float80.xml.txt 2024-07-02 20:47:55.000000000 +0200 @@ -0,0 +1,9 @@ +^<\?xml version="1.0"\?> +<GCC_XML[^>]*> + <Function id="_1" name="start" returns="_2" context="_3" location="f1:1" file="f1" line="1"> + <Argument type="_2" location="f1:1" file="f1" line="1"/> + </Function> + <FundamentalType id="_2" name="__float80" size="[0-9]+" align="[0-9]+"/> + <Namespace id="_3" name="::"/> + <File id="f1" name=".*/test/input/GNU-__float80.c"/> +</GCC_XML>$ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.6/test/input/GNU-__float80.c new/CastXML-0.6.7/test/input/GNU-__float80.c --- old/CastXML-0.6.6/test/input/GNU-__float80.c 1970-01-01 01:00:00.000000000 +0100 +++ new/CastXML-0.6.7/test/input/GNU-__float80.c 2024-07-02 20:47:55.000000000 +0200 @@ -0,0 +1 @@ +__float80 start(__float80); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CastXML-0.6.6/test/input/GNU-__float80.cxx new/CastXML-0.6.7/test/input/GNU-__float80.cxx --- old/CastXML-0.6.6/test/input/GNU-__float80.cxx 1970-01-01 01:00:00.000000000 +0100 +++ new/CastXML-0.6.7/test/input/GNU-__float80.cxx 2024-07-02 20:47:55.000000000 +0200 @@ -0,0 +1 @@ +__float80 start(__float80); ++++++ _scmsync.obsinfo ++++++ mtime: 1720425224 commit: 92467ae08145251e6eca00039bd8bd966af311d2516d597e550bfdeda7b4c7f7 url: https://src.opensuse.org/badshah400/CastXML.git revision: 92467ae08145251e6eca00039bd8bd966af311d2516d597e550bfdeda7b4c7f7
