public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/64067] ICE involving compound literal shenanigans
       [not found] <bug-64067-4@http.gcc.gnu.org/bugzilla/>
@ 2014-11-25  9:45 ` mpeg.blue at free dot fr
  2014-11-25 13:56 ` [Bug middle-end/64067] ICE in expand_expr_real_1, at expr.c:10540, " mpeg.blue at free dot fr
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: mpeg.blue at free dot fr @ 2014-11-25  9:45 UTC (permalink / raw)
  To: gcc-bugs

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

Mason <mpeg.blue at free dot fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |polacek at redhat dot com

--- Comment #2 from Mason <mpeg.blue at free dot fr> ---
Add Marek to CC list.


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

* [Bug middle-end/64067] ICE in expand_expr_real_1, at expr.c:10540, involving compound literal shenanigans
       [not found] <bug-64067-4@http.gcc.gnu.org/bugzilla/>
  2014-11-25  9:45 ` [Bug middle-end/64067] ICE involving compound literal shenanigans mpeg.blue at free dot fr
@ 2014-11-25 13:56 ` mpeg.blue at free dot fr
  2014-11-25 14:09 ` mpeg.blue at free dot fr
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: mpeg.blue at free dot fr @ 2014-11-25 13:56 UTC (permalink / raw)
  To: gcc-bugs

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

Mason <mpeg.blue at free dot fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE involving compound      |ICE in expand_expr_real_1,
                   |literal shenanigans         |at expr.c:10540, involving
                   |                            |compound literal
                   |                            |shenanigans

--- Comment #3 from Mason <mpeg.blue at free dot fr> ---
The bit-field is a red-herring.
Simpler test case:

union foo { struct { int bar; } xx; int val; };
int * const adds[] = {&(((union foo){.xx={ 42 }}).val)};
int main(void) { return *(adds[0]); }


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

* [Bug middle-end/64067] ICE in expand_expr_real_1, at expr.c:10540, involving compound literal shenanigans
       [not found] <bug-64067-4@http.gcc.gnu.org/bugzilla/>
  2014-11-25  9:45 ` [Bug middle-end/64067] ICE involving compound literal shenanigans mpeg.blue at free dot fr
  2014-11-25 13:56 ` [Bug middle-end/64067] ICE in expand_expr_real_1, at expr.c:10540, " mpeg.blue at free dot fr
@ 2014-11-25 14:09 ` mpeg.blue at free dot fr
  2014-11-26 16:30 ` [Bug middle-end/64067] [4.8/4.9/5 Regression] " jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: mpeg.blue at free dot fr @ 2014-11-25 14:09 UTC (permalink / raw)
  To: gcc-bugs

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

Mason <mpeg.blue at free dot fr> changed:

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

--- Comment #4 from Mason <mpeg.blue at free dot fr> ---
Might be related to Bug 57184


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

* [Bug middle-end/64067] [4.8/4.9/5 Regression] ICE in expand_expr_real_1, at expr.c:10540, involving compound literal shenanigans
       [not found] <bug-64067-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2014-11-25 14:09 ` mpeg.blue at free dot fr
@ 2014-11-26 16:30 ` jakub at gcc dot gnu.org
  2014-11-27 11:04 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-11-26 16:30 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-11-26
   Target Milestone|---                         |4.8.4
            Summary|ICE in expand_expr_real_1,  |[4.8/4.9/5 Regression] ICE
                   |at expr.c:10540, involving  |in expand_expr_real_1, at
                   |compound literal            |expr.c:10540, involving
                   |shenanigans                 |compound literal
                   |                            |shenanigans
     Ever confirmed|0                           |1

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started to ICE likely with r187962 (r188000 ICEs, r187900 works).


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

* [Bug middle-end/64067] [4.8/4.9/5 Regression] ICE in expand_expr_real_1, at expr.c:10540, involving compound literal shenanigans
       [not found] <bug-64067-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2014-11-26 16:30 ` [Bug middle-end/64067] [4.8/4.9/5 Regression] " jakub at gcc dot gnu.org
