public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/61853] [4.9,4.10 Regression] ICE: SIGSEGV in store_field
       [not found] <bug-61853-4@http.gcc.gnu.org/bugzilla/>
@ 2014-07-19 21:13 ` danglin at gcc dot gnu.org
  2014-07-19 21:39 ` ebotcazou at gcc dot gnu.org
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-07-19 21:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> ---
Created attachment 33157
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33157&action=edit
Preprocessed source


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

* [Bug middle-end/61853] [4.9,4.10 Regression] ICE: SIGSEGV in store_field
       [not found] <bug-61853-4@http.gcc.gnu.org/bugzilla/>
  2014-07-19 21:13 ` [Bug middle-end/61853] [4.9,4.10 Regression] ICE: SIGSEGV in store_field danglin at gcc dot gnu.org
@ 2014-07-19 21:39 ` ebotcazou at gcc dot gnu.org
  2014-07-19 21:44 ` dave.anglin at bell dot net
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-07-19 21:39 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-07-19
                 CC|                            |ebotcazou at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> (gdb) p debug_rtx (target)
> (parallel:BLK [
>         (expr_list:REG_DEP_TRUE (reg:DI 101 [ <retval> ])
>             (const_int 0 [0]))
>     ])
> $1 = void
> 
> Maybe one can't store into a BLKmode structure?

Not sure what you mean exactly but store_field shouldn't have been invoked on a
PARALLEL so the problem is very likely up in the call chain.


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

* [Bug middle-end/61853] [4.9,4.10 Regression] ICE: SIGSEGV in store_field
       [not found] <bug-61853-4@http.gcc.gnu.org/bugzilla/>
  2014-07-19 21:13 ` [Bug middle-end/61853] [4.9,4.10 Regression] ICE: SIGSEGV in store_field danglin at gcc dot gnu.org
  2014-07-19 21:39 ` ebotcazou at gcc dot gnu.org
@ 2014-07-19 21:44 ` dave.anglin at bell dot net
  2014-07-19 22:43 ` danglin at gcc dot gnu.org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: dave.anglin at bell dot net @ 2014-07-19 21:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from dave.anglin at bell dot net ---
On 19-Jul-14, at 5:39 PM, ebotcazou at gcc dot gnu.org wrote:

> Not sure what you mean exactly but store_field shouldn't have been  
> invoked on a
> PARALLEL so the problem is very likely up in the call chain.

I'll take a look.

--
John David Anglin    dave.anglin@bell.net


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

* [Bug middle-end/61853] [4.9,4.10 Regression] ICE: SIGSEGV in store_field
       [not found] <bug-61853-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2014-07-19 21:44 ` dave.anglin at bell dot net
@ 2014-07-19 22:43 ` danglin at gcc dot gnu.org
  2014-07-19 23:02 ` danglin at gcc dot gnu.org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-07-19 22:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> ---
store_field is called at expr.c:4955 on trunk.


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

* [Bug middle-end/61853] [4.9,4.10 Regression] ICE: SIGSEGV in store_field
       [not found] <bug-61853-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2014-07-19 22:43 ` danglin at gcc dot gnu.org
@ 2014-07-19 23:02 ` danglin at gcc dot gnu.org
  2014-07-19 23:29 ` ebotcazou at gcc dot gnu.org
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-07-19 23:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from John David Anglin <danglin at gcc dot gnu.org> ---
These are arguments to expand_assignment:

(gdb) p debug_tree(to)
 <mem_ref 0xf722d558
    type <real_type 0xfad06ba0 double sizes-gimplified asm_written type_6 DF
        size <integer_cst 0xfacf4378 constant 64>
        unit size <integer_cst 0xfacf4390 constant 8>
        align 64 symtab -85994080 alias set 8 canonical type 0xfad06ba0
precision 64
        pointer_to_this <pointer_type 0xfad06cc0> reference_to_this
<reference_type 0xfa644f60>>

    arg 0 <addr_expr 0xf722d540
        type <pointer_type 0xf7cd3300 type <record_type 0xfab45600 Energy>
            public unsigned SI
            size <integer_cst 0xfacf4318 constant 32>
            unit size <integer_cst 0xfacf4330 constant 4>
            align 32 symtab 0 alias set -1 canonical type 0xf9a44540>

        arg 0 <result_decl 0xf6feb960 D.88242 type <record_type 0xfab45600
Energy>
            used ignored regdecl DF file ConstituentParticleData.h line 57 col
18 size <integer_cst 0xfacf4378 64> unit size <integer_cst 0xfacf4390 8>
            align 64 context <function_decl 0xf7d16980
_ZTv0_n64_NK6ThePEG23ConstituentParticleData15constituentMassEv>
            (parallel:BLK [
        (expr_list:REG_DEP_TRUE (reg:DI 101 [ <retval> ])
            (const_int 0 [0]))
    ])>>
    arg 1 <integer_cst 0xf6f188d0 type <pointer_type 0xf9a44540> constant 0>>
$1 = void
(gdb) p debug_tree(from)
 <ssa_name 0xf6f412d0
    type <real_type 0xfad06ba0 double sizes-gimplified asm_written type_6 DF
        size <integer_cst 0xfacf4378 constant 64>
        unit size <integer_cst 0xfacf4390 constant 8>
        align 64 symtab -85994080 alias set 8 canonical type 0xfad06ba0
precision 64
        pointer_to_this <pointer_type 0xfad06cc0> reference_to_this
<reference_type 0xfa644f60>>
    visited var <var_decl 0xf6c31b00 SR.222>def_stmt SR.222_7 = MEM[(const
struct ConstituentParticleData *)_2 + 8B];

    version 7>
$2 = void

public:

  /**
   * Return the constituent mass of this parton.
   */
  virtual Energy constituentMass() const { return theConstituentMass; }


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

* [Bug middle-end/61853] [4.9,4.10 Regression] ICE: SIGSEGV in store_field
       [not found] <bug-61853-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2014-07-19 23:02 ` danglin at gcc dot gnu.org
