public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/15121] New: [tree-ssa] [regression] missing store from nested function
@ 2004-04-25  0:39 pinskia at gcc dot gnu dot org
  2004-04-25  1:34 ` [Bug optimization/15121] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-25  0:39 UTC (permalink / raw)
  To: gcc-bugs

>From looking at looking at PR 15117 and seeing if I could reproduce it (which I could not 
but that might be due to a local patch).

void g(int*);
void foo ()
{
  int a[10];
  void bar()
    { 
      a[0] = 0;  //<--- this is missing
    }
  bar();
  g(a);
}

-- 
           Summary: [tree-ssa] [regression] missing store from nested
                    function
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 BugsThisDependsOn: 15117


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


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

* [Bug optimization/15121] [tree-ssa] [regression] missing store from nested function
  2004-04-25  0:39 [Bug optimization/15121] New: [tree-ssa] [regression] missing store from nested function pinskia at gcc dot gnu dot org
@ 2004-04-25  1:34 ` pinskia at gcc dot gnu dot org
  2004-05-06  4:26 ` pinskia at gcc dot gnu dot org
  2004-05-06  4:28 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-25  1:34 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |tree-ssa


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


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

* [Bug optimization/15121] [tree-ssa] [regression] missing store from nested function
  2004-04-25  0:39 [Bug optimization/15121] New: [tree-ssa] [regression] missing store from nested function pinskia at gcc dot gnu dot org
  2004-04-25  1:34 ` [Bug optimization/15121] " pinskia at gcc dot gnu dot org
@ 2004-05-06  4:26 ` pinskia at gcc dot gnu dot org
  2004-05-06  4:28 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-06  4:26 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 15121 depends on bug 15117, which changed state.

Bug 15117 Summary: [tree-ssa] ICE in create_tmp_var_for with nested functions
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15117

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

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


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

* [Bug optimization/15121] [tree-ssa] [regression] missing store from nested function
  2004-04-25  0:39 [Bug optimization/15121] New: [tree-ssa] [regression] missing store from nested function pinskia at gcc dot gnu dot org
  2004-04-25  1:34 ` [Bug optimization/15121] " pinskia at gcc dot gnu dot org
  2004-05-06  4:26 ` pinskia at gcc dot gnu dot org
@ 2004-05-06  4:28 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-06  4:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-06 04:28 -------
Fixed by one of the following:

2004-05-05  Richard Henderson  <rth@redhat.com>

        * tree-nested.c (create_tmp_var_for): Disallow variable sized types.
        (convert_nonlocal_reference): Set val_only false for the base of a
        component or array reference.
        (convert_local_reference): Likewise.

2004-05-05  Richard Henderson  <rth@redhat.com>

        * gimplify.c (create_tmp_var): Disallow variable sized objects.
        (gimplify_modify_expr): Don't memcpy for VA_ARG_EXPR.

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


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


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

end of thread, other threads:[~2004-05-06  4:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-25  0:39 [Bug optimization/15121] New: [tree-ssa] [regression] missing store from nested function pinskia at gcc dot gnu dot org
2004-04-25  1:34 ` [Bug optimization/15121] " pinskia at gcc dot gnu dot org
2004-05-06  4:26 ` pinskia at gcc dot gnu dot org
2004-05-06  4:28 ` 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).