[Bug fortran/40998] Source with routine in CONTAINS section and a local variable: No symbol "nerr" in current context

2009-12-04 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2009-12-04 23:42 --- (In reply to comment #5) > So perhaps it's not gfortran's fault, but a short-coming in not totally > up-to-date gdb's Any news here? -- dfranke at gcc dot gnu dot org changed:

[Bug fortran/41370] Function return-type declaration with specification expression rejected

2009-12-04 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2009-12-05 00:31 --- I'd vote for valid (moving the definition of the return type into the specification part already is accepted). F95, 5.1 Type declaration statements "The speciļ¬cation-expr (7.1.6.2) of a char-len-p

[Bug fortran/41866] Wrong standard in docs for ISO_FORTRAN_ENV

2009-12-06 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2009-12-06 12:18 --- r148317 | burnus | 2009-06-09 19:21:45 +0200 (Tue, 09 Jun 2009) | 9 lines 2009-06-09 Tobias Burnus [...] * intrinsic.texi (ISO_FORTRAN_ENV): Document INT{8,16,32,64} and REAL{32,64,128

[Bug fortran/40904] Documentation: Description for COUNT is wrong

2009-12-06 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2009-12-06 12:59 --- Subject: Bug 40904 Author: dfranke Date: Sun Dec 6 12:59:46 2009 New Revision: 155022 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155022 Log: 2009-12-06 Daniel Franke PR fortr

[Bug fortran/40904] Documentation: Description for COUNT is wrong

2009-12-06 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2009-12-06 13:00 --- Fixed in trunk. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/25104] [F2003] Non-initialization expr. as case-selector

2009-12-06 Thread dfranke at gcc dot gnu dot org
--- Comment #19 from dfranke at gcc dot gnu dot org 2009-12-06 15:07 --- Unassigning myself. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/41869] ICE segfault when reading module file

2009-12-06 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2009-12-06 15:18 --- Slightly reduced testcase: module fox_m_fsys_array_str contains pure function str_vs(vs) result(s) character, dimension(:), intent(in) :: vs character(len=size(vs)) :: s end function str_vs pure

[Bug fortran/40196] F2003: Type parameter inquiry (str%len, a%kind) and Complex parts (z%re, z%im)

2009-12-06 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2009-12-06 16:59 --- Type parameter inquiries are also mentioned in PR29962, comment #10. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40850] double free in nested types with allocatable components

2009-12-06 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2009-12-06 18:15 --- Reduced testcase: type t1 integer, allocatable :: d1(:) end type t1 type t2 type(t1), allocatable :: d2(:) end type t2 type(t2) :: a, b a = new2( (/ new1((/1,1/)) /) ) b = new2( (/ a%d2 , a

[Bug fortran/41720] GNU Fortran fails configure test during build process

2009-12-06 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2009-12-06 18:25 --- (In reply to comment #1) > >gfortran: Internal error: Segmentation Fault (program f951) > > That normally means the version of GMP/MPFR you have installed are broken. Any news here? -- dfranke at

[Bug fortran/41940] Improve error message for allocating scalar with shape

2009-12-07 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2009-12-07 17:32 --- Subject: Bug 41940 Author: dfranke Date: Mon Dec 7 17:32:29 2009 New Revision: 155049 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155049 Log: gcc/fortran: 2009-12-07 Daniel Franke PR

[Bug fortran/41940] Improve error message for allocating scalar with shape

2009-12-07 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2009-12-07 18:04 --- Fixed in trunk. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/36161] gfc_error formats are not marked gcc-internal-format in po file

2009-12-07 Thread dfranke at gcc dot gnu dot org
--- Comment #9 from dfranke at gcc dot gnu dot org 2009-12-07 18:40 --- With the upcoming release of 4.5, I think it would be nice to fix/improve the translation related bugs now, i.e. this, PR38573 and PR40489. As I have no idea how to reproduce/check/whatever this kind of PR, could

[Bug fortran/34402] Diagnose illegal initialization of derived type containing allocatable component

2009-12-08 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2009-12-08 20:33 --- (In reply to comment #0) > ! The following is illegal! > type (bad_t) :: bad = bad_t ( (/ 1., 3., 5., 7., 9. /) ) I don't get it. "Fortran 95/2003 explained" by Metcalf has exactly this i

[Bug fortran/37412] No error on repeated declaration

2009-12-08 Thread dfranke at gcc dot gnu dot org
--- Comment #5 from dfranke at gcc dot gnu dot org 2009-12-08 20:58 --- *** Bug 34527 has been marked as a duplicate of this bug. *** -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34527] Declaring a variable twice with different characteristics

2009-12-08 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2009-12-08 20:58 --- Marking as dupe, discussion happened in PR37412. *** This bug has been marked as a duplicate of 37412 *** -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/37412] No error on repeated declaration

2009-12-08 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2009-12-08 21:01 --- (In reply to comment #4) > Maybe I could change this warning into an error even for non-standard > conforming mode in case the length or a kind parameter differs. What > do you think? I assume, this ha

[Bug fortran/38733] non pure function in forall when using function aliases

2009-12-08 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2009-12-08 21:04 --- *** This bug has been marked as a duplicate of 37398 *** -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/37398] Statement functions mask missing PURE procedures.

2009-12-08 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2009-12-08 21:04 --- *** Bug 38733 has been marked as a duplicate of this bug. *** -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/35918] Accepts invalid: INTERFACE and REAL

2009-12-08 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2009-12-08 21:17 --- All three cases are flagged by current 4.5.0 20091208. The first one gives $> gfortran-svn pr35918.f90 pr35918.f90:2.8: real foo 1 Error: FUNCTION attribute conflicts with SUBROUTINE attribute in '

[Bug fortran/22571] Reject derived types for dummy arguments declared in the subroutine unless they are SEQUENCE

2009-12-08 Thread dfranke at gcc dot gnu dot org
-- dfranke at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22571

[Bug fortran/34402] Diagnose illegal initialization of derived type containing allocatable component

2009-12-08 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2009-12-08 21:41 --- (In reply to comment #3) > (In reply to comment #2) > > I don't get it. "Fortran 95/2003 explained" by Metcalf has exactly this in > > the > > example (figure 12.3, p243) for a

[Bug fortran/34402] Diagnose illegal initialization of derived type containing allocatable component

2009-12-09 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2009-12-09 22:05 --- (In reply to comment #5) > See 7.1.7(3) in F2003 (and 7.1.12(3) in the F2008 draft.) Walter, thanks for reference! -- dfranke at gcc dot gnu dot org changed: What|Remo

[Bug fortran/36275] Binding label can be any scalar char initialisation expression

2009-12-10 Thread dfranke at gcc dot gnu dot org
--- Comment #9 from dfranke at gcc dot gnu dot org 2009-12-10 19:10 --- See also PR38839 for expanded character set. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36275

[Bug fortran/38839] BIND(C): Allow non-digit/underscore/alphabetic binding names

2009-12-10 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2009-12-10 19:11 --- See PR36275 for more possibilities on binding labels. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34402] Diagnose illegal initialization of derived type containing allocatable component

2009-12-10 Thread dfranke at gcc dot gnu dot org
--- Comment #7 from dfranke at gcc dot gnu dot org 2009-12-10 19:57 --- Subject: Bug 34402 Author: dfranke Date: Thu Dec 10 19:57:16 2009 New Revision: 155138 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155138 Log: gcc/fortran/: 2009-12-10 Daniel Franke

[Bug fortran/34402] Diagnose illegal initialization of derived type containing allocatable component

2009-12-10 Thread dfranke at gcc dot gnu dot org
--- Comment #8 from dfranke at gcc dot gnu dot org 2009-12-10 19:59 --- Fixed in trunk. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/41369] Empty derived-type wrongly rejected as function return type

2009-12-10 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2009-12-10 21:04 --- Subject: Bug 41369 Author: dfranke Date: Thu Dec 10 21:03:40 2009 New Revision: 155141 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155141 Log: 2009-12-10 Daniel Franke PR fortr

[Bug fortran/41369] Empty derived-type wrongly rejected as function return type

2009-12-10 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2009-12-10 21:05 --- Fixed in trunk. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40290] Questionable warning for REAL*COMPLEX with -Wconversion

2009-12-10 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2009-12-10 21:46 --- Actually, the program real:: x complex :: c c = c * x end is directly translated to ... MAIN__ () { complex(kind=4) c; real(kind=4) x; c = COMPLEX_EXPR * c; } ... and yukka, the "opti

[Bug fortran/40287] Spurious warnings with -Wconversion and COUNT()

2009-12-10 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2009-12-10 21:58 --- Subject: Bug 40287 Author: dfranke Date: Thu Dec 10 21:57:49 2009 New Revision: 155142 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155142 Log: 2009-12-10 Daniel Franke PR fortr

[Bug fortran/40287] Spurious warnings with -Wconversion and COUNT()

2009-12-10 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2009-12-10 21:58 --- No more warning in trunk. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/22552] Would like warning when an undeclared function is called

2009-12-11 Thread dfranke at gcc dot gnu dot org
--- Comment #7 from dfranke at gcc dot gnu dot org 2009-12-11 14:42 --- Daniel, is there anything going to happen with those patches you attached? :) -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40290] Spurious warning on REAL*COMPLEX with -Wconversion

2009-12-11 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2009-12-11 18:56 --- Using "-O3 -fno-signed-zeros" (the latter being set by -ffast-math) gets rid of all the additional computations and results in : D.1504_2 = *a_1(D); D.1514_10 = REALPART_EXPR <*b_4(D)&

[Bug fortran/40290] Spurious warning on REAL*COMPLEX with -Wconversion

2009-12-11 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2009-12-11 21:08 --- Subject: Bug 40290 Author: dfranke Date: Fri Dec 11 21:08:39 2009 New Revision: 155179 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155179 Log: 2009-12-11 Daniel Franke PR fortr

[Bug fortran/40290] Spurious warning on REAL*COMPLEX with -Wconversion

2009-12-11 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2009-12-11 21:10 --- Fixed in trunk. Closing. Thanks for the report! -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32365] Better error message for specification statement in executable section

