Re: 15 is now at or very near release

2025-04-17 Thread Andrew Pinski
On Thu, Apr 17, 2025 at 5:31 PM Jerry D wrote: > > I now see this in git: > > remotes/origin/releases/gcc-15 > > So we are at or very close to the release. Very close. See https://gcc.gnu.org/pipermail/gcc/2025-April/245943.html . Thanks, Andrew > > Cheers, > > Jerry

Re: [Linaro-TCWG-CI] gcc patch #105542: 12 regressions on arm

2025-01-28 Thread Andrew Pinski
On Tue, Jan 28, 2025 at 10:32 AM Jerry D wrote: > > > Before I go clicking on links, is this legit? I presume patches are > getting checked before being pushed. Yes this is a legit email from the Linaro automation. And yes patches are being tested before they get pushed to help developers just in

[PUSHED] fortran: Add default to switch in gfc_trans_transfer [PR117843]

2024-11-29 Thread Andrew Pinski
(gfc_trans_transfer): Add default case. Signed-off-by: Andrew Pinski --- gcc/fortran/trans-io.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/fortran/trans-io.cc b/gcc/fortran/trans-io.cc index 906dd7c6eb6..9b0b8cfdff9 100644 --- a/gcc/fortran/trans-io.cc +++ b/gcc/fortran/trans

Re: Issue about buildpath introduced by -fintrinsic-modules-path option

