public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gcc] rhel-f41-base: 4.1.1-17
@ 2026-06-29 12:22 Jakub Jelinek
  0 siblings, 0 replies; 3+ messages in thread
From: Jakub Jelinek @ 2026-06-29 12:22 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gcc
Branch : rhel-f41-base
Commit : 56455ee78dd1d2914a7e29639c99c6d735667870
Author : Jakub Jelinek <jakub@fedoraproject.org>
Date   : 2006-08-16T18:28:12+00:00
Stats  : +90/-2 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/56455ee78dd1d2914a7e29639c99c6d735667870?branch=rhel-f41-base

Log:
4.1.1-17

---
diff --git a/.cvsignore b/.cvsignore
index 6288b62..4ef9c16 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-gcc-4.1.1-20060811.tar.bz2
+gcc-4.1.1-20060816.tar.bz2

diff --git a/gcc41-pr28709.patch b/gcc41-pr28709.patch
new file mode 100644
index 0000000..33c9eef
--- /dev/null
+++ b/gcc41-pr28709.patch
@@ -0,0 +1,84 @@
+2006-08-16  Jakub Jelinek  <jakub@redhat.com>
+
+	PR preprocessor/28709
+	* macro.c (paste_tokens): Do error reporting here, use BUF with the
+	spelled LHS token as opposed to spelling it again.
+	(paste_all_tokens): Don't report errors here, just break on failure.
+
+	* gcc.dg/cpp/paste14.c: New test.
+
+--- libcpp/macro.c.jj	2006-06-09 23:07:54.000000000 +0200
++++ libcpp/macro.c	2006-08-16 17:30:17.000000000 +0200
+@@ -430,15 +430,14 @@ stringify_arg (cpp_reader *pfile, macro_
+ static bool
+ paste_tokens (cpp_reader *pfile, const cpp_token **plhs, const cpp_token *rhs)
+ {
+-  unsigned char *buf, *end;
++  unsigned char *buf, *end, *lhsend;
+   const cpp_token *lhs;
+   unsigned int len;
+-  bool valid;
+ 
+   lhs = *plhs;
+   len = cpp_token_len (lhs) + cpp_token_len (rhs) + 1;
+   buf = (unsigned char *) alloca (len);
+-  end = cpp_spell_token (pfile, lhs, buf, false);
++  end = lhsend = cpp_spell_token (pfile, lhs, buf, false);
+ 
+   /* Avoid comment headers, since they are still processed in stage 3.
+      It is simpler to insert a space here, rather than modifying the
+@@ -455,10 +454,22 @@ paste_tokens (cpp_reader *pfile, const c
+   /* Set pfile->cur_token as required by _cpp_lex_direct.  */
+   pfile->cur_token = _cpp_temp_token (pfile);
+   *plhs = _cpp_lex_direct (pfile);
+-  valid = pfile->buffer->cur == pfile->buffer->rlimit;
+-  _cpp_pop_buffer (pfile);
++  if (pfile->buffer->cur != pfile->buffer->rlimit)
++    {
++      _cpp_pop_buffer (pfile);
++      _cpp_backup_tokens (pfile, 1);
++      *lhsend = '\0';
+ 
+-  return valid;
++      /* Mandatory error for all apart from assembler.  */
++      if (CPP_OPTION (pfile, lang) != CLK_ASM)
++	cpp_error (pfile, CPP_DL_ERROR,
++	 "pasting \"%s\" and \"%s\" does not give a valid preprocessing token",
++		   buf, cpp_token_as_text (pfile, rhs));
++      return false;
++    }
++
++  _cpp_pop_buffer (pfile);
++  return true;
+ }
+ 
+ /* Handles an arbitrarily long sequence of ## operators, with initial
+@@ -490,17 +501,7 @@ paste_all_tokens (cpp_reader *pfile, con
+ 	abort ();
+ 
+       if (!paste_tokens (pfile, &lhs, rhs))
+-	{
+-	  _cpp_backup_tokens (pfile, 1);
+-
+-	  /* Mandatory error for all apart from assembler.  */
+-	  if (CPP_OPTION (pfile, lang) != CLK_ASM)
+-	    cpp_error (pfile, CPP_DL_ERROR,
+-	 "pasting \"%s\" and \"%s\" does not give a valid preprocessing token",
+-		       cpp_token_as_text (pfile, lhs),
+-		       cpp_token_as_text (pfile, rhs));
+-	  break;
+-	}
++	break;
+     }
+   while (rhs->flags & PASTE_LEFT);
+ 
+--- gcc/testsuite/gcc.dg/cpp/paste14.c.jj	2006-08-16 16:51:45.000000000 +0200
++++ gcc/testsuite/gcc.dg/cpp/paste14.c	2006-08-16 16:53:30.000000000 +0200
+@@ -0,0 +1,7 @@
++/* PR preprocessor/28709 */
++/* { dg-do preprocess } */
++
++#define foo - ## >>
++foo		/* { dg-error "pasting \"-\" and \">>\"" } */
++#define bar = ## ==
++bar		/* { dg-error "pasting \"=\" and \"==\"" } */

