Re: gcc 4.1 FAIL: gfortran.dg/large_integer_kind_1.f90 on sparc/sparc64 linux...

2005-10-04 Thread FX Coudert
This testcase should only be run if there is a 128-bit integer kind available. This looks like it's not the case here, but then why is check_effective_target_fortran_large_int returning true? I can't really understand that. What are you tcl/expect/dejagnu versions?

Re: gcc 4.1 FAIL: gfortran.dg/large_integer_kind_1.f90 on sparc/sparc64 linux...

2005-10-04 Thread FX Coudert
eport. Thanks for your help, FX

Re: GCC 4.1 Status Report (2005-10-02)

2005-10-04 Thread FX Coudert
still check-in small patches that add support for things g77 supported but gfortran does not yet? Thanks, FX

Re: RFC: future gfortran development and subversion

2005-10-19 Thread FX Coudert
ompiler in distros before . The fortran patches are always fortran-contained, and I think if the community thinks it worth to have a different development model (until some point in the future, defined in advance) why shouldn't it be so? FX

Re: Vectorizing HIRLAM NN.

2005-10-22 Thread FX Coudert
Steven Bosscher wrote: Als je wil, kan ik wel een handje helpen door e.e.a. te analyzeren voordat je de problemen voorlegt aan de mailing-list. Erg interessant, als dit werkt. Gaat het KNMI ook daadwerkelijk gfortran gebruiken of zijn we nog lang niet ver genoeg daarvoor? For [EMAIL PROTECTED

[libgfortran] Patch to handle statically linked libgfortran

2005-10-30 Thread FX Coudert
a test for the testsuite, conditionnal on a new effective target. Could someone OK this part? Thanks, FX 2005-10-30 Francois-Xavier Coudert <[EMAIL PROTECTED]> PR libfortran/22298 * runtime/main.c (stupid_function_name_for_static_linking): New function.

[gfortran] gfortran options and cc1 warnings

2005-10-30 Thread FX Coudert
se it is allowed, we then need some very clever way to get options go where they need (C-only options for b.c and Fortran-only options to a.f) gfortran developers, C front-end maintainers, specs gurus, release managers, please speak up! :) FX 2005-10-31 Francois-Xavier Coudert <[EMAIL

Re: [gfortran] gfortran options and cc1 warnings

2005-10-31 Thread FX Coudert
New version of the patch attached, to answer Joseph's remark. Original questions still apply, including: What should "gfortran -fdollar-ok a.f b.c" do, if -fdollar-ok if a fortran-only option? FX

Re: [gfortran] gfortran options and cc1 warnings

2005-10-31 Thread FX Coudert
New version of the patch attached (this time), to answer Joseph's remark. Original questions still apply, including: What should "gfortran -fdollar-ok a.f b.c" do, if -fdollar-ok if a fortran-only option? FX 2005-10-31 Francois-Xavier Coudert <[EMAIL PROTECTED]>

Re: [gfortran] gfortran options and cc1 warnings

2005-10-31 Thread FX Coudert
c1: warning: command line option "-Wredundant-modifiers" is valid for Java but not for C So, I guess we need to align on that... FX

[gfortran] fortran preprocessing, round 2

2005-11-01 Thread FX Coudert
,fortran -- howdy, how long is that C testsuite to run! :( OK for mainline when it reopens before branching? FX :ADDPATCH fortran,c: preproc.ChangeLog Description: Binary data preproc.diff Description: Binary data

Re: [libgfortran] Patch to handle statically linked libgfortran

2005-11-02 Thread FX Coudert
oc, please fix that. Sorry for these stupid errors, I should really have read that one through one more time before posting. Attached is an updated version with both errors corrected. OK? FX 2005-11-02 Francois-Xavier Coudert <[EMAIL PROTECTED]> PR libfortran/22298

toplevel Makefile.tpl hacking

2005-11-03 Thread FX Coudert
#x27;t run; why isn't $(RPATH_ENVVAR) including HOST_LIB_PATH for the testsuite? Thanks, FX Index: Makefile.tpl === --- Makefile.tpl (revision 106019) +++ Makefile.tpl (working copy) @@ -216,6 +216,7 @@ # Where to find GMP HOS

GMP on IA64-HPUX

2005-12-04 Thread FX Coudert
ess someone who cares about it enough patches the GMP sources. Steve, how did you hack gmp to get it run? In the short term, that also means that we don't have to care about supporting __float80 in gfortran ;-) FX PS: I'm amazed that a "GNU project" can have exactly two de

Re: gfc_build_addr_expr vs. build_fold_addr_expr{,_with_type}

2005-12-14 Thread FX Coudert
e the fortran/ front-end, so I think we can consider backporting it to 4.1. $ diff gcc/gcc/fortran gcc-4.1/gcc/fortran|wc -l 743 $ diff gcc/libgfortran gcc-4.1/libgfortran|wc -l 1747 The last number falls down to 484 if we don't count the regenerated files. FX

long double on ppc-darwin

2005-12-17 Thread FX Coudert
an -g large_real_kind_2.F90 && ./a.out 0.5403023058681397650104827000.540302305868140 1.984153572718682756025749000E-0004 But I can't make a C testcase for that. Is "long double" supposed to be usable on ppc-darwin7.9 ? FX

Re: [libgomp] patch for -pthread on Tru64

2006-02-17 Thread FX Coudert
Moreover, removing the first test makes libgomp build on targets (as Tru64) where the -pthread option is required to include pthread.h. Commited after approval by Alexandre Oliva on IRC. The exact patch commited is attached. FX libgomp.diff Description: Binary data

Re: Segmentation fault in openmp simple routine from libgomp testsuite.

2006-02-28 Thread FX Coudert
Should I file a bug ? I think it might be better to wait for the opinion of the gomp maintainers, as I'm fairly new to that stuff and could have missed something important. Jakuk, Diego? Is this a bug or a feature? :) Hum... for trunk on i686-linux, I do see the following. Dynamic linkin

Re: Segmentation fault in openmp simple routine from libgomp testsuite.

2006-03-07 Thread FX Coudert
library, and it would be a pity not to be able to run OpenMP on this platform. FX

mingw32 subtle build failure

2006-05-31 Thread FX Coudert
penmp/prev-gcc/as" "-o" "C:/DOCUME~1/coudert/LOCALS~1/Temp/ ccgHbaaa.o" "C :/DOCUME~1/coudert/LOCALS~1/Temp/ccIV.s", ...)^M xgcc.exe: CreateProcess: No such file or directory^M I'm trying to understand exactly why all this only happens for -- enable-libgomp builds (it's 100% reproducible for me, with different versions of mainline, bootstrapping everytime). So, is what I'm seeing an expected behaviour? How can I investigate further? Thanks, FX

Re: mingw32 subtle build failure

2006-05-31 Thread FX Coudert
And I forgot to ask: who the heck is supposed to set USE_MINGW_MSYS? (grep is soo sloow on my win32 machine) FX

Re: mingw32 subtle build failure

2006-05-31 Thread FX Coudert
re posting it, but is not related to the real problem here. FX

TLS on windows (was: Re: Gfortran on Windows (mingw32) with OpenMP)

2006-06-04 Thread FX Coudert
petence; find someone you know, that you have leverage on, to do it :) Now, for an idea of how much work it represents... perhaps someone here can tell us? FX

Re: Recent VCG changes break gfortran's -std=f95 option

2006-06-05 Thread FX Coudert
Something is marking random_seed as noreturn. As far as I understand, symbols are marked as noreturn by use of TREE_THIS_VOLATILE, which is done on a few selected trees and is also done whenever a symbol has the noreturn attribute. This noreturn attribute can be set to 1 by make_noreturn,

Re: Recent VCG changes break gfortran's -std=f95 option

2006-06-05 Thread FX Coudert
My first patch didn't even compile :( Here's a new one. Something is marking random_seed as noreturn. As far as I understand, symbols are marked as noreturn by use of TREE_THIS_VOLATILE, which is done on a few selected trees and is also done whenever a symbol has the noreturn attribute. T

Fwd: Lots of gfortrans testsuite failuers on sparc64-linux: undefined reference to `_gfortran_reshape_r8

2006-06-24 Thread FX Coudert
lddir}/${target}/libgfortran/kinds.h Thanks, FX

Re: Lots of gfortrans testsuite failuers on sparc64-linux: undefined reference to `_gfortran_reshape_r8

2006-06-24 Thread FX Coudert
ing your whole ${builddir}/${target}/libgfortran directory. That should work. FX

Re: ICE in complex division

2006-06-24 Thread FX Coudert
ecific (it happens also on i686-linux) and it looks like a middle-end issue. Now, we have to hope that it gets more attention than PR 27889 :( FX

GCC dejagnu testsuite: how to check for non-zero exit code?

2006-07-06 Thread FX Coudert
d issue the error message on stderr and indicate to dejagnu that non-zero exit codes does not mean that the test FAILed). How can I do that? Thanks for any help, FX

Re: Darwin -m64 results

2006-08-17 Thread FX Coudert
' and 'continue' lines, see if it's still broken. Try to compile without linking (gfortran -O3 -g -c assign.f90). FX

[LM-32] Code generation for address loading

2014-02-18 Thread FX MOREL
Hi everyone, I am developing on a custom design using the LatticeMico32 architecture and I use gcc 4.5.1 to compile C code for this arch. In this architecture, the loading of an address 0x always takes two assembly instructions to fetch the address because immediates are on 16 bits :

Re: [LM-32] Code generation for address loading

2014-02-26 Thread FX MOREL
ill give it a try based on other relaxations done for other platforms... Thank you for your input and I will let you know if I have any success FX

Re: Problem with libiberty's hash tables

2008-02-15 Thread FX Coudert
st, but I wrote pointer_map for my private work on gcc and it was not needed at the time. But didn't you say the need to remove entries (quite frequently, actually) makes pointer_map unsuitable? FX -- François-Xavier Coudert http://www.homepages.ucl.ac.uk/~uccafco/

bootstrap broken on mingw (was: Re: AVR port broken on 4.3 20080215 snapshot)

2008-02-17 Thread FX Coudert
The error here is the same: ../../trunk/gcc/doc//invoke.texi:1243: @include `/home/FX/ibin/ gcc/../../trunk/gcc/../libiberty/at-file.texi': No such file or sdirectory. What's interesting is that the file actually exists: $ wc -l /home/FX/ibin/gcc/../../trunk/gcc/../libiberty/at-fi

Re: bootstrap broken on mingw (was: Re: AVR port broken on 4.3 20080215 snapshot)

2008-02-17 Thread FX Coudert
we have PR35218 which seems to be the same issue? Yes, it is exactly, it was open by Eric and I added my information. I should have given the PR number in my mail. FX -- François-Xavier Coudert http://www.homepages.ucl.ac.uk/~uccafco/

Re: bootstrap broken on mingw

2008-02-17 Thread FX Coudert
bstitute it. * configure: Regenerate. I'm willing to try, but running "autoconf" doesn't regenerate the configure file, what am I missing? FX -- François-Xavier Coudert http://www.homepages.ucl.ac.uk/~uccafco/

Re: bootstrap broken on mingw

2008-02-17 Thread FX Coudert
One question I have, Eric and FX: do you both have self-built texinfo on MinGW? Yes, because the one provided with MSYS is from texinfo 4.3, which GCC finds too old. Apparently, MSYS-1.0.11 will come with texinfo 4.11, but it's still labeled "technology preview" for now.

Re: RFC: GCC 4.4 criteria - add Fortran as primary language?

2008-02-20 Thread FX Coudert
and v850-elf. As a Fortran maintainer, I don't feel strongly about being or not being listed as a primary language. Thanks, FX -- François-Xavier Coudert http://www.homepages.ucl.ac.uk/~uccafco/

[patch,target] Fix ppc-darwin issue with long double intrinsics (PR25477)

2008-02-23 Thread FX Coudert
c-apple-darwin9.2.0 with C and Fortran, and regtested with both -m32 and -m64 for these same languages. OK for trunk? (I need a Darwin maintainer approval for the target stuff, and a Fortran maintainer for Fortran parts.) FX -- François-Xavier Coudert http://www.homepages.ucl.ac.uk/~u

Re: [patch,target] Fix ppc-darwin issue with long double intrinsics (PR25477)

2008-02-23 Thread FX Coudert
ne. For now, it's of limited importance, because it's not among the builtins used in Fortran. Thanks for the review and comments, FX -- François-Xavier Coudert http://www.homepages.ucl.ac.uk/~uccafco/

Re: Some help with fold_convert() on RECORD_TYPEs

2008-02-29 Thread FX Coudert
follow that in fold_convert(). FX -- François-Xavier Coudert http://www.homepages.ucl.ac.uk/~uccafco/

Re: [PATCH][4.3] Deprecate -ftrapv

2008-03-01 Thread FX Coudert
C: integer overflow undefined, checking desirable at least for debugging purposes. I think latest Fortran is same as C, can someone confirm? Yes, it is. Overflow undefined and no checking required; I think very few Fortran users actually use (or would use) checking on signed overflow. FX

Re: Interoperability of Fortran array and C vector?

2008-03-04 Thread FX Coudert
t the Fortran array is) and a VECTOR_TYPE? I'm CCing the main GCC devel list, since we might have more answers form there. FX -- François-Xavier Coudert http://www.homepages.ucl.ac.uk/~uccafco/

