public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/42812]  New: --enable-build-with-cxx bootstrap fails on fortran/resolve.c:gfc_resolve
@ 2010-01-20  6:51 amylaar at gcc dot gnu dot org
  2010-01-20  7:49 ` [Bug bootstrap/42812] " amylaar at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-01-20  6:51 UTC (permalink / raw)
  To: gcc-bugs

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

I see this error during bootstrap:

/user/inria/fsf/bld-gcc-cxx8/./prev-gcc/g++
-B/user/inria/fsf/bld-gcc-cxx8/./prev-gcc/
-B/user/inria/cxx/i686-pc-linux-gnu/bin/ -nostdinc++
-I/user/inria/fsf/bld-gcc-cxx8/prev-i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
-I/user/inria/fsf/bld-gcc-cxx8/prev-i686-pc-linux-gnu/libstdc++-v3/include
-I/user/inria/fsf/gcc/libstdc++-v3/libsupc++
-L/user/inria/fsf/bld-gcc-cxx8/prev-i686-pc-linux-gnu/libstdc++-v3/src/.libs -c
 -g -O2 -fomit-frame-pointer -gtoggle -DIN_GCC   -W -Wall -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common 
-DHAVE_CONFIG_H -I. -Ifortran -I../../gcc/gcc -I../../gcc/gcc/fortran
-I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include 
-I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/bid
-I../libdecnumber  -DCLOOG_PPL_BACKEND  -I/usr/include/libelf 
../../gcc/gcc/fortran/resolve.c -o fortran/resolve.o
cc1plus: warnings being treated as errors
../../gcc/gcc/fortran/resolve.c: In function ‘void
gfc_resolve(gfc_namespace*)’:
../../gcc/gcc/fortran/resolve.c:12359:19: error: large integer implicitly
truncated to unsigned type

The value -1 is assigned to the unsigned bitfield "resolve" in a
struct gfc_namespace.


-- 
           Summary: --enable-build-with-cxx bootstrap fails on
                    fortran/resolve.c:gfc_resolve
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org


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


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

* [Bug bootstrap/42812] --enable-build-with-cxx bootstrap fails on fortran/resolve.c:gfc_resolve
  2010-01-20  6:51 [Bug bootstrap/42812] New: --enable-build-with-cxx bootstrap fails on fortran/resolve.c:gfc_resolve amylaar at gcc dot gnu dot org
@ 2010-01-20  7:49 ` amylaar at gcc dot gnu dot org
  2010-01-20  7:52 ` amylaar at gcc dot gnu dot org
  2010-01-20  8:20 ` amylaar at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-01-20  7:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from amylaar at gcc dot gnu dot org  2010-01-20 07:49 -------
Actually, I see now that the patch for PR40011 was all right at the time,
it was the patch for PR39626 which introduced PR42812.


-- 

amylaar at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|pault at gcc dot gnu dot org|domob at gcc dot gnu dot
                   |                            |org, burnus at gcc dot gnu
                   |                            |dot org


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


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

* [Bug bootstrap/42812] --enable-build-with-cxx bootstrap fails on fortran/resolve.c:gfc_resolve
  2010-01-20  6:51 [Bug bootstrap/42812] New: --enable-build-with-cxx bootstrap fails on fortran/resolve.c:gfc_resolve amylaar at gcc dot gnu dot org
  2010-01-20  7:49 ` [Bug bootstrap/42812] " amylaar at gcc dot gnu dot org
@ 2010-01-20  7:52 ` amylaar at gcc dot gnu dot org
  2010-01-20  8:20 ` amylaar at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-01-20  7:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from amylaar at gcc dot gnu dot org  2010-01-20 07:52 -------
Subject: Bug 42812

Author: amylaar
Date: Wed Jan 20 07:52:18 2010
New Revision: 156062

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156062
Log:
        PR bootstrap/42812
        * gfortran.h  (struct gfc_namespace) <resolved>: Change to signed
        bitfield of width 2.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.h


-- 


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


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

* [Bug bootstrap/42812] --enable-build-with-cxx bootstrap fails on fortran/resolve.c:gfc_resolve
  2010-01-20  6:51 [Bug bootstrap/42812] New: --enable-build-with-cxx bootstrap fails on fortran/resolve.c:gfc_resolve amylaar at gcc dot gnu dot org
  2010-01-20  7:49 ` [Bug bootstrap/42812] " amylaar at gcc dot gnu dot org
  2010-01-20  7:52 ` amylaar at gcc dot gnu dot org
@ 2010-01-20  8:20 ` amylaar at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-01-20  8:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from amylaar at gcc dot gnu dot org  2010-01-20 08:20 -------
patch applied:
http://gcc.gnu.org/ml/gcc-patches/2010-01/msg01071.html
http://gcc.gnu.org/ml/gcc-cvs/2010-01/msg00529.html


-- 

amylaar at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2010-01-20  8:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-20  6:51 [Bug bootstrap/42812] New: --enable-build-with-cxx bootstrap fails on fortran/resolve.c:gfc_resolve amylaar at gcc dot gnu dot org
2010-01-20  7:49 ` [Bug bootstrap/42812] " amylaar at gcc dot gnu dot org
2010-01-20  7:52 ` amylaar at gcc dot gnu dot org
2010-01-20  8:20 ` amylaar 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).