public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/33140]  New: [4.3 Regression] ICE in build2_stat, at tree.c:3115
@ 2007-08-21 21:01 tbm at cyrius dot com
  2007-08-21 21:03 ` [Bug tree-optimization/33140] " tbm at cyrius dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: tbm at cyrius dot com @ 2007-08-21 21:01 UTC (permalink / raw)
  To: gcc-bugs

I'm getting the following ICE with current trunk.  This appeared between
20070720 and 20070811.

(sid)25830:tbm@em64t: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O2 pari-base1.c
pari-base1.c: In function 'initzeta':
pari-base1.c:42: internal compiler error: in build2_stat, at tree.c:3115
Please submit a full bug report,
with preprocessed source if appropriate.


-- 
           Summary: [4.3 Regression] ICE in build2_stat, at tree.c:3115
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com


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


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

* [Bug tree-optimization/33140] [4.3 Regression] ICE in build2_stat, at tree.c:3115
  2007-08-21 21:01 [Bug tree-optimization/33140] New: [4.3 Regression] ICE in build2_stat, at tree.c:3115 tbm at cyrius dot com
  2007-08-21 21:03 ` [Bug tree-optimization/33140] " tbm at cyrius dot com
@ 2007-08-21 21:03 ` tbm at cyrius dot com
  2007-08-29  0:37 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tbm at cyrius dot com @ 2007-08-21 21:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tbm at cyrius dot com  2007-08-21 21:03 -------
typedef long unsigned int size_t;
typedef struct
{
}
ldiv_t;
typedef unsigned long int ulong;
enum
{
  t_INT = 1, t_REAL = 2, t_INTMOD = 3, t_FRAC = 4, t_COMPLEX = 6, t_PADIC =
    15, t_QFI = 16, t_VEC = 17, t_COL = 18, t_MAT = 19, t_LIST = 20, t_STR =
    21, t_VECSMALL = 22
};
typedef long *GEN;
typedef ulong pari_sp;
extern pari_sp avma, bot, top;
GEN gerepileuptoleaf (pari_sp av, GEN q);
GEN mulir (GEN x, GEN y);
GEN mulrr (GEN x, GEN y);
__inline__ static GEN
new_chunk (size_t x)
{
  const GEN z = ((GEN) avma) - x;
  return z;
}
__inline__ static GEN
cgetg (long x, long y)
{
  const GEN z = new_chunk ((size_t) x);
  return z;
}
mpadd (GEN x, GEN y)
{
}
__inline__ static GEN
mpmul (GEN x, GEN y)
{
  return (((long) ((((ulong *) (y))[0]) >> ((1L << (3 + 3)) - 7))) ==
          t_INT) ? mulir (y, x) : mulrr (x, y);
}
GEN checkbnf_i (GEN bnf);
initzeta (GEN pol, long prec)
{
  GEN nfz, nf, gr1, gr2, gru, p1, p2, cst, coef, bnf = checkbnf_i (pol);
  GEN limx, resi, zet, C, coeflog, racpi, aij, tabj, colzero, *tabcstn,
    *tabcstni;
  long N0, i0, r1, r2, r, R, N, i, j, k, n, bit =
    (((prec) - 2) << (3 + 3)) + 6;
  pari_sp av, av2;
  C = cgetg (r + 1, t_MAT);
    {
      GEN aiji = (((GEN *) (aij))[i]);
      for (k = 1; k <= r; k++)
        {
              {
                GEN tabjn = (((GEN *) (tabj))[n]), p2 =
                  mpmul ((((GEN *) (aiji))[1 + k]), (((GEN *) (tabjn))[1]));
                for (j = 2; j <= r - k + 1; j++)
                    mpadd (p2,
                           mpmul ((((GEN *) (aiji))[j + k]),
                                  (((GEN *) (tabjn))[j])));
              }
          (((GEN **) (C))[k][i]) = gerepileuptoleaf (av2, p1);
        }
    }
}


-- 


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


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

* [Bug tree-optimization/33140] [4.3 Regression] ICE in build2_stat, at tree.c:3115
  2007-08-21 21:01 [Bug tree-optimization/33140] New: [4.3 Regression] ICE in build2_stat, at tree.c:3115 tbm at cyrius dot com
@ 2007-08-21 21:03 ` tbm at cyrius dot com
  2007-08-21 21:03 ` tbm at cyrius dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tbm at cyrius dot com @ 2007-08-21 21:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2007-08-21 21:03 -------
Maybe caused by this change?

2008-08-05  Andrew Pinski  <andrew_pinski@playstation.sony.com>


-- 


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


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

* [Bug tree-optimization/33140] [4.3 Regression] ICE in build2_stat, at tree.c:3115
  2007-08-21 21:01 [Bug tree-optimization/33140] New: [4.3 Regression] ICE in build2_stat, at tree.c:3115 tbm at cyrius dot com
  2007-08-21 21:03 ` [Bug tree-optimization/33140] " tbm at cyrius dot com
  2007-08-21 21:03 ` tbm at cyrius dot com
@ 2007-08-29  0:37 ` pinskia at gcc dot gnu dot org
  2007-08-29  0:45 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-29  0:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-08-29 00:37 -------