diff --git a/gcc41.spec b/gcc41.spec
index 4b7f7ac..4fd6193 100644
--- a/gcc41.spec
+++ b/gcc41.spec
@@ -143,6 +143,7 @@ Patch35: gcc41-pr28706.patch
 Patch36: gcc41-pr28725.patch
 Patch37: gcc41-pr28709.patch
 Patch38: gcc41-pr28744.patch
+Patch39: gcc41-x86_64-kernel-ssp.patch
 
 %define _gnu %{nil}
 %ifarch sparc
@@ -462,6 +463,7 @@ which are required to run programs compiled with the GNAT.
 %patch36 -p0 -b .pr28725~
 %patch37 -p0 -b .pr28709~
 %patch38 -p0 -b .pr28744~
+%patch39 -p0 -b .x86_64-kernel-ssp~
 
 sed -i -e 's/4\.1\.2/4.1.1/' gcc/BASE-VER gcc/version.c
 sed -i -e 's/" (Red Hat[^)]*)"/" (Red Hat %{version}-%{gcc_release})"/' gcc/version.c
@@ -1529,6 +1531,8 @@ fi
 - merge gomp fixes from the trunk (-r116152:116154)
   - PRs middle-end/28713, middle-end/28724
 - add -march=geode and -mtune=geode support (Vlad Makarov)
