error under -std=f95
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tow21 at cam dot ac dot uk
CC: gcc
--- Additional Comments From tow21 at cam dot ac dot uk 2005-02-16 15:44
---
(In reply to comment #1)
> > However, gfortran currently accepts it without complaint.
>
> However, in general, this can only be found at runtime (also with NAG f95):
[snip example]
Of co
rtran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tow21 at cam dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20323
--- Additional Comments From tow21 at cam dot ac dot uk 2005-03-09 16:11
---
(In reply to comment #1)
> The complaint is a segfault at runtime when
> you actually want to do anything with the
> string whose length depends on a missing
> optional argument. This isn
ned at gcc dot gnu dot org
ReportedBy: tow21 at cam dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20482
--- Additional Comments From tow21 at cam dot ac dot uk 2005-03-15 13:46
---
Created an attachment (id=8390)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8390&action=view)
testcase
Testcase attached.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20482
portedBy: tow21 at cam dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20483
--- Additional Comments From tow21 at cam dot ac dot uk 2005-03-15 21:51
---
(In reply to comment #3)
> Fixed in gcc 4.0.0.
>
> Tobi, this was probably fixed by your patch for PR 20323.
> Do you want to add these examples above as testcases, too?
>
--- Additional Comments From tow21 at cam dot ac dot uk 2005-03-15 22:37
---
(In reply to comment #8)
> Hmm, is the following valid code because we get the same ICE here too:
> module core
> type :: T
> character(len=*) :: s
> end type T
> private
> CO
--- Additional Comments From tow21 at cam dot ac dot uk 2005-03-15 22:53
---
Actually, I think this might be a duplicate of PR18108. Not sure, though - that
one doesn't involve an existing intrinsic, unlike this.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20482
--- Additional Comments From tow21 at cam dot ac dot uk 2005-04-12 13:18
---
(In reply to comment #4)
> OK. I have a patch to make $ work, I'll add a warning when this is possible
at
> compile-time (I don't think we want to have a warning at runtime, especially
--- Additional Comments From tow21 at cam dot ac dot uk 2005-04-12 14:46
---
(In reply to comment #6)
> Fatal I/O error for an extension that everybody agrees on? Wahoo! I'm not >
> sure any compiler does that...
But "everyone" doesn't agree on it. O
--
Bug 20663 depends on bug 20482, which changed state.
Bug 20482 Summary: Problem when overloading LEN intrinsic
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20482
What|Old Value |New Value
---
--- Additional Comments From tow21 at cam dot ac dot uk 2005-08-02 14:36
---
Closed by Paul Thomas' fix for PR18108
--
What|Removed |Added
Statu
tedBy: tow21 at cam dot ac dot uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33941
--- Comment #1 from tow21 at cam dot ac dot uk 2007-10-29 17:04 ---
Created an attachment (id=14435)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14435&action=view)
file causes failure on compilation
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33941
--- Comment #3 from tow21 at cam dot ac dot uk 2007-10-30 10:48 ---
Created an attachment (id=14439)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14439&action=view)
dependency of problem file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33941
--- Comment #4 from tow21 at cam dot ac dot uk 2007-10-30 10:55 ---
Created an attachment (id=14440)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14440&action=view)
test case for failure
Rather than uploading all the dependencies, here is a tarball. Unpack it, cd
into
--- Comment #6 from tow21 at cam dot ac dot uk 2007-10-30 12:23 ---
So much for trying to cut down the testcase.
To replicate the bug
wget http://source.uszla.me.uk/FoX/FoX-3.0.tgz && \
tar xzf FoX-3.0.tgz && cd FoX-3.0 && \
./configure && make
(o
ialization expression
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tow21 at cam dot ac dot uk
http://gcc.gnu.or
--- Comment #4 from tow21 at cam dot ac dot uk 2007-10-31 13:58 ---
(Sorry for mis-typed example, I can't cut & paste from the VM I'm working in
into my web-browser. Your corrected version is what I meant to type)
Well I'm going from the F95 standard (which is the
--- Additional Comments From tow21 at cam dot ac dot uk 2005-05-06 13:21
---
(In reply to comment #5)
> In the Fortran 77 standard (ANSI X3.9-1978) I could not find any sentence
that
> indicates that a SAVE statement without a list cannot appear in the same
program
> unit
gfc_get_derived_type, at fortran/trans-types.c
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tow21 at cam dot ac
nu dot org
ReportedBy: tow21 at cam dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18991
at cam dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19425
--- Additional Comments From tow21 at cam dot ac dot uk 2005-01-13 14:59
---
Brief correction - the reference to C578 is actually from the F2003 standard.
In f95 is it is the second, unnumbered, constraint in section 5.2.4.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19425
: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tow21 at cam dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18993
27 matches
Mail list logo