public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/59273] New: [4.9 Regression] ICE in expand_expr_real_2, at expr.c:9188 on alpha
@ 2013-11-24 11:01 ubizjak at gmail dot com
  2013-11-24 15:15 ` [Bug middle-end/59273] " ubizjak at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2013-11-24 11:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59273
           Summary: [4.9 Regression] ICE in expand_expr_real_2, at
                    expr.c:9188 on alpha
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ubizjak at gmail dot com

Recent change introduced following new testsuite failure (and several others)
on alpha-linux-gnu [1]:

FAIL: gcc.dg/torture/pr46723.c  -O3 -fomit-frame-pointer  (internal compiler
error)
FAIL: gcc.dg/torture/pr46723.c  -O3 -fomit-frame-pointer  (test for excess
errors)
...

The failure can be triggered on a crosscompiler from x86_64 to alpha-linux-gnu:

$ gcc-build-alpha/gcc/cc1 -O3 -fpreprocessed pr46723.c

pr46723.c: In function ‘test’:
pr46723.c:4:6: internal compiler error: in expand_expr_real_2, at expr.c:9188
 void test()
      ^
0x6beb38 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        /home/uros/gcc-svn/trunk/gcc/expr.c:9188
0x5e8ed9 expand_gimple_stmt_1
        /home/uros/gcc-svn/trunk/gcc/cfgexpand.c:3235
0x5e8ed9 expand_gimple_stmt
        /home/uros/gcc-svn/trunk/gcc/cfgexpand.c:3295
0x5eafda expand_gimple_basic_block
        /home/uros/gcc-svn/trunk/gcc/cfgexpand.c:5135
0x5ecf3c gimple_expand_cfg
        /home/uros/gcc-svn/trunk/gcc/cfgexpand.c:5701
0x5ecf3c execute
        /home/uros/gcc-svn/trunk/gcc/cfgexpand.c:5921
Please submit a full bug report,

(gdb) up
#2  0x00000000006beb39 in expand_expr_real_2 (ops=ops@entry=0x7fffffffd9b0,
target=0x7ffff19c5100, tmode=<optimized out>,
modifier=modifier@entry=EXPAND_NORMAL)
    at /home/uros/gcc-svn/trunk/gcc/expr.c:9188
9188      gcc_assert (temp);
(gdb) list
9183     binop3:
9184      if (modifier == EXPAND_STACK_PARM)
9185        target = 0;
9186      temp = expand_binop (mode, this_optab, op0, op1, target,
9187                           unsignedp, OPTAB_LIB_WIDEN);
9188      gcc_assert (temp);
9189      /* Bitwise operations do not need bitfield reduction as we expect
their
9190         operands being properly truncated.  */
9191      if (code == BIT_XOR_EXPR
9192          || code == BIT_AND_EXPR

(gdb) p debug_rtx (target)
(reg:V4HI 130 [ vect_vec_iv_.17 ])
$1 = void
(gdb) p debug_rtx (op0)
(reg:V4HI 174 [ D.1496 ])
$2 = void
(gdb) p debug_rtx (op1)
(const_vector:V4HI [
        (const_int 0 [0])
        (const_int 1 [0x1])
        (const_int 2 [0x2])
        (const_int 3 [0x3])
    ])
$3 = void
(gdb) p code
$4 = PLUS_EXPR

The compiler is trying to blindly generate V4HImode vector addition without
checking if the target supports it (alpha doesn't, while it supports V4HImode
moves).

[1] http://gcc.gnu.org/ml/gcc-testresults/2013-11/msg01763.html
>From gcc-bugs-return-435681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 24 11:02:57 2013
Return-Path: <gcc-bugs-return-435681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31683 invoked by alias); 24 Nov 2013 11:02:57 -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 31661 invoked by uid 48); 24 Nov 2013 11:02:53 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/59273] [4.9 Regression] ICE in expand_expr_real_2, at expr.c:9188 on alpha
Date: Sun, 24 Nov 2013 11:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget target_milestone
Message-ID: <bug-59273-4-nJbLXFtEUr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59273-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59273-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-11/txt/msg02458.txt.bz2
Content-length: 359

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |alpha-linux-gnu
   Target Milestone|---                         |4.9.0
>From gcc-bugs-return-435682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 24 12:15:35 2013
Return-Path: <gcc-bugs-return-435682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24103 invoked by alias); 24 Nov 2013 12:15:34 -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 24087 invoked by uid 48); 24 Nov 2013 12:15:28 -0000
From: "octoploid at yandex dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/58893] [4.8/4.9 Regression] <command-line>:0:0: internal compiler error: Segmentation fault
Date: Sun, 24 Nov 2013 12:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: preprocessor
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: octoploid at yandex dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-58893-4-iO6P1PAWKL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58893-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58893-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: 2013-11/txt/msg02459.txt.bz2
Content-length: 5137

http://gcc.gnu.org/bugzilla/show_bug.cgi?idX893

--- Comment #5 from Markus Trippelsdorf <octoploid at yandex dot com> ---
=700== Conditional jump or move depends on uninitialised value(s)
=700==    at 0xDCB562: diagnostic_report_current_module(diagnostic_context*,
unsigned int) (diagnostic.c:506)
=700==    by 0x58DB6D: cp_diagnostic_starter(diagnostic_context*,
diagnostic_info*) (error.c:3025)
=700==    by 0xDCC1E8: diagnostic_report_diagnostic(diagnostic_context*,
diagnostic_info*) (diagnostic.c:791)
=700==    by 0x6551D4: c_cpp_error(cpp_reader*, int, int, unsigned int,
unsigned int, char const*, __va_list_tag (*) [1]) (c-common.c:9665)
=700==    by 0xDD9AB8: cpp_diagnostic(cpp_reader*, int, int, char const*,
__va_list_tag (*) [1]) (errors.c:63)
=700==    by 0xDD9C06: cpp_error(cpp_reader*, int, char const*, ...)
(errors.c:78)
=700==    by 0xDDF152: _cpp_find_file (files.c:571)
=700==    by 0xDDF71E: _cpp_stack_include (files.c:993)
=700==    by 0x6657D5: push_command_line_include() (c-opts.c:1372)
=700==    by 0xDE18E5: _cpp_get_fresh_line.part.6 (lex.c:2134)
=700==    by 0xDE3A58: _cpp_lex_direct (lex.c:2104)
=700==    by 0xDE490B: _cpp_lex_token (lex.c:2055)
=700==  Uninitialised value was created by a heap allocation
=700==    at 0x40274F0: malloc (vg_replace_malloc.c:291)
=700==    by 0xE0F557: xmalloc (xmalloc.c:147)
=700==    by 0xDE1DDA: _cpp_init_tokenrun (lex.c:1901)
=700==    by 0xDE0653: cpp_create_reader(c_lang, ht*, line_maps*)
(init.c:236)
=700==    by 0x665C7C: c_common_init_options(unsigned int,
cl_decoded_option*) (c-opts.c:215)
=700==    by 0x93E854: toplev_main(int, char**) (toplev.c:1947)
=700==    by 0x4ED5FD2: (below main) (in /lib64/libc-2.18.90.so)
=700==700== Conditional jump or move depends on uninitialised value(s)
=700==    at 0xDCF7FE: expand_location_1(unsigned int, bool) (input.c:55)
=700==    by 0xDCFA5A: expand_location_to_spelling_point(unsigned int)
(input.c:162)
=700==    by 0xDCBC28: diagnostic_build_prefix(diagnostic_context*,
diagnostic_info const*) (diagnostic.c:239)
=700==    by 0x58DC7F: cp_diagnostic_starter(diagnostic_context*,
diagnostic_info*) (error.c:3030)
=700==    by 0xDCC1E8: diagnostic_report_diagnostic(diagnostic_context*,
diagnostic_info*) (diagnostic.c:791)
=700==    by 0x6551D4: c_cpp_error(cpp_reader*, int, int, unsigned int,
unsigned int, char const*, __va_list_tag (*) [1]) (c-common.c:9665)
=700==    by 0xDD9AB8: cpp_diagnostic(cpp_reader*, int, int, char const*,
__va_list_tag (*) [1]) (errors.c:63)
=700==    by 0xDD9C06: cpp_error(cpp_reader*, int, char const*, ...)
(errors.c:78)
=700==    by 0xDDF152: _cpp_find_file (files.c:571)
=700==    by 0xDDF71E: _cpp_stack_include (files.c:993)
=700==    by 0x6657D5: push_command_line_include() (c-opts.c:1372)
=700==    by 0xDE18E5: _cpp_get_fresh_line.part.6 (lex.c:2134)
=700==  Uninitialised value was created by a heap allocation
=700==    at 0x40274F0: malloc (vg_replace_malloc.c:291)
=700==    by 0xE0F557: xmalloc (xmalloc.c:147)
=700==    by 0xDE1DDA: _cpp_init_tokenrun (lex.c:1901)
=700==    by 0xDE0653: cpp_create_reader(c_lang, ht*, line_maps*)
(init.c:236)
=700==    by 0x665C7C: c_common_init_options(unsigned int,
cl_decoded_option*) (c-opts.c:215)
=700==    by 0x93E854: toplev_main(int, char**) (toplev.c:1947)
=700==    by 0x4ED5FD2: (below main) (in /lib64/libc-2.18.90.so)
=700==700== Conditional jump or move depends on uninitialised value(s)
=700==    at 0xDCF841: expand_location_1(unsigned int, bool) (input.c:63)
=700==    by 0xDCFA5A: expand_location_to_spelling_point(unsigned int)
(input.c:162)
=700==    by 0xDCBC28: diagnostic_build_prefix(diagnostic_context*,
diagnostic_info const*) (diagnostic.c:239)
=700==    by 0x58DC7F: cp_diagnostic_starter(diagnostic_context*,
diagnostic_info*) (error.c:3030)
=700==    by 0xDCC1E8: diagnostic_report_diagnostic(diagnostic_context*,
diagnostic_info*) (diagnostic.c:791)
=700==    by 0x6551D4: c_cpp_error(cpp_reader*, int, int, unsigned int,
unsigned int, char const*, __va_list_tag (*) [1]) (c-common.c:9665)
=700==    by 0xDD9AB8: cpp_diagnostic(cpp_reader*, int, int, char const*,
__va_list_tag (*) [1]) (errors.c:63)
=700==    by 0xDD9C06: cpp_error(cpp_reader*, int, char const*, ...)
(errors.c:78)
=700==    by 0xDDF152: _cpp_find_file (files.c:571)
=700==    by 0xDDF71E: _cpp_stack_include (files.c:993)
=700==    by 0x6657D5: push_command_line_include() (c-opts.c:1372)
=700==    by 0xDE18E5: _cpp_get_fresh_line.part.6 (lex.c:2134)
=700==  Uninitialised value was created by a heap allocation
=700==    at 0x40274F0: malloc (vg_replace_malloc.c:291)
=700==    by 0xE0F557: xmalloc (xmalloc.c:147)
=700==    by 0xDE1DDA: _cpp_init_tokenrun (lex.c:1901)
=700==    by 0xDE0653: cpp_create_reader(c_lang, ht*, line_maps*)
(init.c:236)
=700==    by 0x665C7C: c_common_init_options(unsigned int,
cl_decoded_option*) (c-opts.c:215)
=700==    by 0x93E854: toplev_main(int, char**) (toplev.c:1947)
=700==    by 0x4ED5FD2: (below main) (in /lib64/libc-2.18.90.so)
....


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

* [Bug middle-end/59273] [4.9 Regression] ICE in expand_expr_real_2, at expr.c:9188 on alpha
  2013-11-24 11:01 [Bug middle-end/59273] New: [4.9 Regression] ICE in expand_expr_real_2, at expr.c:9188 on alpha ubizjak at gmail dot com
@ 2013-11-24 15:15 ` ubizjak at gmail dot com
  2013-11-25  9:15 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2013-11-24 15:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Uroš Bizjak from comment #1)
