Summary: | [OOP] Wrong dummy argument not rejected | ||
---|---|---|---|
Product: | gcc | Reporter: | Salvatore Filippone <sfilippone> |
Component: | fortran | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | burnus, gcc-bugs, janus |
Priority: | P3 | Keywords: | accepts-invalid |
Version: | 4.6.0 | ||
Target Milestone: | 4.6.0 | ||
Host: | x86_64-unknown-linux-gnu | Target: | x86_64-unknown-linux-gnu |
Build: | x86_64-unknown-linux-gnu | Known to work: | |
Known to fail: | Last reconfirmed: | 2010-09-02 12:55:02 | |
Attachments: | test-case |
Description
Salvatore Filippone
2010-09-02 10:15:56 UTC
Created attachment 21653 [details]
test-case
Confirmed. This pr seems to be fixed by revision 166018: [macbook] f90/bug% gfc pr45494.f90 pr45494.f90:43.16: call src%mold(trg2) ! This is wrong 1 Error: Actual argument to 'b' at (1) must have the same declared type (In reply to comment #3) > This pr seems to be fixed by revision 166018: Looking at the test case and the description, I think that's fixed by the patch for PR 46161; cf. http://gcc.gnu.org/ml/fortran/2010-10/msg00259.html Thus, I close this PR as fixed. Thanks for Salvatore for the bug report. (In reply to comment #4) > Looking at the test case and the description, I think that's fixed by the patch > for PR 46161; cf. http://gcc.gnu.org/ml/fortran/2010-10/msg00259.html > > Thus, I close this PR as fixed. Thanks for Salvatore for the bug report. Yes. Closing. |