[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2022-02-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |11.3 Status|ASSIG

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2022-02-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 --- Comment #21 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:a5088b07e0a547cdacaa6db8ad762fd8c425b1f0 commit r11-9613-ga5088b07e0a547cdacaa6db8ad762fd8c425b1f0 Author: Harald Anlauf

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2022-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 --- Comment #20 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:f3ffea93ef31c03ad8cdcb54e71ec868b57b264f commit r12-7153-gf3ffea93ef31c03ad8cdcb54e71ec868b57b264f Author: Harald Anlauf Date: S

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2022-02-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu.

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2022-02-03 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org ---

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2018-06-04 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 G. Steinmetz changed: What|Removed |Added CC||gs...@t-online.de --- Comment #17 from G.

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2018-05-31 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2015-06-10 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 --- Comment #15 from Gerhard Steinmetz --- Created attachment 35745 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35745&action=edit test case pr66193_3_diverse_new.f90 Better test, replaces pr66193_3_diverse.f90

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2015-06-09 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 --- Comment #14 from Gerhard Steinmetz --- Attached some prepared test files. Added more test cases for integer and real. Added new test case for logical : subroutine s2 logical(8), parameter :: z1(2) = .true. .or. [ logical(8) :: [ logic

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2015-06-09 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 --- Comment #13 from Gerhard Steinmetz --- Created attachment 35728 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35728&action=edit test case pr66193_3_diverse.f90

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2015-06-09 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 --- Comment #12 from Gerhard Steinmetz --- Created attachment 35727 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35727&action=edit test case pr66193_2_integer.f90

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2015-06-09 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 --- Comment #11 from Gerhard Steinmetz --- Created attachment 35726 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35726&action=edit test case pr66193_1_real.f90

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2015-05-20 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 --- Comment #10 from Gerhard Steinmetz --- Perhaps it's better to make one factor larger. Maybe the following will help. $ cat zz1.f90 program p real :: z(2) z = 10 + [real :: 1, 2] print *, z end # you may check your pa

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2015-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 --- Comment #9 from Thomas Koenig --- (In reply to Thomas Koenig from comment #8) > This patch looks good: but fixes only the ICE, not the wrong-code issue in comment#1.

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2015-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 --- Comment #8 from Thomas Koenig --- This patch looks good: --- arith.c (Revision 223202) +++ arith.c (Arbeitskopie) @@ -1390,6 +1390,12 @@ reduce_binary (arith (*eval) (gfc_expr *, gfc_expr if (op1->expr_type == EXPR_CONSTANT && op2

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2015-05-19 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 --- Comment #7 from Steve Kargl --- On Tue, May 19, 2015 at 06:30:57PM +, tkoenig at gcc dot gnu.org wrote: > The problem manifests itself in reduce_binary_ca. This function > gets handed an array constructor of type real whose elements are

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2015-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2015-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 --- Comment #6 from Thomas Koenig --- The problem manifests itself in reduce_binary_ca. This function gets handed an array constructor of type real whose elements are integer. This makes no sense. (gdb) p *op1 $6 = {expr_type = EXPR_CONSTANT,

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2015-05-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2015-05-18 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 --- Comment #3 from Gerhard Steinmetz --- Hmm, no observable difference with option -fno-frontend-optimize, sorry. Of course I probed some combinations for several options. One example for a more extensive "debug" run : gfortran \

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2015-05-18 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment #

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2015-05-18 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 --- Comment #1 from Gerhard Steinmetz --- For integer instead of real ... program p integer :: z(2) z = 1.2 + [integer :: 3.5, 4.5] print *, z end it compiles with gfortran snippet.f90 but running ./a.out prints an unexp