> The failure was introduced by r205244:

Ops, r205240.
>From gcc-bugs-return-435688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 24 15:15:23 2013
Return-Path: <gcc-bugs-return-435688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8752 invoked by alias); 24 Nov 2013 15:15:19 -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 8711 invoked by uid 48); 24 Nov 2013 15:15:13 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/59273] [4.9 Regression] ICE in expand_expr_real_2, at expr.c:9188 on alpha
Date: Sun, 24 Nov 2013 15:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-59273-4-71fPMVfFnv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59273-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59273-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-11/txt/msg02465.txt.bz2
Content-length: 894

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-11-24
                 CC|                            |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
The failure was introduced by r205244:

Author: jakub
Date: Fri Nov 22 00:41:38 2013
New Revision: 205240

URL: http://gcc.gnu.org/viewcvs?rev=205240&root=gcc&view=rev
Log:
    * tree-vect-generic.c (optimize_vector_constructor): New function.
    (expand_vector_operations_1): Call it.

    * gcc.dg/vect/vect-124.c: New test.

Author CC'd.
>From gcc-bugs-return-435690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 24 15:17:21 2013
Return-Path: <gcc-bugs-return-435690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10365 invoked by alias); 24 Nov 2013 15:17:20 -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 10311 invoked by uid 48); 24 Nov 2013 15:17:15 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/59136] [4.9 Regression] llvm-symbolizer shouldn't be started always
Date: Sun, 24 Nov 2013 15:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: sanitizer
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-59136-4-NRdPyIqCtg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59136-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59136-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: 2013-11/txt/msg02467.txt.bz2
Content-length: 471

