public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/32589]  New: exp_dbug.adb:981: error: invalid array index
@ 2007-07-02 17:02 danglin at gcc dot gnu dot org
  2007-07-02 21:44 ` [Bug ada/32589] " ebotcazou at gcc dot gnu dot org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-07-02 17:02 UTC (permalink / raw)
  To: gcc-bugs

/test/gnu/gcc/objdir/./prev-gcc/xgcc -B/test/gnu/gcc/objdir/./prev-gcc/
-B/opt/g
nu/gcc/gcc-4.3.0/hppa2.0w-hp-hpux11.11/bin/ -c -g -O2 -mdisable-indexing    
-gn
atpg -gnata -nostdinc -I- -I. -Iada -I../../gcc/gcc/ada
../../gcc/gcc/ada/exp_db
ug.adb -o ada/exp_dbug.o
../../gcc/gcc/ada/exp_dbug.adb: In function
'Exp_Dbug.Prepend_String_To_Buffer':
../../gcc/gcc/ada/exp_dbug.adb:981: error: invalid array index
(<unnamed-signed:32>) MAX_EXPR <D.2719_31, 0> + 1;

+===========================GNAT BUG DETECTED==============================+
| 4.3.0 20070702 (experimental) (hppa2.0w-hp-hpux11.11) verify_stmts failed|
| Error detected around ../../gcc/gcc/ada/exp_dbug.adb:981                 |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+

-bash-2.05b$ ./xgcc -B./ -v
Reading specs from ./specs
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as
--enable-shared --disable-nls --with-local-prefix=/opt/gnu
--prefix=/opt/gnu/gcc/gcc-4.3.0 --enable-debug=no --enable-threads=posix
--with-mpfr=/opt/gnu/gcc/gcc-4.3.0 --with-gmp=/opt/gnu/gcc/gcc-4.3.0
--disable-libmudflap --enable-languages=c,c++,objc,obj-c++,fortran,java,ada
Thread model: posix
gcc version 4.3.0 20070702 (experimental)


-- 
           Summary: exp_dbug.adb:981: error: invalid array index
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


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


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

* [Bug ada/32589] exp_dbug.adb:981: error: invalid array index
  2007-07-02 17:02 [Bug ada/32589] New: exp_dbug.adb:981: error: invalid array index danglin at gcc dot gnu dot org
@ 2007-07-02 21:44 ` ebotcazou at gcc dot gnu dot org
  2007-07-02 21:44 ` ebotcazou at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-07-02 21:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ebotcazou at gcc dot gnu dot org  2007-07-02 21:44 -------
Present on x86 too (but not x86-64).


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|hppa2.0w-hp-hpux11.11       |
   GCC host triplet|hppa2.0w-hp-hpux11.11       |
 GCC target triplet|hppa2.0w-hp-hpux11.11       |
   Last reconfirmed|0000-00-00 00:00:00         |2007-07-02 21:44:21
               date|                            |


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


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

* [Bug ada/32589] exp_dbug.adb:981: error: invalid array index
  2007-07-02 17:02 [Bug ada/32589] New: exp_dbug.adb:981: error: invalid array index danglin at gcc dot gnu dot org
  2007-07-02 21:44 ` [Bug ada/32589] " ebotcazou at gcc dot gnu dot org
@ 2007-07-02 21:44 ` ebotcazou at gcc dot gnu dot org
  2007-07-02 21:59 ` [Bug middle-end/32589] [4.3 Regression] " pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-07-02 21:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ebotcazou at gcc dot gnu dot org  2007-07-02 21:44 -------
Investigating.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-07-02 21:44:21         |2007-07-02 21:44:38
               date|                            |


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


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

* [Bug middle-end/32589] [4.3 Regression] exp_dbug.adb:981: error: invalid array index
  2007-07-02 17:02 [Bug ada/32589] New: exp_dbug.adb:981: error: invalid array index danglin at gcc dot gnu dot org
  2007-07-02 21:44 ` [Bug ada/32589] " ebotcazou at gcc dot gnu dot org
  2007-07-02 21:44 ` ebotcazou at gcc dot gnu dot org