2024-10-17 Thread Andrew Pinski
stdinc:-fintrinsic-modules-path finclude%s}" \ TARGET_F951_OPTIONS \ "%{!fsyntax-only:%(invoke_as)}" ... {"@f95", "f951 %i %{E:%{!cpp:%egfortran does not support -E without -cpp}}\ %{cpp:" F951_

Re: How to add an additional option to dg-compile and dg-run

2024-07-29 Thread Andrew Pinski
gned" + } set nshort [file tail [file dirname $test]]/[file tail $test] list-module-names $test ``` should work but I am not 100% I got the TCL syntax correct. Thanks, Andrew Pinski > > Best regards > > Thomas

Re: Tests of gcc development beyond its testsuite (in this case, for gfortran)

2024-05-07 Thread Andrew Pinski
cification (or the compiler > silently ignored them because they were not applicable to my machine - > ugh), the cause of the problem lies elsewhere. AARCH64 armv8-a has FMA as part of its base ISA. So you want to try with `-ffp-contract=off` instead. RDMA turns on/off instructions which

Re: Tests of gcc development beyond its testsuite (in this case, for gfortran)

2024-05-06 Thread Andrew Pinski
4 includes an FMA instruction but since the base ISA does not include it, it is not enabled by default. I am suspect the aarch64 "excessive exceeding the threshold for errors" are all caused by the more use of FMA rather than anything else. Thanks, Andrew Pinski > > diff lapack-amd

Re: [PATCH] libgfortran: Disable gthreads weak symbols for glibc 2.34

2024-04-09 Thread Andrew Pinski
On Tue, Apr 9, 2024, 10:07 H.J. Lu wrote: > Since Glibc 2.34 all pthreads symbols are defined directly in libc not > libpthread, and since Glibc 2.32 we have used __libc_single_threaded to > avoid unnecessary locking in single-threaded programs. This means there > is no reason to avoid linking to

Re: Invalid "dg-do run" in the testsuite (with 2 blanks)

2024-04-01 Thread Andrew Pinski
On Sun, Mar 24, 2024 at 1:19 PM Harald Anlauf wrote: > > Dear all, > > I noticed by chance that we have quite a lot of improperly specified do-do > directives in the testsuite. > > % grep "dg-do run" gcc/testsuite/gfortran.dg/ -rl|wc -l > 83 > > Note that with two blanks instead of just one a tes

Re: Test with an lto-build of libgfortran.

2023-09-27 Thread Andrew Pinski via Fortran
On Wed, Sep 27, 2023 at 11:28 PM Richard Biener via Fortran wrote: > > On Wed, Sep 27, 2023 at 11:48 PM Jeff Law via Fortran > wrote: > > > > > > > > On 9/27/23 12:21, Toon Moene wrote: > > > > > > > > The lto-ing of libgfortran did succeed, because I did get a new warning: > > > > > > gfortran -

Re: gfortran: error: unrecognized argument in option '-mcmodel=medium'

2023-09-27 Thread Andrew Pinski via Fortran
On Tue, Sep 26, 2023 at 11:39 PM Richard Biener via Fortran wrote: > > On Tue, Sep 26, 2023 at 4:44 PM Lingadahally, Vishakha (2023) > wrote: > > > > Dear GCC Team, > > > > I'm running Ubuntu 22 on my Mac virtually and my gfortran version is > > 11.4.0. When I try to install a certain software p

[PATCH] libfortran: Fix build for targets that don't have 10byte or 16 byte floating point

2023-07-20 Thread Andrew Pinski via Fortran
So the problem here is EXPAND_INTER_MACRO_16 expands to nothing if 16 byte FP does not exist but we still add a comma after it and that causes a build failure. The same is true for EXPAND_INTER_MACRO_10 too. Committed as obvious after a bootstrap and test on x86_64-linux-gnu and aarch64-linux-gn

Re: Building Legacy Code and Intel Libraries

2023-05-17 Thread Andrew Pinski via Fortran
ng to rebuild > them. If there aren't any equivalent libraries then I may need to work on > getting the Intel compiler added to the software list, which will take > another month or more. Please read https://gcc.gnu.org/legacy-ml/fortran/2010-04/msg00314.html for about DFPORT and

Re: libsanitizer: sync from master

2023-04-30 Thread Andrew Pinski via Fortran
On Tue, Nov 15, 2022 at 7:47 AM Martin Liška wrote: > > Hi. > > I've just pushed libsanitizer update that was tested on x86_64-linux and > ppc64le-linux systems. > Moreover, I run bootstrap on x86_64-linux and checked ABI difference with > abidiff. This broke hwasan on aarch64. See https://gcc.

Re: Hosting our gfortran MatterMost workspace

2023-04-28 Thread Andrew Pinski via Fortran
On Fri, Apr 28, 2023 at 8:32 AM Jerry D via Fortran wrote: > > Hello all and gcc overseers, > > I received a notice that the MasterMost server providers decided to drop > their free service. Unfortunate and understandable. > > I plan to contact the Open Software Lab folks at Oregon State Universit

[PATCH] Fix fc-prototypes usage with C_INT64_T and non LP64 Targets.

2023-03-29 Thread Andrew Pinski via Fortran
The problem here is we were outputing long_long instead of "long long". This was just an oversight and a missing check. Committed as obvious after a bootstrap/test on x86_64-linux-gnu. gcc/fortran/ChangeLog: * dump-parse-tree.cc (get_c_type_name): Fix "long_long" type name to be

Re: [PATCH][stage1] Remove conditionals around free()

2023-03-01 Thread Andrew Pinski via Fortran
On Wed, Mar 1, 2023 at 3:52 PM Bernhard Reutner-Fischer wrote: > > On Wed, 1 Mar 2023 14:59:44 -0800 > Andrew Pinski wrote: > > > On Wed, Mar 1, 2023 at 1:31 PM Bernhard Reutner-Fischer via Fortran > > wrote: > > > > > > Hi! > > >

Re: [PATCH][stage1] Remove conditionals around free()

2023-03-01 Thread Andrew Pinski via Fortran
|2 +- > zlib/examples/gzjoin.c |3 +-- > zlib/examples/gzlog.c|6 ++ zlib is definitely imported from zlib upstream. So it might be good to check if we could import a new version and see if it still works instead. Thanks, Andrew Pinski > > cocc

Re: [PATCH v5 0/5] P1689R5 support

2023-02-02 Thread Andrew Pinski via Fortran
dardizing a new POSIX makefile syntax rather than changing C++ here. Thanks, Andrew Pinski > > [P1689R5]: https://isocpp.org/files/papers/P1689R5.html > > I've also added patches to include imported module CMI files and the > module mapper file as dependencies of the compilation

Re: Testsuite, dejagnu

2023-01-30 Thread Andrew Pinski via Fortran
t a failure if there was a duplicated one and then dg-message to match the original message just to make sure it is outputted once (dg-message was because it was originally a note: rather than a warning/error but similar thing can be done for dg-error/dg-warning). Thanks, Andrew Pinski > > Thanks, > Harald >

Re: [PATCH 4/5] value-range: Add as_string diagnostics helper

2022-11-12 Thread Andrew Pinski via Fortran
; + else if (TREE_CODE (bound) == INTEGER_CST > + && wi::to_wide (bound) == type_max > + && TYPE_PRECISION (type) != 1) > +return xstrdup ("+INF"); > + else > + return print_generic_expr_to_str (bound); No reason to do xstrdup any more either. >

Re: gfc_char_t

2022-01-09 Thread Andrew Pinski via Fortran
HOST_BITS_PER_PTR (CHAR_BIT * SIZEOF_VOID_P) Where SIZEOF_* are defined while doing a configure and CHAR_BIT is defined in limits.h which is defined as a preprocessor constant. Does that help you understand the code better? Thanks, Andrew Pinski > > Thanks for any enlightenment, > Harald >