Re: [PATCH][4.3] Deprecate -ftrapv

2008-03-06 Thread FX Coudert
t; Fortran programmers don't use integers except for array subscripts. Real life is floating- point based! FX -- François-Xavier Coudert http://www.homepages.ucl.ac.uk/~uccafco/

RFC: adding knowledge of the int_fastN_t types to the compiler

2008-03-12 Thread FX Coudert
rs 99% of cases is better than nothing. Thanks, FX -- François-Xavier Coudert http://www.homepages.ucl.ac.uk/~uccafco/ intfast-1.diff Description: Binary data

Re: RFC: adding knowledge of the int_fastN_t types to the compiler

2008-03-13 Thread FX Coudert
width integer types */ typedef int8_tint_fast8_t; typedef int16_t int_fast16_t; To do the right thing, do I have to #define INT_FAST8_TYPE in darwin.h to be "int8_t", or "signed char"? I'd go for the second, but as I know nothing about C++, I

Re: RFC: adding knowledge of the int_fastN_t types to the compiler

2008-03-13 Thread FX Coudert
efully crafted testcase in the testsuite might help checking that and adding information about these targets when we see the testcase FAILing. FX -- François-Xavier Coudert http://www.homepages.ucl.ac.uk/~uccafco/

Re: Regression with ltrans-7.f90