@ 2007-07-02 21:59 ` pinskia at gcc dot gnu dot org
  2007-07-03 13:10 ` ebotcazou at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-07-02 21:59 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ada                         |middle-end
           Keywords|                            |build, ice-on-valid-code
            Summary|exp_dbug.adb:981: error:    |[4.3 Regression]
                   |invalid array index         |exp_dbug.adb:981: error:
                   |                            |invalid array index
   Target Milestone|---                         |4.3.0


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


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

* [Bug middle-end/32589] [4.3 Regression] exp_dbug.adb:981: error: invalid array index
  2007-07-02 17:02 [Bug ada/32589] New: exp_dbug.adb:981: error: invalid array index danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-07-02 21:59 ` [Bug middle-end/32589] [4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2007-07-03 13:10 ` ebotcazou at gcc dot gnu dot org
  2007-07-03 22:26 ` [Bug tree-optimization/32589] " ebotcazou at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-07-03 13:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ebotcazou at gcc dot gnu dot org  2007-07-03 13:10 -------
Reduced testcase:

package P is

   Name_Buffer : String (1 .. 100);
   Name_Len : Natural;

   procedure Proc (S : String);

end P;

package body P is

   procedure Proc (S : String) is
      N : constant Integer := S'Length;
   begin
      Name_Buffer (1 + N .. Name_Len + N) := Name_Buffer (1 .. Name_Len);
      Name_Buffer (1 .. N) := S;
      Name_Len := Name_Len + N;
   end;

end P;


Fallout of:

2007-06-30  Daniel Berlin  <dberlin@dberlin.org>

        Fix PR tree-optimization/32540
        Fix PR tree-optimization/31651

        * tree-ssa-sccvn.c: New file.

        * tree-ssa-sccvn.h: Ditto.


Value numbering D.759_64 stmt = D.759_64 = &p__name_buffer[1]{lb: 1 sz: 1} +
n_32;
RHS &p__name_buffer[1]{lb: 1 sz: 1} + n_32 simplified to
&p__name_buffer[(<unnamed-signed:32>) MAX_EXPR <D.738_31, 0> + 1]{lb: 1 sz: 1}
has constants 0

The replacement expression is is_gimple_min_invariant because TREE_INVARIANT
so simplify_binary_expression accepts it:

  /* Make sure result is not a complex expression consiting
     of operators of operators (IE (a + b) + (a + c))
     Otherwise, we will end up with unbounded expressions if
     fold does anything at all.  */
  if (result)
    {
      if (is_gimple_min_invariant (result))
        return result;
      else if (SSA_VAR_P (result))
        return result;


-- 


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


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

* [Bug tree-optimization/32589] [4.3 Regression] exp_dbug.adb:981: error: invalid array index
  2007-07-02 17:02 [Bug ada/32589] New: exp_dbug.adb:981: error: invalid array index danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-07-03 13:10 ` ebotcazou at gcc dot gnu dot org
@ 2007-07-03 22:26 ` ebotcazou at gcc dot gnu dot org
  2007-07-05  4:50 ` aoliva at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-07-03 22:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ebotcazou at gcc dot gnu dot org  2007-07-03 22:26 -------
Reclassifying.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |tree-optimization


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


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

* [Bug tree-optimization/32589] [4.3 Regression] exp_dbug.adb:981: error: invalid array index
  2007-07-02 17:02 [Bug ada/32589] New: exp_dbug.adb:981: error: invalid array index danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-07-03 22:26 ` [Bug tree-optimization/32589] " ebotcazou at gcc dot gnu dot org
@ 2007-07-05  4:50 ` aoliva at gcc dot gnu dot org
  2007-07-05  8:39 ` ebotcazou at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2007-07-05  4:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from aoliva at gcc dot gnu dot org  2007-07-05 04:50 -------
FWIW, I haven't been able to bootstrap on ppc64-linux-gnu after this patch went
in.  I'm not sure I'd tried a full bootstrap before (I've only very recently
got easy access to a ppc box), but the failure is bootstrap compare in a bunch
of Ada files.  bootstrap4 didn't make much difference.  I'm trying
ppc-linux-gnu now.


-- 

aoliva at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at gcc dot gnu dot
                   |                            |org


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


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

* [Bug tree-optimization/32589] [4.3 Regression] exp_dbug.adb:981: error: invalid array index
  2007-07-02 17:02 [Bug ada/32589] New: exp_dbug.adb:981: error: invalid array index danglin at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-07-05  4:50 ` aoliva at gcc dot gnu dot org