2009-12-11 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2009-12-11 21:44 --- (In reply to comment #2) > I wonder why this is not caught in parse.c's verify_st_order; the error > message there is much nicer Because it seems that verify_st_order is not called for every accepted st

[Bug fortran/34546] Incorrect array identified in out of bounds runtime error

2009-12-11 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2009-12-11 22:20 --- For the example in #1, the wrong name is picked up in trans-array.c (gfc_trans_array_bound_check): 2310 if (!name && se->loop && se->loop->ss && se->loop->ss->expr 2311

[Bug fortran/37691] Duplicate error messages

2009-12-11 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2009-12-11 22:30 --- I think this one is actually ok. The message is emitted rank-times, once for each non-integer rank, for each variable. Here we get it three times: real, parameter :: n = 2 real, dimension(n) :: x, y, z end

[Bug fortran/38303] poor error message

2009-12-11 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2009-12-11 22:55 --- *** Bug 39192 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38303

[Bug fortran/39192] poor error message

2009-12-11 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2009-12-11 22:55 --- *** This bug has been marked as a duplicate of 38303 *** -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/42354] Invalidly accepts C_LOC in init expressions

2009-12-12 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2009-12-12 11:12 --- Confirmed. Will have a quick poke at it. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40568] F2008: C_SIZEOF is in the wrong scope, rejected as initialization expression

