public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/17266] New: Libgfortran doesn't build
@ 2004-09-01 18:51 ebotcazou at gcc dot gnu dot org
  2004-09-01 19:00 ` [Bug fortran/17266] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-09-01 18:51 UTC (permalink / raw)
  To: gcc-bugs

gcc version 3.5.0 20040901 (experimental)

Libgfortran aborts with the following error message:
/opt/build/eric/gcc/gcc/gfortran -B/opt/build/eric/gcc/gcc/
-B/opt/build/eric/local/gcc-3.5.0/sparc64-sun-solaris2.9/bin/
-B/opt/build/eric/local/gcc-3.5.0/sparc64-sun-solaris2.9/lib/ -isystem
/opt/build/eric/local/gcc-3.5.0/sparc64-sun-solaris2.9/include -isystem
/opt/build/eric/local/gcc-3.5.0/sparc64-sun-solaris2.9/sys-include -g -O2 -Wall
-fno-repack-arrays -fno-underscoring -c
/home/eric/cvs/gcc/libgfortran/intrinsics/selected_real_kind.f90  -fPIC -DPIC -o
.libs/selected_real_kind.o
 In file /home/eric/cvs/gcc/libgfortran/intrinsics/selected_real_kind.f90:61

end function
           1
 Internal Error at (1):
 gfc_validate_kind(): Got bad kind
gmake[2]: *** [selected_real_kind.lo] Error 1
gmake[2]: Leaving directory `/opt/build/eric/gcc/sparc64-sun-solaris2.9/libgfortran'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/opt/build/eric/gcc/sparc64-sun-solaris2.9/libgfortran'
gmake: *** [all-target-libgfortran] Error 2


The selected_real_kind.inc file reads:

  integer, parameter :: c = 3
  type (real_info), parameter :: real_infos(c) = (/ &
    real_info (4, precision(0.0_4), range(0.0_4)), &
    real_info (8, precision(0.0_8), range(0.0_8)), &
    real_info (16, precision(0.0_16), range(0.0_16)) /)

and is the same as for SPARC 32-bit, which doesn't ICE on it.

-- 
           Summary: Libgfortran doesn't build
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ebotcazou at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc64-sun-solaris2.9
  GCC host triplet: sparc64-sun-solaris2.9
GCC target triplet: sparc64-sun-solaris2.9


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


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

* [Bug fortran/17266] Libgfortran doesn't build
  2004-09-01 18:51 [Bug bootstrap/17266] New: Libgfortran doesn't build ebotcazou at gcc dot gnu dot org
@ 2004-09-01 19:00 ` pinskia at gcc dot gnu dot org
  2004-09-01 19:01 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-01 19:00 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |16991
              nThis|                            |
           Severity|critical                    |normal
          Component|bootstrap                   |fortran
           Keywords|                            |build, rejects-valid
   Target Milestone|---                         |3.5.0


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


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

* [Bug fortran/17266] Libgfortran doesn't build
  2004-09-01 18:51 [Bug bootstrap/17266] New: Libgfortran doesn't build ebotcazou at gcc dot gnu dot org
  2004-09-01 19:00 ` [Bug fortran/17266] " pinskia at gcc dot gnu dot org
@ 2004-09-01 19:01 ` pinskia at gcc dot gnu dot org
  2004-09-01 21:38 ` rth at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-01 19:01 UTC (permalink / raw)
  To: gcc-bugs



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


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


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

* [Bug fortran/17266] Libgfortran doesn't build
  2004-09-01 18:51 [Bug bootstrap/17266] New: Libgfortran doesn't build ebotcazou at gcc dot gnu dot org
  2004-09-01 19:00 ` [Bug fortran/17266] " pinskia at gcc dot gnu dot org
  2004-09-01 19:01 ` pinskia at gcc dot gnu dot org
@ 2004-09-01 21:38 ` rth at gcc dot gnu dot org
  2004-09-01 22:48 ` ebotcazou at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-09-01 21:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2004-09-01 21:38 -------
I can't reproduce this with a cross-compiler.

-- 


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


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

* [Bug fortran/17266] Libgfortran doesn't build
  2004-09-01 18:51 [Bug bootstrap/17266] New: Libgfortran doesn't build ebotcazou at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-09-01 21:38 ` rth at gcc dot gnu dot org