@ 2007-07-05  8:39 ` ebotcazou at gcc dot gnu dot org
  2007-07-06  0:36 ` aoliva at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-07-05  8:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from ebotcazou at gcc dot gnu dot org  2007-07-05 08:38 -------
> FWIW, I haven't been able to bootstrap on ppc64-linux-gnu after this patch went
> in.  I'm not sure I'd tried a full bootstrap before (I've only very recently
> got easy access to a ppc box), but the failure is bootstrap compare in a bunch
> of Ada files.

It's unrelated to this patch, and apparently a PPC64-specific problem, see
  http://gcc.gnu.org/ml/gcc/2007-06/msg00784.html


-- 


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


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

* [Bug tree-optimization/32589] [4.3 Regression] exp_dbug.adb:981: error: invalid array index
  2007-07-02 17:02 [Bug ada/32589] New: exp_dbug.adb:981: error: invalid array index danglin at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2007-07-05  8:39 ` ebotcazou at gcc dot gnu dot org
@ 2007-07-06  0:36 ` aoliva at gcc dot gnu dot org
  2007-07-07  4:05 ` rob1weld at aol dot com
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2007-07-06  0:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from aoliva at gcc dot gnu dot org  2007-07-06 00:36 -------
FWIW, ppc-linux-gnu bootstrap failed with the same tree, but reverting to
before the 2007-06-30 patch it worked again.  ppc64-linux-gnu still failed.


-- 


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


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

* [Bug tree-optimization/32589] [4.3 Regression] exp_dbug.adb:981: error: invalid array index
  2007-07-02 17:02 [Bug ada/32589] New: exp_dbug.adb:981: error: invalid array index danglin at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2007-07-06  0:36 ` aoliva at gcc dot gnu dot org
@ 2007-07-07  4:05 ` rob1weld at aol dot com
  2007-07-08 14:25 ` ebotcazou at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: rob1weld at aol dot com @ 2007-07-07  4:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rob1weld at aol dot com  2007-07-07 04:05 -------
I searched the last 30 reports using
http://gcc.gnu.org/bugzilla/buglist.cgi?product=gcc&version=4.3.0&chfieldfrom=2007-07-06&chfieldto=2007-07-07&chfieldvalue=&cmdtype=doit&order=Bug+Number
to find the best place to put this comment.

When I compile with --enable-languages=...,ada,... I get the same error as
reported here. I'm guessing that if this problem was not caused by 32004 or
32441 then it will be fixed here at 32589 :) .

When I compile with --enable-languages=c,c++,fortran,java,objc,obj-c++ (instead
of including Ada), I get this error instead:

...
Configuring stage 3 in i686-pc-linux-gnu/libgcc
... (a thousand or so lines later)
make[4]: Leaving directory `/opt/gcc-4_3-build/i686-pc-linux-gnu/libgcc'
make[3]: Leaving directory `/opt/gcc-4_3-build/i686-pc-linux-gnu/libgcc'
make[2]: Leaving directory `/opt/gcc-4_3-build'
make "DESTDIR=" "RPATH_ENVVAR=LD_LIBRARY_PATH"
"TARGET_SUBDIR=i686-pc-linux-gnu" ...
make[2]: Entering directory `/opt/gcc-4_3-build'
make[3]: Entering directory `/opt/gcc-4_3-build'
rm -f stage_current
make[3]: Leaving directory `/opt/gcc-4_3-build'
Comparing stages 2 and 3
warning: ./cc1-checksum.o differs
warning: ./cc1plus-checksum.o differs
warning: ./cc1obj-checksum.o differs
warning: ./cc1objplus-checksum.o differs
Bootstrap comparison failure!
./varasm.o differs
./i386.o differs
./gcc.o differs
./crtbeginS.o differs
./crtendS.o differs
make[2]: *** [compare] Error 1
make[2]: Leaving directory `/opt/gcc-4_3-build'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/opt/gcc-4_3-build'
make: *** [all] Error 2

That is a BCF in excess of the warnings (that are permissable).


-- 


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


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

* [Bug tree-optimization/32589] [4.3 Regression] exp_dbug.adb:981: error: invalid array index
  2007-07-02 17:02 [Bug ada/32589] New: exp_dbug.adb:981: error: invalid array index danglin at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2007-07-07  4:05 ` rob1weld at aol dot com
