public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/48422] New: bootstrap failure for i686-*-* targets by ICE
@ 2011-04-03  7:45 ktietz at gcc dot gnu.org
  2011-04-03 12:45 ` [Bug middle-end/48422] [4.7 Regression] " burnus at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-04-03  7:45 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: bootstrap failure for i686-*-* targets by ICE
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ktietz@gcc.gnu.org


The following trivial program leads to an ICE.

t_ice.f90:
program main

end

------------------

$ i686-w64-mingw32-gfortran.exe -c -o t.o t_ice.f90
t_ice.f90: In function 'main':
t_ice.f90:3:0: internal compiler error: in lhd_set_decl_assembler_name, at
langhooks.c:158
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug middle-end/48422] [4.7 Regression] bootstrap failure for i686-*-* targets by ICE
  2011-04-03  7:45 [Bug fortran/48422] New: bootstrap failure for i686-*-* targets by ICE ktietz at gcc dot gnu.org
@ 2011-04-03 12:45 ` burnus at gcc dot gnu.org
  2011-04-03 15:31 ` burnus at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-04-03 12:45 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build, ice-on-valid-code
                 CC|                            |burnus at gcc dot gnu.org
          Component|fortran                     |middle-end
   Target Milestone|---                         |4.7.0
            Summary|bootstrap failure for       |[4.7 Regression] bootstrap
                   |i686-*-* targets by ICE     |failure for i686-*-*
                   |                            |targets by ICE


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

* [Bug middle-end/48422] [4.7 Regression] bootstrap failure for i686-*-* targets by ICE
  2011-04-03  7:45 [Bug fortran/48422] New: bootstrap failure for i686-*-* targets by ICE ktietz at gcc dot gnu.org
  2011-04-03 12:45 ` [Bug middle-end/48422] [4.7 Regression] " burnus at gcc dot gnu.org
@ 2011-04-03 15:31 ` burnus at gcc dot gnu.org
  2011-04-03 16:23 ` ebotcazou at gcc dot gnu.org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-04-03 15:31 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-04-03 15:30:55 UTC ---
Kai wrote in #gcc that it is due to Rev. 171862.

http://gcc.gnu.org/ml/gcc-cvs/2011-04/msg00054.html


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

* [Bug middle-end/48422] [4.7 Regression] bootstrap failure for i686-*-* targets by ICE
  2011-04-03  7:45 [Bug fortran/48422] New: bootstrap failure for i686-*-* targets by ICE ktietz at gcc dot gnu.org
  2011-04-03 12:45 ` [Bug middle-end/48422] [4.7 Regression] " burnus at gcc dot gnu.org
  2011-04-03 15:31 ` burnus at gcc dot gnu.org
@ 2011-04-03 16:23 ` ebotcazou at gcc dot gnu.org
  2011-04-03 17:10 ` ktietz at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-04-03 16:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-04-03 16:23:41 UTC ---
> Kai wrote in #gcc that it is due to Rev. 171862.
> 
> http://gcc.gnu.org/ml/gcc-cvs/2011-04/msg00054.html

This patch is a no-op except for Ada.  You probably didn't rebuild the entire
compiler, did you?  If no, there are very likely missing dependencies in the
Fortran Makefile fragment, namely:

fortran/f95-lang.o: $(GFORTRAN_TRANS_DEPS) fortran/mathbuiltins.def \
  gt-fortran-f95-lang.h gtype-fortran.h $(CGRAPH_H) $(TARGET_H) fortran/cpp.h \
  $(BUILTINS_DEF) fortran/types.def \
  libfuncs.h expr.h


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

* [Bug middle-end/48422] [4.7 Regression] bootstrap failure for i686-*-* targets by ICE
  2011-04-03  7:45 [Bug fortran/48422] New: bootstrap failure for i686-*-* targets by ICE ktietz at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-04-03 16:23 ` ebotcazou at gcc dot gnu.org
@ 2011-04-03 17:10 ` ktietz at gcc dot gnu.org
  2011-04-03 17:36 ` ebotcazou at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-04-03 17:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-04-03 17:10:22 UTC ---
Yes, a complete rebuild fixed the issue.

The following patch to fortran/Make-lang.in should solve this also for a
partial rebuild:

Index: Make-lang.in
===================================================================
--- Make-lang.in        (revision 171910)
+++ Make-lang.in        (working copy)
@@ -336,7 +336,7 @@
 fortran/f95-lang.o: $(GFORTRAN_TRANS_DEPS) fortran/mathbuiltins.def \
   gt-fortran-f95-lang.h gtype-fortran.h $(CGRAPH_H) $(TARGET_H) fortran/cpp.h
\

   $(BUILTINS_DEF) fortran/types.def \
-  libfuncs.h expr.h
+  libfuncs.h expr.h langhooks.h
 fortran/scanner.o: toplev.h fortran/cpp.h
 fortran/convert.o: $(GFORTRAN_TRANS_DEPS)
 fortran/frontend-passes.o: $(GFORTRAN_TRANS_DEPS)

Ok for apply?


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

* [Bug middle-end/48422] [4.7 Regression] bootstrap failure for i686-*-* targets by ICE
  2011-04-03  7:45 [Bug fortran/48422] New: bootstrap failure for i686-*-* targets by ICE ktietz at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2011-04-03 17:10 ` ktietz at gcc dot gnu.org