2008-03-19 Thread FX Coudert
i386? In any case, this most probably isn't a Fortran issue. Daniel, Zdenek, I assume you being "linear loop transforms" and "loop infrastructure" maintainers means you're the right persons to CC, so there you go. FX -- François-Xavier Coudert http://www.homepages.ucl.ac.uk/~uccafco/

Re: Copyright assignment wiki page

2008-04-07 Thread FX Coudert
doing it. The fact is: the FSF doesn't request such a disclaimer. Little use being more royalist than the king (don't know if that translates well from the French idiom, but you get the idea). FX -- François-Xavier Coudert http://www.homepages.ucl.ac.uk/~uccafco/

Re: Copyright assignment wiki page

2008-04-07 Thread FX Coudert
'd point out that other GNU (or not) projects have the same form on their website, e.g. http://wiki.list.org/display/DEV/GNU+copyright +assignment+request+form or http://www.g95.org/contrib.html, in addition to many mailing-list archives. FX -- François-Xavier Coudert http://www.homepages.ucl.ac.uk/~uccafco/

Re: Copyright assignment wiki page

2008-04-08 Thread FX Coudert
maintainer that is taking care of your contributions) to obtain the relevant forms to contact us (either via the gcc@gcc.gnu.org list or a GCC Steering Commitee member) to obtain the relevant forms to reflect this. FX -- François-Xavier Coudert http://www.homepages.ucl.ac.uk/~uccafco/

