public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/61908] New: load of invalid value for 'expr_t' in interface.c compare_actual_formal
@ 2014-07-25  9:29 zeccav at gmail dot com
  2014-09-04  9:52 ` [Bug fortran/61908] " mpolacek at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: zeccav at gmail dot com @ 2014-07-25  9:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61908

            Bug ID: 61908
           Summary: load of invalid value for 'expr_t' in interface.c
                    compare_actual_formal
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zeccav at gmail dot com

Compiling the testsuite file unlimited_polymorphic_16 with sanitized gfortran
I get the following
"../../gcc-4.9.1/gcc/fortran/interface.c:2667:43: runtime error: 
load of value 1818451807, which is not a valid value for type 'expr_t'"
The offending line in interface.c:2667 is
"&& f->sym->ts.u.cl->length->expr_type == EXPR_CONSTANT"
in compare_actual_format.


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

* [Bug fortran/61908] load of invalid value for 'expr_t' in interface.c compare_actual_formal
  2014-07-25  9:29 [Bug fortran/61908] New: load of invalid value for 'expr_t' in interface.c compare_actual_formal zeccav at gmail dot com
@ 2014-09-04  9:52 ` mpolacek at gcc dot gnu.org
  2014-10-30 10:40 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-09-04  9:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61908

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-09-04
                 CC|                            |mpolacek at gcc dot gnu.org
   Target Milestone|---                         |4.9.2
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
$ ./xgcc -B./ -c unlimited_polymorphic_16.f90 
/home/polacek/src/gcc/gcc/fortran/interface.c:2667:43: runtime error: load of
value 1818451807, which is not a valid value for type 'expr_t'

Confirmed.


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

* [Bug fortran/61908] load of invalid value for 'expr_t' in interface.c compare_actual_formal
  2014-07-25  9:29 [Bug fortran/61908] New: load of invalid value for 'expr_t' in interface.c compare_actual_formal zeccav at gmail dot com
  2014-09-04  9:52 ` [Bug fortran/61908] " mpolacek at gcc dot gnu.org
@ 2014-10-30 10:40 ` jakub at gcc dot gnu.org
  2015-04-24 17:01 ` zeccav at gmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-10-30 10:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61908

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.9.2                       |4.9.3

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.2 has been released.


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

* [Bug fortran/61908] load of invalid value for 'expr_t' in interface.c compare_actual_formal
  2014-07-25  9:29 [Bug fortran/61908] New: load of invalid value for 'expr_t' in interface.c compare_actual_formal zeccav at gmail dot com
  2014-09-04  9:52 ` [Bug fortran/61908] " mpolacek at gcc dot gnu.org
  2014-10-30 10:40 ` jakub at gcc dot gnu.org
@ 2015-04-24 17:01 ` zeccav at gmail dot com
  2015-04-25 10:39 ` zeccav at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: zeccav at gmail dot com @ 2015-04-24 17:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61908

--- Comment #3 from Vittorio Zecca <zeccav at gmail dot com> ---
I still have the same runtime error message in 4.9.2

Trying compilation of

!from unlimited_polymorphic_16.f90
!../../gcc-4.9.2/gcc/fortran/interface.c:2667:43: runtime error: load of value
1818451807, which is not a valid value for type 'expr_t'
contains
  subroutine FWRite(S)
    class(*) :: S
  end subroutine

  subroutine IO_OutputMargeStats()
    character tag
    call FWrite(tag)
  end subroutine

end

I get

./../gcc-4.9.2/gcc/fortran/interface.c:2667:43: runtime error: load of value
1818451807, which is not a valid value for type 'expr_t'
 MAIN__ __copy_character_1 io_outputmargestats fwrite main
Analyzing compilation unit
Performing interprocedural optimizations
 <*free_lang_data> <visibility> <early_local_cleanups> <*free_inline_summary>
<whole-program> <inline>Assembling functions:
 __copy_character_1 MAIN__ main


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

* [Bug fortran/61908] load of invalid value for 'expr_t' in interface.c compare_actual_formal
  2014-07-25  9:29 [Bug fortran/61908] New: load of invalid value for 'expr_t' in interface.c compare_actual_formal zeccav at gmail dot com
                   ` (2 preceding siblings ...)
  2015-04-24 17:01 ` zeccav at gmail dot com
@ 2015-04-25 10:39 ` zeccav at gmail dot com
  2015-06-26 19:56 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: zeccav at gmail dot com @ 2015-04-25 10:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61908

--- Comment #4 from Vittorio Zecca <zeccav at gmail dot com> ---
Stiil in 5.1.0 at interface.c:2701


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

* [Bug fortran/61908] load of invalid value for 'expr_t' in interface.c compare_actual_formal
  2014-07-25  9:29 [Bug fortran/61908] New: load of invalid value for 'expr_t' in interface.c compare_actual_formal zeccav at gmail dot com
                   ` (3 preceding siblings ...)
  2015-04-25 10:39 ` zeccav at gmail dot com
@ 2015-06-26 19:56 ` jakub at gcc dot gnu.org
  2015-06-26 20:27 ` jakub at gcc dot gnu.org
  2015-06-26 21:19 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 19:56 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61908

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.3 has been released.


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

* [Bug fortran/61908] load of invalid value for 'expr_t' in interface.c compare_actual_formal
  2014-07-25  9:29 [Bug fortran/61908] New: load of invalid value for 'expr_t' in interface.c compare_actual_formal zeccav at gmail dot com
                   ` (4 preceding siblings ...)
  2015-06-26 19:56 ` jakub at gcc dot gnu.org
@ 2015-06-26 20:27 ` jakub at gcc dot gnu.org
  2015-06-26 21:19 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61908

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.9.3                       |4.9.4


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

* [Bug fortran/61908] load of invalid value for 'expr_t' in interface.c compare_actual_formal
  2014-07-25  9:29 [Bug fortran/61908] New: load of invalid value for 'expr_t' in interface.c compare_actual_formal zeccav at gmail dot com
                   ` (5 preceding siblings ...)
  2015-06-26 20:27 ` jakub at gcc dot gnu.org
@ 2015-06-26 21:19 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-06-26 21:19 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61908

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.9.4                       |---


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

end of thread, other threads:[~2015-06-26 21:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-25  9:29 [Bug fortran/61908] New: load of invalid value for 'expr_t' in interface.c compare_actual_formal zeccav at gmail dot com
2014-09-04  9:52 ` [Bug fortran/61908] " mpolacek at gcc dot gnu.org
2014-10-30 10:40 ` jakub at gcc dot gnu.org
2015-04-24 17:01 ` zeccav at gmail dot com
2015-04-25 10:39 ` zeccav at gmail dot com
2015-06-26 19:56 ` jakub at gcc dot gnu.org
2015-06-26 20:27 ` jakub at gcc dot gnu.org
2015-06-26 21:19 ` pinskia at gcc dot gnu.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).