@ 2007-07-08 14:25 ` ebotcazou at gcc dot gnu dot org
  2007-07-11  9:43 ` [Bug tree-optimization/32589] [4.3 regression] " ebotcazou at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-07-08 14:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from ebotcazou at gcc dot gnu dot org  2007-07-08 14:25 -------
*** Bug 32675 has been marked as a duplicate of this bug. ***


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cato at df dot lth dot se


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


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

* [Bug tree-optimization/32589] [4.3 regression] exp_dbug.adb:981: error: invalid array index
  2007-07-02 17:02 [Bug ada/32589] New: exp_dbug.adb:981: error: invalid array index danglin at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2007-07-08 14:25 ` ebotcazou at gcc dot gnu dot org
@ 2007-07-11  9:43 ` ebotcazou at gcc dot gnu dot org
  2007-07-11  9:46 ` ebotcazou at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-07-11  9:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from ebotcazou at gcc dot gnu dot org  2007-07-11 09:43 -------
Subject: Bug 32589

Author: ebotcazou
Date: Wed Jul 11 09:43:25 2007
New Revision: 126545

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126545
Log:
        PR tree-optimization/32589
        * doc/tree-ssa.texi (Rough GIMPLE Grammar): Add missing rule.
        * tree-gimple.c (is_gimple_min_invariant): Clarify head comment.
        * tree-ssa-propagate.c (valid_gimple_expression_p): New
        predicate, extracted from...
        (set_rhs): ...here.  Call it for the expression on entry.
        * tree-ssa-propagate.h (valid_gimple_expression_p): Declare.
        * tree-ssa-sccvn.c: Include tree-ssa-propagate.h.
        (simplify_binary_expression): Use valid_gimple_expression_p
        to validate the simplification.
        * Makefile.in (tree-ssa-sccvn.o): Depends on tree-ssa-propagate.h.


Added:
    trunk/gcc/testsuite/gnat.dg/invariant_index.adb
    trunk/gcc/testsuite/gnat.dg/invariant_index.ads
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in
    trunk/gcc/doc/tree-ssa.texi
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-gimple.c
    trunk/gcc/tree-ssa-propagate.c
    trunk/gcc/tree-ssa-propagate.h
    trunk/gcc/tree-ssa-sccvn.c


-- 


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


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

* [Bug tree-optimization/32589] [4.3 regression] exp_dbug.adb:981: error: invalid array index
  2007-07-02 17:02 [Bug ada/32589] New: exp_dbug.adb:981: error: invalid array index danglin at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2007-07-11  9:43 ` [Bug tree-optimization/32589] [4.3 regression] " ebotcazou at gcc dot gnu dot org
@ 2007-07-11  9:46 ` ebotcazou at gcc dot gnu dot org
  2007-07-12  0:55 ` rob1weld at aol dot com
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-07-11  9:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from ebotcazou at gcc dot gnu dot org  2007-07-11 09:46 -------
The compiler now bootstraps, but the library still doesn't build.


-- 

ebotcazou at gcc dot gnu dot org changed:

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


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


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

* [Bug tree-optimization/32589] [4.3 regression] exp_dbug.adb:981: error: invalid array index
  2007-07-02 17:02 [Bug ada/32589] New: exp_dbug.adb:981: error: invalid array index danglin at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2007-07-11  9:46 ` ebotcazou at gcc dot gnu dot org
@ 2007-07-12  0:55 ` rob1weld at aol dot com
  2007-07-12  6:00 ` ebotcazou at gcc dot gnu dot org
  2007-07-13  7:27 ` rob1weld at aol dot com
  14 siblings, 0 replies; 16+ messages in thread
From: rob1weld at aol dot com @ 2007-07-12  0:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from rob1weld at aol dot com  2007-07-12 00:55 -------
I am building on target i686-pc-linux-gnu and have not noticed this problem
with this target. It does NOT occur for a 'regular' "make", only seems to
happen with this last "make profiledbootstrap" that I did:

We have a problem of 'doubling up the directories'. This _always_ occurs for
platform i686-pc-cygwin as described here (with a FIX):
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30341

That means I have these directories when the build crashed:

