[Bug fortran/98426] find_symbol in module.c traverses O(N) part of a search tree

2024-04-26 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98426 --- Comment #14 from Matt Thompson --- Never mind. I'll send attachment to Jerry offline. It's too big for here.

[Bug fortran/98426] find_symbol in module.c traverses O(N) part of a search tree

2024-04-26 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98426 --- Comment #13 from Matt Thompson --- Okay I have a new reproducer that I'll attach here. It uses the random names. I see the same behavior: IFX 2024.1: Number of Modules | Build Time - | -- 10 | 0.100

[Bug fortran/98426] find_symbol in module.c traverses O(N) part of a search tree

2024-04-26 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98426 --- Comment #12 from Matt Thompson --- Jerry, Actually, I took a look at my reproducer and it's not quite what I was wanting (I made a mistake in the Jinja templates). I'm going to work on it now to fix this up. And I'll look at adding the rando

[Bug fortran/98426] find_symbol in module.c traverses O(N) part of a search tree

2024-04-25 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98426 --- Comment #9 from Matt Thompson --- Jerry, I tried your patch, but it didn't seem to help my reproducer. Stock GCC13: Number of Modules | Build Time - | -- 10 | 0.336674 20 |2.34525

[Bug fortran/98426] find_symbol in module.c traverses O(N) part of a search tree

2024-04-23 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98426 Matt Thompson changed: What|Removed |Added CC||matthew.thompson at nasa dot gov

[Bug fortran/110415] (Re)allocation on assignment to allocatable polymorphic variable from allocatable polymorphic function result

2023-10-30 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110415 Matt Thompson changed: What|Removed |Added CC||matthew.thompson at nasa dot gov

[Bug target/100340] Bootstrap fails with Clang 12.0.5 (XCode 12.5)

2021-09-27 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100340 --- Comment #24 from Matt Thompson --- (In reply to Iain Sandoe from comment #23) > so fixed on master, but needed on the open branches - so leaving the PR open > for now. Iain, a query: Is the `--without-build-config` flag still needed for XCo

[Bug target/100340] Bootstrap fails with Clang 12.0.5 (XCode 12.5)

2021-08-02 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100340 --- Comment #19 from Matt Thompson --- (In reply to Chris Jones from comment #18) > try again with > > --enable-languages=c,c++,fortran,jit Ahh. I feel dumb. And I've learned that GCC apparently now has a JIT compiler! Time to do some reading

[Bug target/100340] Bootstrap fails with Clang 12.0.5 (XCode 12.5)

2021-08-02 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100340 --- Comment #16 from Matt Thompson --- (In reply to Chris Jones from comment #14) > Apologies, typo above. I meant to say the --without-build-config workaround > no longer works with 11.2.0 Huh. I tried it and it seemed to work for me? Well, I

[Bug fortran/100651] Weird memory corruption with multiple triggers

2021-07-29 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100651 --- Comment #5 from Matt Thompson --- Iain, The Linux system would be SUSE Linux Enterprise Server 12 SP3. The macOS system is macOS 11.5.1. On the Linux machine, I can confirm the error with (I only have some versions of GCC available): * 8.

[Bug target/100340] Bootstrap fails with Clang 12.0.5 (XCode 12.5)

2021-07-29 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100340 Matt Thompson changed: What|Removed |Added CC||matthew.thompson at nasa dot gov

[Bug fortran/100651] New: Weird memory corruption with multiple triggers

2021-05-18 Thread matthew.thompson at nasa dot gov via Gcc-bugs
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: matthew.thompson at nasa dot gov Target Milestone: --- Created attachment 50838 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50838&action=edit Reproducing program This is a bug that is tripped by GC

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2021-03-25 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #34 from Matt Thompson --- Iain, Apologies. I forgot about this. Seeing as I'm now using GNU 10.2.0 on my Macbook...I guess it's working. I currently do: ../gcc-10.2.0/configure --prefix=$HOME/installed/Core/gcc-gfortran/10.2.0 --e

[Bug target/96883] New: -march=native on AWS aarch64 doesn't work (unknown extensions)

