public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/45494] [OOP] Wrong dummy argument not rejected [not found] <bug-45494-4@http.gcc.gnu.org/bugzilla/> @ 2010-10-28 9:36 ` dominiq at lps dot ens.fr 2010-10-28 12:12 ` burnus at gcc dot gnu.org 2010-10-28 15:26 ` janus at gcc dot gnu.org 2 siblings, 0 replies; 5+ messages in thread From: dominiq at lps dot ens.fr @ 2010-10-28 9:36 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45494 --- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-10-28 09:36:02 UTC --- 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/45494] [OOP] Wrong dummy argument not rejected [not found] <bug-45494-4@http.gcc.gnu.org/bugzilla/> 2010-10-28 9:36 ` [Bug fortran/45494] [OOP] Wrong dummy argument not rejected dominiq at lps dot ens.fr @ 2010-10-28 12:12 ` burnus at gcc dot gnu.org 2010-10-28 15:26 ` janus at gcc dot gnu.org 2 siblings, 0 replies; 5+ messages in thread From: burnus at gcc dot gnu.org @ 2010-10-28 12:12 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45494 Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-10-28 12:11:35 UTC --- (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. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/45494] [OOP] Wrong dummy argument not rejected [not found] <bug-45494-4@http.gcc.gnu.org/bugzilla/> 2010-10-28 9:36 ` [Bug fortran/45494] [OOP] Wrong dummy argument not rejected dominiq at lps dot ens.fr 2010-10-28 12:12 ` burnus at gcc dot gnu.org @ 2010-10-28 15:26 ` janus at gcc dot gnu.org 2 siblings, 0 replies; 5+ messages in thread From: janus at gcc dot gnu.org @ 2010-10-28 15:26 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45494 janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from janus at gcc dot gnu.org 2010-10-28 15:26:25 UTC --- (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. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/45494] New: [OOP] Wrong dummy argument not rejected @ 2010-09-02 10:16 sfilippone at uniroma2 dot it 2010-09-02 10:16 ` [Bug fortran/45494] " sfilippone at uniroma2 dot it 2010-09-02 12:55 ` janus at gcc dot gnu dot org 0 siblings, 2 replies; 5+ messages in thread From: sfilippone at uniroma2 dot it @ 2010-09-02 10:16 UTC (permalink / raw) To: gcc-bugs Hello, The attached code is rejected by XLF 13.1 and NAG, but is accepted by gfortran. The problem is that the second instance of the call to the MOLD method passes an object that is not type compatible. ==========================gfortran===================== [sfilippo@localhost bug24]$ gfortran -v Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/usr/local/gnu46/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc/configure --prefix=/usr/local/gnu46 --enable-languages=c,c++,fortran : (reconfigured) ../gcc/configure --prefix=/usr/local/gnu46 --enable-languages=c,c++,fortran Thread model: posix gcc version 4.6.0 20100902 (experimental) (GCC) [sfilippo@localhost bug24]$ gfortran -c bug24.f03 [sfilippo@localhost bug24]$ ==================== xlf =================================== bash-3.2$ which xlf /opt/IBM/compilers/xlf13.1/usr/bin/xlf bash-3.2$ xlf2003 -c bug24.f03 ** foo_mod === End of Compilation 1 === ** foo_2_mod === End of Compilation 2 === ** foo_3_mod === End of Compilation 3 === "bug24.f03", line 43.17: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface. ** bar === End of Compilation 4 === 1501-511 Compilation failed for file bug24.f03. -- Summary: [OOP] Wrong dummy argument not rejected Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sfilippone at uniroma2 dot it GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45494 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/45494] [OOP] Wrong dummy argument not rejected 2010-09-02 10:16 [Bug fortran/45494] New: " sfilippone at uniroma2 dot it @ 2010-09-02 10:16 ` sfilippone at uniroma2 dot it 2010-09-02 12:55 ` janus at gcc dot gnu dot org 1 sibling, 0 replies; 5+ messages in thread From: sfilippone at uniroma2 dot it @ 2010-09-02 10:16 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from sfilippone at uniroma2 dot it 2010-09-02 10:16 ------- Created an attachment (id=21653) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21653&action=view) test-case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45494 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/45494] [OOP] Wrong dummy argument not rejected 2010-09-02 10:16 [Bug fortran/45494] New: " sfilippone at uniroma2 dot it 2010-09-02 10:16 ` [Bug fortran/45494] " sfilippone at uniroma2 dot it @ 2010-09-02 12:55 ` janus at gcc dot gnu dot org 1 sibling, 0 replies; 5+ messages in thread From: janus at gcc dot gnu dot org @ 2010-09-02 12:55 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from janus at gcc dot gnu dot org 2010-09-02 12:55 ------- Confirmed. -- janus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |accepts-invalid Last reconfirmed|0000-00-00 00:00:00 |2010-09-02 12:55:02 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45494 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-10-28 15:26 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-45494-4@http.gcc.gnu.org/bugzilla/> 2010-10-28 9:36 ` [Bug fortran/45494] [OOP] Wrong dummy argument not rejected dominiq at lps dot ens.fr 2010-10-28 12:12 ` burnus at gcc dot gnu.org 2010-10-28 15:26 ` janus at gcc dot gnu.org 2010-09-02 10:16 [Bug fortran/45494] New: " sfilippone at uniroma2 dot it 2010-09-02 10:16 ` [Bug fortran/45494] " sfilippone at uniroma2 dot it 2010-09-02 12:55 ` janus at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).