public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/44232] function result with pointer to strided component of argument
Date: Fri, 06 Aug 2010 09:05:00 -0000	[thread overview]
Message-ID: <20100806090509.4748.qmail@sourceware.org> (raw)
In-Reply-To: <bug-44232-19220@http.gcc.gnu.org/bugzilla/>



------- Comment #12 from fxcoudert at gcc dot gnu dot org  2010-08-06 09:05 -------
(In reply to comment #8)
> Hmm.  I've now built gfortran 4.5.1  20100521 (from the branch) and still have
> the same internal compiler error.

I have gcc 4.5.1 20100506 on x86_64-apple-darwin10.3.0, and it compiles fine.
The Fortran patches between my version and yours are:

------------------
Revision 159556
2010-05-19  Tobias Burnus  <burnus@net-b.de>

        PR fortran/43591
        * expr.c (gfc_is_constant_expr, gfc_traverse_expr): Handle
        proc-pointers and type-bound procedures.
        (gfc_specification_expr): Check proc-pointers for pureness.


Revision 159417
2010-05-14  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/44135
        * fortran/interface.c (get_sym_storage_size): Use signed instead of
        unsigned mpz_get_?i routines.


Revision 159363
        PR fortran/44036
        * openmp.c (resolve_omp_clauses): Allow procedure pointers in clause
        variable lists.
        * trans-openmp.c (gfc_omp_privatize_by_reference): Don't privatize
        by reference dummy procedures or non-dummy procedure pointers.
        (gfc_omp_predetermined_sharing): Return
        OMP_CLAUSE_DEFAULT_FIRSTPRIVATE for dummy procedures.


Revision 159306
2010-05-12  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/40728
        * intrinc.c (gfc_is_intrinsic): Do not prematurely mark symbol
        as external.


Revision 159101
2010-05-06  Tobias Burnus  <burnus@net-b.de>

        PR fortran/43985
        * trans-types.c (gfc_sym_type): Mark Cray pointees as
        GFC_POINTER_TYPE_P.
------------------


None of these look like they could be "it". It could be something outside the
Fortran front-end, or a 32/64-bit issue (but then, we'd probably see it on
32-bit linux too).

If you have time, can you:

  1. Using "gfortran -v", isolate the invocation of the compiler itself, f951
  2. Copy-paste this command-line and run it under gdb: "gdb -args [command
line here]"
  3. When it aborts, backtrace (command "bt") and copy-paste the output of gdb.

This will give information on where to look.


-- 

fxcoudert at gcc dot gnu dot org changed:

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


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


  parent reply	other threads:[~2010-08-06  9:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21 17:26 [Bug fortran/44232] New: " Thomas dot L dot Clune at nasa dot gov
2010-05-21 18:20 ` [Bug fortran/44232] " kargl at gcc dot gnu dot org
2010-05-21 19:58 ` Thomas dot L dot Clune at nasa dot gov
2010-05-21 20:24 ` jvdelisle at gcc dot gnu dot org
2010-05-21 20:34 ` kargl at gcc dot gnu dot org
2010-05-21 20:49 ` Thomas dot L dot Clune at nasa dot gov
2010-05-21 21:05 ` dominiq at lps dot ens dot fr
2010-05-22  0:45 ` Thomas dot L dot Clune at nasa dot gov
2010-05-22  1:00 ` Thomas dot L dot Clune at nasa dot gov
2010-05-22  1:34 ` kargl at gcc dot gnu dot org
2010-05-22  1:59 ` Thomas dot L dot Clune at nasa dot gov
2010-05-22 10:04 ` dominiq at lps dot ens dot fr
2010-08-06  9:05 ` fxcoudert at gcc dot gnu dot org [this message]
     [not found] <bug-44232-4@http.gcc.gnu.org/bugzilla/>
2010-12-28 17:55 ` dfranke at gcc dot gnu.org
2010-12-29 16:30 ` Thomas.L.Clune at nasa dot gov
2010-12-29 16:38 ` dfranke at gcc dot gnu.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=20100806090509.4748.qmail@sourceware.org \
    --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: link
Be 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).