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
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
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
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.
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
---
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.
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
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
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
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
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
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
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
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.
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193
Thomas Koenig changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
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,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193
kargl at gcc dot gnu.org changed:
What|Removed |Added
Priority|P3 |P4
CC|
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 \
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193
Thomas Koenig changed:
What|Removed |Added
CC||tkoenig at gcc dot gnu.org
--- Comment #
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
22 matches
Mail list logo