2009-12-13 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2009-12-13 16:19 --- F2008 allows C_SIZEOF in initialization expressions: The definition for "specification inquiry" is in Fortran 2008 (7.1.11 Specification expression): "A speci cation inquiry is a reference to (

[Bug fortran/41298] wrong-code: Default initializer C_NULL_PTR ignored

2009-12-13 Thread dfranke at gcc dot gnu dot org
--- Comment #5 from dfranke at gcc dot gnu dot org 2009-12-13 16:22 --- While looking at this one, I found two oddities: * There are two similar special-case handlers for ISOCBINDING_NULL_[FUN]PTR, one in trans-expr.c(gfc_conv_initializer), the other in trans-const.c

[Bug fortran/42359] New: ICEs with specification function and init expression

2009-12-13 Thread dfranke at gcc dot gnu dot org
ds: ice-on-valid-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dfranke at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42359

[Bug fortran/42360] New: intent(out)-dummy-not-set warning for types depends on order of component initializers

2009-12-13 Thread dfranke at gcc dot gnu dot org
d at gcc dot gnu dot org ReportedBy: dfranke at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42360

[Bug fortran/42354] Invalidly accepts C_LOC in init expressions

2009-12-14 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2009-12-14 19:11 --- Subject: Bug 42354 Author: dfranke Date: Mon Dec 14 19:10:56 2009 New Revision: 155234 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155234 Log: gcc/fortran/: 2009-12-14 Daniel Franke

