public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/14348] New: Cannot bootstrap GCC-3.3.4-pre with GCC-3.5 (experimental)
@ 2004-02-29 19:12 gdr at gcc dot gnu dot org
  2004-02-29 19:39 ` [Bug bootstrap/14348] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-02-29 19:12 UTC (permalink / raw)
  To: gcc-bugs

Bootstrapping GCC-3.3.4-pre (freshly taken from repository) fails with

/home/gdr/redhat/3.gcc/gcc/read-rtl.c: In function `read_rtx':
/home/gdr/redhat/3.gcc/gcc/read-rtl.c:653: error: invalid lvalue in increment
make[2]: *** [read-rtl.o] Error 1

I think this is related to uses of some cast as lvalue in the obstack lib.

-- 
           Summary: Cannot bootstrap GCC-3.3.4-pre with GCC-3.5
                    (experimental)
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gdr at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug bootstrap/14348] Cannot bootstrap GCC-3.3.4-pre with GCC-3.5 (experimental)
  2004-02-29 19:12 [Bug c/14348] New: Cannot bootstrap GCC-3.3.4-pre with GCC-3.5 (experimental) gdr at gcc dot gnu dot org
@ 2004-02-29 19:39 ` pinskia at gcc dot gnu dot org
  2004-02-29 23:51 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-29 19:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-29 19:39 -------
Confirmed, it is the lvalue patch which caused this, the patch to fix this is located at <http://
gcc.gnu.org/ml/gcc-patches/2003-10/msg02027.html>, only the obstack.h part though is needed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|c                           |bootstrap
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-02-29 19:39:36
               date|                            |
   Target Milestone|---                         |3.3.4
            Version|unknown                     |3.3.4


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


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

* [Bug bootstrap/14348] Cannot bootstrap GCC-3.3.4-pre with GCC-3.5 (experimental)
  2004-02-29 19:12 [Bug c/14348] New: Cannot bootstrap GCC-3.3.4-pre with GCC-3.5 (experimental) gdr at gcc dot gnu dot org
  2004-02-29 19:39 ` [Bug bootstrap/14348] " pinskia at gcc dot gnu dot org
@ 2004-02-29 23:51 ` mmitchel at gcc dot gnu dot org
  2004-03-01  0:13 ` gdr at integrable-solutions dot net
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-02-29 23:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-02-29 23:51 -------
It's not a problem if GCC N cannot be built with GCC N+1.

That will happen as we tighten up C conformance in newer versions of GCC.

There's nothing wrong with fixing GCC N to be more strictly conforming, but this
is just how things go.  It is much worse if we cannot build GCC N+1 with GCC N.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


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


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

* [Bug bootstrap/14348] Cannot bootstrap GCC-3.3.4-pre with GCC-3.5 (experimental)
  2004-02-29 19:12 [Bug c/14348] New: Cannot bootstrap GCC-3.3.4-pre with GCC-3.5 (experimental) gdr at gcc dot gnu dot org
  2004-02-29 19:39 ` [Bug bootstrap/14348] " pinskia at gcc dot gnu dot org
  2004-02-29 23:51 ` mmitchel at gcc dot gnu dot org
@ 2004-03-01  0:13 ` gdr at integrable-solutions dot net
  2004-03-01  0:16 ` gdr at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: gdr at integrable-solutions dot net @ 2004-03-01  0:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at integrable-solutions dot net  2004-03-01 00:13 -------
Subject: Re:  Cannot bootstrap GCC-3.3.4-pre with GCC-3.5 (experimental)

"mmitchel at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| It's not a problem if GCC N cannot be built with GCC N+1.

This not a problem with GCC-3.4.x.  It *is* a with 3.3.4 sources.

-- Gaby


-- 


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


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

* [Bug bootstrap/14348] Cannot bootstrap GCC-3.3.4-pre with GCC-3.5 (experimental)
  2004-02-29 19:12 [Bug c/14348] New: Cannot bootstrap GCC-3.3.4-pre with GCC-3.5 (experimental) gdr at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-03-01  0:13 ` gdr at integrable-solutions dot net
@ 2004-03-01  0:16 ` gdr at gcc dot gnu dot org
  2004-03-01  1:40 ` [Bug bootstrap/14348] [3.3 only] Cannot bootstrap GCC-3.3.x " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-03-01  0:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at gcc dot gnu dot org  2004-03-01 00:16 -------
This is NOT an invalid PR.  I'm working on applying the
obstack part of Joseph's patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |


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


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

* [Bug bootstrap/14348] [3.3 only] Cannot bootstrap GCC-3.3.x with GCC-3.5 (experimental)
  2004-02-29 19:12 [Bug c/14348] New: Cannot bootstrap GCC-3.3.4-pre with GCC-3.5 (experimental) gdr at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-03-01  0:16 ` gdr at gcc dot gnu dot org
