public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hp at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/61737] ICE when building libgcc for cris cross-compiler
Date: Tue, 15 Jul 2014 02:48:00 -0000	[thread overview]
Message-ID: <bug-61737-4-pSPuSRJsIe@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-61737-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #8 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
(In reply to dhowells@redhat.com from comment #0)
> ../../../gcc-4.9.0-20140702/libgcc/libgcc2.c: In function ‘__subvsi3’:
> ../../../gcc-4.9.0-20140702/libgcc/libgcc2.c:122:1: error: unrecognizable
> insn:
>  }
>  ^
> (call_insn 27 26 28 7 (parallel [
>             (call (mem:QI (symbol_ref:SI ("abort") [flags 0x41]
> <function_decl 0x7f5784e05d00 abort>) [0 __builtin_abort S1 A8])


This symbol_ref must be wrapped inside a CONST by the middle-end.
Something changed such that that doesn't happen anymore; that's the bug.
Unless this was a deliberate general change in representation, which I doubt.
Still investigating...
>From gcc-bugs-return-456340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jul 15 02:48:46 2014
Return-Path: <gcc-bugs-return-456340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9172 invoked by alias); 15 Jul 2014 02:48:40 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 9002 invoked by uid 48); 15 Jul 2014 02:48:25 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/61632] Memory corruption on error when writing formatted data
Date: Tue, 15 Jul 2014 02:48:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-61632-4-lNKGUtzNVV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61632-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61632-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-07/txt/msg00931.txt.bz2
Content-length: 625

https://gcc.gnu.org/bugzilla/show_bug.cgi?ida632

--- Comment #14 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---

(In reply to Dominique d'Humieres from comment #10)

--- snip ---
>
> Is the printing of 'YYY' supposed to happen?

Its sort of like Steve said earlier.  The coder is choosing to ignore an error
condition so anything gfortran does is valid.  In this case the output got
wriiten to buffer before the error occurred.  You are bypassing all of the
normal error handling when you do this. The buffer got flushed.

Its not worth the time to change any of it really.

The program should exit, its invalid.


  parent reply	other threads:[~2014-07-15  2:48 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-07 14:45 [Bug target/61737] New: " dhowells at redhat dot com
2014-07-07 16:05 ` [Bug target/61737] " dhowells at redhat dot com
2014-07-14 19:08 ` hp at gcc dot gnu.org
2014-07-14 19:26 ` hp at gcc dot gnu.org
2014-07-15  0:40 ` hp at gcc dot gnu.org
2014-07-15  0:43 ` hp at gcc dot gnu.org
2014-07-15  0:44 ` hp at gcc dot gnu.org
2014-07-15  0:58 ` hp at gcc dot gnu.org
2014-07-15  2:48 ` hp at gcc dot gnu.org [this message]
2014-07-15  3:07 ` hp at gcc dot gnu.org
2014-07-15  9:19 ` dhowells at redhat dot com
2014-07-15  9:34 ` dhowells at redhat dot com
2014-07-15  9:36 ` dhowells at redhat dot com
2014-07-15 14:42 ` hp at gcc dot gnu.org
2014-07-15 14:44 ` hp at gcc dot gnu.org
2014-07-15 14:58 ` dhowells at redhat dot com
2014-07-17  2:05 ` hp at gcc dot gnu.org
2014-07-17  3:54 ` hp at gcc dot gnu.org
2014-07-17  4:27 ` hp at gcc dot gnu.org
2014-07-18 13:22 ` dhowells at redhat dot com
2014-07-18 15:53 ` hp at gcc dot gnu.org
2014-07-18 15:58 ` hp at gcc dot gnu.org
2014-07-18 16:04 ` dhowells at redhat dot com

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-61737-4-pSPuSRJsIe@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: 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).