http://gcc.gnu.org/bugzilla/show_bug.cgi?idY136

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-11-24
                 CC|                            |hjl.tools at gmail dot com
     Ever confirmed|0                           |1


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

* [Bug middle-end/59273] [4.9 Regression] ICE in expand_expr_real_2, at expr.c:9188 on alpha
  2013-11-24 11:01 [Bug middle-end/59273] New: [4.9 Regression] ICE in expand_expr_real_2, at expr.c:9188 on alpha ubizjak at gmail dot com
  2013-11-24 15:15 ` [Bug middle-end/59273] " ubizjak at gmail dot com
@ 2013-11-25  9:15 ` rguenth at gcc dot gnu.org
  2013-11-26 12:22 ` ubizjak at gmail dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-25  9:15 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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

* [Bug middle-end/59273] [4.9 Regression] ICE in expand_expr_real_2, at expr.c:9188 on alpha
  2013-11-24 11:01 [Bug middle-end/59273] New: [4.9 Regression] ICE in expand_expr_real_2, at expr.c:9188 on alpha ubizjak at gmail dot com
  2013-11-24 15:15 ` [Bug middle-end/59273] " ubizjak at gmail dot com
  2013-11-25  9:15 ` rguenth at gcc dot gnu.org
@ 2013-11-26 12:22 ` ubizjak at gmail dot com
  2013-11-26 20:55 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2013-11-26 12:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #3)