/opt/gcc-4_3-build/stage1-gcc/stage1-gcc/
/opt/gcc-4_3-build/stage1-i686-pc-linux-gnu/stage1-i686-pc-linux-gnu/
/opt/gcc-4_3-build/stage1-intl/stage1-intl/
/opt/gcc-4_3-build/stage1-libcpp/stage1-libcpp/
/opt/gcc-4_3-build/stage1-libdecnumber/stage1-libdecnumber/
/opt/gcc-4_3-build/stage1-libiberty/stage1-libiberty/      
/opt/gcc-4_3-build/stage1-zlib/stage1-zlib/                

That wastes a huge amount of space if the makefiles are double building 
everything and not deleting (or merging) unused directories as it goes.

This is likely causing the BCF, the "*.gcda not found, execution counts
estimated" problem, and other related errors.

You say "compiler now bootstraps", I hope that means the 'doubling' is fixed
since it could knock out builds on smaller (or nearly full) HDs.


-- 


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


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

* [Bug tree-optimization/32589] [4.3 regression] exp_dbug.adb:981: error: invalid array index
  2007-07-02 17:02 [Bug ada/32589] New: exp_dbug.adb:981: error: invalid array index danglin at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2007-07-12  0:55 ` rob1weld at aol dot com
@ 2007-07-12  6:00 ` ebotcazou at gcc dot gnu dot org
  2007-07-13  7:27 ` rob1weld at aol dot com
  14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-07-12  6:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from ebotcazou at gcc dot gnu dot org  2007-07-12 06:00 -------
> We have a problem of 'doubling up the directories'. This _always_ occurs for
> platform i686-pc-cygwin as described here (with a FIX):
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30341

Please do not pollute this ticket with unrelated stuff.

> You say "compiler now bootstraps", I hope that means the 'doubling' is fixed
> since it could knock out builds on smaller (or nearly full) HDs.

No, it only means that the compiler now bootstraps.


-- 


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


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

* [Bug tree-optimization/32589] [4.3 regression] exp_dbug.adb:981: error: invalid array index
  2007-07-02 17:02 [Bug ada/32589] New: exp_dbug.adb:981: error: invalid array index danglin at gcc dot gnu dot org
                   ` (13 preceding siblings ...)
  2007-07-12  6:00 ` ebotcazou at gcc dot gnu dot org
@ 2007-07-13  7:27 ` rob1weld at aol dot com
  14 siblings, 0 replies; 16+ messages in thread
From: rob1weld at aol dot com @ 2007-07-13  7:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from rob1weld at aol dot com  2007-07-13 07:27 -------
>Comment #13 From Eric Botcazou 2007-07-12 06:00 [reply] ------- 
>Please do not pollute this ticket with unrelated stuff.

I posted here after previously searching many messages, and again re-searching
more messages to see if you had made a new ticket in regards to:

> ... but the library still doesn't build.

I only posted in relation to "the build being broken at this point". I thought
the info was related and would assist you in your repairs to have the build
work _completely_ at this point in time.

Thank you for fixing the portion that was fixed.


-- 


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


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

end of thread, other threads:[~2007-07-13  7:27 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-02 17:02 [Bug ada/32589] New: exp_dbug.adb:981: error: invalid array index danglin at gcc dot gnu dot org
2007-07-02 21:44 ` [Bug ada/32589] " ebotcazou at gcc dot gnu dot org
2007-07-02 21:44 ` ebotcazou at gcc dot gnu dot org
2007-07-02 21:59 ` [Bug middle-end/32589] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-07-03 13:10 ` ebotcazou at gcc dot gnu dot org
2007-07-03 22:26 ` [Bug tree-optimization/32589] " ebotcazou at gcc dot gnu dot org
2007-07-05  4:50 ` aoliva at gcc dot gnu dot org
2007-07-05  8:39 ` ebotcazou at gcc dot gnu dot org
2007-07-06  0:36 ` aoliva at gcc dot gnu dot org
2007-07-07  4:05 ` rob1weld at aol dot com
2007-07-08 14:25 ` ebotcazou at gcc dot gnu dot org
2007-07-11  9:43 ` [Bug tree-optimization/32589] [4.3 regression] " ebotcazou at gcc dot gnu dot org
2007-07-11  9:46 ` ebotcazou at gcc dot gnu dot org
2007-07-12  0:55 ` rob1weld at aol dot com
2007-07-12  6:00 ` ebotcazou at gcc dot gnu dot org
2007-07-13  7:27 ` rob1weld at aol dot com

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).