[Bug libfortran/40187] c_f_pointer with stride in SHAPE

2009-05-18 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-05-18 21:20 --- Can you attach a working example? I failed to apply your patch and figure out which diffed file is what. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40187

[Bug fortran/40196] New: F2003: Type parameter inquiry: str%len, a%kind

2009-05-19 Thread burnus at gcc dot gnu dot org
Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40196

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

2009-05-19 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-05-19 11:36 --- Another related item are complex parts; contrary to the type parameter inquiry above, those are lvalues and can be assigned to. (Again a F2003 feature, quote is however from F2008.) "R615 complex-part-desig

[Bug fortran/39178] Generate main() rather than using a main in libgfortran/fmain.c

2009-05-19 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-05-20 06:01 --- Patch: http://gcc.gnu.org/ml/fortran/2009-05/msg00310.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39178

[Bug fortran/40206] [gfortran] Incorrect warning with -Wuninitialized

2009-05-20 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-05-20 12:43 --- The dump is the following. gfortran_select_string returns only 0, 1, or 2, but the middle end does not know this. Manuel, do you have an idea how to solve this? case_num.1 = _gfortran_select_string ((void

[Bug fortran/40206] [gfortran] Incorrect warning with -Wuninitialized

2009-05-20 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2009-05-20 13:40 --- switch (case_num.1) { case 1 ... 1:; case 2 ... 2:; __result_char2type = 1; goto L.1; case 0 ... 0:; __result_char2type = -1234; goto L.1

[Bug fortran/40246] New: ICE on invalid SOURCE= using NULLIFY

2009-05-25 Thread burnus at gcc dot gnu dot org
: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40246

[Bug fortran/34053] -frecursive: No need to use the stack for local variables of the main program

2009-05-25 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-05-25 23:02 --- The following should be enough. gfc_can_put_var_on_stack is also called elsewhere but those calls shouldn't matter so much. Index: trans-d

[Bug fortran/40246] ICE on invalid SOURCE= using NULLIFY

2009-05-26 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-05-26 08:32 --- The following patch to gfc_match_nullify fixes it; however, I think one should additionally add gfc_free_expr (new_st.expr1); new_st.expr1 = NULL; gfc_free_expr (new_st.expr2); new_st.expr2 = NULL; to

[Bug fortran/40246] ICE on invalid SOURCE= using NULLIFY

2009-05-26 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-05-26 14:45 --- > > The following patch to gfc_match_nullify fixes it; however, I think one > > should additionally add > > gfc_free_expr (new_st.expr1); > > gfc_free_expr (new_st.expr2); >

[Bug fortran/40246] ICE on invalid SOURCE= using NULLIFY

2009-05-26 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2009-05-26 19:23 --- Subject: Bug 40246 Author: burnus Date: Tue May 26 19:23:45 2009 New Revision: 147879 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147879 Log: 2009-05-26 Tobias Burnus PR fortr

[Bug fortran/34053] -frecursive: No need to use the stack for local variables of the main program

2009-05-26 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-05-26 19:29 --- s/main_program/is_main_program/ CLOSE as WONTFIX. As Andrew pointed out, there are a couple of issues using static memory: 1. The middle end does not optimize static variables that well as it does not know about

[Bug fortran/40246] ICE on invalid SOURCE= using NULLIFY

2009-05-26 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2009-05-26 19:30 --- Fixed on the trunk (4.5). Thanks Xavier for reporting it! -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/39178] Generate main() rather than using a main in libgfortran/fmain.c

2009-05-26 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |burnus at gcc dot gnu dot |dot org

[Bug fortran/40264] New: Recursive constraint for specific calling same-named generic procedure

2009-05-26 Thread burnus at gcc dot gnu dot org
ity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40264

[Bug fortran/39178] Generate main() rather than using a main in libgfortran/fmain.c

2009-05-26 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-05-26 21:20 --- Subject: Bug 39178 Author: burnus Date: Tue May 26 21:19:57 2009 New Revision: 147883 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147883 Log: fortran/ 2009-05-26 Tobias Burnus PR fortr

[Bug fortran/40267] New: Eventually get rid of libgfortranbegin.a

2009-05-27 Thread burnus at gcc dot gnu dot org
04 -- Summary: Eventually get rid of libgfortranbegin.a Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy:

[Bug fortran/39178] Generate main() rather than using a main in libgfortran/fmain.c

2009-05-27 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2009-05-27 07:29 --- FIXED on the trunk (4.5). Regarding libgfortranbegin.a, see PR 40267. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40019] LEADZ and TRAILZ give wrong results

2009-05-27 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-05-27 07:44 --- I don't think your patch fixes the following, print *, leadz(-1_1), leadz(-1_2), leadz(-1_4), leadz(-1_8), leadz(-1_16) which yields 7 15 31 63 127 --

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

2009-05-27 Thread burnus at gcc dot gnu dot org
--- Comment #21 from burnus at gcc dot gnu dot org 2009-05-27 13:02 --- Regarding -fwhole-file issues, see also PR 40176 comment 5 (endless loop for invalid program with -fwhole-file). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40011

[Bug fortran/40270] [4.5 Regression] Revision 147883 caused many Fortran regressions

2009-05-27 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-05-27 14:26 --- Thanks for reporting it. I don't quite understand why I did not see it. Anyhow, for PROGRAM TEST END PROGRAM TEST one gets the dump: test () { (void) 0; } main (integer(kind=4) argc, character(k

[Bug fortran/40270] [4.5 Regression] Revision 147883 caused many Fortran regressions

2009-05-27 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2009-05-27 15:06 --- > Some tests fail such as: > /opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/actual_procedure_1.f90 > Undefined symbols: > "_proc_ext_", referenced from: > _proc_ext_$non_lazy_ptr

[Bug fortran/40270] [4.5 Regression] Revision 147883 caused many Fortran regressions

2009-05-27 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2009-05-27 16:43 --- (In reply to comment #6) > The patch in comment #5 fixes most of the issues, not all. Remaining [...] > parameter_unused and blockdata_3 fail because it complains that argc and argv > are unused, even t

[Bug fortran/39654] ABI bug: FTELL intrinsic function not capable of large files

2009-05-27 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-05-27 17:29 --- See also: http://gcc.gnu.org/wiki/LibgfortranAbiCleanup -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39654

[Bug fortran/40276] New: Matching GENERIC procedure: Wrong INTENT should give directly an error message

2009-05-27 Thread burnus at gcc dot gnu dot org
rsion: 4.5.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40276

[Bug fortran/40270] [4.5 Regression] Revision 147883 caused many Fortran regressions

2009-05-27 Thread burnus at gcc dot gnu dot org
--- Comment #9 from burnus at gcc dot gnu dot org 2009-05-27 19:49 --- Subject: Bug 40270 Author: burnus Date: Wed May 27 19:49:22 2009 New Revision: 147926 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147926 Log: 2009-05-27 Tobias Burnus PR fortr

[Bug fortran/40270] [4.5 Regression] Revision 147883 caused many Fortran regressions

2009-05-27 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2009-05-27 20:12 --- > The patch below fixes the elemental_dependency_1 and vector_subscript_4 > failures: Janne committed it as Rev. 147919. Together with the fix of comment 9 and with the ABI revert-patch http://gcc.gnu.

[Bug fortran/40276] Matching GENERIC procedure: Wrong INTENT should give directly an error message

2009-05-27 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-05-27 21:40 --- Created an attachment (id=17922) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17922&action=view) Very initial draft patch Some patch; now it prints: call gen(sub) 1 Error: Type/rank m

[Bug middle-end/40271] [4.5 Regression] SPEC CPU 2000 failed to build

2009-05-27 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-05-27 21:48 --- Now that PR 40270 is fixed, can you re-check? If it is still broken, I need more details. (I don't have access to SPEC CPU.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40271

[Bug libfortran/40267] Eventually get rid of libgfortranbegin.a

2009-05-28 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-05-28 21:50 --- Before removal, one may deprecate it as explained at: http://gcc.gnu.org/ml/fortran/2009-05/msg00400.html http://gcc.gnu.org/ml/fortran/2009-05/msg00401.html (I needed to remove the , "rd" to get i

[Bug fortran/24526] variables from modules not visible in gdb

2009-05-29 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2009-05-29 07:43 --- Is this a duplicate of PR 40040? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24526

[Bug fortran/29635] debug info of modules

2009-05-29 Thread burnus at gcc dot gnu dot org
--- Comment #12 from burnus at gcc dot gnu dot org 2009-05-29 07:44 --- Jakub, I think this PR is fixed and can be closed. The remaining issue (ld or gcc bug) is tracked in PR 40040. Can we close it? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29635

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

2009-05-29 Thread burnus at gcc dot gnu dot org
--- Comment #26 from burnus at gcc dot gnu dot org 2009-05-29 18:42 --- > Even identical types are not identical, unless they are sequence type. ... or BIND(C) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40011

[Bug fortran/40019] LEADZ and TRAILZ give wrong results

2009-05-29 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-05-29 21:28 --- Subject: Bug 40019 Author: burnus Date: Fri May 29 21:27:54 2009 New Revision: 147987 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147987 Log: 2009-05-29 Francois-Xavier Coudert PR

[Bug fortran/40019] LEADZ and TRAILZ give wrong results

2009-05-29 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-05-29 21:33 --- Checked into the trunk (4.5). Keep open for potential back porting to 4.4. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40019

[Bug fortran/40309] gfortran does not support static c/d-tors.

2009-05-30 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2009-05-30 21:14 --- Latest patch - fixing the main_identifier_node (__main() call) problem as in comment 4 plus fixes the "PROGRAM main" problem. http://gcc.gnu.org/ml/fortran/2009-05/msg00458.html -- burnus at gcc dot g

[Bug fortran/40309] gfortran does not support static c/d-tors.

2009-06-01 Thread burnus at gcc dot gnu dot org
--- Comment #9 from burnus at gcc dot gnu dot org 2009-06-01 07:00 --- Subject: Bug 40309 Author: burnus Date: Mon Jun 1 07:00:35 2009 New Revision: 148035 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148035 Log: 2009-06-01 Tobias Burnus PR fortr

[Bug fortran/40309] gfortran does not support static c/d-tors.

2009-06-01 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2009-06-01 07:34 --- FIXED on the trunk (4.5). -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40318] Complex division by zero in gfortran returns wrong results

2009-06-01 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-06-01 11:09 --- Regarding the run-time evaluation, note that Fortran sets (internally) the -fcx-fortran-rules flag, which modifies the complex evaluation. -- burnus at gcc dot gnu dot org changed: What|Removed

[Bug libfortran/40319] write (*,'(A1)') 65 should generate an error/warning

2009-06-01 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-06-01 17:41 --- If we can have a warning/error at compile time it would be great. However, I'm inclined to allow it for -std=gnu at run time. (I'm personally against too much standard diagnostics at run time. If suc

[Bug fortran/40318] Complex division by zero in gfortran returns wrong results

2009-06-01 Thread burnus at gcc dot gnu dot org
--- Comment #12 from burnus at gcc dot gnu dot org 2009-06-01 20:33 --- > Oh yuck. I just checked n1124.pdf In Annex G.5.1, it explicitly > defines this behavior: Note: Annex G is "only" informative and not normative; still it makes probably sense to follow the inform

[Bug fortran/39893] [4.4] gfortran ICE on invalid program

2009-06-03 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2009-06-03 18:58 --- (In reply to comment #7) > Fixed on trunk. > I'll backport to 4.4. branch in a week. * ping * -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39893

[Bug fortran/40019] [4.4 only] LEADZ and TRAILZ give wrong results

2009-06-03 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2009-06-03 19:39 --- Subject: Bug 40019 Author: burnus Date: Wed Jun 3 19:39:09 2009 New Revision: 148143 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148143 Log: 2009-06-03 Francois-Xavier Coudert PR

[Bug fortran/40019] LEADZ and TRAILZ give wrong results

2009-06-03 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2009-06-03 19:40 --- Now also FIXED on the 4.4 branch. -> CLOSE -- burnus at gcc dot gnu dot org changed: What|Removed |Ad

[Bug libfortran/40330] [4.4 Regression] incorrect IO

2009-06-03 Thread burnus at gcc dot gnu dot org
--- Comment #12 from burnus at gcc dot gnu dot org 2009-06-04 05:36 --- > Thanks, don't wait too long with 4.4 as this should make it in 4.4.1 which > could be released this month, and some further testing on the branch would be > good: Planned for June 21, see (bett

[Bug libfortran/40334] [4.4, 4.5 Regression] changed BACKSPACE behaviour at end of file.

2009-06-03 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-06-04 06:41 --- With trunk 2009-04-05-r145558 I get HELLO correct while with trunk 2009-04-06-r145580 the result is HELLO error2: not at eof It is not surprising that the following patch was checked in between those revisions

[Bug libfortran/25561] Eventually get rid of the Alloc Stream Facility

2009-06-03 Thread burnus at gcc dot gnu dot org
--- Comment #16 from burnus at gcc dot gnu dot org 2009-06-04 06:43 --- Can this PR now be closed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25561

[Bug fortran/38913] Fortran does not set TYPE_CANONICAL properly

2009-06-04 Thread burnus at gcc dot gnu dot org
--- Comment #9 from burnus at gcc dot gnu dot org 2009-06-04 11:47 --- Cf. also thread at http://gcc.gnu.org/ml/fortran/2009-06/msg00057.html (Maybe if -fwhole-file is the permanent default and this problem is fixed, the hack at http://gcc.gnu.org/ml/gcc-patches/2009-01/msg00937.html

[Bug fortran/38913] Fortran does not set TYPE_CANONICAL properly

2009-06-04 Thread burnus at gcc dot gnu dot org
--- Comment #11 from burnus at gcc dot gnu dot org 2009-06-04 12:51 --- (In reply to comment #10) > That hack is already gone ... ;) The truck hack yes, the question is whether one can also do something about the following? Or is this a wider problem? /* ??? Array types are

[Bug libfortran/40344] O32 libgfortran.so fails to link on IRIX 6.5

2009-06-04 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-06-04 20:48 --- > ld: FATAL 2 : Internal: at ../../ld/multigot.c lgot_local_got_offset() > seg_ndx exceeds per_seg_lgot_table Sounds like a linker bug. What was actually the solution for http://gcc.gnu.

[Bug fortran/37203] Check ORDER= of RESHAPE

2009-06-04 Thread burnus at gcc dot gnu dot org
--- Comment #9 from burnus at gcc dot gnu dot org 2009-06-04 21:52 --- Subject: Bug 37203 Author: burnus Date: Thu Jun 4 21:52:32 2009 New Revision: 148190 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148190 Log: gcc/fortran/ 2009-06-04 Daniel Franke PR

[Bug fortran/37203] Check ORDER= of RESHAPE

2009-06-04 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2009-06-04 21:59 --- Merged patch from the fortran-dev branch to the trunk (4.5). Close bug as FIXED. Thanks for the patches, Thomas and Daniel! -- burnus at gcc dot gnu dot org changed: What|Removed

[Bug fortran/32890] Compile-time detect of LHS/RHS missmatch for PACK

2009-06-06 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2009-06-06 18:51 --- Subject: Bug 32890 Author: burnus Date: Sat Jun 6 18:51:29 2009 New Revision: 148237 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148237 Log: fortran/ 2009-06-06 Daniel Franke PR fortr

[Bug fortran/37203] Check ORDER= of RESHAPE

2009-06-06 Thread burnus at gcc dot gnu dot org
--- Comment #11 from burnus at gcc dot gnu dot org 2009-06-06 21:10 --- Subject: Bug 37203 Author: burnus Date: Sat Jun 6 21:09:57 2009 New Revision: 148238 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148238 Log: 2009-06-06 Daniel Franke PR fortr

[Bug fortran/32890] Compile-time detect of LHS/RHS missmatch for PACK

2009-06-06 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2009-06-06 21:17 --- FIXED on the trunk (4.5). Close. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

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

2009-06-07 Thread burnus at gcc dot gnu dot org
--- Comment #16 from burnus at gcc dot gnu dot org 2009-06-07 11:53 --- Subject: Bug 25104 Author: burnus Date: Sun Jun 7 11:53:21 2009 New Revision: 148243 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148243 Log: 2009-06-07 Daniel Franke PR fortr

[Bug fortran/29962] Initialization expressions

2009-06-07 Thread burnus at gcc dot gnu dot org
--- Comment #17 from burnus at gcc dot gnu dot org 2009-06-07 11:53 --- Subject: Bug 29962 Author: burnus Date: Sun Jun 7 11:53:21 2009 New Revision: 148243 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148243 Log: 2009-06-07 Daniel Franke PR fortr

[Bug fortran/36874] Add shape checks to cshift/eoshift

2009-06-07 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2009-06-07 13:46 --- Subject: Bug 36874 Author: burnus Date: Sun Jun 7 13:45:47 2009 New Revision: 148247 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148247 Log: 2009-06-07 Daniel Franke * check.c (dim_ra

[Bug fortran/36874] Add shape checks to cshift/eoshift

2009-06-07 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2009-06-07 13:59 --- Compile time check is now there (4.5 trunk). Missing is a run-time check. Example: real, dimension(1,0) :: a, b, c integer :: sp(3), i a = 4.0 sp = 1 i = 1 b = eoshift (a,sp(1:i)) ! Invalid end NAG

[Bug libfortran/40187] c_f_pointer with stride in SHAPE

2009-06-07 Thread burnus at gcc dot gnu dot org
--- Comment #9 from burnus at gcc dot gnu dot org 2009-06-07 14:37 --- > Does this need a 4.4 backport? I'm inclined to think not. Good question. As it is no regression, backporting is not required; it is a wrong-code bug, but strides are rather special. Thus for me eith

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

2009-06-07 Thread burnus at gcc dot gnu dot org
--- Comment #17 from burnus at gcc dot gnu dot org 2009-06-07 16:35 --- Subject: Bug 25104 Author: burnus Date: Sun Jun 7 16:35:06 2009 New Revision: 148249 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148249 Log: 2009-06-07 Daniel Franke PR fortr

[Bug fortran/29962] Initialization expressions

2009-06-07 Thread burnus at gcc dot gnu dot org
--- Comment #18 from burnus at gcc dot gnu dot org 2009-06-07 16:35 --- Subject: Bug 29962 Author: burnus Date: Sun Jun 7 16:35:06 2009 New Revision: 148249 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148249 Log: 2009-06-07 Daniel Franke PR fortr

[Bug fortran/29962] Initialization expressions

2009-06-07 Thread burnus at gcc dot gnu dot org
--- Comment #19 from burnus at gcc dot gnu dot org 2009-06-07 17:33 --- Subject: Bug 29962 Author: burnus Date: Sun Jun 7 17:33:34 2009 New Revision: 148250 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148250 Log: 2009-06-07 Daniel Franke PR fortr

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

2009-06-07 Thread burnus at gcc dot gnu dot org
--- Comment #18 from burnus at gcc dot gnu dot org 2009-06-07 17:33 --- Subject: Bug 25104 Author: burnus Date: Sun Jun 7 17:33:34 2009 New Revision: 148250 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148250 Log: 2009-06-07 Daniel Franke PR fortr

[Bug fortran/40377] New: gfortran documentation: Add note to C prog. part + update F200x status

2009-06-08 Thread burnus at gcc dot gnu dot org
iority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40377

[Bug fortran/35810] [TR 15581 / F2003] Automatic reallocation on assignment to allocatable variables

2009-06-08 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-06-08 09:11 --- See also: http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/fc7bdedfa4afc785 and note that the realloc shall not always happen: If has TARGET attribute and the size is the same, no pointer to

[Bug fortran/40377] gfortran documentation: Add note to C prog. part + update F200x status

2009-06-08 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-06-08 19:02 --- As this is my texi cleanup bug: Dump the following in order to not forget it. Index: intrinsic.texi === --- intrinsic.texi (Revision 148274

[Bug fortran/40383] [4.5 Regression] incorrect bounds checking with optional character arguments

2009-06-09 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug fortran/40383] [4.5 Regression] incorrect bounds checking with optional character arguments

2009-06-09 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-06-09 10:29 --- I think the patch for PR fortran/37746 is OK, but something else goes wrong: f1 (character(kind=1)[1:80] * a, character(kind=1)[1:80] * b, character(kind=1)[1:80] * c, character(kind=1)[1:80] * d, integer(kind=4) _a

[Bug fortran/40383] [4.5 Regression] incorrect bounds checking with optional character arguments

2009-06-09 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-06-09 12:09 --- The problem is that fsym->ts.cl of all of "a", "b", "c" and "d" to the same struct: (gdb) p sym->formal->sym->name $17 = 0x2ab31ec8 "a" (gdb) p s

[Bug middle-end/40386] wrong code generation for SPEC CPU2000's 189.lucas with -O1 -fno-ira-share-spill-slots

2009-06-09 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-06-09 12:24 --- Richard, can you try to reproduce this? I don't have SPEC and anyhow it sounds like a middle-end problem. -- burnus at gcc dot gnu dot org changed: What|Removed |

[Bug libfortran/40330] [4.4 Regression] incorrect IO

2009-06-09 Thread burnus at gcc dot gnu dot org
--- Comment #18 from burnus at gcc dot gnu dot org 2009-06-10 06:45 --- > I was able to do a regression hunt. Going to r145209 just before the big I/O > patch eliminates the error. I then moved forward to r145636 and confirmed the > breakage. Is 4.5 also affected? -

[Bug fortran/40383] [4.5 Regression] incorrect bounds checking with optional character arguments

2009-06-10 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-06-10 12:02 --- Patch -- I believe it does the right thing; especially, it preserves backend_decl. If one copied the type earlier, the backend_decl would be different and the backend does not like it, when the same type has

[Bug fortran/40383] [4.5 Regression] incorrect bounds checking with optional character arguments

2009-06-10 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2009-06-10 12:05 --- Forgot to mention: I will not be able to regtest/submit the patch before Monday evening. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40383

[Bug fortran/40443] Elemental procedure in genericl interface incorrectly selected in preference to specific procedure

2009-06-15 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-06-15 07:46 --- Paul, I CC you as you are our generic-resolution expert. * * * gfortran 4.1 to 4.5, NAG f95 5.1, g95, ifort 11, openf95, Sun Studio 12 all print the following: E S, S E E, E ! << you expect an "

[Bug fortran/40440] [4.4/4.5 Regression] Garbage or segmentation fault in allocatable array derived type structures

2009-06-15 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-06-15 08:52 --- (In reply to comment #2) > COmplete code for the test case including the module iso_varying_string Works with: gfortran 4.3.3, ifort 11, sunf95, NAG f95 5.1 (w/o flush statements) Fails (abort) with gfortran 4.

[Bug fortran/40443] Elemental procedure in genericl interface incorrectly selected in preference to specific procedure

2009-06-15 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-06-15 11:24 --- > > gfortran 4.1 to 4.5, NAG f95 5.1, g95, ifort 11, openf95, Sun Studio 12 all > > print the following: Correction, ifort 9.1 to 11.1 all print "S, S" - sorry for missing it. But the other

[Bug fortran/40440] [4.4/4.5 Regression] Garbage or segmentation fault in allocatable array derived type structures

2009-06-15 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-06-15 12:16 --- Note: syntax_get_rule_ptr is defined as: function syntax_get_rule_ptr (syntax, key) result (rule) type(syntax_rule_t), pointer :: rule type(syntax_t), intent(in), target :: syntax type(string_t

[Bug fortran/40440] Automatic deallocation component of DT function return value

2009-06-15 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2009-06-15 13:09 --- Juergen: Thanks for the report, but it is not a regression - it might not crash with 4.3 (or your 4.4) but I think that's just by chance. Paul, I think also this bug touches code for which you have the expe

[Bug fortran/40451] New: procedure-pointer assignment rejected

2009-06-15 Thread burnus at gcc dot gnu dot org
Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40451

[Bug fortran/40451] procedure-pointer assignment rejected

2009-06-15 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-06-15 21:10 --- Post script: With your current patch, the error message is: Error: Interface mismatch in procedure pointer assignment at (1): 'sin' has the wrong number of arguments -- http://gcc.gnu.org/bugzilla/sh

[Bug fortran/40452] New: -fbounds-check: False positive due to ignoring storage association

2009-06-15 Thread burnus at gcc dot gnu dot org
Version: 4.5.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40452

[Bug fortran/40276] Matching GENERIC procedure: Wrong INTENT should give directly an error message

2009-06-15 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-06-15 22:40 --- Also for OPTIONAL a suitable error message would be useful. For finding a specific interface, the OPTIONAL attribute could be ignored similarly to INTENT; however, one needs to be careful as for ambiguity checks and

[Bug fortran/40453] New: Enhanced argument checking:

2009-06-15 Thread burnus at gcc dot gnu dot org
ds: diagnostic Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40453

[Bug fortran/40383] [4.5 Regression] incorrect bounds checking with optional character arguments

2009-06-15 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2009-06-16 06:57 --- Subject: Bug 40383 Author: burnus Date: Tue Jun 16 06:57:09 2009 New Revision: 148517 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148517 Log: 2009-06-16 Tobias Burnus PR fortr

[Bug fortran/40383] [4.5 Regression] incorrect bounds checking with optional character arguments

2009-06-15 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2009-06-16 06:57 --- FIXED on the trunk (4.5). Patch was: http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01147.html See also follow-up PR 40452. -- burnus at gcc dot gnu dot org changed: What|Removed

[Bug fortran/40452] -fbounds-check: False positive due to ignoring storage association

2009-06-16 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-06-16 08:19 --- (In reply to comment #0) > The challenge is diagnose this properly. The problem is that the array size is > _not_ passed. One solution would be to enable the check only with -std=f95. And for scalar dummy arg

[Bug fortran/34112] Add $!DEC ATTRIBUTE support for 32bit Windows' STDCALL

2009-06-16 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2009-06-16 14:22 --- Add c.l.f link, mentioned in comment 9 http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/7bbe1ee44c505be8/ Regarding TARGET_MANGLE_DECL_ASSEMBLER_NAME (comment 2): Currently, the decorating

[Bug fortran/34112] Add $!DEC ATTRIBUTE support for 32bit Windows' STDCALL

2009-06-16 Thread burnus at gcc dot gnu dot org
--- Comment #11 from burnus at gcc dot gnu dot org 2009-06-16 16:35 --- Note information I got from Kai. (He was not 100% sure for some of the items and I probably misunderstood also parts thus take with a grain of salt.) With the stdcall attribute on Win32 the @ suffix is

[Bug fortran/40461] Interface mismatch in dummy procedure

2009-06-16 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-06-16 17:36 --- I think the error is a valid error. For comparison, NAG f95 5.1 shows the following error message: Error: line 19: Dummy proc DERIV arg 1 has different INTENT from actual proc LOGISTIC4 arg Error: line 19

[Bug fortran/40452] -fbounds-check: False positive due to ignoring storage association

2009-06-16 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-06-16 21:32 --- Wrong quote - and wrong statement. It is not a F2003 change, but already in F95. Fortran 95 has (12.4.1.4 Sequence association) "If the actual argument is of type default character and is an array expre

[Bug fortran/40461] Interface mismatch in dummy procedure

2009-06-18 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-06-18 08:49 --- I close this as INVALID. If you have suggestions how to improve the diagnostics or if you disagree, feel free to reopen the bug. -- burnus at gcc dot gnu dot org changed: What|Removed

[Bug fortran/40452] -fbounds-check: False positive due to ignoring storage association

2009-06-18 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-06-18 09:00 --- Patch: http://gcc.gnu.org/ml/fortran/2009-06/msg00188.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40452

[Bug fortran/40440] Automatic deallocation component of DT function return value

2009-06-18 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2009-06-18 14:45 --- > I am not sure that your testcase should be allowed at all! I am not sure that > I understand what it means. I think it is valid and not different from: integer, pointer :: ptr allocate(ptr) ptr = 5

[Bug fortran/40440] Automatic deallocation component of DT function return value

2009-06-18 Thread burnus at gcc dot gnu dot org
--- Comment #9 from burnus at gcc dot gnu dot org 2009-06-18 15:17 --- (In reply to comment #7) > I'm still convinced that this is a problem of the compiler, since it works > with the > NAG and Intel compilers. Well, compilers can have all bugs - and not all invalid p

[Bug bootstrap/40061] [4.3 Regression] Bootstrap failure in dwarf2out.c, function add_subscript_info: 'dimension_number' undefined

2009-06-18 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2009-06-18 20:06 --- Subject: Bug 40061 Author: burnus Date: Thu Jun 18 20:06:04 2009 New Revision: 148668 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148668 Log: 2009-06-18 Tobias Burnus Mikael Pe

[Bug bootstrap/40061] [4.3 Regression] Bootstrap failure in dwarf2out.c, function add_subscript_info: 'dimension_number' undefined

2009-06-18 Thread burnus at gcc dot gnu dot org
--- Comment #11 from burnus at gcc dot gnu dot org 2009-06-18 20:06 --- Hopefully now really FIXED. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40440] Automatic deallocation component of DT function return value

2009-06-18 Thread burnus at gcc dot gnu dot org
--- Comment #11 from burnus at gcc dot gnu dot org 2009-06-18 21:15 --- (In reply to comment #10) > Yes, I understood after a bit of dyslexia about it :-( > > Since the function result is a pointer, it is an ultimate component and, I > think, the deallocation of the

[Bug fortran/40450] [F03] procedure pointer as actual argument

2009-06-19 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-06-19 07:31 --- (In reply to comment #1) > Here is a preliminary patch which fixes the test case: > if (fsym && e->expr_type != EXPR_NULL > &am

[Bug fortran/40427] [F03] Procedure Pointer Components with OPTIONAL arguments

2009-06-19 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-06-19 07:32 --- Patch by Janus: http://gcc.gnu.org/ml/fortran/2009-06/msg00177.html (I try to get it reviewed soon.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40427

<    1   2   3   4   5   6   7   8   9   10   >