2020-09-01 Thread matthew.thompson at nasa dot gov
ormal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: matthew.thompson at nasa dot gov Target Milestone: --- All, I've recently been experimenting on the Graviton2 processors on AWS and encountered a possible bug. Namely, -ma

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #30 from Matt Thompson --- (In reply to Matt Thompson from comment #28) > (In reply to Iain Sandoe from comment #27) > > That's fine - essentially, you're building them from source and therefore > > don't need to worry about --with-gm

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #29 from Matt Thompson --- Also, this did seem to build GCC: CC="/Users/mathomp4/installed/Core/gcc-gfortran/8.2.0/bin/gcc --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" CXX="/Users/mathomp4/installed/Core/gcc-gfortra

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #28 from Matt Thompson --- (In reply to Iain Sandoe from comment #27) > That's fine - essentially, you're building them from source and therefore > don't need to worry about --with-gmp= configure options etc. > > For the record, I'm

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #26 from Matt Thompson --- (In reply to Iain Sandoe from comment #25) > > > Thanks for the explanations. I'm trying a new build now with gcc-8.2.0 as > > the compiler passed to configure. > > > > Here's a(nother dumb) question: let

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #24 from Matt Thompson --- (In reply to Iain Sandoe from comment #23) > --with-sysroot=/opt/iains/SDKs/darwin18-2 > this is the sysroot that will be built into the compiler and used > automatically when it's invoked (in this ca

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #22 from Matt Thompson --- (In reply to Iain Sandoe from comment #19) > (In reply to Matt Thompson from comment #17) > > > > b) (remind me) what is the "--with-native-system-header-dir=/usr/include" > > > meant to provide? It seems

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #21 from Matt Thompson --- (In reply to Iain Sandoe from comment #20) > (In reply to Iain Sandoe from comment #19) > > (In reply to Matt Thompson from comment #17) > > > > > > Now, I'm not sure that gcc itself needs /usr/include, bu

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #17 from Matt Thompson --- Iain, The (In reply to Iain Sandoe from comment #16) > Hi Matt, > > (In reply to Matt Thompson from comment #15) > > > I seem to still have issues. I downloaded 9.2.0 this morning and built it > > with: >

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #15 from Matt Thompson --- Iain, I seem to still have issues. I downloaded 9.2.0 this morning and built it with: $ ../gcc-9.2.0/configure --prefix=/Users/mathomp4/installed/Core/gcc-gfortran/9.2.0 --enable-languages=c,c++,fortran --

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-05-06 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #12 from Matt Thompson --- (In reply to Iain Sandoe from comment #11) > (In reply to Matt Thompson from comment #10) > > (In reply to Iain Sandoe from comment #9) > > > (In reply to Matt Thompson from comment #8) > > > > I don't usu

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-05-06 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #10 from Matt Thompson --- (In reply to Iain Sandoe from comment #9) > (In reply to Matt Thompson from comment #8) > > > > I just tried to rebuild gcc 9.1.0 on my laptop, and I got the same error at > > the same point in make install

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-05-06 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #8 from Matt Thompson --- (In reply to Iain Sandoe from comment #7) > (In reply to Matt Thompson from comment #6) > > (In reply to Iain Sandoe from comment #5) > > > (In reply to Matt Thompson from comment #4) > > > > Also: I do have