@ 2004-09-01 22:48 ` ebotcazou at gcc dot gnu dot org
  2004-09-06 15:17 ` ebotcazou at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-09-01 22:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-09-01 22:48 -------
> I can't reproduce this with a cross-compiler.

Ok, that's what I feared, thanks for trying.  I'll wait a couple of days for a
miracle :-) and then start digging.

-- 


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


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

* [Bug fortran/17266] Libgfortran doesn't build
  2004-09-01 18:51 [Bug bootstrap/17266] New: Libgfortran doesn't build ebotcazou at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-09-01 22:48 ` ebotcazou at gcc dot gnu dot org
@ 2004-09-06 15:17 ` ebotcazou at gcc dot gnu dot org
  2004-09-20  5:39 ` c dot christian dot joensson at comhem dot se
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-09-06 15:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-09-06 15:17 -------
Confirmed on Linux by C.Joensson.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-06 15:17:07
               date|                            |


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


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

* [Bug fortran/17266] Libgfortran doesn't build
  2004-09-01 18:51 [Bug bootstrap/17266] New: Libgfortran doesn't build ebotcazou at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-09-06 15:17 ` ebotcazou at gcc dot gnu dot org
@ 2004-09-20  5:39 ` c dot christian dot joensson at comhem dot se
  2004-09-20  5:44 ` [Bug rtl-optimization/17266] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: c dot christian dot joensson at comhem dot se @ 2004-09-20  5:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From c dot christian dot joensson at comhem dot se  2004-09-20 05:39 -------
AuroraFedora Core release 1.91 (Wombat FC2) UP UltraSparc IIi (Sabre) sun4u:

binutils-2.15.90.0.3-6
bison-1.875-7.1
dejagnu-1.4.2-11
expect-5.39.0-96.1
gcc-3.3.3-3
glibc-2.3.3-26sparc3.sparc
glibc-2.3.3-26sparc3.sparc64
glibc-kernheaders-2.6-14sparc
kernel-2.6.8-1.571sp1
tcl-8.4.5-6
zlib-1.2.1.1-2.1.sparc
zlib-1.2.1.1-2.1.sparc64

LAST_UPDATED: Sun Sep 19 21:25:30 UTC 2004

configure: --enable-__cxa_atexit --enable-shared --enable-
languages=c,c++,f95,java,objc

/bin/sh ./libtool --mode=compile /usr/local/src/trunk/objdir/gcc/gfortran -B/us
r/local/src/trunk/objdir/gcc/ -B/usr/local/sparc64-unknown-linux-gnu/bin/ -B/us
r/local/sparc64-unknown-linux-gnu/lib/ -isystem /usr/local/sparc64-unknown-linu
x-gnu/include -isystem /usr/local/sparc64-unknown-linux-gnu/sys-include  -g -O2
 -Wall -fno-repack-arrays -fno-underscoring -c -o _exp_r4.lo `test -f 'generate
d/_exp_r4.f90' || echo '/usr/local/src/trunk/gcc/libgfortran/'`generated/_exp_r
4.f90
/usr/local/src/trunk/objdir/gcc/gfortran -B/usr/local/src/trunk/objdir/gcc/ -B\
usr/local/sparc64-unknown-linux-gnu/bin/ -B/usr/local/sparc64-unknown-linux-gnu
/lib/ -isystem /usr/local/sparc64-unknown-linux-gnu/include -isystem /usr/local
/sparc64-unknown-linux-gnu/sys-include -g -O2 -Wall -fno-repack-arrays -fno-und
erscoring -c /usr/local/src/trunk/gcc/libgfortran/generated/_exp_r4.f90  -fPIC 
-DPIC -o .libs/_exp_r4.o
 In file /usr/local/src/trunk/gcc/libgfortran/generated/_exp_r4.f90:28

   specific__exp_r4 = exp (parm)
                          1
Error: Type of argument 'x' in call to 'exp' at (1) should be REAL(6965448), no
t REAL(4)
 In file /usr/local/src/trunk/gcc/libgfortran/generated/_exp_r4.f90:28

   specific__exp_r4 = exp (parm)
                     1