@ 2014-07-19 23:29 ` ebotcazou at gcc dot gnu.org
  2014-07-20 20:14 ` danglin at gcc dot gnu.org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-07-19 23:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
>         arg 0 <result_decl 0xf6feb960 D.88242 type <record_type 0xfab45600
> Energy>
>             used ignored regdecl DF file ConstituentParticleData.h line 57
> col 18 size <integer_cst 0xfacf4378 64> unit size <integer_cst 0xfacf4390 8>
>             align 64 context <function_decl 0xf7d16980
> _ZTv0_n64_NK6ThePEG23ConstituentParticleData15constituentMassEv>
>             (parallel:BLK [
>         (expr_list:REG_DEP_TRUE (reg:DI 101 [ <retval> ])
>             (const_int 0 [0]))
>     ])>>

Why is the DECL_MODE of the result DFmode while its DECL_RTL has BLKmode? 
What's the mode of the record type?


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

* [Bug middle-end/61853] [4.9,4.10 Regression] ICE: SIGSEGV in store_field
       [not found] <bug-61853-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2014-07-19 23:29 ` ebotcazou at gcc dot gnu.org
@ 2014-07-20 20:14 ` danglin at gcc dot gnu.org
  2014-07-23 12:46 ` [Bug middle-end/61853] [4.9/4.10 " rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-07-20 20:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from John David Anglin <danglin at gcc dot gnu.org> ---
PR 61858 may be related, or possibly a duplicate of this bug.


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

* [Bug middle-end/61853] [4.9/4.10 Regression] ICE: SIGSEGV in store_field
       [not found] <bug-61853-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2014-07-20 20:14 ` danglin at gcc dot gnu.org