[Bug fortran/42354] Invalidly accepts C_LOC in init expressions

2009-12-14 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2009-12-14 19:22 --- Fixed in trunk. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/36161] gfc_error formats are not marked gcc-internal-format in po file

2009-12-17 Thread dfranke at gcc dot gnu dot org
--- Comment #11 from dfranke at gcc dot gnu dot org 2009-12-17 23:07 --- [Adding Paul as CC] (In reply to comment #10) > Would you be so kind as to follow this. It's been unconfirmed for 18 months. > Is it a bug or not and will we or won't we fix it? > > I vo

[Bug fortran/36161] gfc_error formats are not marked gcc-internal-format in po file

2009-12-18 Thread dfranke at gcc dot gnu dot org
--- Comment #13 from dfranke at gcc dot gnu dot org 2009-12-18 18:27 --- Tobias, thanks for your description. I'm still a bit hazy on the details, but I changed my tree according to what I picked up. Question is, how do I verify that the issue described in the initial report is

[Bug fortran/36161] gfc_error formats are not marked gcc-internal-format in po file

2009-12-19 Thread dfranke at gcc dot gnu dot org
--- Comment #14 from dfranke at gcc dot gnu dot org 2009-12-19 11:38 --- (In reply to comment #7) > Support for this type of format has now been added to xgettext. The support > will be contained in gettext 0.18. I got as far as recreating the .pot for testing. Tried to compi

[Bug fortran/42443] open ignores status statement

2009-12-20 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2009-12-20 15:07 --- Try with a proper path, i.e. without the '~'. Replacement of special characters or wildcards is done on the shell level, not within the application. To place a file in the home directory of the use

[Bug fortran/42477] Runtime segfault with -fopenmp -static

2009-12-23 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2009-12-23 13:32 --- Dupe of PR30471? -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/42478] [meta-bug] gfortran OpenMP bugs

2009-12-23 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2009-12-23 13:49 --- Shouldn't the "openmp" keyword (http://gcc.gnu.org/bugzilla/describekeywords.cgi) be sufficient? -- dfranke at gcc dot gnu dot org changed: What|Removed

[Bug fortran/42526] New: bogus truncation warning for default-initialized character components

2009-12-28 Thread dfranke at gcc dot gnu dot org
character components Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org Reported

[Bug fortran/42550] Unable to give initial value 2**0.5 to a real varable

2009-12-29 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2009-12-30 00:54 --- Confirmed for 4.4.3 (20091229). If sqrt2 is marked as PARAMETER, both 4.3.4 and 4.4.3 accept the code without further problems. -- dfranke at gcc dot gnu dot org changed: What|Removed

[Bug fortran/36380] preprocessing: define built-in target-related macros

2010-02-04 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2010-02-04 13:03 --- *** This bug has been marked as a duplicate of 42954 *** -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/42954] gfortran with libcpp: TARGET_*_CPP_BUILDINS issues (MinGW, FreeBSD, MIPS, Fry)

2010-02-04 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2010-02-04 13:03 --- *** Bug 36380 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42954

[Bug fortran/42051] [OOP] ICE on array-valued function with CLASS formal argument

2010-07-15 Thread dfranke at gcc dot gnu dot org
--- Comment #16 from dfranke at gcc dot gnu dot org 2010-07-15 21:37 --- > > (In reply to comment #13) > >> I'm leaving this assigned to Janus because, as OOP master, he knows best > >> the > >> place(s) where the change(s) have to be applied, f

[Bug fortran/41539] [OOP] Calling function which takes CLASS: Rank comparison does not work

2010-07-15 Thread dfranke at gcc dot gnu dot org
--- Comment #5 from dfranke at gcc dot gnu dot org 2010-07-15 21:39 --- (From update of attachment 20021) Obsolete duplicate. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/44960] New: non-array used as an array, identified as an external function

2010-07-15 Thread dfranke at gcc dot gnu dot org
iority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dfranke at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44960

[Bug fortran/43179] ICE invalid if accessing array member of non-array

2010-07-15 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2010-07-15 21:57 --- Spin-off: PR44960 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43179

[Bug fortran/34260] Give warning if procedure with implicit interface is called with different arguments