@ 2004-03-01  1:40 ` pinskia at gcc dot gnu dot org
  2004-03-02  2:18 ` cvs-commit at gcc dot gnu dot org
  2004-03-02  2:24 ` gdr at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-01  1:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-01 01:40 -------
I think the reason why Mark closed this is because it was it was matching his search of 
"3.4" in the summary and since 3.3.4 matches he saw it.  Let me change the summary so 
that it will not match anymore.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW
            Summary|Cannot bootstrap GCC-3.3.4- |[3.3 only] Cannot bootstrap
                   |pre with GCC-3.5            |GCC-3.3.x with GCC-3.5
                   |(experimental)              |(experimental)


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


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

* [Bug bootstrap/14348] [3.3 only] Cannot bootstrap GCC-3.3.x with GCC-3.5 (experimental)
  2004-02-29 19:12 [Bug c/14348] New: Cannot bootstrap GCC-3.3.4-pre with GCC-3.5 (experimental) gdr at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-03-01  1:40 ` [Bug bootstrap/14348] [3.3 only] Cannot bootstrap GCC-3.3.x " pinskia at gcc dot gnu dot org
@ 2004-03-02  2:18 ` cvs-commit at gcc dot gnu dot org
  2004-03-02  2:24 ` gdr at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-03-02  2:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-03-02 02:18 -------
Subject: Bug 14348

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	gdr@gcc.gnu.org	2004-03-02 02:18:17

Modified files:
	include        : ChangeLog obstack.h 
	libobjc        : ChangeLog 
	libobjc/objc   : hash.h 

Log message:
	include/
	PR bootstrap/14348
	Backport
	2003-10-22  Joseph S. Myers  <jsm@polyomino.org.uk>
	* obstack.h: Merge the following change from gnulib:
	2003-10-21  Paul Eggert  <eggert@twinsun.com>
	* obstack.h (obstack_1grow_fast): Properly parenthesize arg.
	(obstack_ptr_grow_fast, obstack_int_grow_fast):
	Don't use lvalue casts, as GCC plans to remove support for
	them
	in GCC 3.5.  Reported by Joseph S. Myers.  This bug
	was also present in the non-GCC version, indicating that this
	code had always been buggy and had never been widely used.
	(obstack_1grow, obstack_ptr_grow, obstack_int_grow,
	obstack_blank):
	Use the fast variant of each macro, rather than copying the
	definiens of the fast variant; that way, we'll be more likely
	to
	catch future bugs in the fast variants.
	libobjc/
	PR bootstrap/14348
	Backport
	2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
	* objc/hash.h (hash_string): Don't use a cast as an lvalue.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/include/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.124.2.12&r2=1.124.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/include/obstack.h.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.5&r2=1.5.50.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libobjc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.87.4.12&r2=1.87.4.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libobjc/objc/hash.h.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.4&r2=1.4.14.1



-- 


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


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

* [Bug bootstrap/14348] [3.3 only] Cannot bootstrap GCC-3.3.x with GCC-3.5 (experimental)
  2004-02-29 19:12 [Bug c/14348] New: Cannot bootstrap GCC-3.3.4-pre with GCC-3.5 (experimental) gdr at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-03-02  2:18 ` cvs-commit at gcc dot gnu dot org
@ 2004-03-02  2:24 ` gdr at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-03-02  2:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at gcc dot gnu dot org  2004-03-02 02:24 -------
BAckport Jospeh's patch (obstack).

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


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


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

end of thread, other threads:[~2004-03-02  2:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-29 19:12 [Bug c/14348] New: Cannot bootstrap GCC-3.3.4-pre with GCC-3.5 (experimental) gdr at gcc dot gnu dot org
2004-02-29 19:39 ` [Bug bootstrap/14348] " pinskia at gcc dot gnu dot org
2004-02-29 23:51 ` mmitchel at gcc dot gnu dot org
2004-03-01  0:13 ` gdr at integrable-solutions dot net
2004-03-01  0:16 ` gdr at gcc dot gnu dot org
2004-03-01  1:40 ` [Bug bootstrap/14348] [3.3 only] Cannot bootstrap GCC-3.3.x " pinskia at gcc dot gnu dot org
2004-03-02  2:18 ` cvs-commit at gcc dot gnu dot org
2004-03-02  2:24 ` gdr 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).