[Bug fortran/95107] ICE in hash_operand, at fold-const.c:3768

2023-02-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107

anlauf at gcc dot gnu.org changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #15 from anlauf at gcc dot gnu.org ---
Fixed on all open branches.  Closing.

Thanks for the report!

[Bug fortran/95107] ICE in hash_operand, at fold-const.c:3768

2023-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107

--- Comment #14 from CVS Commits  ---
The releases/gcc-10 branch has been updated by Harald Anlauf
:

https://gcc.gnu.org/g:2db200ea8a63dd580b47002d9464afc7a7b5e90e

commit r10-11208-g2db200ea8a63dd580b47002d9464afc7a7b5e90e
Author: Harald Anlauf 
Date:   Mon Feb 6 20:59:51 2023 +0100

Fortran: ASSOCIATE variables should not be TREE_STATIC [PR95107]

gcc/fortran/ChangeLog:

PR fortran/95107
* trans-decl.c (gfc_finish_var_decl): With -fno-automatic, do not
make ASSOCIATE variables TREE_STATIC.

gcc/testsuite/ChangeLog:

PR fortran/95107
* gfortran.dg/save_7.f90: New test.

(cherry picked from commit c36f3da534e7f411c5bc48c5b6b660e238167480)

[Bug fortran/95107] ICE in hash_operand, at fold-const.c:3768

2023-02-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107

--- Comment #13 from CVS Commits  ---
The releases/gcc-11 branch has been updated by Harald Anlauf
:

https://gcc.gnu.org/g:4eba6812c5652005e0e9dc62358a6fb3bda193e6

commit r11-10516-g4eba6812c5652005e0e9dc62358a6fb3bda193e6
Author: Harald Anlauf 
Date:   Mon Feb 6 20:59:51 2023 +0100

Fortran: ASSOCIATE variables should not be TREE_STATIC [PR95107]

gcc/fortran/ChangeLog:

PR fortran/95107
* trans-decl.c (gfc_finish_var_decl): With -fno-automatic, do not
make ASSOCIATE variables TREE_STATIC.

gcc/testsuite/ChangeLog:

PR fortran/95107
* gfortran.dg/save_7.f90: New test.

(cherry picked from commit c36f3da534e7f411c5bc48c5b6b660e238167480)

[Bug fortran/95107] ICE in hash_operand, at fold-const.c:3768

2023-02-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107

--- Comment #12 from CVS Commits  ---
The releases/gcc-12 branch has been updated by Harald Anlauf
:

https://gcc.gnu.org/g:6a5628b76380700198f64bf48f57081e6cfc39ed

commit r12-9116-g6a5628b76380700198f64bf48f57081e6cfc39ed
Author: Harald Anlauf 
Date:   Mon Feb 6 20:59:51 2023 +0100

Fortran: ASSOCIATE variables should not be TREE_STATIC [PR95107]

gcc/fortran/ChangeLog:

PR fortran/95107
* trans-decl.cc (gfc_finish_var_decl): With -fno-automatic, do not
make ASSOCIATE variables TREE_STATIC.

gcc/testsuite/ChangeLog:

PR fortran/95107
* gfortran.dg/save_7.f90: New test.

(cherry picked from commit c36f3da534e7f411c5bc48c5b6b660e238167480)

[Bug fortran/95107] ICE in hash_operand, at fold-const.c:3768

2023-02-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107

--- Comment #11 from CVS Commits  ---
The master branch has been updated by Harald Anlauf :

https://gcc.gnu.org/g:c36f3da534e7f411c5bc48c5b6b660e238167480

commit r13-5732-gc36f3da534e7f411c5bc48c5b6b660e238167480
Author: Harald Anlauf 
Date:   Mon Feb 6 20:59:51 2023 +0100

Fortran: ASSOCIATE variables should not be TREE_STATIC [PR95107]

gcc/fortran/ChangeLog:

PR fortran/95107
* trans-decl.cc (gfc_finish_var_decl): With -fno-automatic, do not
make ASSOCIATE variables TREE_STATIC.

gcc/testsuite/ChangeLog:

PR fortran/95107
* gfortran.dg/save_7.f90: New test.

[Bug fortran/95107] ICE in hash_operand, at fold-const.c:3768

2023-02-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107

anlauf at gcc dot gnu.org changed:

   What|Removed |Added

   Assignee|unassigned at gcc dot gnu.org  |anlauf at gcc dot 
gnu.org
 CC||anlauf at gcc dot gnu.org
 Status|NEW |ASSIGNED

--- Comment #10 from anlauf at gcc dot gnu.org ---
Submitted: https://gcc.gnu.org/pipermail/fortran/2023-February/058891.html

[Bug fortran/95107] ICE in hash_operand, at fold-const.c:3768

2022-07-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107

--- Comment #9 from anlauf at gcc dot gnu.org ---
The issue can be studied by playing with option -fmax-stack-var-size=n.
-fno-automatic corresponds to n=0; using n=64 and higher lets the code compile.
There's something weird going on here.

[Bug fortran/95107] ICE in hash_operand, at fold-const.c:3768

2022-06-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|10.4|10.5

--- Comment #8 from Jakub Jelinek  ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.

[Bug fortran/95107] ICE in hash_operand, at fold-const.c:3768

2021-12-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107

Andrew Pinski  changed:

   What|Removed |Added

   See Also||https://gcc.gnu.org/bugzill
   ||a/show_bug.cgi?id=92960

--- Comment #7 from Andrew Pinski  ---
This is related to PR 92960, maybe even a dup.

[Bug fortran/95107] ICE in hash_operand, at fold-const.c:3768

2021-04-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|10.3|10.4

--- Comment #6 from Richard Biener  ---
GCC 10.3 is being released, retargeting bugs to GCC 10.4.

[Bug fortran/95107] ICE in hash_operand, at fold-const.c:3768

2020-10-22 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107

--- Comment #5 from Eric Gallager  ---
(In reply to Eric Gallager from comment #4)
> I ran into an ICE at that same line in that same file, but it was when
> compiling a C source file instead of a Fortran one... should I open a
> separate bug?

actually never mind; the issue I was running into was actually bug 97125

[Bug fortran/95107] ICE in hash_operand, at fold-const.c:3768

2020-10-22 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107

Eric Gallager  changed:

   What|Removed |Added

 CC||egallager at gcc dot gnu.org

--- Comment #4 from Eric Gallager  ---
I ran into an ICE at that same line in that same file, but it was when
compiling a C source file instead of a Fortran one... should I open a separate
bug?

[Bug fortran/95107] ICE in hash_operand, at fold-const.c:3768

2020-07-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|10.2|10.3

--- Comment #3 from Richard Biener  ---
GCC 10.2 is released, adjusting target milestone.

[Bug fortran/95107] ICE in hash_operand, at fold-const.c:3768

2020-05-14 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107

G. Steinmetz  changed:

   What|Removed |Added

Summary|[10/11 Regression] ICE in   |ICE in hash_operand, at
   |hash_operand, at|fold-const.c:3768
   |fold-const.c:3768   |

--- Comment #2 from G. Steinmetz  ---
> I see a Fortran FE ICE since at least 4.8.0:
Can confirm that with test versions too.