[Bug fortran/41139] [4.5 Regression] a procedure pointer call as actual argument

2009-08-22 Thread dominiq at lps dot ens dot fr
--- Comment #12 from dominiq at lps dot ens dot fr 2009-08-22 08:57 --- In order to avoid the error reported in comment #8, I have tested the following patches: (1) Index: gcc/fortran/trans-expr.c === --- ../_gcc_clean/gcc

[Bug fortran/41139] [4.5 Regression] a procedure pointer call as actual argument

2009-08-22 Thread janus at gcc dot gnu dot org
--- Comment #13 from janus at gcc dot gnu dot org 2009-08-22 09:19 --- (In reply to comment #12) > @@ -3512,8 +3513,7 @@ gfc_get_proc_ptr_comp (gfc_se *se, gfc_e >e2 = gfc_copy_expr (e); >e2->expr_type = EXPR_VARIABLE; >gfc_conv_expr (&comp_se, e2); > - comp_se.expr = build_

[Bug fortran/41139] [4.5 Regression] a procedure pointer call as actual argument

2009-08-22 Thread dominiq at lps dot ens dot fr
--- Comment #14 from dominiq at lps dot ens dot fr 2009-08-22 09:27 --- > Dominique, can you post your dump for comment #4 (especially the call to o%f)? Is this what you want? o.f = add; { real(kind=4) D.1533; static real(kind=4) C.1532 = 2.0e+0; static real(kind=4) C.1

[Bug debug/40660] [4.5 Regression] Wierd break points with 4.5, works with 4.4

2009-08-22 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2009-08-22 09:38 --- > Sorry I was out on vacation. I will take a look. Well, I only CCed you yesterday :-) Thanks for taking a look! I rechecked: It is indeed Rev. 149722 which caused the problem of this PR (as described in comment 2).

[Bug fortran/41139] [4.5 Regression] a procedure pointer call as actual argument

2009-08-22 Thread janus at gcc dot gnu dot org
--- Comment #15 from janus at gcc dot gnu dot org 2009-08-22 09:43 --- (In reply to comment #14) > Is this what you want? Jep. > D.1533 = f (&C.1531, &C.1532); In principle the 'f' here should be an 'o.f'. Maybe we can postpone this issue until the other stuff is fixed (will post

[Bug target/40786] Windows %I32 format confusion

2009-08-22 Thread ktietz at gcc dot gnu dot org
--- Comment #5 from ktietz at gcc dot gnu dot org 2009-08-22 10:07 --- Created an attachment (id=18412) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18412&action=view) Suggested patch This patch can solve this. There are two possible ways to solve this. First) Extend format_lengt

[Bug middle-end/40718] Invalid code produced with -foptimize-sibling-calls

2009-08-22 Thread slyfox at inbox dot ru
--- Comment #1 from slyfox at inbox dot ru 2009-08-22 12:09 --- I can confirm gcc-4.4.1 errors the same way. I think stdcall is offender: My sample is more complicated, but has the same features: stdcall+tailcall. Produces SIGSEGV for me https://bugs.gentoo.org/show_bug.cgi?id=282189

[Bug target/40718] Invalid code produced with -foptimize-sibling-calls

2009-08-22 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2009-08-22 13:38 --- Have a patch. -- ubizjak at gmail dot com changed: What|Removed |Added AssignedTo|unassigned at

[Bug target/40718] Invalid code produced with -foptimize-sibling-calls

2009-08-22 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2009-08-22 13:43 --- Created an attachment (id=18413) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18413&action=view) patch to fix the failure Sibcalls of any kind should be done through call-clobbered regs only. This patch fixes the

[Bug target/40718] Invalid code produced with -foptimize-sibling-calls

2009-08-22 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2009-08-22 13:51 --- Patched gcc: bar: pushl %ebp movl%esp, %ebp pushl %ebx subl$20, %esp movl8(%ebp), %ebx movl%ebx, (%esp) callfoo subl$4, %esp

[Bug fortran/37446] Diagnostic of edit descriptors, esp. EN

2009-08-22 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2009-08-22 15:28 --- With latest trunk, we get: $ gfc pr35754.f pr35754.f:2.21: write(*,'(EN)') 5.0 1 Error: Period required in format specifier at (1) pr3575

[Bug target/40786] Windows %I32 format confusion

2009-08-22 Thread joseph at codesourcery dot com
--- Comment #6 from joseph at codesourcery dot com 2009-08-22 16:43 --- Subject: Re: Windows %I32 format confusion On Sat, 22 Aug 2009, ktietz at gcc dot gnu dot org wrote: > This patch can solve this. There are two possible ways to solve this. > First) Extend format_length_info by an