(In reply to comment #1)
> Maybe caused by this change?

No it could not have been caused by that as it made the assert weaker, not
stronger :).


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.0


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


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

* [Bug tree-optimization/33140] [4.3 Regression] ICE in build2_stat, at tree.c:3115
  2007-08-21 21:01 [Bug tree-optimization/33140] New: [4.3 Regression] ICE in build2_stat, at tree.c:3115 tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2007-08-29  0:37 ` pinskia at gcc dot gnu dot org
@ 2007-08-29  0:45 ` pinskia at gcc dot gnu dot org
  2007-08-29  1:00 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-29  0:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2007-08-29 00:45 -------
By the way, the ICE in build2_stat are very very target dependent because of
IV-OPTs.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|                            |x86_64-linux-gnu
           Keywords|                            |ice-on-valid-code


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


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

* [Bug tree-optimization/33140] [4.3 Regression] ICE in build2_stat, at tree.c:3115
  2007-08-21 21:01 [Bug tree-optimization/33140] New: [4.3 Regression] ICE in build2_stat, at tree.c:3115 tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2007-08-29  0:45 ` pinskia at gcc dot gnu dot org
@ 2007-08-29  1:00 ` pinskia at gcc dot gnu dot org
  2007-08-29 20:41 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-29  1:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2007-08-29 01:00 -------
Was caused by:
2007-08-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/32399
        * tree-ssa-address.c (add_to_parts): Use POINTER_PLUS_EXPR
        when adding to the base and convert ELT to sizetype instead of type.


-- 


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


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

* [Bug tree-optimization/33140] [4.3 Regression] ICE in build2_stat, at tree.c:3115
  2007-08-21 21:01 [Bug tree-optimization/33140] New: [4.3 Regression] ICE in build2_stat, at tree.c:3115 tbm at cyrius dot com
                   ` (4 preceding siblings ...)
  2007-08-29  1:00 ` pinskia at gcc dot gnu dot org
@ 2007-08-29 20:41 ` pinskia at gcc dot gnu dot org
  2007-09-05  2:18 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-29 20:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2007-08-29 20:41 -------
Mine, working on it.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         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         |2007-08-29 20:41:06
               date|                            |


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


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

* [Bug tree-optimization/33140] [4.3 Regression] ICE in build2_stat, at tree.c:3115
  2007-08-21 21:01 [Bug tree-optimization/33140] New: [4.3 Regression] ICE in build2_stat, at tree.c:3115 tbm at cyrius dot com
                   ` (5 preceding siblings ...)
  2007-08-29 20:41 ` pinskia at gcc dot gnu dot org
@ 2007-09-05  2:18 ` mmitchel at gcc dot gnu dot org
  2007-09-19 12:55 ` jakub at gcc dot gnu dot org
  2007-10-13 19:35 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-09-05  2:18 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

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


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


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

* [Bug tree-optimization/33140] [4.3 Regression] ICE in build2_stat, at tree.c:3115
  2007-08-21 21:01 [Bug tree-optimization/33140] New: [4.3 Regression] ICE in build2_stat, at tree.c:3115 tbm at cyrius dot com
                   ` (6 preceding siblings ...)
  2007-09-05  2:18 ` mmitchel at gcc dot gnu dot org
@ 2007-09-19 12:55 ` jakub at gcc dot gnu dot org
  2007-10-13 19:35 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-09-19 12:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jakub at gcc dot gnu dot org  2007-09-19 12:55 -------
This no longer reproduces on the trunk since
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128272


-- 


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


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

* [Bug tree-optimization/33140] [4.3 Regression] ICE in build2_stat, at tree.c:3115
  2007-08-21 21:01 [Bug tree-optimization/33140] New: [4.3 Regression] ICE in build2_stat, at tree.c:3115 tbm at cyrius dot com
                   ` (7 preceding siblings ...)
  2007-09-19 12:55 ` jakub at gcc dot gnu dot org
@ 2007-10-13 19:35 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-10-13 19:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2007-10-13 19:35 -------
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=33140


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

end of thread, other threads:[~2007-10-13 19:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-21 21:01 [Bug tree-optimization/33140] New: [4.3 Regression] ICE in build2_stat, at tree.c:3115 tbm at cyrius dot com
2007-08-21 21:03 ` [Bug tree-optimization/33140] " tbm at cyrius dot com
2007-08-21 21:03 ` tbm at cyrius dot com
2007-08-29  0:37 ` pinskia at gcc dot gnu dot org
2007-08-29  0:45 ` pinskia at gcc dot gnu dot org
2007-08-29  1:00 ` pinskia at gcc dot gnu dot org
2007-08-29 20:41 ` pinskia at gcc dot gnu dot org
2007-09-05  2:18 ` mmitchel at gcc dot gnu dot org
2007-09-19 12:55 ` jakub at gcc dot gnu dot org
2007-10-13 19:35 ` 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).