2010-07-18 Thread dfranke at gcc dot gnu dot org
--- Comment #7 from dfranke at gcc dot gnu dot org 2010-07-18 20:49 --- Subject: Bug 34260 Author: dfranke Date: Sun Jul 18 20:49:30 2010 New Revision: 162287 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162287 Log: gcc/fortran/: 2010-07-18 Daniel Franke

[Bug fortran/31346] wrong values for ubound and size of deferred shape arrays without explicit interface

2010-07-18 Thread dfranke at gcc dot gnu dot org
--- Comment #12 from dfranke at gcc dot gnu dot org 2010-07-18 20:49 --- Subject: Bug 31346 Author: dfranke Date: Sun Jul 18 20:49:30 2010 New Revision: 162287 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162287 Log: gcc/fortran/: 2010-07-18 Daniel Franke

[Bug fortran/30668] -fwhole-file should catch function of wrong type

2010-07-18 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2010-07-18 20:49 --- Subject: Bug 30668 Author: dfranke Date: Sun Jul 18 20:49:30 2010 New Revision: 162287 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162287 Log: gcc/fortran/: 2010-07-18 Daniel Franke

[Bug fortran/40011] Problems with -fwhole-file

2010-07-18 Thread dfranke at gcc dot gnu dot org
--- Comment #58 from dfranke at gcc dot gnu dot org 2010-07-18 20:49 --- Subject: Bug 40011 Author: dfranke Date: Sun Jul 18 20:49:30 2010 New Revision: 162287 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162287 Log: gcc/fortran/: 2010-07-18 Daniel Franke

[Bug fortran/30668] -fwhole-file should catch function of wrong type

2010-07-18 Thread dfranke at gcc dot gnu dot org
--- Comment #7 from dfranke at gcc dot gnu dot org 2010-07-18 21:12 --- Fixed in trunk and 4.5. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31346] wrong values for ubound and size of deferred shape arrays without explicit interface

2010-07-18 Thread dfranke at gcc dot gnu dot org
--- Comment #13 from dfranke at gcc dot gnu dot org 2010-07-18 21:13 --- Fixed in trunk and 4.5. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34260] Give warning if procedure with implicit interface is called with different arguments

2010-07-18 Thread dfranke at gcc dot gnu dot org
--- Comment #8 from dfranke at gcc dot gnu dot org 2010-07-18 21:15 --- Fixed in trunk and 4.5. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/45689] CSHIFT and EOSHIFT are not in the trans_func_f2003 list

2010-09-16 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2010-09-16 11:14 --- They are not, as there, afaik, are no simplifiers yet. Hence, with your patch they will be accepted, but you'd end up with wrong code at the end, as the functions are not properly simplified and thus not con

[Bug fortran/45689] [F2003] Missing transformational intrinsic in the trans_func_f2003 list

