public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/39848]  New: [4.5 Regression] Ada bootstrap is broken
@ 2009-04-22 14:25 danglin at gcc dot gnu dot org
  2009-04-22 15:28 ` [Bug middle-end/39848] " ebotcazou at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-04-22 14:25 UTC (permalink / raw)
  To: gcc-bugs

/test/gnu/gcc/objdir/./gcc/xgcc -B/test/gnu/gcc/objdir/./gcc/
-B/opt/gnu/gcc/gcc
-4.5.0/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-4.5.0/hppa2.0w-hp-hpux11.11
/lib/ -isystem /opt/gnu/gcc/gcc-4.5.0/hppa2.0w-hp-hpux11.11/include -isystem
/op
t/gnu/gcc/gcc-4.5.0/hppa2.0w-hp-hpux11.11/sys-include -c -g -O2   -W -Wall
-gnat
pg   g-soccon.ads -o g-soccon.o
/test/gnu/gcc/objdir/./gcc/xgcc -B/test/gnu/gcc/objdir/./gcc/
-B/opt/gnu/gcc/gcc
-4.5.0/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-4.5.0/hppa2.0w-hp-hpux11.11
/lib/ -isystem /opt/gnu/gcc/gcc-4.5.0/hppa2.0w-hp-hpux11.11/include -isystem
/op
t/gnu/gcc/gcc-4.5.0/hppa2.0w-hp-hpux11.11/sys-include -c -g -O2   -W -Wall
-gnat
pg   g-socket.adb -o g-socket.o
+===========================GNAT BUG DETECTED==============================+
| 4.5.0 20090422 (experimental) [trunk revision 146542] (hppa2.0w-hp-hpux11.11)
GCC error:|
| in make_decl_rtl, at varasm.c:1304                                       |
| Error detected around g-socket.adb:1746                                  |

This occurs in stage3 with the following gcc version:

-bash-3.2$ ./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.5.0 --enable-debug=no --enable-threads=posix
--with-mpfr=/opt/gnu/gcc/gcc-4.5.0 --with-gmp=/opt/gnu/gcc/gcc-4.5.0
--disable-libmudflap --enable-languages=c,c++,objc,obj-c++,fortran,java,ada
Thread model: posix
gcc version 4.5.0 20090422 (experimental) [trunk revision 146542] (GCC)


-- 
           Summary: [4.5 Regression] Ada bootstrap is broken
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        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=39848


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

* [Bug middle-end/39848] [4.5 Regression] Ada bootstrap is broken
  2009-04-22 14:25 [Bug middle-end/39848] New: [4.5 Regression] Ada bootstrap is broken danglin at gcc dot gnu dot org
@ 2009-04-22 15:28 ` ebotcazou at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-04-22 15:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ebotcazou at gcc dot gnu dot org  2009-04-22 15:27 -------
Caused by

2009-04-21  Martin Jambor  <mjambor@suse.cz>

        * tree-switch-conversion.c (build_constructors): Split a long line.
        (constructor_contains_same_values_p): New function.
        (build_one_array): Create assigns of constants if possible, do not
        call mark_sym_for_renaming, call update_stmt.
        (build_arrays): Call make_ssa_name (create_tmp_var ()) instead of
        make_rename_temp.  Do not call mark_symbols_for_renaming, call
        update_stmt.
        (gen_def_assigns): Do not call mark_symbols_for_renaming or
        find_new_referenced_vars, call update_stmt.
        (gen_inbound_check): Use create_tmp_var and create ssa names manually
        instead of calling make_rename_temp.  Do not call
        find_new_referenced_vars or mark_symbols_for_renaming, call
        update_stmt.

and fixed by

2009-04-22  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/39845
        * tree-switch-conversion.c (build_arrays): Add new referenced vars.
        (gen_inbound_check): Likewise.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |RESOLVED
  GCC build triplet|hppa2.0w-hp-hpux11.11       |
   GCC host triplet|hppa2.0w-hp-hpux11.11       |
 GCC target triplet|hppa2.0w-hp-hpux11.11       |
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


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


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

end of thread, other threads:[~2009-04-22 15:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-22 14:25 [Bug middle-end/39848] New: [4.5 Regression] Ada bootstrap is broken danglin at gcc dot gnu dot org
2009-04-22 15:28 ` [Bug middle-end/39848] " ebotcazou 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).