public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/17911] ice: wrongly resolved ambguity between generic function and local variable
       [not found] <bug-17911-8513@http.gcc.gnu.org/bugzilla/>
@ 2006-01-29  6:08 ` pault at gcc dot gnu dot org
  2006-01-30  5:45 ` pault at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: pault at gcc dot gnu dot org @ 2006-01-29  6:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pault at gcc dot gnu dot org  2006-01-29 06:08 -------
Subject: Bug 17911

Author: pault
Date: Sun Jan 29 06:08:07 2006
New Revision: 110365

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110365
Log:
2006-01-28  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/17911
        * expr.c (gfc_check_assign, gfc_check_pointer_assign): Emit error if
        the lvalue is a use associated procedure.

        PR fortran/20895
        PR fortran/25030
        * expr.c (gfc_check_pointer_assign): Emit error if lvalue and rvalue
        character lengths are not the same.  Use gfc_dep_compare_expr for the
        comparison.
        * gfortran.h: Add prototype for gfc_dep_compare_expr.
        * dependency.h: Remove prototype for gfc_dep_compare_expr.

2006-01-29  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/17911
        * gfortran.dg/procedure_lvalue.f90: New test.

        PR fortran/20895
        PR fortran/25030
        * gfortran.dg/char_pointer_assign_2.f90: New test.
        * gfortran.dg/char_result_1.f90: Correct unequal charlen pointer
        assignment to be consistent with standard.
        * gfortran.dg/char_result_2.f90: The same.
        * gfortran.dg/char_result_8.f90: The same.

Added:
    trunk/gcc/testsuite/gfortran.dg/char_pointer_assign_2.f90
    trunk/gcc/testsuite/gfortran.dg/procedure_lvalue.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/dependency.h
    trunk/gcc/fortran/expr.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/char_result_1.f90
    trunk/gcc/testsuite/gfortran.dg/char_result_2.f90
    trunk/gcc/testsuite/gfortran.dg/char_result_8.f90


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17911


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/17911] ice: wrongly resolved ambguity between generic function and local variable
       [not found] <bug-17911-8513@http.gcc.gnu.org/bugzilla/>
  2006-01-29  6:08 ` [Bug fortran/17911] ice: wrongly resolved ambguity between generic function and local variable pault at gcc dot gnu dot org
@ 2006-01-30  5:45 ` pault at gcc dot gnu dot org
  2006-01-30  5:50 ` pault at gcc dot gnu dot org
  2006-01-30 12:38 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: pault at gcc dot gnu dot org @ 2006-01-30  5:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pault at gcc dot gnu dot org  2006-01-30 05:45 -------
Subject: Bug 17911

Author: pault
Date: Mon Jan 30 05:45:06 2006
New Revision: 110394

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110394
Log:
2006-01-30  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/18578
        PR fortran/18579
        PR fortran/20857
        PR fortran/20885
        * interface.c (compare_actual_formal): Error for INTENT(OUT or INOUT)
        if actual argument is not a variable.

        PR fortran/17911
        * expr.c (gfc_check_assign, gfc_check_pointer_assign): Emit error if
        the lvalue is a use associated procedure.

        PR fortran/20895
        PR fortran/25030
        * expr.c (gfc_check_pointer_assign): Emit error if lvalue and rvalue
        character lengths are not the same.  Use gfc_dep_compare_expr for the
        comparison.
        * gfortran.h: Add prototype for gfc_dep_compare_expr.
        * dependency.h: Remove prototype for gfc_dep_compare_expr.

2006-01-30  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/18578
        PR fortran/18579
        PR fortran/20857
        PR fortran/20885
        * gfortran.dg/intent_out_1.f90: New test.

        PR fortran/17911
        * gfortran.dg/procedure_lvalue.f90: New test.

        PR fortran/20895
        PR fortran/25030
        * gfortran.dg/char_pointer_assign_2.f90: New test.
        * gfortran.dg/char_result_1.f90: Correct unequal charlen pointer
        assignment to be consistent with standard.
        * gfortran.dg/char_result_2.f90: The same.
        * gfortran.dg/char_result_8.f90: The same.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/char_pointer_assign_2.f90
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/intent_out_1.f90
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/procedure_lvalue.f90
Modified:
    branches/gcc-4_1-branch/gcc/fortran/ChangeLog
    branches/gcc-4_1-branch/gcc/fortran/dependency.h
    branches/gcc-4_1-branch/gcc/fortran/expr.c
    branches/gcc-4_1-branch/gcc/fortran/gfortran.h
    branches/gcc-4_1-branch/gcc/fortran/interface.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/char_result_1.f90
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/char_result_2.f90
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/char_result_8.f90


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17911


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/17911] ice: wrongly resolved ambguity between generic function and local variable
       [not found] <bug-17911-8513@http.gcc.gnu.org/bugzilla/>
  2006-01-29  6:08 ` [Bug fortran/17911] ice: wrongly resolved ambguity between generic function and local variable pault at gcc dot gnu dot org
  2006-01-30  5:45 ` pault at gcc dot gnu dot org
@ 2006-01-30  5:50 ` pault at gcc dot gnu dot org
  2006-01-30 12:38 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: pault at gcc dot gnu dot org @ 2006-01-30  5:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pault at gcc dot gnu dot org  2006-01-30 05:50 -------
Fixed on trunk and 4.1.

Paul


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17911


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/17911] ice: wrongly resolved ambguity between generic function and local variable
       [not found] <bug-17911-8513@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2006-01-30  5:50 ` pault at gcc dot gnu dot org
@ 2006-01-30 12:38 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-30 12:38 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17911


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/17911] ice: wrongly resolved ambguity between generic function and local variable
  2004-10-09 13:57 [Bug fortran/17911] New: " tobi at gcc dot gnu dot org
  2004-10-09 14:35 ` [Bug fortran/17911] " tobi at gcc dot gnu dot org
@ 2004-10-09 18:35 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-09 18:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-09 18:35 -------
confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-09 18:35:27
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17911


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/17911] ice: wrongly resolved ambguity between generic function and local variable
  2004-10-09 13:57 [Bug fortran/17911] New: " tobi at gcc dot gnu dot org
@ 2004-10-09 14:35 ` tobi at gcc dot gnu dot org
  2004-10-09 18:35 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-10-09 14:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-10-09 14:35 -------
This is invalid code. If b is declared private gfortran does the right thing.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-valid-code           |ice-on-invalid-code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17911


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-01-30 12:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-17911-8513@http.gcc.gnu.org/bugzilla/>
2006-01-29  6:08 ` [Bug fortran/17911] ice: wrongly resolved ambguity between generic function and local variable pault at gcc dot gnu dot org
2006-01-30  5:45 ` pault at gcc dot gnu dot org
2006-01-30  5:50 ` pault at gcc dot gnu dot org
2006-01-30 12:38 ` pinskia at gcc dot gnu dot org
2004-10-09 13:57 [Bug fortran/17911] New: " tobi at gcc dot gnu dot org
2004-10-09 14:35 ` [Bug fortran/17911] " tobi at gcc dot gnu dot org
2004-10-09 18:35 ` pinskia 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).