+- use %gs rather than %fs register on x86_64 with
+  -mcmodel=kernel -fstack-protector (Arjan van de Ven, #202842)
 - don't create jar manifest in libgcj-tools-4.*.jar (#200887)
 - externally_visible attribute fixes (Jan Hubicka, PRs c/25795, c++/27369)
 - --combine fixes for aggregates with attributes (PRs c/28706, c/28712)

diff --git a/sources b/sources
index f2dfb89..5fa5b15 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5ef7a43629890be560c67e4354701824  gcc-4.1.1-20060811.tar.bz2
+3743f891cb127e18bca681d57c07a2c0  gcc-4.1.1-20060816.tar.bz2

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

* [rpms/gcc] rhel-f41-base: 4.1.1-17
@ 2026-06-29 12:22 Jakub Jelinek
  0 siblings, 0 replies; 3+ messages in thread
From: Jakub Jelinek @ 2026-06-29 12:22 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gcc
Branch : rhel-f41-base
Commit : 65b2441465bf60482701b8911de3c6cbbcc34438
Author : Jakub Jelinek <jakub@fedoraproject.org>
Date   : 2006-08-16T18:17:37+00:00
Stats  : +10/-12 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/65b2441465bf60482701b8911de3c6cbbcc34438?branch=rhel-f41-base

Log:
4.1.1-17

---
diff --git a/gcc41.spec b/gcc41.spec
index 909d3cf..4b7f7ac 100644
--- a/gcc41.spec
+++ b/gcc41.spec
@@ -138,12 +138,11 @@ Patch30: gcc41-power6-2.patch
 Patch31: gcc41-java-libdotdotlib.patch
 Patch32: gcc41-pr28600.patch
 Patch33: gcc41-rh200887.patch
-Patch34: gcc41-pr27827-test.patch
-Patch35: gcc41-pr25795.patch
-Patch36: gcc41-pr28706.patch
-Patch37: gcc41-pr28725.patch
-Patch38: gcc41-pr28709.patch
-Patch39: gcc41-pr28744.patch
+Patch34: gcc41-pr25795.patch
+Patch35: gcc41-pr28706.patch
+Patch36: gcc41-pr28725.patch
+Patch37: gcc41-pr28709.patch
+Patch38: gcc41-pr28744.patch
 
 %define _gnu %{nil}
 %ifarch sparc
@@ -458,12 +457,11 @@ which are required to run programs compiled with the GNAT.
 %patch31 -p0 -b .java-libdotdotlib~
 %patch32 -p0 -b .pr28600~
 %patch33 -p0 -b .rh200887~
-%patch34 -p0 -b .pr27827-test~
-%patch35 -p0 -b .pr25795~
-%patch36 -p0 -b .pr28706~
-%patch37 -p0 -b .pr28725~
-%patch38 -p0 -b .pr28709~
-%patch39 -p0 -b .pr28744~
+%patch34 -p0 -b .pr25795~
+%patch35 -p0 -b .pr28706~
+%patch36 -p0 -b .pr28725~
+%patch37 -p0 -b .pr28709~
+%patch38 -p0 -b .pr28744~
 
 sed -i -e 's/4\.1\.2/4.1.1/' gcc/BASE-VER gcc/version.c
 sed -i -e 's/" (Red Hat[^)]*)"/" (Red Hat %{version}-%{gcc_release})"/' gcc/version.c

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

* [rpms/gcc] rhel-f41-base: 4.1.1-17
@ 2026-06-29 12:22 Jakub Jelinek
  0 siblings, 0 replies; 3+ messages in thread
From: Jakub Jelinek @ 2026-06-29 12:22 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gcc
Branch : rhel-f41-base
Commit : b105d2620ce325af6321cdc6581aa2d0a85e2688
Author : Jakub Jelinek <jakub@fedoraproject.org>
Date   : 2006-08-16T18:08:42+00:00
Stats  : +31/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/b105d2620ce325af6321cdc6581aa2d0a85e2688?branch=rhel-f41-base

Log:
4.1.1-17

---
diff --git a/gcc41.spec b/gcc41.spec
index 8c30eef..909d3cf 100644
--- a/gcc41.spec
+++ b/gcc41.spec
@@ -1,6 +1,6 @@
-%define DATE 20060811
+%define DATE 20060816
 %define gcc_version 4.1.1
-%define gcc_release 16
+%define gcc_release 17
 %define _unpackaged_files_terminate_build 0
 %define multilib_64_archs sparc64 ppc64 s390x x86_64
 %ifarch %{ix86} x86_64 ia64
@@ -127,7 +127,7 @@ Patch19: gcc41-tests.patch
 Patch20: gcc41-ppc64-ldouble-stdarg.patch
 Patch21: gcc41-pr25874.patch
 Patch22: gcc41-pr26881.patch
-Patch23: gcc41-pr27793.patch
+Patch23: gcc41-i386-tune-geode.patch
 Patch24: gcc41-pr26885.patch
 Patch25: gcc41-hash-style-gnu.patch
 Patch26: gcc41-visibility.patch
@@ -139,6 +139,11 @@ Patch31: gcc41-java-libdotdotlib.patch
 Patch32: gcc41-pr28600.patch
 Patch33: gcc41-rh200887.patch
 Patch34: gcc41-pr27827-test.patch
+Patch35: gcc41-pr25795.patch
+Patch36: gcc41-pr28706.patch
+Patch37: gcc41-pr28725.patch
+Patch38: gcc41-pr28709.patch
+Patch39: gcc41-pr28744.patch
 
 %define _gnu %{nil}
 %ifarch sparc
@@ -442,7 +447,7 @@ which are required to run programs compiled with the GNAT.
 %patch20 -p0 -b .ppc64-ldouble-stdarg~
 %patch21 -p0 -b .pr25874~
 %patch22 -p0 -b .pr26881~
-%patch23 -p0 -b .pr27793~
+%patch23 -p0 -b .i386-tune-geode~
 %patch24 -p0 -b .pr26885~
 %patch25 -p0 -b .hash-style-gnu~
 %patch26 -p0 -b .visibility~
@@ -454,6 +459,11 @@ which are required to run programs compiled with the GNAT.
 %patch32 -p0 -b .pr28600~
 %patch33 -p0 -b .rh200887~
 %patch34 -p0 -b .pr27827-test~
+%patch35 -p0 -b .pr25795~
+%patch36 -p0 -b .pr28706~
+%patch37 -p0 -b .pr28725~
+%patch38 -p0 -b .pr28709~
+%patch39 -p0 -b .pr28744~
 
 sed -i -e 's/4\.1\.2/4.1.1/' gcc/BASE-VER gcc/version.c
 sed -i -e 's/" (Red Hat[^)]*)"/" (Red Hat %{version}-%{gcc_release})"/' gcc/version.c
@@ -503,7 +513,7 @@ CC=gcc
 OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g'`
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g;s/-m32//g;s/-m31//g'`
 %ifarch sparc sparc64
-OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g'`
+OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g;s/-mcpu=v[78]//g'`
 %endif
 %ifarch sparc64
 cat > gcc64 <<"EOF"
@@ -1514,6 +1524,22 @@ fi
 %doc rpm.doc/changelogs/libmudflap/ChangeLog*
 
 %changelog
+* Wed Aug 16 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-17
+- update from gcc-4_1-branch (-r116082:116176)
+  - PRs c++/27894, c++/28677, c/28649, middle-end/28075,
+	rtl-optimization/23454
+- merge gomp fixes from the trunk (-r116152:116154)
+  - PRs middle-end/28713, middle-end/28724
+- add -march=geode and -mtune=geode support (Vlad Makarov)
+- don't create jar manifest in libgcj-tools-4.*.jar (#200887)
+- externally_visible attribute fixes (Jan Hubicka, PRs c/25795, c++/27369)
+- --combine fixes for aggregates with attributes (PRs c/28706, c/28712)
+- further externally_visible attr fixes (PR c/28744)
+- fix invalid token pasting error message (PR preprocessor/28709)
+- obey OpenMP 2.5 chapter 4 env var requirements (whitespace rules
+  and case insensitivity in the env vars; PR libgomp/28725)
+- fix OPT_FLAGS on sparc
+
 * Sat Aug 12 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-16
 - fix multilib conflict in libgcj-tools-4.1.1.jar (#200887)
 

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

end of thread, other threads:[~2026-06-29 12:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 12:22 [rpms/gcc] rhel-f41-base: 4.1.1-17 Jakub Jelinek
  -- strict thread matches above, loose matches on Subject: below --
2026-06-29 12:22 Jakub Jelinek
2026-06-29 12:22 Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox