public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/37123]  New: [4.4 Regression] libfortran failed to build
@ 2008-08-14 21:24 hjl dot tools at gmail dot com
  2008-08-14 21:31 ` [Bug libfortran/37123] " hjl dot tools at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-08-14 21:24 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1889 bytes --]

On Linux/x86-64, revision 139115 gave me:

[hjl@gnu-15 libgfortran]$ /export/gnu/import/svn/gcc-test/bld/./gcc/xgcc
-B/export/gnu/import/svn/gcc-test/bld/./gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../src-trunk/libgfortran -I. -iquote../../../src-trunk/libgfortran/io
-I../../../src-trunk/libgfortran/../gcc
-I../../../src-trunk/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE
-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wextra -Wwrite-strings -fcx-fortran-rules -g -O2 -MT
cshift0.lo -MD -MP -MF .deps/cshift0.Tpo -c
../../../src-trunk/libgfortran/intrinsics/cshift0.c  -fPIC -DPIC -o
.libs/cshift0.o
../../../src-trunk/libgfortran/intrinsics/cshift0.c: In function ‘cshift0’:
../../../src-trunk/libgfortran/intrinsics/cshift0.c:124: warning: passing
argument 1 of ‘cshift0_i16’ from incompatible pointer type
../../../src-trunk/libgfortran/intrinsics/cshift0.c:236: error: ‘GFC_INTGER_16’
undeclared (first use in this function)
../../../src-trunk/libgfortran/intrinsics/cshift0.c:236: error: (Each
undeclared identifier is reported only once
../../../src-trunk/libgfortran/intrinsics/cshift0.c:236: error: for each
function it appears in.)
[hjl@gnu-15 libgfortran]$

Revision 139111 may be the cause:

http://gcc.gnu.org/ml/gcc-patches/2008-08/msg00616.html


-- 
           Summary: [4.4 Regression] libfortran failed to build
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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


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

* [Bug libfortran/37123] [4.4 Regression] libfortran failed to build
  2008-08-14 21:24 [Bug libfortran/37123] New: [4.4 Regression] libfortran failed to build hjl dot tools at gmail dot com
@ 2008-08-14 21:31 ` hjl dot tools at gmail dot com
  2008-08-14 21:39 ` hjl at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-08-14 21:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl dot tools at gmail dot com  2008-08-14 21:29 -------
This patch works for me:

Index: cshift0.c
===================================================================
--- cshift0.c   (revision 139115)
+++ cshift0.c   (working copy)
@@ -120,7 +120,7 @@
 #ifdef HAVE_GFC_INTEGER_16
     case GFC_DTYPE_LOGICAL_16:
     case GFC_DTYPE_INTEGER_16:
-      cshift0_i16 ((gfc_array_i8 *)ret, (gfc_array_i16 *) array, shift,
+      cshift0_i16 ((gfc_array_i16 *)ret, (gfc_array_i16 *) array, shift,
                   which);
       return;
 #endif
@@ -233,7 +233,7 @@
          /* Let's try to use the complex routines.  First, a sanity
             check that the sizes match; this should be optimized to
             a no-op.  */
-         if (sizeof(GFC_INTGER_16) != sizeof(GFC_COMPLEX_8))
+         if (sizeof(GFC_INTEGER_16) != sizeof(GFC_COMPLEX_8))
            break;

          if (GFC_UNALIGNED_C8(ret->data) || GFC_UNALIGNED_C8(array->data))


-- 


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


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

* [Bug libfortran/37123] [4.4 Regression] libfortran failed to build
  2008-08-14 21:24 [Bug libfortran/37123] New: [4.4 Regression] libfortran failed to build hjl dot tools at gmail dot com
  2008-08-14 21:31 ` [Bug libfortran/37123] " hjl dot tools at gmail dot com
@ 2008-08-14 21:39 ` hjl at gcc dot gnu dot org
  2008-08-14 22:20 ` hjl dot tools at gmail dot com
  2008-08-16 23:04 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: hjl at gcc dot gnu dot org @ 2008-08-14 21:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl at gcc dot gnu dot org  2008-08-14 21:37 -------
Subject: Bug 37123

Author: hjl
Date: Thu Aug 14 21:36:31 2008
New Revision: 139117

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139117
Log:
2008-08-14  H.J. Lu  <hongjiu.lu@intel.com>

        PR libfortran/37123
        * intrinsics/cshift0.c (cshift0): Fix 2 typos.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/intrinsics/cshift0.c


-- 


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


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

* [Bug libfortran/37123] [4.4 Regression] libfortran failed to build
  2008-08-14 21:24 [Bug libfortran/37123] New: [4.4 Regression] libfortran failed to build hjl dot tools at gmail dot com
  2008-08-14 21:31 ` [Bug libfortran/37123] " hjl dot tools at gmail dot com
  2008-08-14 21:39 ` hjl at gcc dot gnu dot org
@ 2008-08-14 22:20 ` hjl dot tools at gmail dot com
  2008-08-16 23:04 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-08-14 22:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hjl dot tools at gmail dot com  2008-08-14 22:18 -------
Fixed.


-- 

hjl dot tools at gmail dot com changed:

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


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


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

* [Bug libfortran/37123] [4.4 Regression] libfortran failed to build
  2008-08-14 21:24 [Bug libfortran/37123] New: [4.4 Regression] libfortran failed to build hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  2008-08-14 22:20 ` hjl dot tools at gmail dot com
@ 2008-08-16 23:04 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-16 23:04 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.4.0


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


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

end of thread, other threads:[~2008-08-16 23:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-14 21:24 [Bug libfortran/37123] New: [4.4 Regression] libfortran failed to build hjl dot tools at gmail dot com
2008-08-14 21:31 ` [Bug libfortran/37123] " hjl dot tools at gmail dot com
2008-08-14 21:39 ` hjl at gcc dot gnu dot org
2008-08-14 22:20 ` hjl dot tools at gmail dot com
2008-08-16 23:04 ` pinskia 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).