public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/17716] New: ICE in tree-ssa-dom
@ 2004-09-28 17:42 jakub at gcc dot gnu dot org
  2004-09-28 18:08 ` [Bug tree-optimization/17716] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2004-09-28 17:42 UTC (permalink / raw)
  To: gcc-bugs

/* { dg-do compile } */
/* { dg-options "-O2" } */
long x;
void
f3 (int i, ...)
{
  __builtin_va_list aps[10];
  __builtin_va_start(aps[4],i);
  x = __builtin_va_arg(aps[4],long);
  __builtin_va_end(aps[4]);
}

ICEs e.g. on powerpc (and on s390* I think as well, maybe others) in dom pass.

The problem seems that cprop propagates:
D.1144_7 = &aps[4];
...
addr.0_15 = D.1144_7->overflow_arg_area;

into:
addr.0_15 = (&aps[4])->overflow_arg_area;
(cprop_operand/propagate_value), but nothing verifies the result is really
gimple.

-- 
           Summary: ICE in tree-ssa-dom
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
                CC: dnovillo at redhat dot com,gcc-bugs at gcc dot gnu dot
                    org
GCC target triplet: powerpc-redhat-linux


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


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

* [Bug tree-optimization/17716] [4.0 Regression] ICE in tree-ssa-dom
  2004-09-28 17:42 [Bug tree-optimization/17716] New: ICE in tree-ssa-dom jakub at gcc dot gnu dot org
@ 2004-09-28 18:08 ` pinskia at gcc dot gnu dot org
  2004-09-28 18:18 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-28 18:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-28 18:08 -------
The problem is that fold does not fold *&a[0], I think I have a patch to do that but I need to real testing 
on the patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-28 18:08:21
               date|                            |
            Summary|ICE in tree-ssa-dom         |[4.0 Regression] ICE in
                   |                            |tree-ssa-dom
   Target Milestone|---                         |4.0.0


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


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

* [Bug tree-optimization/17716] [4.0 Regression] ICE in tree-ssa-dom
  2004-09-28 17:42 [Bug tree-optimization/17716] New: ICE in tree-ssa-dom jakub at gcc dot gnu dot org
  2004-09-28 18:08 ` [Bug tree-optimization/17716] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-09-28 18:18 ` pinskia at gcc dot gnu dot org
  2004-10-15  3:49 ` bje at gcc dot gnu dot org
  2004-10-21  1:12 ` bje at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-28 18:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-28 18:18 -------
Of course this only effects SYS-V and not PowerOpen based ABI for PPC.

-- 


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


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

* [Bug tree-optimization/17716] [4.0 Regression] ICE in tree-ssa-dom
  2004-09-28 17:42 [Bug tree-optimization/17716] New: ICE in tree-ssa-dom jakub at gcc dot gnu dot org
  2004-09-28 18:08 ` [Bug tree-optimization/17716] [4.0 Regression] " pinskia at gcc dot gnu dot org
  2004-09-28 18:18 ` pinskia at gcc dot gnu dot org
@ 2004-10-15  3:49 ` bje at gcc dot gnu dot org
  2004-10-21  1:12 ` bje at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bje at gcc dot gnu dot org @ 2004-10-15  3:49 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |bje at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug tree-optimization/17716] [4.0 Regression] ICE in tree-ssa-dom
  2004-09-28 17:42 [Bug tree-optimization/17716] New: ICE in tree-ssa-dom jakub at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-10-15  3:49 ` bje at gcc dot gnu dot org
@ 2004-10-21  1:12 ` bje at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bje at gcc dot gnu dot org @ 2004-10-21  1:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bje at gcc dot gnu dot org  2004-10-21 01:12 -------
Pinski asked me to close this :-)

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


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


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

end of thread, other threads:[~2004-10-21  1:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-28 17:42 [Bug tree-optimization/17716] New: ICE in tree-ssa-dom jakub at gcc dot gnu dot org
2004-09-28 18:08 ` [Bug tree-optimization/17716] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-09-28 18:18 ` pinskia at gcc dot gnu dot org
2004-10-15  3:49 ` bje at gcc dot gnu dot org
2004-10-21  1:12 ` bje 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).