public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/23593] [4.0/4.1 Regression] 5 ACATS compiler SEGV c371002 c371003 c52008b cc51004 cc51b03
Date: Sat, 27 Aug 2005 12:35:00 -0000	[thread overview]
Message-ID: <20050827122549.19778.qmail@sourceware.org> (raw)
In-Reply-To: <20050827121256.23593.laurent@guerby.net>


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-27 12:25 -------
[08:19] < guerby> 0x0834ec8b in get_memory_rtx (exp=<value optimized out>, len=<value 
optimized out>) at /home/guerby/work/gcc/version-head/gcc/builtins.c:1080
[08:19] < guerby> 1080                  gcc_assert (TREE_CODE (mem_expr) == COMPONENT_REF);
[08:19] < guerby> (gdb) bt
[08:19] < guerby> #0  0x0834ec8b in get_memory_rtx (exp=<value optimized out>, len=<value 
optimized out>) at /home/guerby/work/gcc/version-head/gcc/builtins.c:1080
[08:19] < guerby> #1  0x08354572 in expand_builtin_memcmp (exp=0x40554f78, arglist=<value 
optimized out>, target=0x0, mode=<value optimized out>)
[08:19] < guerby>     at /home/guerby/work/gcc/version-head/gcc/builtins.c:3588
[08:19] < guerby> #2  0x0835593f in expand_builtin (exp=0x40554f78, target=0x4015e210, 
subtarget=0x0, mode=VOIDmode, ignore=0)
[08:19] < guerby>     at /home/guerby/work/gcc/version-head/gcc/builtins.c:6047
[08:19] < guerby> #3  0x083df5d6 in expand_expr_real_1 (exp=<value optimized out>, target=0x0, 
tmode=<value optimized out>, modifier=<value optimized out>, alt_rtl=0x0)
[08:19] < guerby>     at /home/guerby/work/gcc/version-head/gcc/expr.c:7396
[08:19] < guerby> #4  0x083e535a in expand_expr_real (exp=0x40554f78, target=0x0, 
tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
[08:19] < guerby>     at /home/guerby/work/gcc/version-head/gcc/expr.c:6474
[08:19] < guerby> #5  0x083971b0 in do_jump (exp=0x40554f78, if_false_label=0x4022160c, 
if_true_label=0x0) at expr.h:492
[08:19] < guerby> #6  0x083974d7 in do_jump (exp=0x4056efc0, if_false_label=0x0, 
if_true_label=0x4022160c) at /home/guerby/work/gcc/version-head/gcc/dojump.c:355


It looks like it was caused by:
-2005-08-26  Jakub Jelinek  <jakub@redhat.com>
-
-       PR rtl-optimization/23561
-       * builtins.c (get_memory_rtx): Add LEN argument.  If MEM_EXPR is
-       a COMPONENT_REF, remove all COMPONENT_REF from MEM_EXPR unless
-       at most LEN bytes long memory fits into the field.
-       (expand_builtin_memcpy, expand_builtin_mempcpy, expand_movstr,
-       expand_builtin_strncpy, expand_builtin_memset, expand_builtin_memcmp,
-       expand_builtin_strcmp, expand_builtin_strncmp): Adjust callers.

Which means this is 4.0 regression too now.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu dot
                   |                            |org, pinskia at gcc dot gnu
                   |                            |dot org
            Summary|[4.1 Regression] 5 ACATS    |[4.0/4.1 Regression] 5 ACATS
                   |compiler SEGV c371002       |compiler SEGV c371002
                   |c371003 c52008b cc51004     |c371003 c52008b cc51004
                   |cc51b03                     |cc51b03


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


  parent reply	other threads:[~2005-08-27 12:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-27 12:13 [Bug ada/23593] New: [4.1 " laurent at guerby dot net
2005-08-27 12:25 ` [Bug ada/23593] " laurent at guerby dot net
2005-08-27 12:35 ` pinskia at gcc dot gnu dot org [this message]
2005-08-27 12:58 ` [Bug ada/23593] [4.0/4.1 " jakub at gcc dot gnu dot org
2005-08-28 11:05 ` cvs-commit at gcc dot gnu dot org
2005-08-28 11:09 ` laurent at guerby dot net
2005-08-28 11:41 ` cvs-commit at gcc dot gnu dot org
2005-08-28 13:47 ` pinskia 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=20050827122549.19778.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).