--- Comment #5 from hjl at lucon dot org 2006-04-04 23:28 ---
[EMAIL PROTECTED] cpu2006-465e]$ cat mod.f90
module mod
implicit none
private
public bar_
interface bar_
module procedure bar
end interface
public foo_
interface foo_
module procedure foo
end interface
contains
subrouti
--- Comment #6 from hjl at lucon dot org 2006-04-04 23:34 ---
Tonto uses it and I got a run-time failure.
--
hjl at lucon dot org changed:
What|Removed |Added
OtherBugsDep
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-04-04 23:37 ---
I don't think this is defined code:
if (present (a)) call abort ()
call foo_ (a)
If a is not present, you should not be able to use a in any way.
--
pinskia at gcc dot gnu dot org changed:
W
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-04-04 23:40 ---
From
http://www.sesp.cse.clrc.ac.uk/Publications/felib90_design/design/node6.html
Because of the nature and implementation of optional arguments in Fortran 90/95
the head of most routines has a group of code dealing
public class z {
private class y {
public y(long x) { this(x,w()); }
public y(long x,long v) { }
}
private long w() { return 0; }
}
Fails to compile with "gcj -c", compiles fine with "gcj -C". Bytecode compiles
with "gcj -c".
--
Summary: Direct compile fa
--- Comment #1 from taral at taral dot net 2006-04-05 00:21 ---
This example taken from freenet source. gcj -M also fails on this snippet.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27037
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-05 00:25 ---
*** This bug has been marked as a duplicate of 4695 ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-04-05 00:25 ---
*** Bug 27037 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
---
--
tromey at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot
|dot org
--- Comment #9 from taral at taral dot net 2006-04-05 00:27 ---
So why does this work when compiling via bytecode?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4695
--- Comment #9 from hjl at lucon dot org 2006-04-05 00:40 ---
>From section 12.7.5, Fortran 95 Handbook:
A dummy argument not present may be supplied as an actual argument
corresponding
to an optional dummy argument.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27035
Compiling the code
// start tmp.cpp
template struct A{};
struct B
{
void f(A default_value=A());
};
// end tmp.cpp
with
g++ tmp.cpp
produces these errors
tmp.cpp:6: error: expected , or ... before > token
tmp.cpp:6: error: missing > to terminate the template arg
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-05 01:57 ---
This is a dup of bug 57 and in fact an issue with the standard as this is
Defect report 325 for the C++ standard. According to the current standard as
written, GCC is correct to reject this code.
*** This bug has b
--- Comment #30 from pinskia at gcc dot gnu dot org 2006-04-05 01:57
---
*** Bug 27038 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-04-05 04:03 ---
That is good enough for me, closing as fixed.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #3 from patchapp at dberlin dot org 2006-04-05 04:35 ---
Subject: Bug number PR c/26993
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-04/msg00179.html
--
http://gcc.gnu.org/bugzilla
--- Comment #7 from hjl at gcc dot gnu dot org 2006-04-05 04:47 ---
Subject: Bug 23634
Author: hjl
Date: Wed Apr 5 04:47:51 2006
New Revision: 112695
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112695
Log:
gcc/fortran/
2006-04-04 H.J. Lu <[EMAIL PROTECTED]>
PR fo
--- Comment #7 from hjl at gcc dot gnu dot org 2006-04-05 04:47 ---
Subject: Bug 25619
Author: hjl
Date: Wed Apr 5 04:47:51 2006
New Revision: 112695
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112695
Log:
gcc/fortran/
2006-04-04 H.J. Lu <[EMAIL PROTECTED]>
PR fo
--- Comment #3 from mark at gcc dot gnu dot org 2006-04-05 06:38 ---
This might (or might not) be related to bug #24752 although also in that case
it could be argued that the user code is just buggy and should be fixed. See
also bug #24632 which is also similar, but in that case the Axis
101 - 119 of 119 matches
Mail list logo