Error: Function reference to '/usr/local/src/trunk/gcc/libgfortran/generated/_e
xp_r4.f90:0: internal compiler error: Segmentation fault                    
Please submit a full bug report,                   
with preprocessed source if appropriate.                       
See <URL:http://gcc.gnu.org/bugs.html> for instructions.                       
make[3]: *** [_exp_r4.lo] Error 1                                              
make[3]: Leaving directory `/usr/local/src/trunk/objdir/sparc64-unknown-linux-g
nu/libgfortran'                                                     

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |christian at j-son dot org


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


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

* [Bug rtl-optimization/17266] Libgfortran doesn't build
  2004-09-01 18:51 [Bug bootstrap/17266] New: Libgfortran doesn't build ebotcazou at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-09-20  5:39 ` c dot christian dot joensson at comhem dot se
@ 2004-09-20  5:44 ` pinskia at gcc dot gnu dot org
  2004-09-20  6:32 ` ebotcazou at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-20  5:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-20 05:44 -------
So this is wrong-code, I think this is a regression too but I almost think this is an RTL-opt problem or a 
target problem.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|fortran                     |rtl-optimization
           Keywords|                            |wrong-code


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


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

* [Bug rtl-optimization/17266] Libgfortran doesn't build
  2004-09-01 18:51 [Bug bootstrap/17266] New: Libgfortran doesn't build ebotcazou at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-09-20  5:44 ` [Bug rtl-optimization/17266] " pinskia at gcc dot gnu dot org
@ 2004-09-20  6:32 ` ebotcazou at gcc dot gnu dot org
  2004-09-21  5:58 ` cvs-commit at gcc dot gnu dot org
  2004-09-21  6:00 ` ebotcazou at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-09-20  6:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-09-20 06:32 -------
I've been on it since yesterday.  The miscompiled function on Solaris is
intrinsic.c:add_functions, but I suspect it's not the same on Linux because of
the different code model (the C compiler can't even be bootstrapped on Solaris
as of today).


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


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

* [Bug rtl-optimization/17266] Libgfortran doesn't build
  2004-09-01 18:51 [Bug bootstrap/17266] New: Libgfortran doesn't build ebotcazou at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-09-20  6:32 ` ebotcazou at gcc dot gnu dot org
@ 2004-09-21  5:58 ` cvs-commit at gcc dot gnu dot org
  2004-09-21  6:00 ` ebotcazou at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-09-21  5:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-09-21 05:58 -------
Subject: Bug 17266

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ebotcazou@gcc.gnu.org	2004-09-21 05:57:58

Modified files:
	gcc            : ChangeLog regmove.c 

Log message:
	PR rtl-optimization/17266
	* regmove.c (optimize_reg_copy_3): Make a new SUBREG for each insn.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5544&r2=2.5545
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/regmove.c.diff?cvsroot=gcc&r1=1.162&r2=1.163



-- 


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


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

* [Bug rtl-optimization/17266] Libgfortran doesn't build
  2004-09-01 18:51 [Bug bootstrap/17266] New: Libgfortran doesn't build ebotcazou at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2004-09-21  5:58 ` cvs-commit at gcc dot gnu dot org
@ 2004-09-21  6:00 ` ebotcazou at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-09-21  6:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-09-21 06:00 -------
See http://gcc.gnu.org/ml/gcc-patches/2004-09/msg01966.html


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


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


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

end of thread, other threads:[~2004-09-21  6:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-01 18:51 [Bug bootstrap/17266] New: Libgfortran doesn't build ebotcazou at gcc dot gnu dot org
2004-09-01 19:00 ` [Bug fortran/17266] " pinskia at gcc dot gnu dot org
2004-09-01 19:01 ` pinskia at gcc dot gnu dot org
2004-09-01 21:38 ` rth at gcc dot gnu dot org
2004-09-01 22:48 ` ebotcazou at gcc dot gnu dot org
2004-09-06 15:17 ` ebotcazou at gcc dot gnu dot org
2004-09-20  5:39 ` c dot christian dot joensson at comhem dot se
2004-09-20  5:44 ` [Bug rtl-optimization/17266] " pinskia at gcc dot gnu dot org
2004-09-20  6:32 ` ebotcazou at gcc dot gnu dot org
2004-09-21  5:58 ` cvs-commit at gcc dot gnu dot org
2004-09-21  6:00 ` 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).