Mainline doesn't bootstrap on i386-linux

2007-05-14 Thread FX Coudert
int’ make[3]: *** [build/print-rtl.o] Error 1 make[3]: Leaving directory `/home/fxcoudert/gfortran_nightbuild/ ibin-20070515/gcc' make[2]: *** [all-stage2-gcc] Error 2 Probably related to http://gcc.gnu.org/ml/gcc/2007-05/msg00354.html FX

bootstrap problem with trunk on i386-mingw32: target multi-do in libiberty

2007-05-30 Thread FX Coudert
can I post to help people debug this? (I have kept the build directory intact for further debugging, I just don't know what to do and where to start fishing.) FX

Re: Large number of fortran testsuite failures

2007-06-12 Thread FX Coudert
now cygwin bootstrap is awfully slow) FX

Re: [patch,committed] Make Fortran maintainers "Non-Autopoiesis Maintainers"

2007-06-14 Thread FX Coudert
oices in the past not to worry about this MAINTAINERS category not 100% describing our policy. FX [1] I'm sorry if I'm misunderstanding the policy that is applied to us; and I want to note that I'm only speaking about maintainership, not the development and branches rules, for which we're going slowly toward the standard GCC practices.

Help on emitting static constant arrays

2007-07-05 Thread FX Coudert
e, but I never wrote code to emit GIMPLE arrays before, and don't know where to look exactly. I'll continue looking for the reason, but if someone thinks of something trivial I'd be interested in knowing! Thanks for the help, and sorry (in advance) if it's a completely stup

Re: Help on emitting static constant arrays

2007-07-05 Thread FX Coudert
pass the array as a pointer. That's how C works. Hum, I really thought it was something stupid, and it actually was even more stupid than I thought. Sorry for the noise, and thanks for the answer! FX

Re: Ongoing bootstrap failures on ppc64 since 2007-07-02

2007-07-06 Thread FX Coudert
.html> for instructions. make[3]: *** [selected_int_kind.lo] Error 1 Anyone else experiencing this? Should I upgrade GMP/MPFR? Depends what is your current version, I guess. Can you get us a backtrace? FX

Bootstrap failure on i386-pc-linux-gnu

2007-08-09 Thread FX Coudert
My automated nightly build failed to bootstrap this evening on i386- pc-linux-gnu. This is for trunk rev. 127311, and the error is: /home/fx/gfortran_nightbuild/ibin-20070809/./prev-gcc/xgcc -B/home/ fx/gfortran_nightbuild/ibin-20070809/./prev-gcc/ -B/home/fx/ gfortran_nightbuild/irun

[RFC,wwwdocs] Ditch MetaHTML and use our own Perl preprocessor

2007-09-29 Thread FX Coudert
ne that doesn't work (it displays "1900--"), so I removed it. Comments are highly welcome, both on the idea itself, and on the Perl script (my Perl is a bit rusty since I haven't used it for years). Thanks, FX [1] As a record, here's what my "final" status is

Possible Fortran testsuite failures for default_format_*.f90

2007-10-06 Thread FX Coudert
issue with the target printf() implementation, so if you spot these failures on your favorite target, please report them to the [EMAIL PROTECTED] mailing-list so that we can xfail them. Thanks, FX

Re: ARM testsuite failures

2007-10-30 Thread FX Coudert
03: Attribute PUBLIC" } | 1 | Error: Fortran 2003: Attribute PUBLIC at (1) in a TYPE definition and there. FX

C++11 code in the gcc 10 branch

2020-12-21 Thread FX via Gcc
nstantiation of undefined template 'wi::int_traits >' BINARY_PREDICATE (operator ==, eq_p) ^ ../../gcc/gcc/wide-int.h:3266:3: note: expanded from macro 'BINARY_PREDICATE' OP (const T1 &x, const T2 &y) \ ^ I would welcome: 1. confirmation that the C++11 code in aarch64-builtins.c is indeed a bug, and that a patch for it would be welcome 2. guidance about how to fix that next issue Thanks, FX

Re: GCC 10.2 Released

2020-12-23 Thread FX via Gcc
-darwin machines. Cheers, FX

Re: C++11 code in the gcc 10 branch

2020-12-31 Thread FX via Gcc
gned long); +std::string aarch64_get_extension_string_for_isa_flags (uint64_t, uint64_t); struct aarch64_arch_extension { Although I admit that’s almost trivial (and it breaks build on aarch64-darwin), I’d prefer to be sure and ask. Then I’ll commit the two patches, if you think that’s OK. FX

Re: C++11 code in the gcc 10 branch

2020-12-31 Thread FX via Gcc
known as Francois-Xavier Coudert (and for the record, I do have a copyright assignment in place) Happy new year to all, FX commit 96a9d0950453ca571b3999c2f4d4168da9d770f0 Author: Francois-Xavier Coudert Date: 2020-12-21 22:06:59 +0100 Fix prototype for aarch64_get_extension_string_for_

Many analyzer failures on non-Linux system (x86_64-apple-darwin)

2021-12-23 Thread FX via Gcc
variants? Should it? I’m happy to investigate more, but I’m not sure what to do. Best, FX

_Float16-related failures on x86_64-apple-darwin

2021-12-23 Thread FX via Gcc
__ set to 16 supposed to be portable across all targets? Or is it linux-only, and should marked as such? Thanks for any help you can give. FX

Re: _Float16-related failures on x86_64-apple-darwin

2021-12-23 Thread FX via Gcc
use fixinclude to make the darwin headers happy, but we don’t really have a macro to provide the right value. Like a __FLT_EVAL_METHOD_OLDSTYLE__ macro. What should be the float_t and double_t types for FLT_EVAL_METHOD == 16? float and double, if I understand right? FX

Re: _Float16-related failures on x86_64-apple-darwin

2021-12-23 Thread FX via Gcc
pe for a DEC C internal asm() function, Sucks to have to fix headers… and we certainly can’t fix people’s code that may depend on __FLT_EVAL_METHOD__ have well-defined values. So not convinced this is the right approach. FX

Need for __builtin_issignaling()

2021-12-29 Thread FX via Gcc
something together, unless you think it’s a big project. Any pointers as to how to start would be appreciated. Best, FX

Re: _Float16-related failures on x86_64-apple-darwin

2021-12-30 Thread FX via Gcc
is still a difference. If we define a new macro __FLT_EVAL_METHOD_OLDSTYLE__ (however it is named), it means we can make a more robust fixinclude, using that macro. If we fixinclude right now to handle the value of 16, then we might have to update the fixinclude for any new value that comes along in the future. FX

Weird behaviour (bug?) of __builtin_nans()

2021-12-31 Thread FX via Gcc
alling NaNs in libgfortran. Could someone either confirm that the behavior observed above is a bug, or if not, kindly explain to me why it happens? Thanks, FX

Re: Weird behaviour (bug?) of __builtin_nans()

2021-12-31 Thread FX via Gcc
e may be no guarantee, it sounds like a reasonable expectation in the case I posted. I’ve filed a PR: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103883 Thanks, FX

Re: Many analyzer failures on non-Linux system (x86_64-apple-darwin)

2022-01-10 Thread FX via Gcc
Hi David, May I kindly ping you on that? Or anyone with knowledge of the static analyzer? Thanks, FX > Le 23 déc. 2021 à 22:49, FX a écrit : > > Hi David, hi everone, > > I’m trying to understand how best to fix or silence the several failures in > gcc.dg/analyzer th

Re: Many analyzer failures on non-Linux system (x86_64-apple-darwin)

2022-01-15 Thread FX via Gcc
well? The tests even compiled with -S still fail: spawn -ignore SIGHUP /Users/fx/ibin/gcc/xgcc -B/Users/fx/ibin/gcc/ exceptions_enabled42475.cc -fdiagnostics-plain-output -S -o excep tions_enabled42475.s FAIL: gcc.dg/analyzer/torture/asm-x86-linux-cpuid-paravirt-1.c -O1 (test for excess errors) E

Re: Many analyzer failures on non-Linux system (x86_64-apple-darwin)

2022-01-16 Thread FX via Gcc
nalyzer/torture/asm-x86-linux-cpuid-paravirt-2.c FAIL: gcc.dg/analyzer/torture/asm-x86-linux-rdmsr-paravirt.c still fail with dg-do compile, as explained, become the error comes from the C front-end, not the assembler: /Users/fx/gcc/gcc/testsuite/gcc.dg/analyzer/torture/asm-x86-linux-cpuid-pa

Re: [PATCH] testsuite: avoid analyzer asm failures on non-Linux

2022-02-07 Thread FX via Gcc
Hi David, > Thanks. I extended your patch as follows, which works successfully for > me on x86_64-pc-linux-gnu. > > Does the following look OK for the analyzer asm failures on > x86_64-apple-darwin? Sorry for the late reply… yes it does! FX

Floating-point comparisons in the middle-end

2022-09-01 Thread FX via Gcc
reater !(x>y) compareSignalingLessUnordered !(x=>y) compareSignalingNotLess !(xhttps://gcc.gnu.org/bugzilla/show_bug.cgi?id=77928). Is there a fundamental problem with creating one, and could someone help there? Thanks, FX

Re: Floating-point comparisons in the middle-end

2022-09-01 Thread FX via Gcc
e: 1. defined in builtins.def 2. lowered in builtins.cc 3. type-checked in c-family/c-common.cc 4. documented in doc/extend.texi 5. tested in fp-test.cc 6. covered in the testsuite Is that right? Thanks, FX PS: I see that reclassify is not covered in fp-test.cc, is that file obsolete?

Re: Floating-point comparisons in the middle-end

2022-09-01 Thread FX via Gcc
ns: first one does not raise invalid, second one does. With -O2 -fno-unsafe-math-optimizations -frounding-math -fsignaling-nans: no invalid raised at all. FX iseqsig.diff Description: Binary data

Re: Floating-point comparisons in the middle-end

2022-09-01 Thread FX via Gcc
printf("%d\n", iseqsig(x, __builtin_inff())); foo(); } $ ./bin/gcc a.c -lm -fno-unsafe-math-optimizations -frounding-math -fsignaling-nans -O0 && ./a.out 0 Invalid raised 0 Invalid raised $ ./bin/gcc a.c -lm -fno-unsafe-math-optimizations -frounding-math -fsignaling-nans -O1 && ./a.out 0 0 Do you want me to file a bug report? FX

Re: Floating-point comparisons in the middle-end

2022-09-01 Thread FX via Gcc
For the record, this is now PR 106805 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106805 FX

Re: Floating-point comparisons in the middle-end

2022-09-01 Thread FX via Gcc
I’ll propose a middle-end + C patch first. But I do not need it absolutely. Thanks, FX

Re: Floating-point comparisons in the middle-end

2022-09-01 Thread FX via Gcc
l” way to perform it is? I do not want to mess up corners cases, which is so easy to do… Thanks again, FX

gcc/config.in was not regenerated

2023-06-10 Thread FX Coudert via Gcc
EFAULT_STK_CLASH_GUARD_SIZE which I think are because this commit https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=0a85544e1aaeca41133ecfc438cda913dbc0f122 should have regenerated and committed config.in <http://config.in/> Christina, can you please have a look? FX

Hundreds of gcc.dg/guality failures on both 14 and 13.1 branches

2023-07-15 Thread FX Coudert via Gcc
mean, from an almost-external point of view, these tests should probably be xfail'ed and a PR opened against them to reenable them. FX

Re: Hundreds of gcc.dg/guality failures on both 14 and 13.1 branches

2023-07-16 Thread FX Coudert via Gcc
lation of noise just decreases the value of the the test results. FX

Testsuite issue and warning about floating-point conversion

2023-08-18 Thread FX Coudert via Gcc
am unsure: is the warning warranted here? If so, we should adjust the check to silence warnings, or use a cast. Or is the warning emitted in error? Any help would be appreciated. Thanks, FX

Re: Testsuite issue and warning about floating-point conversion

2023-08-19 Thread FX Coudert via Gcc
Hi Jakub, I should have pinged you, I see you recently touched that code. FX > Le 18 août 2023 à 21:07, FX Coudert a écrit : > > Hello, > > On the WIP aarch64-darwin port of GCC > (https://github.com/iains/gcc-darwin-arm64), there are some C++ testsuite > failures

Re: Testsuite issue and warning about floating-point conversion

2023-08-19 Thread FX Coudert via Gcc
prevents the warning: > float dummy = (float) 1.0q; Yes, I think a cast does the job. It will still error out when q suffix is not supported, and will not have other messages. FX

Re: Testsuite issue and warning about floating-point conversion

2023-08-19 Thread FX Coudert via Gcc
_node in the aarch64-darwin port. I will do that. Am I correct in reading that this “new” way of handling extended types in C++ was introduced in 2022-09-27? If so, my port to aarch64-darwin was done two years ago, and that explains why I missed that entirely… Thanks a lot Jakub for the help! FX

Analyzer failure due to missing header

2023-08-30 Thread FX Coudert via Gcc
Hi David, I’m seeing the following failures on building GCC with Apple’s clang: > /Users/fx/devel/gcc/gcc-repo-write/gcc/analyzer/region-model.cc:3426:16: > error: unexpected type name 'byte_size_t': expected expression >std::max (by

Re: Analyzer failure due to missing header

2023-08-30 Thread FX Coudert via Gcc
> std::max and std::min, introduced by d99d73c77d1e and 2bad0eeb5573, are not > available because is not included. I originally thought this was only seen in cross-compilers, but it actually broke bootstrap on darwin. Attached patch restores it, OK to commit? FX 0001-Analyzer-i

Analyzer test failures

2024-02-10 Thread FX Coudert via Gcc
-getaddrinfo-server.c FAIL: c-c++-common/analyzer/fd-symbolic-socket.c They all have an unexpected analyzer warning, like this: /Users/fx/gcc-upstream/gcc/testsuite/c-c++-common/analyzer/fd-glibc-byte-stream-socket.c: In function 'int main()': /Users/fx/gcc-upstream/gcc/testsuite/c-c++-common/a

Re: Updated Sourceware infrastructure plans

2024-04-18 Thread FX Coudert via Gcc
/sum_c4.c generated/sum_i1.c generated/sum_i2.c generated/sum_i8.c generated/sum_r16.c generated/sum_r4.c We could imagine having a single file for all sum intrinsics. How do Fortran maintainers feel about that? FX

What is the purpose of these two fixincludes?

2024-06-04 Thread FX Coudert via Gcc
arwin, and I could potentially add it to “skip”. But… is it really necessary anywhere? It is from before 1998. I would welcome guidance on how to handle these, or advice on what the second is supposed to achieve. Thanks, FX math_exception.diff Description: Binary data

Re: What is the purpose of these two fixincludes?

2024-06-06 Thread FX Coudert via Gcc
* 3 *-*-solaris* 3 *-*-netbsd* The question is: out of the remaining ~100, how many trigger on common targets, when they are actually useless. Having the information in the test summary would be great, I think. Best, FX

Re: What is the purpose of these two fixincludes?

2024-06-10 Thread FX Coudert via Gcc
> Laugh or cry. Wow. But how does any other compiler deal with them? I’ve pushed the change as https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=66d6b1861ec57ba29540a5fa7854df3978ba5409 Please let me know if you see any issue in the next tests. FX

Nonbootstrap build with Apple clang broken in gm2

2024-07-11 Thread FX Coudert via Gcc
idiom in GCC is to #define INCLUDE_STRING (for example) before “system.h” is included, rather than #include directly. The attached patch fixes the issue. Best, FX gm2.diff Description: Binary data

<    1   2   3   4   >