Hi, I identified the patch that causes the Ada bootstrap
failure on x86 and x86_64 (at least):

../../xgcc -B../../ -c -g -O2 -fPIC      -W -Wall -gnatpg  s-stratt.adb -o
s-stratt.o
+===========================GNAT BUG DETECTED==============================+
| 4.0.0 20041123 (experimental) (i686-pc-linux-gnu) GCC error:             |
| in gen_lowpart_general, at rtlhooks.c:58                                 |
| Error detected at s-stratt.adb:671:1                                     |

works: cvs up -D "2004/11/24 00:06:17 UTC"
breaks: cvs up -D "2004/11/24 00:10:17 UTC"

date: 2004/11/24 00:08:17;  author: rth;  state: Exp;  lines: +11 -0
        * rtl.h (validate_subreg): Declare.
        * emit-rtl.c (validate_subreg): New.
        (gen_rtx_SUBREG): Use it.
        * simplify-rtx.c (simplify_subreg): Likewise.
        (simplify_gen_subreg): Likewise.  Remove duplicate asserts.
        * expr.c (emit_move_insn_1): Tidy complex move code.  Use memory
        fallback whenever gen_realpart/gen_imagpart would not be able to
        create SUBREGs.

-- 
           Summary: Ada boostrap broken
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: laurent at guerby dot net
                CC: gcc-bugs at gcc dot gnu dot org,laurent at guerby dot
                    net,rth at gcc dot gnu dot org


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

Reply via email to