public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/64778] New: ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491
@ 2015-01-24 17:28 su at cs dot ucdavis.edu
  2015-01-26 10:33 ` [Bug c/64778] [4.9/5 Regression] " jakub at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: su at cs dot ucdavis.edu @ 2015-01-24 17:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64778
           Summary: ICE on invalid code on x86_64-linux-gnu: tree check:
                    expected class ‘type’, have ‘exceptional’ (error_mark)
                    in create_tmp_from_val, at gimplify.c:491
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: su at cs dot ucdavis.edu

The following (invalid) code causes an ICE when compiled with the current gcc
trunk on x86_64-linux-gnu. 

It is a regression from 4.9.x.

$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-unknown-linux-gnu/5.0.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-trunk/configure --prefix=/usr/local/gcc-trunk
--enable-languages=c,c++ --disable-werror --enable-multilib
Thread model: posix
gcc version 5.0.0 20150122 (experimental) [trunk revision 220011] (GCC) 

$ 
$ gcc-4.9 -c small.c
small.c: In function ‘foo’:
small.c:4:13: error: expected expression before ‘,’ token
   a ^= foo (,);
             ^
small.c:4:8: error: too many arguments to function ‘foo’
   a ^= foo (,);
        ^
small.c:1:5: note: declared here
 int foo (int p)
     ^
small.c:4: confused by earlier errors, bailing out
$ 
$ gcc-trunk -c small.c
small.c: In function ‘foo’:
small.c:4:13: error: expected expression before ‘,’ token
   a ^= foo (,);
             ^
small.c:4:8: error: too many arguments to function ‘foo’
   a ^= foo (,);
        ^
small.c:1:5: note: declared here
 int foo (int p)
     ^
small.c:4:8: internal compiler error: tree check: expected class ‘type’, have
‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491
   a ^= foo (,);
        ^
0xce76c7 tree_class_check_failed(tree_node const*, tree_code_class, char
const*, int, char const*)
    ../../gcc-trunk/gcc/tree.c:9341
0x89cb90 tree_class_check(tree_node*, tree_code_class, char const*, int, char
const*)
    ../../gcc-trunk/gcc/tree.h:2969
0x89cb90 create_tmp_from_val
    ../../gcc-trunk/gcc/gimplify.c:491
0x89cb90 lookup_tmp_var
    ../../gcc-trunk/gcc/gimplify.c:527
0x89cb90 internal_get_tmp_var
    ../../gcc-trunk/gcc/gimplify.c:557
0x896299 get_initialized_tmp_var(tree_node*, gimple_statement_base**,
gimple_statement_base**)
    ../../gcc-trunk/gcc/gimplify.c:594
0x896299 gimplify_save_expr
    ../../gcc-trunk/gcc/gimplify.c:4882
0x896299 gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
    ../../gcc-trunk/gcc/gimplify.c:8183
0x89a1f6 gimplify_stmt(tree_node**, gimple_statement_base**)
    ../../gcc-trunk/gcc/gimplify.c:5514
0x89a9f1 gimplify_compound_expr
    ../../gcc-trunk/gcc/gimplify.c:4837
0x897063 gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
    ../../gcc-trunk/gcc/gimplify.c:7886
0x89a1f6 gimplify_stmt(tree_node**, gimple_statement_base**)
    ../../gcc-trunk/gcc/gimplify.c:5514
0x89738b gimplify_statement_list
    ../../gcc-trunk/gcc/gimplify.c:1483
0x89738b gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
    ../../gcc-trunk/gcc/gimplify.c:8312
0x89a1f6 gimplify_stmt(tree_node**, gimple_statement_base**)
    ../../gcc-trunk/gcc/gimplify.c:5514
0x89afc5 gimplify_bind_expr
    ../../gcc-trunk/gcc/gimplify.c:1132
0x8957ac gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
    ../../gcc-trunk/gcc/gimplify.c:8094
0x89a1f6 gimplify_stmt(tree_node**, gimple_statement_base**)
    ../../gcc-trunk/gcc/gimplify.c:5514
0x89ba7b gimplify_body(tree_node*, bool)
    ../../gcc-trunk/gcc/gimplify.c:9048
0x89c066 gimplify_function_tree(tree_node*)
    ../../gcc-trunk/gcc/gimplify.c:9202
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
$ 


--------------------


int foo (int p)
{
  int a; 
  a ^= foo (,);
  return a; 
}
>From gcc-bugs-return-474749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jan 24 17:52:31 2015
Return-Path: <gcc-bugs-return-474749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13762 invoked by alias); 24 Jan 2015 17:52:29 -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 13708 invoked by uid 48); 24 Jan 2015 17:52:23 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/64778] [4.9/5 Regression] ICE on invalid code on x86_64-linux-gnu: tree check:=?UTF-8?Q? expected class ‘type’?=,=?UTF-8?Q? have ‘exceptional’ ?=(error_mark) in create_tmp_from_val, at gimplify.c:491
Date: Sat, 24 Jan 2015 17:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed
Message-ID: <bug-64778-4-Y9u8JRd2Fu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64778-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64778-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: 2015-01/txt/msg02743.txt.bz2
Content-length: 1245

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-01-24
                 CC|                            |mpolacek at gcc dot gnu.org
   Target Milestone|---                         |4.9.3
            Summary|ICE on invalid code on      |[4.9/5 Regression] ICE on
                   |x86_64-linux-gnu: tree      |invalid code on
                   |check: expected class       |x86_64-linux-gnu: tree
                   |‘type’, have ‘exceptional’  |check: expected class
                   |(error_mark) in             |‘type’, have ‘exceptional’
                   |create_tmp_from_val, at     |(error_mark) in
                   |gimplify.c:491              |create_tmp_from_val, at
                   |                            |gimplify.c:491
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-474750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jan 24 18:07:30 2015
Return-Path: <gcc-bugs-return-474750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2683 invoked by alias); 24 Jan 2015 18:07:29 -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 367 invoked by uid 55); 24 Jan 2015 18:07:22 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/64768] [4.8/4.9/5 Regression] internal compiler error: tree check:=?UTF-8?Q? expected tree that contains ‘decl with RTL’ structure?=,=?UTF-8?Q? have ‘field_decl’ in set_decl_rtl?=, at emit-rtl.c:1274
Date: Sat, 24 Jan 2015 18:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.8.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64768-4-RQSzjldioF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64768-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64768-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: 2015-01/txt/msg02744.txt.bz2
Content-length: 415

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

--- Comment #6 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Sat, 24 Jan 2015, mpolacek at gcc dot gnu.org wrote:

> typedef int A[];
> struct { int i; A a; } a;

This is valid code for C99 and above / gnu89 (i.e., it's valid to use a
typedef when declaring a flexible array member, whenever flexible array
members are accepted).


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

* [Bug c/64778] [4.9/5 Regression] ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491
  2015-01-24 17:28 [Bug c/64778] New: ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491 su at cs dot ucdavis.edu
@ 2015-01-26 10:33 ` jakub at gcc dot gnu.org
  2015-01-26 11:22 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-26 10:33 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with my r206620.  Will have a look.


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