[Bug other/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-05-03 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #6 from Matt Thompson --- (In reply to Iain Sandoe from comment #5) > (In reply to Matt Thompson from comment #4) > > Also: I do have all the log files still, so if you'd like anything grep'ed > > in there, let me know. > > not at th

[Bug other/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-05-03 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #3 from Matt Thompson --- For the grep: [(544) 01:48 PM] $ grep CFI gcc/auto-host.h /* Define 0/1 if your assembler supports CFI directives. */ #define HAVE_GAS_CFI_DIRECTIVE 0 #define HAVE_GAS_CFI_PERSONALITY_DIRECTIVE 1 #define HAV

[Bug other/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-05-03 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #4 from Matt Thompson --- Also: I do have all the log files still, so if you'd like anything grep'ed in there, let me know.

[Bug other/90330] New: gcc 9.1.0 fails to install on macOS 10.14.4

2019-05-03 Thread matthew.thompson at nasa dot gov
: other Assignee: unassigned at gcc dot gnu.org Reporter: matthew.thompson at nasa dot gov Target Milestone: --- All, I am trying to build GCC 9.1.0 on my Macbook today, but it's failing in the make install step. The make step was happy, but when I try to install, it fails.

[Bug fortran/90140] New: Compiler incorrectly rejects use of pure functions in DIMENSION attribute of procedure dummy arguments.

2019-04-18 Thread matthew.thompson at nasa dot gov
: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: matthew.thompson at nasa dot gov Target Milestone: --- Created attachment 46199 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46

[Bug fortran/88342] New: Possible bug with IEEE_POSITIVE_INF and -ffpe-trap=overflow

2018-12-03 Thread matthew.thompson at nasa dot gov
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: matthew.thompson at nasa dot gov Target Milestone: --- All, A colleague of mine encountered an issue with 8.2.0 (but it's also in 7.3.0 at least). We believe it might be a bug sinc

[Bug fortran/87644] ICE due to variable named "parameters"

2018-10-18 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87644 --- Comment #1 from Matt Thompson --- Further update from a colleague: Some observations: * The function result having the name 'parameters' has no effect. It's from this line "parameters = get()". * The 'public :: get' must be present in the

[Bug fortran/87644] New: ICE due to variable named "parameters"

2018-10-18 Thread matthew.thompson at nasa dot gov
t: fortran Assignee: unassigned at gcc dot gnu.org Reporter: matthew.thompson at nasa dot gov Target Milestone: --- This is a weird ICE recently encountered using gfortran 8.2.0 on SLES11, CentOS 7, and macOS High Sierra in a large code, but I managed to whittle it down

[Bug fortran/77296] [F03] Compiler Error with allocatable string and associate

2018-03-07 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77296 --- Comment #6 from Matt Thompson --- (In reply to Thomas Koenig from comment #5) > This has been fixed by Paul's patch, closing. > > Thanks for the bug report! Will this patch appear in GCC 8? 7.4? I only ask because I had another bug (bug 590

[Bug fortran/59093] Segfault in gfc_trans_pointer_assignment

2018-03-07 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59093 --- Comment #14 from Matt Thompson --- Query: What version of GCC will fix this? It was reported fixed last year, but GCC 7.3.0 still ICEs out.

[Bug fortran/34640] ICE when assigning item of a derived-component to a pointer

2017-09-11 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34640 --- Comment #39 from Matt Thompson --- Thanks! I'll keep an eye out for this in an upcoming release so I can test with GEOS.

[Bug fortran/77344] Internal Compiler Error with arch knl

2016-08-23 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77344 --- Comment #2 from Matt Thompson --- (In reply to Dominique d'Humieres from comment #1) > I get a lot of "*error: instruction requires: AVX-512 ISA" when compiling > gettau.F90 on x86_64-apple-darwin15, Xcode 7.3.1. I've never tried this on Dar

[Bug fortran/77344] New: Internal Compiler Error with arch knl

2016-08-23 Thread matthew.thompson at nasa dot gov
Assignee: unassigned at gcc dot gnu.org Reporter: matthew.thompson at nasa dot gov Target Milestone: --- Created attachment 39485 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39485&action=edit Tarball with offending code and GNUmakefile I have a code that whe

[Bug fortran/77296] New: Compiler Error with allocatable string and associate

2016-08-19 Thread matthew.thompson at nasa dot gov
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: matthew.thompson at nasa dot gov Target Milestone: --- This program: program test implicit none character(len=:), allocatable :: s s = 'a' associate(ss => s) print*,ss end a

[Bug fortran/59093] Segfault in gfc_trans_pointer_assignment

2016-06-08 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59093 --- Comment #11 from Matt Thompson --- Bug still present in GCC 6.1.0: (907) $ gfortran --version GNU Fortran (GCC) 6.1.0 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is

[Bug fortran/59093] Segfault in gfc_trans_pointer_assignment

2015-05-21 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59093 Matt Thompson changed: What|Removed |Added Version|4.9.1 |5.1.0 --- Comment #9 from Matt Thompson

[Bug fortran/66058] Backslash in comment kills compile

2015-05-08 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66058 --- Comment #3 from Matt Thompson --- (In reply to kargl from comment #2) > (In reply to Matt Thompson from comment #1) > > Addendum, > > > > I've tried various gfortran flags, but for the life of me, none seem to get > > this to work. > > > >

[Bug fortran/66058] Backslash in comment kills compile

2015-05-07 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66058 --- Comment #1 from Matt Thompson --- Addendum, I've tried various gfortran flags, but for the life of me, none seem to get this to work. Matt

[Bug fortran/66058] New: Backslash in comment kills compile

2015-05-07 Thread matthew.thompson at nasa dot gov
Assignee: unassigned at gcc dot gnu.org Reporter: matthew.thompson at nasa dot gov Target Milestone: --- Created attachment 35489 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35489&action=edit Reproducer of compiler bug I've discovered what I think is a bug

[Bug fortran/59093] Segfault in gfc_trans_pointer_assignment

2014-08-14 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59093 Matt Thompson changed: What|Removed |Added Version|4.8.1 |4.9.1 --- Comment #7 from Matt Thompson

[Bug fortran/59093] Segfault in gfc_trans_pointer_assignment

2014-06-11 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59093 --- Comment #6 from Matt Thompson --- Has there been any work/success on this bug? It's still affecting our ability to compile this code with gfortran.

[Bug fortran/59093] Segfault in gfc_trans_pointer_assignment

2014-03-26 Thread matthew.thompson at nasa dot gov
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59093 --- Comment #5 from Matt Thompson --- An additional thought. You have a reduced test case which dies in Comment #3 (which fails for gfortran 4.9). However, you can make something similar which succeeds: program main implicit none type :: MA

[Bug fortran/59093] Segfault in gfc_trans_pointer_assignment

2014-03-19 Thread matthew.thompson at nasa dot gov
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59093 --- Comment #4 from Matt Thompson --- Any progress on this bug in the latest versions of the compiler?

[Bug fortran/59093] New: internal compiler error: Segmentation fault compiling F90 File

2013-11-12 Thread matthew.thompson at nasa dot gov
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: matthew.thompson at nasa dot gov Created attachment 31201 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31201&action=edit Pre-processed source file I'm getting an ICE