@ 2014-07-23 12:46 ` rguenth at gcc dot gnu.org
  2014-09-13 18:29 ` [Bug middle-end/61853] [4.9/5 " danglin at gcc dot gnu.org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-07-23 12:46 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.2
            Summary|[4.9,4.10 Regression] ICE:  |[4.9/4.10 Regression] ICE:
                   |SIGSEGV in store_field      |SIGSEGV in store_field


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

* [Bug middle-end/61853] [4.9/5 Regression] ICE: SIGSEGV in store_field
       [not found] <bug-61853-4@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2014-07-23 12:46 ` [Bug middle-end/61853] [4.9/4.10 " rguenth at gcc dot gnu.org
@ 2014-09-13 18:29 ` danglin at gcc dot gnu.org
  2014-09-13 19:04 ` danglin at gcc dot gnu.org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-09-13 18:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from John David Anglin <danglin at gcc dot gnu.org> ---
Gimple from expand:

virtual ThePEG::Units::Energy
ThePEG::ConstituentParticleData::_ZTv0_n64_NK6TheP
EG23ConstituentParticleData15constituentMassEv() const (const struct
Constituent
ParticleData * const this)
{
  double SR.221;
  int (*<Td579>) () vcalloffset.173;
  int (*<Td579>) () * vtableaddr.172;
  struct Energy <retval>;
  sizetype _1;
  const struct ConstituentParticleData * _2;

;;   basic block 2, loop depth 0
;;    pred:       ENTRY
  vtableaddr.172_5 = MEM[(int (*<Td579>) () * *)this_3(D)];
  vcalloffset.173_6 = MEM[(int (*<Td579>) () *)vtableaddr.172_5 + -64B];
  _1 = (sizetype) vcalloffset.173_6;
  _2 = this_3(D) + _1;
  # DEBUG this => _2
  SR.221_8 = MEM[(const struct ConstituentParticleData *)_2 + 8B];
  MEM[(struct Qty *)&<retval>] = SR.221_8;
  return <retval>;
;;    succ:       EXIT


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

* [Bug middle-end/61853] [4.9/5 Regression] ICE: SIGSEGV in store_field
       [not found] <bug-61853-4@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2014-09-13 18:29 ` [Bug middle-end/61853] [4.9/5 " danglin at gcc dot gnu.org
@ 2014-09-13 19:04 ` danglin at gcc dot gnu.org
  2014-09-16 23:40 ` [Bug target/61853] " danglin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-09-13 19:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from John David Anglin <danglin at gcc dot gnu.org> ---
This is probably a bug in pa_function_value.  Nominally, we return
5 to 8 byte aggregate values in a BLKmode because of the odd right
justification of the object.  However in this case, we have a DFmode
aggregate and treating it as BLKmode causes the ICE.


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

* [Bug target/61853] [4.9/5 Regression] ICE: SIGSEGV in store_field
       [not found] <bug-61853-4@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2014-09-13 19:04 ` danglin at gcc dot gnu.org
@ 2014-09-16 23:40 ` danglin at gcc dot gnu.org
  2014-09-16 23:43 ` danglin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-09-16 23:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from John David Anglin <danglin at gcc dot gnu.org> ---
Author: danglin
Date: Tue Sep 16 23:39:28 2014
New Revision: 215309

URL: https://gcc.gnu.org/viewcvs?rev=215309&root=gcc&view=rev
Log:
    PR target/61853
    * config/pa/pa.c (pa_function_value): Directly handle aggregates
    that fit exactly in a word or double word.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/pa/pa.c


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

* [Bug target/61853] [4.9/5 Regression] ICE: SIGSEGV in store_field
       [not found] <bug-61853-4@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2014-09-16 23:40 ` [Bug target/61853] " danglin at gcc dot gnu.org
@ 2014-09-16 23:43 ` danglin at gcc dot gnu.org
  2014-09-16 23:44 ` danglin at gcc dot gnu.org
  2014-09-16 23:44 ` danglin at gcc dot gnu.org
  13 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-09-16 23:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #14 from John David Anglin <danglin at gcc dot gnu.org> ---
Author: danglin
Date: Tue Sep 16 23:42:44 2014
New Revision: 215310

URL: https://gcc.gnu.org/viewcvs?rev=215310&root=gcc&view=rev
Log:
    PR target/61853
    * config/pa/pa.c (pa_function_value): Directly handle aggregates
    that fit exactly in a word or double word.


Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/config/pa/pa.c


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

* [Bug target/61853] [4.9/5 Regression] ICE: SIGSEGV in store_field
       [not found] <bug-61853-4@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2014-09-16 23:43 ` danglin at gcc dot gnu.org
@ 2014-09-16 23:44 ` danglin at gcc dot gnu.org
  2014-09-16 23:44 ` danglin at gcc dot gnu.org
  13 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-09-16 23:44 UTC (permalink / raw)
  To: gcc-bugs

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

John David Anglin <danglin at gcc dot gnu.org> changed:

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

--- Comment #16 from John David Anglin <danglin at gcc dot gnu.org> ---
Fixed in backend.


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

* [Bug target/61853] [4.9/5 Regression] ICE: SIGSEGV in store_field
       [not found] <bug-61853-4@http.gcc.gnu.org/bugzilla/>
                   ` (12 preceding siblings ...)
  2014-09-16 23:44 ` danglin at gcc dot gnu.org
@ 2014-09-16 23:44 ` danglin at gcc dot gnu.org
  13 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-09-16 23:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #15 from John David Anglin <danglin at gcc dot gnu.org> ---
*** Bug 61858 has been marked as a duplicate of this bug. ***


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

end of thread, other threads:[~2014-09-16 23:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-61853-4@http.gcc.gnu.org/bugzilla/>
2014-07-19 21:13 ` [Bug middle-end/61853] [4.9,4.10 Regression] ICE: SIGSEGV in store_field danglin at gcc dot gnu.org
2014-07-19 21:39 ` ebotcazou at gcc dot gnu.org
2014-07-19 21:44 ` dave.anglin at bell dot net
2014-07-19 22:43 ` danglin at gcc dot gnu.org
2014-07-19 23:02 ` danglin at gcc dot gnu.org
2014-07-19 23:29 ` ebotcazou at gcc dot gnu.org
2014-07-20 20:14 ` danglin at gcc dot gnu.org
2014-07-23 12:46 ` [Bug middle-end/61853] [4.9/4.10 " rguenth at gcc dot gnu.org
2014-09-13 18:29 ` [Bug middle-end/61853] [4.9/5 " danglin at gcc dot gnu.org
2014-09-13 19:04 ` danglin at gcc dot gnu.org
2014-09-16 23:40 ` [Bug target/61853] " danglin at gcc dot gnu.org
2014-09-16 23:43 ` danglin at gcc dot gnu.org
2014-09-16 23:44 ` danglin at gcc dot gnu.org
2014-09-16 23:44 ` danglin 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).