* [Bug c/64778] [4.9/5 Regression] ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491
  2015-01-24 17:28 [Bug c/64778] New: ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491 su at cs dot ucdavis.edu
  2015-01-26 10:33 ` [Bug c/64778] [4.9/5 Regression] " jakub at gcc dot gnu.org
@ 2015-01-26 11:22 ` jakub at gcc dot gnu.org
  2015-01-26 11:28 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-26 11:22 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 34568
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34568&action=edit
gcc5-pr64778.patch

Untested fix.


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

* [Bug c/64778] [4.9/5 Regression] ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491
  2015-01-24 17:28 [Bug c/64778] New: ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491 su at cs dot ucdavis.edu
  2015-01-26 10:33 ` [Bug c/64778] [4.9/5 Regression] " jakub at gcc dot gnu.org
  2015-01-26 11:22 ` jakub at gcc dot gnu.org
@ 2015-01-26 11:28 ` rguenth at gcc dot gnu.org
  2015-01-26 21:32 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-01-26 11:28 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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

* [Bug c/64778] [4.9/5 Regression] ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491
  2015-01-24 17:28 [Bug c/64778] New: ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491 su at cs dot ucdavis.edu
                   ` (2 preceding siblings ...)
  2015-01-26 11:28 ` rguenth at gcc dot gnu.org
@ 2015-01-26 21:32 ` jakub at gcc dot gnu.org
  2015-01-26 21:34 ` [Bug c/64778] [4.9 " jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-26 21:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jan 26 21:32:09 2015
New Revision: 220138

URL: https://gcc.gnu.org/viewcvs?rev=220138&root=gcc&view=rev
Log:
    PR c/64778
    * c-typeck.c (convert_arguments): Return -1 if there are
    error_args, even if we've diagnosed too many arguments.

    * gcc.dg/pr64778.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr64778.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-typeck.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c/64778] [4.9 Regression] ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491
  2015-01-24 17:28 [Bug c/64778] New: ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491 su at cs dot ucdavis.edu
                   ` (3 preceding siblings ...)
  2015-01-26 21:32 ` jakub at gcc dot gnu.org
@ 2015-01-26 21:34 ` jakub at gcc dot gnu.org
  2015-02-01 17:36 ` jakub at gcc dot gnu.org
  2015-02-01 21:59 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-26 21:34 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.9/5 Regression] ICE on   |[4.9 Regression] ICE on
                   |invalid code on             |invalid code on
                   |x86_64-linux-gnu: tree      |x86_64-linux-gnu: tree
                   |check: expected class       |check: expected class
                   |‘type’, have ‘exceptional’  |‘type’, have ‘exceptional’
                   |(error_mark) in             |(error_mark) in
                   |create_tmp_from_val, at     |create_tmp_from_val, at
                   |gimplify.c:491              |gimplify.c:491

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk so far.
>From gcc-bugs-return-474972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 26 21:35:07 2015
Return-Path: <gcc-bugs-return-474972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11957 invoked by alias); 26 Jan 2015 21:35:06 -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 11915 invoked by uid 48); 26 Jan 2015 21:35:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/64730] [5 Regression] g++.dg/ipa/pr64049-1.C ICE: SEGV when printing NULL
Date: Mon, 26 Jan 2015 21:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-64730-4-SwPaw5creC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64730-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64730-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: 2015-01/txt/msg02966.txt.bz2
Content-length: 436

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

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

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed now.


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

* [Bug c/64778] [4.9 Regression] ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491
  2015-01-24 17:28 [Bug c/64778] New: ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491 su at cs dot ucdavis.edu
                   ` (4 preceding siblings ...)
  2015-01-26 21:34 ` [Bug c/64778] [4.9 " jakub at gcc dot gnu.org
@ 2015-02-01 17:36 ` jakub at gcc dot gnu.org
  2015-02-01 21:59 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-01 17:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sun Feb  1 17:35:40 2015