2010-09-18 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2010-09-18 15:58 --- (In reply to comment #3) > Am I correct to understand that the current situation (i.e. the error message) > is a temporary fix for some missing gfc_simplify_*? If the error message you refer to is &

[Bug fortran/43592] Unexpected INTERFACE statement in INTERFACE block at (1)

2010-04-30 Thread dfranke at gcc dot gnu dot org
-- dfranke at gcc dot gnu dot org changed: What|Removed |Added CC||dfranke at gcc dot gnu dot

[Bug fortran/24978] ICE in gfc_assign_data_value_range

2010-04-30 Thread dfranke at gcc dot gnu dot org
--- Comment #22 from dfranke at gcc dot gnu dot org 2010-04-30 21:02 --- Proposed patch: http://gcc.gnu.org/ml/fortran/2010-04/msg00328.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24978

[Bug fortran/30249] Pointers not given target type in GFORTRAN

2010-04-30 Thread dfranke at gcc dot gnu dot org
--- Comment #5 from dfranke at gcc dot gnu dot org 2010-04-30 21:11 --- Has this been WAITING for 18 months now? Any news? :) -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/41827] [Cleanup] Remove SET_EXPR_LOCATION in gfc_trans_code

2010-04-30 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2010-04-30 21:54 --- See PR41359 for another use of SET_EXPR_LOCATION. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41827

[Bug fortran/42848] compiler crashes and asks for this bug report

2010-04-30 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2010-04-30 22:13 --- (In reply to comment #5) > The compiler shouldn't crash anyway. But with a new version this problem > should > be solved too, isn't it? It should be. 4.5.0 was released by now. Co

[Bug fortran/24978] ICE in gfc_assign_data_value_range

2010-05-01 Thread dfranke at gcc dot gnu dot org
--- Comment #24 from dfranke at gcc dot gnu dot org 2010-05-01 10:24 --- (In reply to comment #23) > are only detected with the -pedantic option. Or -std=f95; data.c has: /* Overwriting an existing initializer is non-standard but usually only provokes a warning from ot

[Bug fortran/24978] ICE in gfc_assign_data_value_range

2010-05-01 Thread dfranke at gcc dot gnu dot org
--- Comment #25 from dfranke at gcc dot gnu dot org 2010-05-01 10:36 --- Dominique, if you apply this hunk Index: data.c === --- data.c (revision 158958) +++ data.c (working copy) @@ -352,8 +352,10

[Bug fortran/40472] Simplification of spread intrinsic takes a long time

2010-05-01 Thread dfranke at gcc dot gnu dot org
--- Comment #23 from dfranke at gcc dot gnu dot org 2010-05-01 11:15 --- Undoing the changes of comments #7, #12 and #16, I now (with splay-tree constructors get): $ time gfortran-svn -Wall pr40472.f90 real0m2.130s user0m1.924s sys 0m0.148s Instead of those 11 minutes

[Bug fortran/40472] Simplification of spread intrinsic takes a long time

2010-05-01 Thread dfranke at gcc dot gnu dot org
--- Comment #25 from dfranke at gcc dot gnu dot org 2010-05-01 12:27 --- (In reply to comment #24) > Without undoing the changes but with the patch in comment #23, the > ICE with the test in comment #21 is gone. The patch in #23 actually reverts the previous changes :) If

[Bug fortran/24978] ICE in gfc_assign_data_value_range

2010-05-01 Thread dfranke at gcc dot gnu dot org
--- Comment #28 from dfranke at gcc dot gnu dot org 2010-05-01 12:36 --- (In reply to comment #27) > Apparently the repetition is along the last dimension: > i(5,10) gives 10 errors/warnings and i(10,5) gives 5 ones. Could you post the full test? I can't reproduce this?!

[Bug fortran/30438] Set but never used variable should raise warning

2010-05-01 Thread dfranke at gcc dot gnu dot org
--- Comment #5 from dfranke at gcc dot gnu dot org 2010-05-01 12:39 --- With gcc version 4.6.0 20100501 (experimental) (GCC) $ cat unused.c int main() { int i; i = 42; return 0; } $ gcc-svn -Wall unused.c unused.c: In function 'main': unused.c:2:7: warning: variable &

[Bug fortran/40472] Simplification of spread intrinsic takes a long time

2010-05-01 Thread dfranke at gcc dot gnu dot org
--- Comment #27 from dfranke at gcc dot gnu dot org 2010-05-01 13:08 --- (In reply to comment #26) > Also I see a small slow down for the test in pr34554 (gfc is patched, gfcp > not): > > [macbook] f90/bug% time gfc pr34554.f90 > 259.917u 0.168s 4:20.44 99.8% 0+0

[Bug fortran/24978] ICE in gfc_assign_data_value_range

2010-05-01 Thread dfranke at gcc dot gnu dot org
--- Comment #30 from dfranke at gcc dot gnu dot org 2010-05-01 13:13 --- Created an attachment (id=20525) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20525&action=view) updated patch Updated patch. Fixes the multiplication of errors shown in comment #29. Not yet re

[Bug fortran/33884] data-initialized unused variables not detected

2010-05-01 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2010-05-01 14:24 --- This is very close to PR30438. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33884

[Bug fortran/30438] Set but never used variable should raise warning

2010-05-01 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2010-05-01 14:25 --- See also PR33884. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30438

[Bug fortran/40472] Simplification of spread intrinsic takes a long time

2010-05-01 Thread dfranke at gcc dot gnu dot org
--- Comment #29 from dfranke at gcc dot gnu dot org 2010-05-01 14:52 --- (In reply to comment #28) > Yes, please leave the limit in and allow users to change the max. Ok. Closing this PR as very thoroughly FIXED then :) -- dfranke at gcc dot gnu dot org changed: W

[Bug fortran/32331] Better error message for variable bond of DATA implied do

2010-05-01 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2010-05-01 18:30 --- How about this? Index: resolve.c === --- resolve.c (revision 158958) +++ resolve.c (working copy) @@ -11824,6 +11827,7 @@ traverse_data_list

[Bug fortran/33196] Generic name to non-standard procedure: Not diagnosed with -std=f95

2010-05-01 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2010-05-01 20:15 --- This was probably fixed when gamma was introduced for F2008. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/33097] Function decl trees without proper argument list

2010-05-01 Thread dfranke at gcc dot gnu dot org
--- Comment #15 from dfranke at gcc dot gnu dot org 2010-05-01 20:20 --- By now we have proper whole-file checking. Is this PR still relevant? -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34260] Give warning if procedure with implicit interface is called with different arguments

2010-05-01 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2010-05-01 20:34 --- Whole-file checking does not catch this (yet). I'd think that it should be possible to generate a warning here. $> $ gfortran-svn -Wall -W -fwhole-file pr34260.f pr34260.f:1.22: SUBROUTINE

[Bug fortran/34599] IOSTAT variable in data transfer input/output list

2010-05-01 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2010-05-01 20:44 --- (In reply to comment #2) > I somehow missed that clause. I think one can thus close this bug. Finally doing so. Please re-open if new information was obtained in the meantime. -- dfranke at gcc dot gnu dot

[Bug fortran/35918] Accepts invalid: INTERFACE and REAL

2010-05-02 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2010-05-02 08:42 --- (In reply to comment #1) > All three cases are flagged by current 4.5.0 20091208. > Tobias, please close if you agree. Closing after 5 months of WAITING. Please reopen if you disagree. -- dfranke at gcc d

[Bug fortran/33197] Fortran 2008: math functions

2010-05-02 Thread dfranke at gcc dot gnu dot org
--- Comment #33 from dfranke at gcc dot gnu dot org 2010-05-02 08:47 --- TODO (carried on): - BESSEL_JN and BESSEL_YN: Transitional form is missing (c.f. PR36096, PR36158) - NORM2 is missing -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33197

[Bug fortran/24978] ICE in gfc_assign_data_value_range

2010-05-02 Thread dfranke at gcc dot gnu dot org
--- Comment #32 from dfranke at gcc dot gnu dot org 2010-05-02 09:23 --- (In reply to comment #31) > FAIL: gfortran.dg/spread_size_limit.f90 -O scan-tree-dump-times original > "_gfortran_spread" 1 > where the test should be updated/removed due to the change in si

[Bug fortran/35612] testsuite ISO_C_BIND code error

2010-05-02 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2010-05-02 14:00 --- The testcase is still in its original form, the last attempt to get this changed was never commented on: http://gcc.gnu.org/ml/gcc-patches/2009-01/msg00118.html Setting status to WAITING. To be closed as

[Bug fortran/35707] Search /usr/local/include and /usr/include for .mod files

2010-05-02 Thread dfranke at gcc dot gnu dot org
--- Comment #11 from dfranke at gcc dot gnu dot org 2010-05-02 14:03 --- Consensus seems to be: no, do not search the system include paths. Set status to WAITING. To be closed as INVALID(?) in three months from now if there is no further discussion. -- dfranke at gcc dot gnu dot

[Bug fortran/36534] Bogus: '__convert_s1_s4' at (1) is obsolescent in fortran 95

2010-05-02 Thread dfranke at gcc dot gnu dot org
--- Comment #11 from dfranke at gcc dot gnu dot org 2010-05-02 14:31 --- Assuming PR37173 is correct, isn't this example invalid anyway (as already noted by Tobias in #4)? Instead, it should probably be written as: CHARACTER (kind=4,len=*) MY_STRING4(1:3) PARAMETER ( MY_ST

[Bug fortran/38536] ICE with C_LOC in resolve.c due to not properly going through expr->ref

2010-05-02 Thread dfranke at gcc dot gnu dot org
--- Comment #10 from dfranke at gcc dot gnu dot org 2010-05-02 15:09 --- Can this be closed? Is there something left to do here? -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/36437] Simplify argument to [c_]sizeof

2010-05-02 Thread dfranke at gcc dot gnu dot org
--- Comment #5 from dfranke at gcc dot gnu dot org 2010-05-02 15:20 --- http://gcc.gnu.org/onlinedocs/gfortran/C_005fSIZEOF.html#C_005fSIZEOF has Class: Intrinsic function Sounds strange, "inquiry" seems to be more likely (haven't checked)?! See also: PR40568.

<    3   4   5   6   7   8   9   10   11   12   >