public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/23492] [4.1 Regression] ACATS c48009e SEGV in set_bb_for_stmt tree-cfg.c:2673 on x86_64
       [not found] <bug-23492-7210@http.gcc.gnu.org/bugzilla/>
@ 2005-10-30 22:10 ` pinskia at gcc dot gnu dot org
  2005-10-31  0:11 ` [Bug middle-end/23492] " pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-30 22:10 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


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


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

* [Bug middle-end/23492] [4.1 Regression] ACATS c48009e SEGV in set_bb_for_stmt tree-cfg.c:2673 on x86_64
       [not found] <bug-23492-7210@http.gcc.gnu.org/bugzilla/>
  2005-10-30 22:10 ` [Bug ada/23492] [4.1 Regression] ACATS c48009e SEGV in set_bb_for_stmt tree-cfg.c:2673 on x86_64 pinskia at gcc dot gnu dot org
@ 2005-10-31  0:11 ` pinskia at gcc dot gnu dot org
  2005-10-31  0:26 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-31  0:11 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ada                         |middle-end
           Priority|P2                          |P3


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


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

* [Bug middle-end/23492] [4.1 Regression] ACATS c48009e SEGV in set_bb_for_stmt tree-cfg.c:2673 on x86_64
       [not found] <bug-23492-7210@http.gcc.gnu.org/bugzilla/>
  2005-10-30 22:10 ` [Bug ada/23492] [4.1 Regression] ACATS c48009e SEGV in set_bb_for_stmt tree-cfg.c:2673 on x86_64 pinskia at gcc dot gnu dot org
  2005-10-31  0:11 ` [Bug middle-end/23492] " pinskia at gcc dot gnu dot org
@ 2005-10-31  0:26 ` pinskia at gcc dot gnu dot org
  2005-10-31  5:02 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-31  0:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-10-31 00:26 -------
Confirmed, this is a tree-inliner bug, we have a zero sized type which we are
inlining and we remove the statement and set the expression to NULL.  I have a
fix which I am going to bootstrap/test and apply as obvious if it passes.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-10-31 00:26:07
               date|                            |


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


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

* [Bug middle-end/23492] [4.1 Regression] ACATS c48009e SEGV in set_bb_for_stmt tree-cfg.c:2673 on x86_64
       [not found] <bug-23492-7210@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-10-31  0:26 ` pinskia at gcc dot gnu dot org
@ 2005-10-31  5:02 ` pinskia at gcc dot gnu dot org
  2005-10-31  5:13 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-31  5:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2005-10-31 05:02 -------
Here is a C testcase (so that Mark does not lower this to P5):
struct f {};
struct g1 {struct f l;};
static inline void g(struct f a, int i){}
void h(void)
{
  struct g1 t;
  g(t.l , 1);
}


-- 


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


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

* [Bug middle-end/23492] [4.1 Regression] ACATS c48009e SEGV in set_bb_for_stmt tree-cfg.c:2673 on x86_64
       [not found] <bug-23492-7210@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2005-10-31  5:02 ` pinskia at gcc dot gnu dot org
@ 2005-10-31  5:13 ` pinskia at gcc dot gnu dot org
  2005-10-31  5:22 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-31  5:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2005-10-31 05:13 -------
I decided against committing the patch as obvious.
Anyways the patch was posted:
http://gcc.gnu.org/ml/gcc-patches/2005-10/msg01770.html


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |10/msg01770.html
           Keywords|                            |patch


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


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

* [Bug middle-end/23492] [4.1 Regression] ACATS c48009e SEGV in set_bb_for_stmt tree-cfg.c:2673 on x86_64
       [not found] <bug-23492-7210@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2005-10-31  5:13 ` pinskia at gcc dot gnu dot org
@ 2005-10-31  5:22 ` mmitchel at gcc dot gnu dot org
  2005-10-31 13:22 ` pinskia at gcc dot gnu dot org
  2005-10-31 13:22 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-31  5:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from mmitchel at gcc dot gnu dot org  2005-10-31 05:22 -------
This patch is OK, assuming no objections within 24 hours.


-- 

mmitchel at gcc dot gnu dot org changed:

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


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


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

* [Bug middle-end/23492] [4.1 Regression] ACATS c48009e SEGV in set_bb_for_stmt tree-cfg.c:2673 on x86_64
       [not found] <bug-23492-7210@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2005-10-31  5:22 ` mmitchel at gcc dot gnu dot org
@ 2005-10-31 13:22 ` pinskia at gcc dot gnu dot org
  2005-10-31 13:22 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-31 13:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2005-10-31 13:22 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug middle-end/23492] [4.1 Regression] ACATS c48009e SEGV in set_bb_for_stmt tree-cfg.c:2673 on x86_64
       [not found] <bug-23492-7210@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2005-10-31 13:22 ` pinskia at gcc dot gnu dot org
@ 2005-10-31 13:22 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-31 13:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2005-10-31 13:22 -------
Subject: Bug 23492

Author: pinskia
Date: Mon Oct 31 13:22:20 2005
New Revision: 106270

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106270
Log:
2005-10-31  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/23492
        * tree-inline.c (setup_one_parameter): If the init_stmt
        is NULL, don't insert the statement.
2005-10-31  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/23492
        * gcc.c-torture/compile/zero-strct-5.c: New test.


Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/zero-strct-5.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-inline.c


-- 


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


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

end of thread, other threads:[~2005-10-31 13:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-23492-7210@http.gcc.gnu.org/bugzilla/>
2005-10-30 22:10 ` [Bug ada/23492] [4.1 Regression] ACATS c48009e SEGV in set_bb_for_stmt tree-cfg.c:2673 on x86_64 pinskia at gcc dot gnu dot org
2005-10-31  0:11 ` [Bug middle-end/23492] " pinskia at gcc dot gnu dot org
2005-10-31  0:26 ` pinskia at gcc dot gnu dot org
2005-10-31  5:02 ` pinskia at gcc dot gnu dot org
2005-10-31  5:13 ` pinskia at gcc dot gnu dot org
2005-10-31  5:22 ` mmitchel at gcc dot gnu dot org
2005-10-31 13:22 ` pinskia at gcc dot gnu dot org
2005-10-31 13:22 ` pinskia at gcc dot gnu dot 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).