public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jv244 at cam dot ac dot uk" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/30835] New: ICE with -O2 -ftree-loop-linear Date: Sat, 17 Feb 2007 16:15:00 -0000 [thread overview] Message-ID: <bug-30835-6642@http.gcc.gnu.org/bugzilla/> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1499 bytes --] the following, reduced from PR29975, causes a gfortran ICE: MODULE test INTEGER, PARAMETER :: dp=KIND(0.0D0), xas_scf_default=1, xas_2s_type=2 TYPE xas_control_type INTEGER :: state_type,nexc_atoms END TYPE TYPE xas_environment_type INTEGER :: scf_method END TYPE CONTAINS SUBROUTINE xas_env_init(xas_env, xas_control) TYPE(xas_environment_type), POINTER :: xas_env TYPE(xas_control_type) :: xas_control REAL(dp), DIMENSION(:, :), POINTER :: sto_alpha IF(xas_env%scf_method==xas_scf_default) THEN ALLOCATE(sto_alpha(1,0:1),STAT=istat) ELSEIF( xas_control%state_type == xas_2s_type ) THEN ALLOCATE(sto_alpha(2,0:1),STAT=istat) END IF DO iat = 1,xas_control%nexc_atoms sto_alpha = 0.0_dp END DO END SUBROUTINE xas_env_init END MODULE gfortran -O2 -ftree-loop-linear test.f90 test.f90: In function xas_env_init: test.f90:10: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. -- Summary: ICE with -O2 -ftree-loop-linear Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30835
next reply other threads:[~2007-02-17 16:15 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-02-17 16:15 jv244 at cam dot ac dot uk [this message] 2007-02-17 20:24 ` [Bug middle-end/30835] " steven at gcc dot gnu dot org 2007-03-11 22:31 ` rakdver at gcc dot gnu dot org 2007-03-12 21:56 ` rakdver at gcc dot gnu dot org 2007-03-14 16:30 ` jv244 at cam dot ac dot uk 2007-03-15 8:47 ` burnus at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-30835-6642@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).