@ 2014-11-27 11:04 ` jakub at gcc dot gnu.org
  2014-11-28 13:38 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-11-27 11:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Nov 27 11:04:16 2014
New Revision: 218121

URL: https://gcc.gnu.org/viewcvs?rev=218121&root=gcc&view=rev
Log:
    PR middle-end/64067
    * expr.c (expand_expr_addr_expr_1) <case COMPOUND_LITERAL_EXPR>:
    Handle it by returning address of COMPOUND_LITERAL_EXPR_DECL
    not only if modifier is EXPAND_INITIALIZER, but whenever
    COMPOUND_LITERAL_EXPR_DECL is non-NULL and TREE_STATIC.

    * gcc.c-torture/compile/pr64067.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr64067.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug middle-end/64067] [4.8/4.9/5 Regression] ICE in expand_expr_real_1, at expr.c:10540, involving compound literal shenanigans
       [not found] <bug-64067-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2014-11-27 11:04 ` jakub at gcc dot gnu.org
@ 2014-11-28 13:38 ` jakub at gcc dot gnu.org
  2014-11-28 17:06 ` jakub at gcc dot gnu.org
  2014-11-28 17:12 ` jakub at gcc dot gnu.org
  7 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-11-28 13:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Nov 28 13:38:16 2014
New Revision: 218155

URL: https://gcc.gnu.org/viewcvs?rev=218155&root=gcc&view=rev
Log:
    Backported from mainline
    2014-11-27  Jakub Jelinek  <jakub@redhat.com>

    PR middle-end/64067
    * expr.c (expand_expr_addr_expr_1) <case COMPOUND_LITERAL_EXPR>:
    Handle it by returning address of COMPOUND_LITERAL_EXPR_DECL
    not only if modifier is EXPAND_INITIALIZER, but whenever
    COMPOUND_LITERAL_EXPR_DECL is non-NULL and TREE_STATIC.

    * gcc.c-torture/compile/pr64067.c: New test.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/compile/pr64067.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/expr.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


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

* [Bug middle-end/64067] [4.8/4.9/5 Regression] ICE in expand_expr_real_1, at expr.c:10540, involving compound literal shenanigans
       [not found] <bug-64067-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2014-11-28 13:38 ` jakub at gcc dot gnu.org
@ 2014-11-28 17:06 ` jakub at gcc dot gnu.org
  2014-11-28 17:12 ` jakub at gcc dot gnu.org
  7 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-11-28 17:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Nov 28 17:06:23 2014
New Revision: 218169

URL: https://gcc.gnu.org/viewcvs?rev=218169&root=gcc&view=rev
Log:
    Backported from mainline
    2014-11-27  Jakub Jelinek  <jakub@redhat.com>

    PR middle-end/64067
    * expr.c (expand_expr_addr_expr_1) <case COMPOUND_LITERAL_EXPR>:
    Handle it by returning address of COMPOUND_LITERAL_EXPR_DECL
    not only if modifier is EXPAND_INITIALIZER, but whenever
    COMPOUND_LITERAL_EXPR_DECL is non-NULL and TREE_STATIC.

    * gcc.c-torture/compile/pr64067.c: New test.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/gcc.c-torture/compile/pr64067.c
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/expr.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog


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

* [Bug middle-end/64067] [4.8/4.9/5 Regression] ICE in expand_expr_real_1, at expr.c:10540, involving compound literal shenanigans
       [not found] <bug-64067-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2014-11-28 17:06 ` jakub at gcc dot gnu.org
@ 2014-11-28 17:12 ` jakub at gcc dot gnu.org
  7 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-11-28 17:12 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 4.8.4+ and 4.9.3+.


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

end of thread, other threads:[~2014-11-28 17:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-64067-4@http.gcc.gnu.org/bugzilla/>
2014-11-25  9:45 ` [Bug middle-end/64067] ICE involving compound literal shenanigans mpeg.blue at free dot fr
2014-11-25 13:56 ` [Bug middle-end/64067] ICE in expand_expr_real_1, at expr.c:10540, " mpeg.blue at free dot fr
2014-11-25 14:09 ` mpeg.blue at free dot fr
2014-11-26 16:30 ` [Bug middle-end/64067] [4.8/4.9/5 Regression] " jakub at gcc dot gnu.org
2014-11-27 11:04 ` jakub at gcc dot gnu.org
2014-11-28 13:38 ` jakub at gcc dot gnu.org
2014-11-28 17:06 ` jakub at gcc dot gnu.org
2014-11-28 17:12 ` 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).