[Bug target/40786] Windows %I32 format confusion

2009-08-22 Thread ktietz at gcc dot gnu dot org
--- Comment #7 from ktietz at gcc dot gnu dot org 2009-08-22 17:30 --- Created an attachment (id=18414) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18414&action=view) Patch using format_length_info member variable Ok, here is the version using format_length_info to marked the sc

[Bug target/40718] Invalid code produced with -foptimize-sibling-calls

2009-08-22 Thread slyfox at inbox dot ru
--- Comment #5 from slyfox at inbox dot ru 2009-08-22 18:38 --- (In reply to comment #3) > Created an attachment (id=18413) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18413&action=view) [edit] > patch to fix the failure > > Sibcalls of any kind should be done through call-clobb

[Bug bootstrap/25672] [4.3 regression] cross build's libgcc picks up CFLAGS

2009-08-22 Thread stepan at coresystems dot de
--- Comment #25 from stepan at coresystems dot de 2009-08-22 19:19 --- This still happens in 4.4.1 for me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672

[Bug fortran/35732] -fbounds-check: LHS/RHS size mismatch: Misleading error message

2009-08-22 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2009-08-22 22:07 --- Should not this PR be closed as FIXED? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35732

[Bug fortran/28039] Warn when ignoring extra characters in the format specification

2009-08-22 Thread bdavis at gcc dot gnu dot org
--- Comment #2 from bdavis at gcc dot gnu dot org 2009-08-22 23:21 --- http://gcc.gnu.org/ml/fortran/2009-08/msg00324.html -- bdavis at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/28093] Wrong overload resolution with templates and namespaces

2009-08-22 Thread bdavis at gcc dot gnu dot org
--- Comment #2 from bdavis at gcc dot gnu dot org 2009-08-23 02:20 --- Subject: Bug 28093 Author: bdavis Date: Sun Aug 23 02:19:59 2009 New Revision: 151021 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151021 Log: 2009-08-22 Bud Davis PR fortran/28093 *

[Bug fortran/28039] Warn when ignoring extra characters in the format specification

2009-08-22 Thread bdavis at gcc dot gnu dot org
--- Comment #3 from bdavis at gcc dot gnu dot org 2009-08-23 02:20 --- Subject: Bug 28039 Author: bdavis Date: Sun Aug 23 02:19:59 2009 New Revision: 151021 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151021 Log: 2009-08-22 Bud Davis PR fortran/28093 *

[Bug fortran/28039] Warn when ignoring extra characters in the format specification

2009-08-22 Thread bdavis at gcc dot gnu dot org
--- Comment #4 from bdavis at gcc dot gnu dot org 2009-08-23 02:27 --- http://gcc.gnu.org/ml/fortran/2009-08/msg00324.html -- bdavis at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/41081] redundant ZERO_EXTENDs

2009-08-22 Thread amodra at gcc dot gnu dot org
--- Comment #6 from amodra at gcc dot gnu dot org 2009-08-23 02:57 --- Subject: Bug 41081 Author: amodra Date: Sun Aug 23 02:57:26 2009 New Revision: 151022 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151022 Log: PR target/41081 * fwprop.c (try_fwprop_subst):

[Bug fortran/32715] improve diagnostics of attempted allocation of non-array

2009-08-22 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2009-08-23 03:39 --- Fixed by revision 151023. No plans for a back port. -- kargl at gcc dot gnu dot org changed: What|Removed |Added -

[Bug target/41081] redundant ZERO_EXTENDs

2009-08-22 Thread amodra at bigpond dot net dot au
--- Comment #7 from amodra at bigpond dot net dot au 2009-08-23 03:49 --- . -- amodra at bigpond dot net dot au changed: What|Removed |Added Status|ASSIGNED

[Bug target/41081] redundant ZERO_EXTENDs

2009-08-22 Thread amodra at gcc dot gnu dot org
--- Comment #8 from amodra at gcc dot gnu dot org 2009-08-23 03:53 --- Subject: Bug 41081 Author: amodra Date: Sun Aug 23 03:53:02 2009 New Revision: 151025 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151025 Log: PR target/41081 * config/rs6000/rs6000.md (rotl

[Bug fortran/35754] -std=f95: Reject "1P2E12.4" w/o a comma after the "P"

2009-08-22 Thread jvdelisle at gcc dot gnu dot org
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2009-08-23 06:25 --- F95 Standard: 10.1.1 "Constraint: The comma used to separate format-items in a format-item-list may be omitted (1) Between a P edit descriptor and an immediately following F, E, EN, ES, D, or G edit descriptor