> Created attachment 31293 [details]
> gcc49-pr59273.patch
> 
> Untested fix.

I have started a native bootstrap + regtest on alpha.
>From gcc-bugs-return-435892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 26 12:52:41 2013
Return-Path: <gcc-bugs-return-435892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10385 invoked by alias); 26 Nov 2013 12:52:41 -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 10319 invoked by uid 48); 26 Nov 2013 12:52:36 -0000
From: "Joost.VandeVondele at mat dot ethz.ch" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/59286] segfault in  __sanitizer::StackDepotGet
Date: Tue, 26 Nov 2013 12:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: sanitizer
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-59286-4-IhV39x5sE1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59286-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59286-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: 2013-11/txt/msg02669.txt.bz2
Content-length: 1046

http://gcc.gnu.org/bugzilla/show_bug.cgi?idY286

--- Comment #7 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
(In reply to Kostya Serebryany from comment #5)
> Maybe let's do some remote debugging then :)

For the current setup, the crash is always in StackDepotGet

The following printfs:

    StackDesc *s = (StackDesc*)(v & ~1);
    printf("Getting %p\n",s);
    for (; s; s = s->link) {
      if (s->id == id) {
        *size = s->size;
        return s->stack;
      }
      printf("Following %p\n",s->link);
    }

Always crash at an output like:
Getting (nil)
Getting 0x7ffff0305eb0
Following 0xc004832c00002

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff0461100 (LWP 24991)]
0x00007ffff35ae4e0 in __sanitizer::StackDepotGet (id@30474480, size=0x0) at
../../../../gcc/libsanitizer/sanitizer_common/sanitizer_stackdepot.cc:196
196          if (s->id == id) {
(gdb) print s
$2 = (__sanitizer::StackDesc *) 0xc004832c00002

so the s->link field containing something unexpected.


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

* [Bug middle-end/59273] [4.9 Regression] ICE in expand_expr_real_2, at expr.c:9188 on alpha
  2013-11-24 11:01 [Bug middle-end/59273] New: [4.9 Regression] ICE in expand_expr_real_2, at expr.c:9188 on alpha ubizjak at gmail dot com
                   ` (2 preceding siblings ...)
  2013-11-26 12:22 ` ubizjak at gmail dot com
@ 2013-11-26 20:55 ` jakub at gcc dot gnu.org
  2013-11-26 20:58 ` jakub at gcc dot gnu.org
  2013-11-28 15:20 ` ubizjak at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-11-26 20:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Nov 26 20:55:39 2013
New Revision: 205414

URL: http://gcc.gnu.org/viewcvs?rev=205414&root=gcc&view=rev
Log:
    PR middle-end/59273
    * tree-vect-generic.c (optimize_vector_constructor): Don't optimize
    if there isn't optab handler for the corresponding vector PLUS_EXPR.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-vect-generic.c


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

* [Bug middle-end/59273] [4.9 Regression] ICE in expand_expr_real_2, at expr.c:9188 on alpha
  2013-11-24 11:01 [Bug middle-end/59273] New: [4.9 Regression] ICE in expand_expr_real_2, at expr.c:9188 on alpha ubizjak at gmail dot com
                   ` (3 preceding siblings ...)
  2013-11-26 20:55 ` jakub at gcc dot gnu.org
@ 2013-11-26 20:58 ` jakub at gcc dot gnu.org
  2013-11-28 15:20 ` ubizjak at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-11-26 20:58 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.


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

* [Bug middle-end/59273] [4.9 Regression] ICE in expand_expr_real_2, at expr.c:9188 on alpha
  2013-11-24 11:01 [Bug middle-end/59273] New: [4.9 Regression] ICE in expand_expr_real_2, at expr.c:9188 on alpha ubizjak at gmail dot com
                   ` (4 preceding siblings ...)
  2013-11-26 20:58 ` jakub at gcc dot gnu.org
@ 2013-11-28 15:20 ` ubizjak at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2013-11-28 15:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #6)
> Fixed.

I can confirm the fix on native alpha bootstrap [1].

[1] http://gcc.gnu.org/ml/gcc-testresults/2013-11/msg02115.html
>From gcc-bugs-return-436153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 28 15:23:01 2013
Return-Path: <gcc-bugs-return-436153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11699 invoked by alias); 28 Nov 2013 15:23:01 -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 11678 invoked by uid 55); 28 Nov 2013 15:22:58 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/59323] [4.9 Regression] Int. comp. error: in add_AT_specification, at dwarf2out.c:4026
Date: Thu, 28 Nov 2013 15:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: ice-on-valid-code, lto
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-59323-4-uDgOX1xPjL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59323-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59323-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: 2013-11/txt/msg02930.txt.bz2
Content-length: 468

http://gcc.gnu.org/bugzilla/show_bug.cgi?idY323

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu Nov 28 15:22:55 2013
New Revision: 205487

URL: http://gcc.gnu.org/viewcvs?rev 5487&root=gcc&view=rev
Log:
2013-11-28  Richard Biener  <rguenther@suse.de>

    PR lto/59323
    * gcc.dg/lto/pr59323-2_0.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/lto/pr59323-2_0.c
Modified:
    trunk/gcc/testsuite/ChangeLog


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

end of thread, other threads:[~2013-11-28 15:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-24 11:01 [Bug middle-end/59273] New: [4.9 Regression] ICE in expand_expr_real_2, at expr.c:9188 on alpha ubizjak at gmail dot com
2013-11-24 15:15 ` [Bug middle-end/59273] " ubizjak at gmail dot com
2013-11-25  9:15 ` rguenth at gcc dot gnu.org
2013-11-26 12:22 ` ubizjak at gmail dot com
2013-11-26 20:55 ` jakub at gcc dot gnu.org
2013-11-26 20:58 ` jakub at gcc dot gnu.org
2013-11-28 15:20 ` ubizjak at gmail dot com

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).