public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/37992]  New: [4.4 Regression] ICE segfault for "character(len=len(x)) :: foo,x"
@ 2008-11-01 22:05 burnus at gcc dot gnu dot org
  2008-11-01 22:39 ` [Bug fortran/37992] " burnus at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-11-01 22:05 UTC (permalink / raw)
  To: gcc-bugs

Split off from PR 35040 comment 5. The following program gives now an ICE:

 function foo(x)
   character(len=len(x)) :: foo,x
 end function foo

With 4.3 there is no ICE, but with 4.4 there is an ICE after the (new!) error
detection. ("len(x)... :: x" is invalid.)

Valgrind shows a huge number of invalid reads.


-- 
           Summary: [4.4 Regression] ICE segfault for "character(len=len(x))
                    :: foo,x"
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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

end of thread, other threads:[~2008-11-16 21:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-01 22:05 [Bug fortran/37992] New: [4.4 Regression] ICE segfault for "character(len=len(x)) :: foo,x" burnus at gcc dot gnu dot org
2008-11-01 22:39 ` [Bug fortran/37992] " burnus at gcc dot gnu dot org
2008-11-01 22:44 ` janus at gcc dot gnu dot org
2008-11-02 17:51 ` mikael dot morin at tele2 dot fr
2008-11-02 18:04 ` mikael dot morin at tele2 dot fr
2008-11-03 11:03 ` dominiq at lps dot ens dot fr
2008-11-04  8:00 ` pault at gcc dot gnu dot org
2008-11-05 14:03 ` mikael at gcc dot gnu dot org
2008-11-05 17:03 ` [Bug fortran/37992] ICE while resolving charlen for rejected statements mikael at gcc dot gnu dot org
2008-11-05 18:48 ` mikael at gcc dot gnu dot org
2008-11-05 22:30 ` dominiq at lps dot ens dot fr
2008-11-16 20:47 ` mikael at gcc dot gnu dot org
2008-11-16 21:06 ` mikael 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).