@ 2011-04-03 17:36 ` ebotcazou at gcc dot gnu.org
  2011-04-03 19:02 ` ktietz at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-04-03 17:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-04-03 17:36:28 UTC ---
> Ok for apply?

Other languages have langhooks.h $(LANGHOOKS_DEF_H) here.  There are other
missing dependencies for this file though.


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

* [Bug middle-end/48422] [4.7 Regression] bootstrap failure for i686-*-* targets by ICE
  2011-04-03  7:45 [Bug fortran/48422] New: bootstrap failure for i686-*-* targets by ICE ktietz at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2011-04-03 17:36 ` ebotcazou at gcc dot gnu.org
@ 2011-04-03 19:02 ` ktietz at gcc dot gnu.org
  2011-04-03 20:05 ` burnus at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-04-03 19:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-04-03 19:01:57 UTC ---
Yes, there are. I added the most obvious one now to my patch.

Index: Make-lang.in
===================================================================
--- Make-lang.in        (revision 171910)
+++ Make-lang.in        (working copy)
@@ -336,7 +336,8 @@
 fortran/f95-lang.o: $(GFORTRAN_TRANS_DEPS) fortran/mathbuiltins.def \
   gt-fortran-f95-lang.h gtype-fortran.h $(CGRAPH_H) $(TARGET_H) fortran/cpp.h
\
   $(BUILTINS_DEF) fortran/types.def \
-  libfuncs.h expr.h
+  $(TM_H) debug.h langhooks.h $(FLAGS_H) $(EXPR_H) $(LANGHOOKS_DEF_H) \
+  libfuncs.h expr.h $(DIAGNOSTIC_H)
 fortran/scanner.o: toplev.h fortran/cpp.h
 fortran/convert.o: $(GFORTRAN_TRANS_DEPS)
 fortran/frontend-passes.o: $(GFORTRAN_TRANS_DEPS)

ok for apply?


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

* [Bug middle-end/48422] [4.7 Regression] bootstrap failure for i686-*-* targets by ICE
  2011-04-03  7:45 [Bug fortran/48422] New: bootstrap failure for i686-*-* targets by ICE ktietz at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2011-04-03 19:02 ` ktietz at gcc dot gnu.org
@ 2011-04-03 20:05 ` burnus at gcc dot gnu.org
  2011-04-03 20:10 ` ktietz at gcc dot gnu.org
  2011-04-03 20:10 ` ktietz at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-04-03 20:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-04-03 20:04:49 UTC ---
(In reply to comment #5)
> Yes, there are. I added the most obvious one now to my patch.
[...]
> ok for apply?

OK. I think there are more (esp. for other files), but I think it should cover
the most important omissions. Thanks for the patch!


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

* [Bug middle-end/48422] [4.7 Regression] bootstrap failure for i686-*-* targets by ICE
  2011-04-03  7:45 [Bug fortran/48422] New: bootstrap failure for i686-*-* targets by ICE ktietz at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2011-04-03 20:05 ` burnus at gcc dot gnu.org
@ 2011-04-03 20:10 ` ktietz at gcc dot gnu.org
  2011-04-03 20:10 ` ktietz at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-04-03 20:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-04-03 20:09:52 UTC ---
Author: ktietz
Date: Sun Apr  3 20:09:46 2011
New Revision: 171916

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171916
Log:
2011-04-03  Kai Tietz  <ktietz@redhat.com>

        PR middle-end/48422
        * Make-lang.in (f95-lang.o): Add some missing dependencies.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/Make-lang.in


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

* [Bug middle-end/48422] [4.7 Regression] bootstrap failure for i686-*-* targets by ICE
  2011-04-03  7:45 [Bug fortran/48422] New: bootstrap failure for i686-*-* targets by ICE ktietz at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2011-04-03 20:10 ` ktietz at gcc dot gnu.org
@ 2011-04-03 20:10 ` ktietz at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-04-03 20:10 UTC (permalink / raw)
  To: gcc-bugs

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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

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

--- Comment #8 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-04-03 20:10:25 UTC ---
Fixed.


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

end of thread, other threads:[~2011-04-03 20:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-03  7:45 [Bug fortran/48422] New: bootstrap failure for i686-*-* targets by ICE ktietz at gcc dot gnu.org
2011-04-03 12:45 ` [Bug middle-end/48422] [4.7 Regression] " burnus at gcc dot gnu.org
2011-04-03 15:31 ` burnus at gcc dot gnu.org
2011-04-03 16:23 ` ebotcazou at gcc dot gnu.org
2011-04-03 17:10 ` ktietz at gcc dot gnu.org
2011-04-03 17:36 ` ebotcazou at gcc dot gnu.org
2011-04-03 19:02 ` ktietz at gcc dot gnu.org
2011-04-03 20:05 ` burnus at gcc dot gnu.org
2011-04-03 20:10 ` ktietz at gcc dot gnu.org
2011-04-03 20:10 ` ktietz at gcc dot gnu.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).