New Revision: 220326

URL: https://gcc.gnu.org/viewcvs?rev=220326&root=gcc&view=rev
Log:
    Backported from mainline
    2015-01-26  Jakub Jelinek  <jakub@redhat.com>

    PR c/64778
    * c-typeck.c (convert_arguments): Return -1 if there are
    error_args, even if we've diagnosed too many arguments.

    * gcc.dg/pr64778.c: New test.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr64778.c
Modified:
    branches/gcc-4_9-branch/gcc/c/ChangeLog
    branches/gcc-4_9-branch/gcc/c/c-typeck.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


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

* [Bug c/64778] [4.9 Regression] ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491
  2015-01-24 17:28 [Bug c/64778] New: ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491 su at cs dot ucdavis.edu
                   ` (5 preceding siblings ...)
  2015-02-01 17:36 ` jakub at gcc dot gnu.org
@ 2015-02-01 21:59 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-01 21:59 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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


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

end of thread, other threads:[~2015-02-01 21:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-24 17:28 [Bug c/64778] New: ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491 su at cs dot ucdavis.edu
2015-01-26 10:33 ` [Bug c/64778] [4.9/5 Regression] " jakub at gcc dot gnu.org
2015-01-26 11:22 ` jakub at gcc dot gnu.org
2015-01-26 11:28 ` rguenth at gcc dot gnu.org
2015-01-26 21:32 ` jakub at gcc dot gnu.org
2015-01-26 21:34 ` [Bug c/64778] [4.9 " jakub at gcc dot gnu.org
2015-02-01 17:36 ` jakub at gcc dot gnu.org
2015-02-01 21:59 ` jakub at gcc dot gnu.org

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