https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360
--- Comment #21 from Mikael Morin ---
(In reply to anlauf from comment #20)
> Created attachment 55407 [details]
> Third patch set
>
> Here's a lightly tested 3rd patch that tries to handle the chaos I created...
>
> Can you have a look?
This
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360
--- Comment #23 from Mikael Morin ---
(In reply to anlauf from comment #22)
> Created attachment 55418 [details]
> Slighty revised version of 3rd patch
>
> I've looked at gfc_conv_string_parameter, which I was not aware of.
> This can be used f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110419
Mikael Morin changed:
What|Removed |Added
CC||mikael at gcc dot gnu.org
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110419
--- Comment #2 from Mikael Morin ---
(In reply to Mikael Morin from comment #1)
> Harald committed an additional fix to the PR:
>
Unfortunately, the failure on big endian power remains.
Is the execution output the same as before?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110419
--- Comment #6 from Mikael Morin ---
I finally got my access on gcc110 working.
(gdb) r
Starting program: /home/mmorin/gcc-pr110360/pr110360/pr110419_comment4
Program received signal SIGSEGV, Segmentation fault.
0x1684 in val (x=..., c=..
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110419
--- Comment #7 from Mikael Morin ---
Created attachment 55478
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55478&action=edit
-m32 tree optimized (at -O0) dump
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110419
--- Comment #8 from Mikael Morin ---
Created attachment 55479
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55479&action=edit
-m32 rtl exand dump at -O0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110419
--- Comment #9 from Mikael Morin ---
Created attachment 55480
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55480&action=edit
-m32 final rtl dump at -O0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110419
--- Comment #10 from Mikael Morin ---
The three previous dumps are generated with the example in comment #4.
The problem seems to turn around the val function needing to take the address
of the c argument, which is passed by value.
On powerpc,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110419
--- Comment #11 from Mikael Morin ---
Created attachment 55486
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55486&action=edit
-m64tree optimized (at -O0) dump
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110419
--- Comment #12 from Mikael Morin ---
Created attachment 55487
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55487&action=edit
-m64 rtl expand dump at -O0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110419
--- Comment #13 from Mikael Morin ---
Created attachment 55488
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55488&action=edit
-m64 rtl final dump at -O0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110419
--- Comment #14 from Mikael Morin ---
The tree optimized dumps are almost the same for 32 and 64 bits.
The expand dumps show more significant differences.
The 64 bits dump shows the register r4 is saved to memory with:
(insn 3 2 4 2 (set (m
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106050
Mikael Morin changed:
What|Removed |Added
CC||mikael at gcc dot gnu.org
--- Comment #5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110618
Bug ID: 110618
Summary: Dependency between arguments when one is allocatable
array whose dummy is intent(out)
Product: gcc
Version: 11.4.1
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110618
--- Comment #1 from Mikael Morin ---
Created attachment 55517
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55517&action=edit
Draft patch
This seems to work for this case, but I'm not sure how reliable it is.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106050
Mikael Morin changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |mikael at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99798
Mikael Morin changed:
What|Removed |Added
CC||mikael at gcc dot gnu.org
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110618
Mikael Morin changed:
What|Removed |Added
Last reconfirmed||2023-07-13
Status|UNCONFIRME
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178
Mikael Morin changed:
What|Removed |Added
CC||mikael at gcc dot gnu.org
--- Comment #18
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110419
--- Comment #15 from Mikael Morin ---
rs6000_pass_by_reference returns true with -m32, and false with -m64.
So the second argument is passed by reference with -m32, and by value with
-m64.
So the code in val looks right, it is the code in p cal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110618
Mikael Morin changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87142
Bug 87142 depends on bug 110618, which changed state.
Bug 110618 Summary: Dependency between arguments when one is allocatable array
whose dummy is intent(out)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110618
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113152
Mikael Morin changed:
What|Removed |Added
CC||mikael at gcc dot gnu.org
--- Comment #5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111291
Mikael Morin changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113377
Mikael Morin changed:
What|Removed |Added
CC||mikael at gcc dot gnu.org
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46244
Mikael Morin changed:
What|Removed |Added
Status|ASSIGNED|NEW
Assignee|mikael at gcc dot
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113377
--- Comment #5 from Mikael Morin ---
(In reply to anlauf from comment #2)
> Note that adding a scalar call in function one:
>
> r(1) = two (i(1), j)
>
> generates sane code:
>
> *((integer(kind=4) *) __result.0 + (sizetype) ((offset.1 +
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113377
--- Comment #6 from Mikael Morin ---
(In reply to anlauf from comment #4)
>
> Note that the following scalar example also fails:
>
"Fortunately", it is invalid. :-)
>From 15.5.2.12 (Argument presence and restrictions on arguments not present
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111291
Mikael Morin changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86656
Bug 86656 depends on bug 111291, which changed state.
Bug 111291 Summary: ASAN error: heap-use-after-free gcc/fortran/parse.cc:359 in
decode_statement
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111291
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113799
Mikael Morin changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113799
Mikael Morin changed:
What|Removed |Added
Known to fail||10.5.0, 11.4.0, 12.3.0,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115689
Mikael Morin changed:
What|Removed |Added
CC||mikael at gcc dot gnu.org
--- Comment #6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99798
Mikael Morin changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90608
--- Comment #21 from Mikael Morin ---
(In reply to Tamar Christina from comment #20)
> Hi Mikael,
>
> I did regression testing on x86_64 and AArch64 and only found one test-ism.
>
> I think I understand most of the patch to be able to deal with
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117258
Mikael Morin changed:
What|Removed |Added
CC||mikael at gcc dot gnu.org
--- Comment #5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116801
Bug ID: 116801
Summary: Many fortran options missing in lang.opt.urls
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ot
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116801
--- Comment #1 from Mikael Morin ---
gcc's invoke.texi looks like:
@opindex fpic
@cindex global offset table
@cindex PIC
@item -fpic
whereas gfortran's invoke.texi has:
@opindex @code{ffree-form}
@opindex @code{ffixed-form}
@cindex options,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116801
Mikael Morin changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |mikael at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116886
--- Comment #3 from Mikael Morin ---
(In reply to Thomas Koenig from comment #0)
> If I read J3/23-007 16.9.138 correctly, the following program should
> print the minimum integer value, twice, but it prints nothing:
>
> program memain
> impl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90608
Mikael Morin changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115494
Mikael Morin changed:
What|Removed |Added
CC||mikael at gcc dot gnu.org
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643
Mikael Morin changed:
What|Removed |Added
CC||mikael at gcc dot gnu.org
--- Comment #6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499
--- Comment #23 from Mikael Morin ---
(In reply to Thomas Koenig from comment #20)
> Right now, I am doing unsigned**unsigned. This is already a
> bit larger than I originally thought. After this is committed,
> we can still discuss how to ext
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499
Mikael Morin changed:
What|Removed |Added
CC||mikael at gcc dot gnu.org
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118896
Bug ID: 118896
Summary: The fortran compiler is unable to devirtualize
typebound indirect calls
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118896
--- Comment #1 from Mikael Morin ---
Draft patch:
diff --git a/gcc/fortran/trans-decl.cc b/gcc/fortran/trans-decl.cc
index 4ae22a5584d..95d39e837e9 100644
--- a/gcc/fortran/trans-decl.cc
+++ b/gcc/fortran/trans-decl.cc
@@ -2085,7 +2085,8 @@ gfc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119843
Mikael Morin changed:
What|Removed |Added
CC||mikael at gcc dot gnu.org
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118896
Mikael Morin changed:
What|Removed |Added
Component|tree-optimization |fortran
--- Comment #6 from Mikael Morin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118896
--- Comment #3 from Mikael Morin ---
Created attachment 60515
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60515&action=edit
complete patch with changelog
This is a complete variation of the patch from comment #1.
Unfortunately it regr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118896
--- Comment #4 from Mikael Morin ---
Picking the smallest failing testcase:
(In reply to Mikael Morin from comment #3)
> PASS->FAIL:gfortran.dg/typebound_generic_6.f03
dse2 is changing this...
[local count: 1073312328]:
afab._vptr = &__v
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118896
--- Comment #2 from Mikael Morin ---
This area of the code has an interesting history.
TREE_READONLY was introduced for virtual tables with r0-114543 together with
the fix for PR51809
diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-d
201 - 253 of 253 matches
Mail list logo