public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gcc] rhel-f41-base: 4.3.0-0.4
@ 2026-06-29 12:23 Jakub Jelinek
0 siblings, 0 replies; 5+ messages in thread
From: Jakub Jelinek @ 2026-06-29 12:23 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gcc
Branch : rhel-f41-base
Commit : c1c61f3fd5f6ac5f338f59b3e0060ed7b13492ab
Author : Jakub Jelinek <jakub@fedoraproject.org>
Date : 2007-12-21T13:28:41+00:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gcc/c/c1c61f3fd5f6ac5f338f59b3e0060ed7b13492ab?branch=rhel-f41-base
Log:
4.3.0-0.4
---
diff --git a/gcc43.spec b/gcc43.spec
index 8188cc3..d303b85 100644
--- a/gcc43.spec
+++ b/gcc43.spec
@@ -442,7 +442,7 @@ which are required to run programs compiled with the GNAT.
%patch13 -p0 -b .pr34281~
%patch14 -p0 -b .pr34448~
%patch15 -p0 -b .pr34535~
-%patch16 -p0 -b .libjava-xulrunner~
+#%patch16 -p0 -b .libjava-xulrunner~
%patch17 -p0 -b .pr34111~
tar xzf %{SOURCE4}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [rpms/gcc] rhel-f41-base: 4.3.0-0.4
@ 2026-06-29 12:23 Jakub Jelinek
0 siblings, 0 replies; 5+ messages in thread
From: Jakub Jelinek @ 2026-06-29 12:23 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gcc
Branch : rhel-f41-base
Commit : 8f50ce0235ad16365af651575b2d6d68aa3cce48
Author : Jakub Jelinek <jakub@fedoraproject.org>
Date : 2007-12-20T23:31:03+00:00
Stats : +577/-1 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/gcc/c/8f50ce0235ad16365af651575b2d6d68aa3cce48?branch=rhel-f41-base
Log:
4.3.0-0.4
---
diff --git a/gcc43-libjava-xulrunner.patch b/gcc43-libjava-xulrunner.patch
new file mode 100644
index 0000000..99aa1a9
--- /dev/null
+++ b/gcc43-libjava-xulrunner.patch
@@ -0,0 +1,520 @@
+--- libjava/classpath/configure.ac.jj 2007-09-05 21:38:54.000000000 +0200
++++ libjava/classpath/configure.ac 2007-12-20 23:49:43.000000000 +0100
+@@ -619,7 +619,7 @@ if test "x${COMPILE_JNI}" = xyes; then
+
+ dnl Check for AWT related Qt4
+ if test "x${COMPILE_QT_PEER}" = xyes; then
+- PKG_CHECK_MODULES(QT, QtCore QtGui >= 4.1.0, HAVE_QT4="yes", HAVE_QT4="no")
++ PKG_CHECK_MODULES(QT, QtCore QtGui >= 4.1.0, , HAVE_QT4="yes", HAVE_QT4="no")
+ if test "x$HAVE_QT4" = "xyes"; then
+ dnl Check needed because in some cases the QtGui includedir
+ dnl doesn't contain the subsystem dir.
+@@ -702,21 +702,24 @@ if test "x${COMPILE_JNI}" = xyes; then
+
+ dnl Check for plugin support headers and libraries.
+ if test "x${COMPILE_PLUGIN}" = xyes; then
+- PKG_CHECK_MODULES(MOZILLA, mozilla-plugin, [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
++ PKG_CHECK_MODULES(MOZILLA, mozilla-plugin mozilla-xpcom, --define-variable=includetype=unstable, [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
+ if test "x${MOZILLA_FOUND}" = xno; then
+- PKG_CHECK_MODULES(MOZILLA, firefox-plugin firefox-xpcom, [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
++ PKG_CHECK_MODULES(MOZILLA, mozilla-plugin, , [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
+ fi
+ if test "x${MOZILLA_FOUND}" = xno; then
+- PKG_CHECK_MODULES(MOZILLA, xulrunner-plugin xulrunner-xpcom, [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
++ PKG_CHECK_MODULES(MOZILLA, firefox-plugin firefox-xpcom, , [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
+ fi
+ if test "x${MOZILLA_FOUND}" = xno; then
+- PKG_CHECK_MODULES(MOZILLA, mozilla-firefox-plugin mozilla-firefox-xpcom, [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
++ PKG_CHECK_MODULES(MOZILLA, xulrunner-plugin xulrunner-xpcom, --define-variable=includetype=unstable, [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
+ fi
+ if test "x${MOZILLA_FOUND}" = xno; then
+- PKG_CHECK_MODULES(MOZILLA, seamonkey-plugin seamonkey-xpcom, [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
++ PKG_CHECK_MODULES(MOZILLA, mozilla-firefox-plugin mozilla-firefox-xpcom, , [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
+ fi
+ if test "x${MOZILLA_FOUND}" = xno; then
+- PKG_CHECK_MODULES(MOZILLA, iceape-plugin iceape-xpcom, [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
++ PKG_CHECK_MODULES(MOZILLA, seamonkey-plugin seamonkey-xpcom, , [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
++ fi
++ if test "x${MOZILLA_FOUND}" = xno; then
++ PKG_CHECK_MODULES(MOZILLA, iceape-plugin iceape-xpcom, , [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
+ fi
+ if test "x${MOZILLA_FOUND}" = xno; then
+ AC_MSG_ERROR([Couldn't find plugin support headers and libraries, try --disable-plugin])
+--- libjava/classpath/configure.jj 2007-09-05 21:38:54.000000000 +0200
++++ libjava/classpath/configure 2007-12-20 23:49:54.000000000 +0100
+@@ -19611,13 +19611,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
+ echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
+- XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
++ XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
+ echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
+ echo "${ECHO_T}$XML_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking XML_LIBS" >&5
+ echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
+- XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
++ XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
+ echo "$as_me:$LINENO: result: $XML_LIBS" >&5
+ echo "${ECHO_T}$XML_LIBS" >&6
+ else
+@@ -19709,13 +19709,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
+ echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
+- XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
++ XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
+ echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
+ echo "${ECHO_T}$XSLT_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
+ echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
+- XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
++ XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
+ echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
+ echo "${ECHO_T}$XSLT_LIBS" >&6
+ else
+@@ -21365,13 +21365,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
+ echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
+- GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
++ GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
+ echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
+ echo "${ECHO_T}$GTK_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking GTK_LIBS" >&5
+ echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
+- GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
++ GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
+ echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
+ echo "${ECHO_T}$GTK_LIBS" >&6
+ else
+@@ -21463,13 +21463,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
+ echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
+- FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2"`
++ FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2"`
+ echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
+ echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
+ echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
+- FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2"`
++ FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2"`
+ echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
+ echo "${ECHO_T}$FREETYPE2_LIBS" >&6
+ else
+@@ -21561,13 +21561,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
+ echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
+- PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
++ PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
+ echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
+ echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
+ echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
+- PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
++ PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
+ echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
+ echo "${ECHO_T}$PANGOFT2_LIBS" >&6
+ else
+@@ -21659,13 +21659,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
+ echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
+- CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
++ CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
+ echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
+ echo "${ECHO_T}$CAIRO_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
+ echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
+- CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
++ CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
+ echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
+ echo "${ECHO_T}$CAIRO_LIBS" >&6
+ else
+@@ -21927,13 +21927,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
+ echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
+- GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
++ GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
+ echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
+ echo "${ECHO_T}$GCONF_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
+ echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
+- GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
++ GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
+ echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
+ echo "${ECHO_T}$GCONF_LIBS" >&6
+ else
+@@ -22027,13 +22027,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
+ echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
+- GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
++ GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
+ echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
+ echo "${ECHO_T}$GDK_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking GDK_LIBS" >&5
+ echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
+- GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
++ GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
+ echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
+ echo "${ECHO_T}$GDK_LIBS" >&6
+ else
+@@ -22137,13 +22137,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
+ echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
+- GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
++ GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
+ echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
+ echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
+ echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
+- GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
++ GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
+ echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
+ echo "${ECHO_T}$GSTREAMER_LIBS" >&6
+ else
+@@ -22238,13 +22238,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking GSTREAMER_BASE_CFLAGS" >&5
+ echo $ECHO_N "checking GSTREAMER_BASE_CFLAGS... $ECHO_C" >&6
+- GSTREAMER_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
++ GSTREAMER_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
+ echo "$as_me:$LINENO: result: $GSTREAMER_BASE_CFLAGS" >&5
+ echo "${ECHO_T}$GSTREAMER_BASE_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking GSTREAMER_BASE_LIBS" >&5
+ echo $ECHO_N "checking GSTREAMER_BASE_LIBS... $ECHO_C" >&6
+- GSTREAMER_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
++ GSTREAMER_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
+ echo "$as_me:$LINENO: result: $GSTREAMER_BASE_LIBS" >&5
+ echo "${ECHO_T}$GSTREAMER_BASE_LIBS" >&6
+ else
+@@ -22339,13 +22339,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
+ echo $ECHO_N "checking GSTREAMER_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6
+- GSTREAMER_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
++ GSTREAMER_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
+ echo "$as_me:$LINENO: result: $GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
+ echo "${ECHO_T}$GSTREAMER_PLUGINS_BASE_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking GSTREAMER_PLUGINS_BASE_LIBS" >&5
+ echo $ECHO_N "checking GSTREAMER_PLUGINS_BASE_LIBS... $ECHO_C" >&6
+- GSTREAMER_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
++ GSTREAMER_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
+ echo "$as_me:$LINENO: result: $GSTREAMER_PLUGINS_BASE_LIBS" >&5
+ echo "${ECHO_T}$GSTREAMER_PLUGINS_BASE_LIBS" >&6
+ else
+@@ -22450,13 +22450,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
+ echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
+- QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
++ QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
+ echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
+ echo "${ECHO_T}$QT_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking QT_LIBS" >&5
+ echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
+- QT_LIBS=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
++ QT_LIBS=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
+ echo "$as_me:$LINENO: result: $QT_LIBS" >&5
+ echo "${ECHO_T}$QT_LIBS" >&6
+ else
+@@ -22904,6 +22904,103 @@ fi
+ else
+ PKG_CONFIG_MIN_VERSION=0.9.0
+ if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
++ echo "$as_me:$LINENO: checking for mozilla-plugin mozilla-xpcom" >&5
++echo $ECHO_N "checking for mozilla-plugin mozilla-xpcom... $ECHO_C" >&6
++
++ if $PKG_CONFIG --exists "mozilla-plugin mozilla-xpcom" ; then
++ echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++ succeeded=yes
++
++ echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
++echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
++ MOZILLA_CFLAGS=`$PKG_CONFIG --cflags --define-variable=includetype=unstable "mozilla-plugin mozilla-xpcom"`
++ echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
++echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
++
++ echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
++echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
++ MOZILLA_LIBS=`$PKG_CONFIG --libs --define-variable=includetype=unstable "mozilla-plugin mozilla-xpcom"`
++ echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
++echo "${ECHO_T}$MOZILLA_LIBS" >&6
++ else
++ MOZILLA_CFLAGS=""
++ MOZILLA_LIBS=""
++ ## If we have a custom action on failure, don't print errors, but
++ ## do set a variable so people can do so.
++ MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin mozilla-xpcom"`
++
++ fi
++
++
++
++ else
++ echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
++ echo "*** See http://www.freedesktop.org/software/pkgconfig"
++ fi
++ fi
++
++ if test $succeeded = yes; then
++ MOZILLA_FOUND=yes
++ else
++ MOZILLA_FOUND=no
++ fi
++
++ if test "x${MOZILLA_FOUND}" = xno; then
++
++ succeeded=no
++
++ if test -z "$PKG_CONFIG"; then
++ # Extract the first word of "pkg-config", so it can be a program name with args.
++set dummy pkg-config; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
++ echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++ case $PKG_CONFIG in
++ [\\/]* | ?:[\\/]*)
++ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
++ ;;
++ *)
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++done
++
++ test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
++ ;;
++esac
++fi
++PKG_CONFIG=$ac_cv_path_PKG_CONFIG
++
++if test -n "$PKG_CONFIG"; then
++ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
++echo "${ECHO_T}$PKG_CONFIG" >&6
++else
++ echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++ fi
++
++ if test "$PKG_CONFIG" = "no" ; then
++ echo "*** The pkg-config script could not be found. Make sure it is"
++ echo "*** in your path, or set the PKG_CONFIG environment variable"
++ echo "*** to the full path to pkg-config."
++ echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
++ else
++ PKG_CONFIG_MIN_VERSION=0.9.0
++ if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+ echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
+ echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
+
+@@ -22914,13 +23011,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
+ echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
+- MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin"`
++ MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin"`
+ echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
+ echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
+ echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
+- MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin"`
++ MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin"`
+ echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
+ echo "${ECHO_T}$MOZILLA_LIBS" >&6
+ else
+@@ -22946,6 +23043,7 @@ echo "${ECHO_T}$MOZILLA_LIBS" >&6
+ MOZILLA_FOUND=no
+ fi
+
++ fi
+ if test "x${MOZILLA_FOUND}" = xno; then
+
+ succeeded=no
+@@ -23011,13 +23109,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
+ echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
+- MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
++ MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
+ echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
+ echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
+ echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
+- MOZILLA_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
++ MOZILLA_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
+ echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
+ echo "${ECHO_T}$MOZILLA_LIBS" >&6
+ else
+@@ -23109,13 +23207,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
+ echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
+- MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
++ MOZILLA_CFLAGS=`$PKG_CONFIG --cflags --define-variable=includetype=unstable "xulrunner-plugin xulrunner-xpcom"`
+ echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
+ echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
+ echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
+- MOZILLA_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
++ MOZILLA_LIBS=`$PKG_CONFIG --libs --define-variable=includetype=unstable "xulrunner-plugin xulrunner-xpcom"`
+ echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
+ echo "${ECHO_T}$MOZILLA_LIBS" >&6
+ else
+@@ -23207,13 +23305,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
+ echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
+- MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
++ MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
+ echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
+ echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
+ echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
+- MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
++ MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
+ echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
+ echo "${ECHO_T}$MOZILLA_LIBS" >&6
+ else
+@@ -23305,13 +23403,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
+ echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
+- MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
++ MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
+ echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
+ echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
+ echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
+- MOZILLA_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
++ MOZILLA_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
+ echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
+ echo "${ECHO_T}$MOZILLA_LIBS" >&6
+ else
+@@ -23403,13 +23501,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
+ echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
+- MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
++ MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
+ echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
+ echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
+ echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
+- MOZILLA_LIBS=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
++ MOZILLA_LIBS=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
+ echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
+ echo "${ECHO_T}$MOZILLA_LIBS" >&6
+ else
+@@ -23506,13 +23604,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
+ echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
+- GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
++ GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
+ echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
+ echo "${ECHO_T}$GLIB_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
+ echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
+- GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
++ GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
+ echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
+ echo "${ECHO_T}$GLIB_LIBS" >&6
+ else
+@@ -23604,13 +23702,13 @@ echo "${ECHO_T}yes" >&6
+
+ echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
+ echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
+- GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
++ GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
+ echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
+ echo "${ECHO_T}$GTK_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking GTK_LIBS" >&5
+ echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
+- GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
++ GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
+ echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
+ echo "${ECHO_T}$GTK_LIBS" >&6
+ else
+--- libjava/classpath/m4/pkg.m4.jj 2006-10-05 00:29:54.000000000 +0200
++++ libjava/classpath/m4/pkg.m4 2007-12-20 23:38:46.000000000 +0100
+@@ -1,5 +1,5 @@
+
+-dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
++dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, , action-if, action-not)
+ dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
+ dnl also defines GSTUFF_PKG_ERRORS on error
+ AC_DEFUN([PKG_CHECK_MODULES], [
+@@ -24,11 +24,11 @@ AC_DEFUN([PKG_CHECK_MODULES], [
+ succeeded=yes
+
+ AC_MSG_CHECKING($1_CFLAGS)
+- $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
++ $1_CFLAGS=`$PKG_CONFIG --cflags $3 "$2"`
+ AC_MSG_RESULT($$1_CFLAGS)
+
+ AC_MSG_CHECKING($1_LIBS)
+- $1_LIBS=`$PKG_CONFIG --libs "$2"`
++ $1_LIBS=`$PKG_CONFIG --libs $3 "$2"`
+ AC_MSG_RESULT($$1_LIBS)
+ else
+ $1_CFLAGS=""
+@@ -36,7 +36,7 @@ AC_DEFUN([PKG_CHECK_MODULES], [
+ ## If we have a custom action on failure, don't print errors, but
+ ## do set a variable so people can do so.
+ $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
+- ifelse([$4], ,echo $$1_PKG_ERRORS,)
++ ifelse([$5], ,echo $$1_PKG_ERRORS,)
+ fi
+
+ AC_SUBST($1_CFLAGS)
+@@ -48,9 +48,9 @@ AC_DEFUN([PKG_CHECK_MODULES], [
+ fi
+
+ if test $succeeded = yes; then
+- ifelse([$3], , :, [$3])
++ ifelse([$4], , :, [$4])
+ else
+- ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
++ ifelse([$5], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$5])
+ fi
+ ])
+
diff --git a/gcc43-pr34111.patch b/gcc43-pr34111.patch
new file mode 100644
index 0000000..96541e1
--- /dev/null
+++ b/gcc43-pr34111.patch
@@ -0,0 +1,51 @@
+2007-12-20 Jason Merrill <jason@redhat.com>
+
+ PR c++/34111
+ * call.c (standard_conversion): Derived-to-base is considered a
+ standard conversion.
+
+--- gcc/cp/call.c (revision 131106)
++++ gcc/cp/call.c (revision 131107)
+@@ -861,14 +861,7 @@ standard_conversion (tree to, tree from,
+ else if (fcode == VECTOR_TYPE && tcode == VECTOR_TYPE
+ && vector_types_convertible_p (from, to, false))
+ return build_conv (ck_std, to, conv);
+- /* A derived-to-base conversion sequence is a user-defined conversion
+- because it involves a constructor call, even though it has the rank of
+- a standard conversion, so we don't consider it if we aren't allowing
+- user-defined conversions. But if we're binding directly to a
+- reference, it's only a pointer conversion. */
+- else if ((!(flags & LOOKUP_NO_CONVERSION)
+- || (flags & LOOKUP_NO_TEMP_BIND))
+- && IS_AGGR_TYPE (to) && IS_AGGR_TYPE (from)
++ else if (IS_AGGR_TYPE (to) && IS_AGGR_TYPE (from)
+ && is_properly_derived_from (from, to))
+ {
+ if (conv->kind == ck_rvalue)
+--- gcc/testsuite/g++.dg/overload/arg5.C (revision 0)
++++ gcc/testsuite/g++.dg/overload/arg5.C (revision 131107)
+@@ -0,0 +1,24 @@
++// PR c++/34111
++
++class QChar
++{
++};
++struct QString
++{
++ QString(QChar);
++};
++struct QPainter
++{
++ void drawText (int x, int y, const QString &);
++};
++
++ class KHEChar:public QChar
++ {
++ public:KHEChar (QChar C);
++ };
++
++void
++drawByte (QPainter * P, char, KHEChar B)
++{
++ P->drawText (0, 0, B);
++}
diff --git a/gcc43.spec b/gcc43.spec
index 658b709..8188cc3 100644
--- a/gcc43.spec
+++ b/gcc43.spec
@@ -55,7 +55,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: binutils >= 2.17.50.0.17-3
BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, texinfo, sharutils
%if %{build_java}
-BuildRequires: eclipse-ecj, zip, unzip
+BuildRequires: /usr/share/java/eclipse-ecj.jar, zip, unzip
%if %{bootstrap_java}
Source10: libjava-classes-%{version}-%{release}.tar.bz2
%else
@@ -142,6 +142,8 @@ Patch12: gcc43-rh341221.patch
Patch13: gcc43-pr34281.patch
Patch14: gcc43-pr34448.patch
Patch15: gcc43-pr34535.patch
+Patch16: gcc43-libjava-xulrunner.patch
+Patch17: gcc43-pr34111.patch
# On ARM EABI systems, we do want -gnueabi to be part of the
# target triple.
@@ -440,6 +442,8 @@ which are required to run programs compiled with the GNAT.
%patch13 -p0 -b .pr34281~
%patch14 -p0 -b .pr34448~
%patch15 -p0 -b .pr34535~
+%patch16 -p0 -b .libjava-xulrunner~
+%patch17 -p0 -b .pr34111~
tar xzf %{SOURCE4}
@@ -1649,6 +1653,7 @@ fi
%changelog
* Thu Dec 20 2007 Jakub Jelinek <jakub@redhat.com> 4.3.0-0.4
- update from the trunk
+- adjustments to build against xulrunner-devel
* Fri Dec 14 2007 Jakub Jelinek <jakub@redhat.com> 4.3.0-0.3
- build fastjar, gjar is uncomparably worse
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [rpms/gcc] rhel-f41-base: 4.3.0-0.4
@ 2026-06-29 12:23 Jakub Jelinek
0 siblings, 0 replies; 5+ messages in thread
From: Jakub Jelinek @ 2026-06-29 12:23 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gcc
Branch : rhel-f41-base
Commit : 1cefe557375182b9efb641d4e171e13ff509d358
Author : Jakub Jelinek <jakub@fedoraproject.org>
Date : 2007-12-20T17:45:52+00:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gcc/c/1cefe557375182b9efb641d4e171e13ff509d358?branch=rhel-f41-base
Log:
4.3.0-0.4
---
diff --git a/gcc43.spec b/gcc43.spec
index 1cc02ce..658b709 100644
--- a/gcc43.spec
+++ b/gcc43.spec
@@ -55,7 +55,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: binutils >= 2.17.50.0.17-3
BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, texinfo, sharutils
%if %{build_java}
-BuildRequires: /usr/share/java/eclipse-ecj.jar, zip, unzip
+BuildRequires: eclipse-ecj, zip, unzip
%if %{bootstrap_java}
Source10: libjava-classes-%{version}-%{release}.tar.bz2
%else
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [rpms/gcc] rhel-f41-base: 4.3.0-0.4
@ 2026-06-29 12:23 Jakub Jelinek
0 siblings, 0 replies; 5+ messages in thread
From: Jakub Jelinek @ 2026-06-29 12:23 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gcc
Branch : rhel-f41-base
Commit : 26315c4d94e9b39d25d3a3dd010316fedb0c4b31
Author : Jakub Jelinek <jakub@fedoraproject.org>
Date : 2007-12-20T17:17:48+00:00
Stats : +517/-438 in 14 file(s)
URL : https://src.fedoraproject.org/rpms/gcc/c/26315c4d94e9b39d25d3a3dd010316fedb0c4b31?branch=rhel-f41-base
Log:
4.3.0-0.4
---
diff --git a/.cvsignore b/.cvsignore
index 7e16d86..c425e14 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1,2 +1,2 @@
-gcc-4.3.0-20071212.tar.bz2
+gcc-4.3.0-20071220.tar.bz2
fastjar-0.95.tar.gz
diff --git a/gcc43-ada-profiledbootstrap.patch b/gcc43-ada-profiledbootstrap.patch
deleted file mode 100644
index d7ff04e..0000000
--- a/gcc43-ada-profiledbootstrap.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- gcc/ada/Make-lang.in.jj 2007-12-07 14:47:58.000000000 +0100
-+++ gcc/ada/Make-lang.in 2007-12-14 13:20:46.000000000 +0100
-@@ -286,11 +286,11 @@ TARGET_ADA_SRCS =
- # Since the RTL should be built with the latest compiler, remove the
- # stamp target in the parent directory whenever gnat1 is rebuilt
- gnat1$(exeext): $(TARGET_ADA_SRCS) $(GNAT1_OBJS) $(ADA_BACKEND) $(LIBDEPS)
-- $(GCC_LINK) -o $@ $(GNAT1_OBJS) $(ADA_BACKEND) $(LIBS) $(SYSLIBS)
-+ $(GCC_LINK) -o $@ $(GNAT1_OBJS) $(ADA_BACKEND) $(ALL_CFLAGS) $(LIBS) $(SYSLIBS)
- $(RM) stamp-gnatlib2 stamp-tools
-
- gnatbind$(exeext): ada/b_gnatb.o $(CONFIG_H) $(GNATBIND_OBJS)
-- $(GCC_LINK) -o $@ ada/b_gnatb.o $(GNATBIND_OBJS) $(LIBS) $(SYSLIBS)
-+ $(GCC_LINK) -o $@ ada/b_gnatb.o $(GNATBIND_OBJS) $(ALL_CFLAGS) $(LIBS) $(SYSLIBS)
-
- # use cross-gcc
- gnat-cross: force
diff --git a/gcc43-libjava-gcjpath.patch b/gcc43-libjava-gcjpath.patch
deleted file mode 100644
index 461cc4b..0000000
--- a/gcc43-libjava-gcjpath.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- libjava/classpath/configure.ac (revision 130691)
-+++ libjava/classpath/configure.ac (working copy)
-@@ -294,14 +294,14 @@ CLASSPATH_TOOLEXECLIBDIR
- dnl -----------------------------------------------------------
- dnl Sets the native libraries installation dir
- dnl -----------------------------------------------------------
--dnl GCJ LOCAL: default to ${toolexeclibdir}/gcj-${gcc_version}-${libgcj_soversion}
-+dnl GCJ LOCAL: default to ${toolexeclibdir}/gcj-${gcc_version}
- AC_ARG_WITH([native-libdir],
- [AS_HELP_STRING(--with-native-libdir,sets the installation directory for native libraries [default='${libdir}/${PACKAGE}'])],
- [
- nativeexeclibdir=${withval}
- ],
- [
-- nativeexeclibdir='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`-`awk -F: '/^[[^#]].*:/ { print $1 }' ${srcdir}/../libtool-version`
-+ nativeexeclibdir='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`
- ])
-
- AC_SUBST(nativeexeclibdir)
---- libjava/classpath/configure (revision 130691)
-+++ libjava/classpath/configure (working copy)
-@@ -4771,7 +4771,7 @@ if test "${with_native_libdir+set}" = se
-
- else
-
-- nativeexeclibdir='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`-`awk -F: '/^[^#].*:/ { print $1 }' ${srcdir}/../libtool-version`
-+ nativeexeclibdir='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`
-
- fi;
-
diff --git a/gcc43-libjava-test.patch b/gcc43-libjava-test.patch
deleted file mode 100644
index 957796d..0000000
--- a/gcc43-libjava-test.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- libjava/testsuite/Makefile.am 2007-02-07 13:07:16.000000000 +0100
-+++ libjava/testsuite/Makefile.am 2007-12-08 10:58:02.000000000 +0100
-@@ -43,7 +43,7 @@ if JAVA_MAINTAINER_MODE
- testdep="libjava.loader/MyLoader.java";; \
- libjava.jni/register2.java) \
- ;; \
-- libjava.jni/*.java) \
-+ libjava.jni/*.java|libjava.jvmti/interp/*.java) \
- genheader=-jni;; \
- libjava.jvmti/*.java|libjava.cni/*.java) \
- genheader=-cni;; \
---- libjava/testsuite/Makefile.in 2007-09-04 23:09:37.000000000 +0200
-+++ libjava/testsuite/Makefile.in 2007-12-08 10:58:25.000000000 +0100
-@@ -558,7 +558,7 @@ compile-tests:
- @JAVA_MAINTAINER_MODE_TRUE@ testdep="libjava.loader/MyLoader.java";; \
- @JAVA_MAINTAINER_MODE_TRUE@ libjava.jni/register2.java) \
- @JAVA_MAINTAINER_MODE_TRUE@ ;; \
--@JAVA_MAINTAINER_MODE_TRUE@ libjava.jni/*.java) \
-+@JAVA_MAINTAINER_MODE_TRUE@ libjava.jni/*.java|libjava.jvmti/interp/*.java) \
- @JAVA_MAINTAINER_MODE_TRUE@ genheader=-jni;; \
- @JAVA_MAINTAINER_MODE_TRUE@ libjava.jvmti/*.java|libjava.cni/*.java) \
- @JAVA_MAINTAINER_MODE_TRUE@ genheader=-cni;; \
diff --git a/gcc43-pr29484.patch b/gcc43-pr29484.patch
new file mode 100644
index 0000000..09a371e
--- /dev/null
+++ b/gcc43-pr29484.patch
@@ -0,0 +1,159 @@
+2007-12-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/29484
+ * tree-inline.c (inline_forbidden_p_2): New function.
+ (inline_forbidden_p): Disallow inlining if some static var
+ has an address of a local LABEL_DECL in its initializer.
+
+ * gcc.c-torture/execute/20071220-1.c: New test.
+ * gcc.c-torture/execute/20071220-2.c: New test.
+
+--- gcc/tree-inline.c.jj 2007-12-04 16:39:22.000000000 +0100
++++ gcc/tree-inline.c 2007-12-20 13:46:18.000000000 +0100
+@@ -1951,6 +1951,27 @@ inline_forbidden_p_1 (tree *nodep, int *
+ return NULL_TREE;
+ }
+
++static tree
++inline_forbidden_p_2 (tree *nodep, int *walk_subtrees,
++ void *fnp)
++{
++ tree node = *nodep;
++ tree fn = (tree) fnp;
++
++ if (TREE_CODE (node) == LABEL_DECL && DECL_CONTEXT (node) == fn)
++ {
++ inline_forbidden_reason
++ = G_("function %q+F can never be inlined "
++ "because it saves address of local label in a static variable");
++ return node;
++ }
++
++ if (TYPE_P (node))
++ *walk_subtrees = 0;
++
++ return NULL_TREE;
++}
++
+ /* Return subexpression representing possible alloca call, if any. */
+ static tree
+ inline_forbidden_p (tree fndecl)
+@@ -1959,16 +1980,31 @@ inline_forbidden_p (tree fndecl)
+ block_stmt_iterator bsi;
+ basic_block bb;
+ tree ret = NULL_TREE;
++ struct function *fun = DECL_STRUCT_FUNCTION (fndecl);
++ tree step;
+
+- FOR_EACH_BB_FN (bb, DECL_STRUCT_FUNCTION (fndecl))
++ FOR_EACH_BB_FN (bb, fun)
+ for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi))
+ {
+ ret = walk_tree_without_duplicates (bsi_stmt_ptr (bsi),
+- inline_forbidden_p_1, fndecl);
++ inline_forbidden_p_1, fndecl);
+ if (ret)
+ goto egress;
+ }
+
++ for (step = fun->unexpanded_var_list; step; step = TREE_CHAIN (step))
++ {
++ tree decl = TREE_VALUE (step);
++ if (TREE_CODE (decl) == VAR_DECL
++ && TREE_STATIC (decl)
++ && !DECL_EXTERNAL (decl)
++ && DECL_INITIAL (decl))
++ ret = walk_tree_without_duplicates (&DECL_INITIAL (decl),
++ inline_forbidden_p_2, fndecl);
++ if (ret)
++ goto egress;
++ }
++
+ egress:
+ input_location = saved_loc;
+ return ret;
+--- gcc/testsuite/gcc.c-torture/execute/20071220-1.c.jj 2007-12-20 14:29:04.000000000 +0100
++++ gcc/testsuite/gcc.c-torture/execute/20071220-1.c 2007-12-20 14:28:12.000000000 +0100
+@@ -0,0 +1,40 @@
++/* PR tree-optimization/29484 */
++
++extern void abort (void);
++
++void *__attribute__((noinline))
++baz (void **lab)
++{
++ asm volatile ("" : "+r" (lab));
++ return *lab;
++}
++
++static inline
++int bar (void)
++{
++ static void *b[] = { &&addr };
++ void *p = baz (b);
++ goto *p;
++addr:
++ return 17;
++}
++
++int __attribute__((noinline))
++f1 (void)
++{
++ return bar ();
++}
++
++int __attribute__((noinline))
++f2 (void)
++{
++ return bar ();
++}
++
++int
++main (void)
++{
++ if (f1 () != 17 || f1 () != 17 || f2 () != 17 || f2 () != 17)
++ abort ();
++ return 0;
++}
+--- gcc/testsuite/gcc.c-torture/execute/20071220-2.c.jj 2007-12-20 14:29:13.000000000 +0100
++++ gcc/testsuite/gcc.c-torture/execute/20071220-2.c 2007-12-20 14:28:30.000000000 +0100
+@@ -0,0 +1,39 @@
++/* PR tree-optimization/29484 */
++
++extern void abort (void);
++
++void *__attribute__((noinline))
++baz (void **lab)
++{
++ asm volatile ("" : "+r" (lab));
++ return *lab;
++}
++
++static inline
++int bar (void)
++{
++ static void *b[] = { &&addr };
++ baz (b);
++addr:
++ return 17;
++}
++
++int __attribute__((noinline))
++f1 (void)
++{
++ return bar ();
++}
++
++int __attribute__((noinline))
++f2 (void)
++{
++ return bar ();
++}
++
++int
++main (void)
++{
++ if (f1 () != 17 || f1 () != 17 || f2 () != 17 || f2 () != 17)
++ abort ();
++ return 0;
++}
diff --git a/gcc43-pr29978.patch b/gcc43-pr29978.patch
deleted file mode 100644
index 05cef20..0000000
--- a/gcc43-pr29978.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-2007-12-14 Jakub Jelinek <jakub@redhat.com>
-
- PR target/29978
- * config/i386/i386.c (ix86_expand_branch): Optimize LE/LEU/GT/GTU
- DImode comparisons against constant with all 1's in the lower word.
-
- * gcc.target/i386/pr29978.c: New test.
-
---- gcc/config/i386/i386.c.jj 2007-12-14 00:26:23.000000000 +0100
-+++ gcc/config/i386/i386.c 2007-12-14 14:14:51.000000000 +0100
-@@ -12093,16 +12093,28 @@ ix86_expand_branch (enum rtx_code code,
-
- /* Otherwise, if we are doing less-than or greater-or-equal-than,
- op1 is a constant and the low word is zero, then we can just
-- examine the high word. */
-+ examine the high word. Similarly for low word -1 and
-+ less-or-equal-than or greater-than. */
-
-- if (CONST_INT_P (hi[1]) && lo[1] == const0_rtx)
-+ if (CONST_INT_P (hi[1]))
- switch (code)
- {
- case LT: case LTU: case GE: case GEU:
-- ix86_compare_op0 = hi[0];
-- ix86_compare_op1 = hi[1];
-- ix86_expand_branch (code, label);
-- return;
-+ if (lo[1] == const0_rtx)
-+ {
-+ ix86_compare_op0 = hi[0];
-+ ix86_compare_op1 = hi[1];
-+ ix86_expand_branch (code, label);
-+ return;
-+ }
-+ case LE: case LEU: case GT: case GTU:
-+ if (lo[1] == constm1_rtx)
-+ {
-+ ix86_compare_op0 = hi[0];
-+ ix86_compare_op1 = hi[1];
-+ ix86_expand_branch (code, label);
-+ return;
-+ }
- default:
- break;
- }
---- gcc/testsuite/gcc.target/i386/pr29978.c.jj 2007-12-14 14:26:17.000000000 +0100
-+++ gcc/testsuite/gcc.target/i386/pr29978.c 2007-12-14 14:26:04.000000000 +0100
-@@ -0,0 +1,16 @@
-+/* PR target/29978 */
-+/* { dg-do compile } */
-+/* { dg-options "-Os" } */
-+
-+void g ();
-+
-+void
-+f (long long v)
-+{
-+ if (v > 0xfffffffffLL)
-+ g ();
-+ g ();
-+}
-+
-+/* Verify there are no redundant jumps jl .L2; jle .L2 */
-+/* { dg-final { scan-assembler-not "jl\[^e\]*\\.L" { target ilp32 } } } */
diff --git a/gcc43-pr32636.patch b/gcc43-pr32636.patch
deleted file mode 100644
index 4222ddf..0000000
--- a/gcc43-pr32636.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-2007-12-11 Jakub Jelinek <jakub@redhat.com>
-
- PR rtl-optimization/32636
- * df-scan.c (df_get_entry_block_def_set): Set struct_value_rtx
- regno in entry_block_defs even if HAVE_prologue && epilogue_completed.
-
---- gcc/df-scan.c.jj 2007-10-26 13:45:44.000000000 +0200
-+++ gcc/df-scan.c 2007-12-11 22:24:21.000000000 +0100
-@@ -3530,12 +3530,12 @@ df_get_entry_block_def_set (bitmap entry
- bitmap_set_bit (entry_block_defs, STATIC_CHAIN_REGNUM);
- #endif
- #endif
--
-- r = targetm.calls.struct_value_rtx (current_function_decl, true);
-- if (r && REG_P (r))
-- bitmap_set_bit (entry_block_defs, REGNO (r));
- }
-
-+ r = targetm.calls.struct_value_rtx (current_function_decl, true);
-+ if (r && REG_P (r))
-+ bitmap_set_bit (entry_block_defs, REGNO (r));
-+
- if ((!reload_completed) || frame_pointer_needed)
- {
- /* Any reference to any pseudo before reload is a potential
diff --git a/gcc43-pr34003.patch b/gcc43-pr34003.patch
deleted file mode 100644
index 25b283b..0000000
--- a/gcc43-pr34003.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-2007-12-13 Jakub Jelinek <jakub@redhat.com>
-
- PR bootstrap/34003
- * c-decl.c (merge_decls): Copy RTL from olddecl to newdecl.
- * config/pa/pa.c (pa_encode_section_info): If !first, preserve
- SYMBOL_FLAG_REFERENCED flag.
-
- * gcc.dg/pr34003-1.c: New test.
- * gcc.dg/pr34003-2.c: New.
-
---- gcc/c-decl.c.jj 2007-11-26 22:14:08.000000000 +0100
-+++ gcc/c-decl.c 2007-12-13 20:11:33.000000000 +0100
-@@ -1670,6 +1670,9 @@ merge_decls (tree newdecl, tree olddecl,
- }
- }
-
-+ /* Keep the old rtl since we can safely use it. */
-+ if (HAS_RTL_P (olddecl))
-+ COPY_DECL_RTL (olddecl, newdecl);
-
- /* Merge the type qualifiers. */
- if (TREE_READONLY (newdecl))
---- gcc/config/pa/pa.c.jj 2007-12-13 18:56:21.000000000 +0100
-+++ gcc/config/pa/pa.c 2007-12-13 20:32:04.000000000 +0100
-@@ -7834,6 +7834,12 @@ hppa_encode_label (rtx sym)
- static void
- pa_encode_section_info (tree decl, rtx rtl, int first)
- {
-+ int old_referenced = 0;
-+
-+ if (!first && MEM_P (rtl) && GET_CODE (XEXP (rtl, 0)) == SYMBOL_REF)
-+ old_referenced
-+ = SYMBOL_REF_FLAGS (XEXP (rtl, 0)) & SYMBOL_FLAG_REFERENCED;
-+
- default_encode_section_info (decl, rtl, first);
-
- if (first && TEXT_SPACE_P (decl))
-@@ -7842,6 +7848,8 @@ pa_encode_section_info (tree decl, rtx r
- if (TREE_CODE (decl) == FUNCTION_DECL)
- hppa_encode_label (XEXP (rtl, 0));
- }
-+ else if (old_referenced)
-+ SYMBOL_REF_FLAGS (XEXP (rtl, 0)) |= old_referenced;
- }
-
- /* This is sort of inverse to pa_encode_section_info. */
---- gcc/testsuite/gcc.dg/pr34003-1.c.jj 2007-12-13 21:07:51.000000000 +0100
-+++ gcc/testsuite/gcc.dg/pr34003-1.c 2007-12-13 21:07:15.000000000 +0100
-@@ -0,0 +1,8 @@
-+/* PR bootstrap/34003 */
-+/* { dg-do link } */
-+/* { dg-options "-O0" } */
-+/* { dg-additional-sources "pr34003-2.c" } */
-+
-+extern void foo (void);
-+int bar (void) { foo (); return 1; }
-+extern void foo (void);
---- gcc/testsuite/gcc.dg/pr34003-2.c.jj 2007-12-13 21:07:59.000000000 +0100
-+++ gcc/testsuite/gcc.dg/pr34003-2.c 2007-12-13 21:09:35.000000000 +0100
-@@ -0,0 +1,20 @@
-+/* PR bootstrap/34003 */
-+/* { dg-do compile } */
-+/* { dg-options "-O0" } */
-+
-+extern void abort (void);
-+
-+int seen = 0;
-+
-+void foo (void)
-+{
-+ ++seen;
-+}
-+
-+int main (void)
-+{
-+ extern int bar (void);
-+ if (bar () != 1 || seen != 1)
-+ abort ();
-+ return 0;
-+}
diff --git a/gcc43-pr34281.patch b/gcc43-pr34281.patch
new file mode 100644
index 0000000..b1fa5c8
--- /dev/null
+++ b/gcc43-pr34281.patch
@@ -0,0 +1,92 @@
+2007-12-13 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/34281
+ * config/arm/arm.c (arm_setup_incoming_varargs): If last named
+ argument needs double word alignment and cum->nregs is odd, account
+ for the inserted padding.
+
+ * gcc.c-torture/execute/20071213-1.c: New test.
+
+--- gcc/config/arm/arm.c.jj 2007-12-11 00:23:29.000000000 +0100
++++ gcc/config/arm/arm.c 2007-12-13 15:26:01.000000000 +0100
+@@ -17765,14 +17765,20 @@ arm_output_load_gr (rtx *operands)
+
+ static void
+ arm_setup_incoming_varargs (CUMULATIVE_ARGS *cum,
+- enum machine_mode mode ATTRIBUTE_UNUSED,
+- tree type ATTRIBUTE_UNUSED,
++ enum machine_mode mode,
++ tree type,
+ int *pretend_size,
+ int second_time ATTRIBUTE_UNUSED)
+ {
++ int nregs = cum->nregs;
++ if (nregs & 1
++ && ARM_DOUBLEWORD_ALIGN
++ && arm_needs_doubleword_align (mode, type))
++ nregs++;
++
+ cfun->machine->uses_anonymous_args = 1;
+- if (cum->nregs < NUM_ARG_REGS)
+- *pretend_size = (NUM_ARG_REGS - cum->nregs) * UNITS_PER_WORD;
++ if (nregs < NUM_ARG_REGS)
++ *pretend_size = (NUM_ARG_REGS - nregs) * UNITS_PER_WORD;
+ }
+
+ /* Return nonzero if the CONSUMER instruction (a store) does not need
+--- gcc/testsuite/gcc.c-torture/execute/20071213-1.c.jj 2007-12-13 16:47:49.000000000 +0100
++++ gcc/testsuite/gcc.c-torture/execute/20071213-1.c 2007-12-13 16:47:12.000000000 +0100
+@@ -0,0 +1,53 @@
++/* PR target/34281 */
++
++#include <stdarg.h>
++
++extern void abort (void);
++
++void
++h (int x, va_list ap)
++{
++ switch (x)
++ {
++ case 1:
++ if (va_arg (ap, int) != 3 || va_arg (ap, int) != 4)
++ abort ();
++ return;
++ case 5:
++ if (va_arg (ap, int) != 9 || va_arg (ap, int) != 10)
++ abort ();
++ return;
++ default:
++ abort ();
++ }
++}
++
++void
++f1 (int i, long long int j, ...)
++{
++ va_list ap;
++ va_start (ap, j);
++ h (i, ap);
++ if (i != 1 || j != 2)
++ abort ();
++ va_end (ap);
++}
++
++void
++f2 (int i, int j, int k, long long int l, ...)
++{
++ va_list ap;
++ va_start (ap, l);
++ h (i, ap);
++ if (i != 5 || j != 6 || k != 7 || l != 8)
++ abort ();
++ va_end (ap);
++}
++
++int
++main ()
++{
++ f1 (1, 2, 3, 4);
++ f2 (5, 6, 7, 8, 9, 10);
++ return 0;
++}
diff --git a/gcc43-pr34427.patch b/gcc43-pr34427.patch
deleted file mode 100644
index ac6cf71..0000000
--- a/gcc43-pr34427.patch
+++ /dev/null
@@ -1,198 +0,0 @@
-2007-12-12 Jakub Jelinek <jakub@redhat.com>
-
- PR libfortran/34427
-
- Revert:
- 2007-12-08 Tobias Burnus <burnus@net-b.de>
-
- PR fortran/34319
- * io/list_read.c (parse_real, read_real): Support NaN/Infinity.
-
- * gfortran.dg/nan_3.f90: New.
-
---- libgfortran/io/list_read.c (revision 130708)
-+++ libgfortran/io/list_read.c (revision 130707)
-@@ -1078,12 +1078,7 @@ parse_real (st_parameter_dt *dtp, void *
- }
-
- if (!isdigit (c) && c != '.')
-- {
-- if (c == 'i' || c == 'I' || c == 'n' || c == 'N')
-- goto inf_nan;
-- else
-- goto bad;
-- }
-+ goto bad;
-
- push_char (dtp, c);
-
-@@ -1141,13 +1136,7 @@ parse_real (st_parameter_dt *dtp, void *
-
- exp2:
- if (!isdigit (c))
-- {
-- if (c == 'i' || c == 'I' || c == 'n' || c == 'N')
-- goto inf_nan;
-- else
-- goto bad;
-- }
--
-+ goto bad;
- push_char (dtp, c);
-
- for (;;)
-@@ -1177,41 +1166,6 @@ parse_real (st_parameter_dt *dtp, void *
-
- return m;
-
-- inf_nan:
-- /* Match INF and Infinity. */
-- if ((c == 'i' || c == 'I')
-- && ((c = next_char (dtp)) == 'n' || c == 'N')
-- && ((c = next_char (dtp)) == 'f' || c == 'F'))
-- {
-- c = next_char (dtp);
-- if ((c != 'i' && c != 'I')
-- || ((c == 'i' || c == 'I')
-- && ((c = next_char (dtp)) == 'n' || c == 'N')
-- && ((c = next_char (dtp)) == 'i' || c == 'I')
-- && ((c = next_char (dtp)) == 't' || c == 'T')
-- && ((c = next_char (dtp)) == 'y' || c == 'Y')
-- && (c = next_char (dtp))))
-- {
-- if (is_separator (c))
-- unget_char (dtp, c);
-- push_char (dtp, 'i');
-- push_char (dtp, 'n');
-- push_char (dtp, 'f');
-- goto done;
-- }
-- } /* Match NaN. */
-- else if (((c = next_char (dtp)) == 'a' || c == 'A')
-- && ((c = next_char (dtp)) == 'n' || c == 'N')
-- && (c = next_char (dtp)))
-- {
-- if (is_separator (c))
-- unget_char (dtp, c);
-- push_char (dtp, 'n');
-- push_char (dtp, 'a');
-- push_char (dtp, 'n');
-- goto done;
-- }
--
- bad:
-
- if (nml_bad_return (dtp, c))
-@@ -1339,12 +1293,6 @@ read_real (st_parameter_dt *dtp, int len
- eat_separator (dtp);
- return;
-
-- case 'i':
-- case 'I':
-- case 'n':
-- case 'N':
-- goto inf_nan;
--
- default:
- goto bad_real;
- }
-@@ -1419,12 +1367,7 @@ read_real (st_parameter_dt *dtp, int len
- }
-
- if (!isdigit (c) && c != '.')
-- {
-- if (c == 'i' || c == 'I' || c == 'n' || c == 'N')
-- goto inf_nan;
-- else
-- goto bad_real;
-- }
-+ goto bad_real;
-
- if (c == '.')
- {
-@@ -1521,37 +1464,6 @@ read_real (st_parameter_dt *dtp, int len
- dtp->u.p.saved_type = BT_REAL;
- return;
-
-- inf_nan:
-- /* Match INF and Infinity. */
-- if ((c == 'i' || c == 'I')
-- && ((c = next_char (dtp)) == 'n' || c == 'N')
-- && ((c = next_char (dtp)) == 'f' || c == 'F'))
-- {
-- c = next_char (dtp);
-- if (is_separator (c)
-- || ((c == 'i' || c == 'I')
-- && ((c = next_char (dtp)) == 'n' || c == 'N')
-- && ((c = next_char (dtp)) == 'i' || c == 'I')
-- && ((c = next_char (dtp)) == 't' || c == 'T')
-- && ((c = next_char (dtp)) == 'y' || c == 'Y')
-- && (c = next_char (dtp)) && is_separator (c)))
-- {
-- push_char (dtp, 'i');
-- push_char (dtp, 'n');
-- push_char (dtp, 'f');
-- goto done;
-- }
-- } /* Match NaN. */
-- else if (((c = next_char (dtp)) == 'a' || c == 'A')
-- && ((c = next_char (dtp)) == 'n' || c == 'N')
-- && (c = next_char (dtp)) && is_separator (c))
-- {
-- push_char (dtp, 'n');
-- push_char (dtp, 'a');
-- push_char (dtp, 'n');
-- goto done;
-- }
--
- bad_real:
-
- if (nml_bad_return (dtp, c))
---- gcc/testsuite/gfortran.dg/nan_3.f90 (revision 130708)
-+++ gcc/testsuite/gfortran.dg/nan_3.f90 (revision 130707)
-@@ -1,45 +0,0 @@
--! { dg-do run }
--! { dg-options "-fno-range-check" }
--! { dg-options "-fno-range-check -mieee" { target sh*-*-* } }
--!
--! PR fortran/34319
--!
--! Check support of INF/NaN for I/O.
--!
--program main
-- implicit none
-- real :: r
-- complex :: z
-- character(len=30) :: str
--
-- str = "nan"
-- read(str,*) r
-- if (.not.isnan(r)) call abort()
-- str = "(nan,4.0)"
-- read(str,*) z
-- if (.not.isnan(real(z)) .or. aimag(z) /= 4.0) call abort()
-- str = "(7.0,nan)"
-- read(str,*) z
-- if (.not.isnan(aimag(z)) .or. real(z) /= 7.0) call abort()
--
-- str = "inFinity"
-- read(str,*) r
-- if (r <= huge(r)) call abort()
-- str = "(+inFinity,4.0)"
-- read(str,*) z
-- if ((real(z) <= huge(r)) .or. aimag(z) /= 4.0) call abort()
-- str = "(7.0,-inFinity)"
-- read(str,*) z
-- if ((aimag(z) >= -huge(r)) .or. real(z) /= 7.0) call abort()
--
-- str = "inf"
-- read(str,*) r
-- if (r <= huge(r)) call abort()
-- str = "(+inf,4.0)"
-- read(str,*) z
-- if ((real(z) <= huge(r)) .or. aimag(z) /= 4.0) call abort()
-- str = "(7.0,-inf)"
-- read(str,*) z
-- if ((aimag(z) >= -huge(r)) .or. real(z) /= 7.0) call abort()
--
--end program main
diff --git a/gcc43-pr34448.patch b/gcc43-pr34448.patch
new file mode 100644
index 0000000..e698bce
--- /dev/null
+++ b/gcc43-pr34448.patch
@@ -0,0 +1,229 @@
+2007-12-17 Aldy Hernandez <aldyh@redhat.com>
+
+ PR tree-optimization/34448
+ PR tree-optimization/34465
+ * gimplify.c (gimplify_init_constructor): Add new parameter
+ notify_temp_creation. Use it.
+ (gimplify_modify_expr_rhs): Take volatiles into account when
+ optimizing constructors.
+ Do not optimize constructors if gimplify_init_constructor will dump to
+ memory.
+ * gcc.dg/tree-ssa/pr32901.c: Tests const volatiles.
+ * gcc.c-torture/compile/pr34448.c: New.
+
+--- gcc/gimplify.c (revision 130934)
++++ gcc/gimplify.c (local)
+@@ -3119,11 +3119,18 @@ gimplify_init_ctor_eval (tree object, VE
+
+ Note that we still need to clear any elements that don't have explicit
+ initializers, so if not all elements are initialized we keep the
+- original MODIFY_EXPR, we just remove all of the constructor elements. */
++ original MODIFY_EXPR, we just remove all of the constructor elements.
++
++ If NOTIFY_TEMP_CREATION is true, do not gimplify, just return
++ GS_ERROR if we would have to create a temporary when gimplifying
++ this constructor. Otherwise, return GS_OK.
++
++ If NOTIFY_TEMP_CREATION is false, just do the gimplification. */
+
+ static enum gimplify_status
+ gimplify_init_constructor (tree *expr_p, tree *pre_p,
+- tree *post_p, bool want_value)
++ tree *post_p, bool want_value,
++ bool notify_temp_creation)
+ {
+ tree object;
+ tree ctor = GENERIC_TREE_OPERAND (*expr_p, 1);
+@@ -3134,10 +3141,13 @@ gimplify_init_constructor (tree *expr_p,
+ if (TREE_CODE (ctor) != CONSTRUCTOR)
+ return GS_UNHANDLED;
+
+- ret = gimplify_expr (&GENERIC_TREE_OPERAND (*expr_p, 0), pre_p, post_p,
+- is_gimple_lvalue, fb_lvalue);
+- if (ret == GS_ERROR)
+- return ret;
++ if (!notify_temp_creation)
++ {
++ ret = gimplify_expr (&GENERIC_TREE_OPERAND (*expr_p, 0), pre_p, post_p,
++ is_gimple_lvalue, fb_lvalue);
++ if (ret == GS_ERROR)
++ return ret;
++ }
+ object = GENERIC_TREE_OPERAND (*expr_p, 0);
+
+ elts = CONSTRUCTOR_ELTS (ctor);
+@@ -3159,7 +3169,11 @@ gimplify_init_constructor (tree *expr_p,
+ individual elements. The exception is that a CONSTRUCTOR node
+ with no elements indicates zero-initialization of the whole. */
+ if (VEC_empty (constructor_elt, elts))
+- break;
++ {
++ if (notify_temp_creation)
++ return GS_OK;
++ break;
++ }
+
+ /* Fetch information about the constructor to direct later processing.
+ We might want to make static versions of it in various cases, and
+@@ -3175,6 +3189,8 @@ gimplify_init_constructor (tree *expr_p,
+ && TREE_READONLY (object)
+ && TREE_CODE (object) == VAR_DECL)
+ {
++ if (notify_temp_creation)
++ return GS_ERROR;
+ DECL_INITIAL (object) = ctor;
+ TREE_STATIC (object) = 1;
+ if (!DECL_NAME (object))
+@@ -3251,7 +3267,12 @@ gimplify_init_constructor (tree *expr_p,
+
+ if (size > 0 && !can_move_by_pieces (size, align))
+ {
+- tree new = create_tmp_var_raw (type, "C");
++ tree new;
++
++ if (notify_temp_creation)
++ return GS_ERROR;
++
++ new = create_tmp_var_raw (type, "C");
+
+ gimple_add_tmp_var (new);
+ TREE_STATIC (new) = 1;
+@@ -3273,6 +3294,9 @@ gimplify_init_constructor (tree *expr_p,
+ }
+ }
+
++ if (notify_temp_creation)
++ return GS_OK;
++
+ /* If there are nonzero elements, pre-evaluate to capture elements
+ overlapping with the lhs into temporaries. We must do this before
+ clearing to fetch the values before they are zeroed-out. */
+@@ -3312,6 +3336,9 @@ gimplify_init_constructor (tree *expr_p,
+ {
+ tree r, i;
+
++ if (notify_temp_creation)
++ return GS_OK;
++
+ /* Extract the real and imaginary parts out of the ctor. */
+ gcc_assert (VEC_length (constructor_elt, elts) == 2);
+ r = VEC_index (constructor_elt, elts, 0)->value;
+@@ -3348,6 +3375,9 @@ gimplify_init_constructor (tree *expr_p,
+ unsigned HOST_WIDE_INT ix;
+ constructor_elt *ce;
+
++ if (notify_temp_creation)
++ return GS_OK;
++
+ /* Go ahead and simplify constant constructors to VECTOR_CST. */
+ if (TREE_CONSTANT (ctor))
+ {
+@@ -3488,10 +3518,28 @@ gimplify_modify_expr_rhs (tree *expr_p,
+ constructor expression to the RHS of the MODIFY_EXPR. */
+ if (DECL_INITIAL (*from_p)
+ && TYPE_READONLY (TREE_TYPE (*from_p))
++ && !TREE_THIS_VOLATILE (*from_p)
+ && TREE_CODE (DECL_INITIAL (*from_p)) == CONSTRUCTOR)
+ {
+- *from_p = DECL_INITIAL (*from_p);
+- ret = GS_OK;
++ tree old_from = *from_p;
++
++ /* Move the constructor into the RHS. */
++ *from_p = DECL_INITIAL (*from_p);
++
++ /* Let's see if gimplify_init_constructor will need to put
++ it in memory. If so, revert the change. */
++ ret = gimplify_init_constructor (expr_p, NULL, NULL, false, true);
++ if (ret == GS_ERROR)
++ {
++ *from_p = old_from;
++ /* Fall through. */
++ }
++ else
++ {
++ *from_p = unshare_expr (*from_p);
++ ret = GS_OK;
++ break;
++ }
+ }
+ ret = GS_UNHANDLED;
+ break;
+@@ -3551,7 +3599,8 @@ gimplify_modify_expr_rhs (tree *expr_p,
+ case CONSTRUCTOR:
+ /* If we're initializing from a CONSTRUCTOR, break this into
+ individual MODIFY_EXPRs. */
+- return gimplify_init_constructor (expr_p, pre_p, post_p, want_value);
++ return gimplify_init_constructor (expr_p, pre_p, post_p, want_value,
++ false);
+
+ case COND_EXPR:
+ /* If we're assigning to a non-register type, push the assignment
+--- gcc/testsuite/gcc.c-torture/compile/pr34448.c (revision 130934)
++++ gcc/testsuite/gcc.c-torture/compile/pr34448.c (local)
+@@ -0,0 +1,34 @@
++/* { dg-do compile } */
++/* { dg-options "-O" } */
++
++typedef struct chunk_t chunk_t;
++struct chunk_t
++{
++ unsigned char *ptr;
++ long unsigned int len;
++};
++extern chunk_t asn1_wrap (chunk_t c, ...);
++typedef struct linked_list_t linked_list_t;
++chunk_t ietfAttr_list_encode (linked_list_t * list);
++extern linked_list_t *groups;
++static unsigned char ASN1_group_oid_str[] = {
++ 0x06
++};
++static const chunk_t ASN1_group_oid = {
++ ASN1_group_oid_str, sizeof (ASN1_group_oid_str)
++};
++static chunk_t
++build_attribute_type (const chunk_t type, chunk_t content)
++{
++ return type;
++}
++static chunk_t
++build_attributes (void)
++{
++ return asn1_wrap (build_attribute_type (ASN1_group_oid,
++ ietfAttr_list_encode (groups)));
++}
++void build_attr_cert (void)
++{
++ asn1_wrap (build_attributes ());
++}
+--- gcc/testsuite/gcc.dg/tree-ssa/pr32901.c (revision 130934)
++++ gcc/testsuite/gcc.dg/tree-ssa/pr32901.c (local)
+@@ -7,7 +7,7 @@ struct foo {
+ unsigned : 4;
+ };
+
+-extern struct foo thefoo;
++extern struct foo thefoo, theotherfoo;
+
+ void setup_foo(void)
+ {
+@@ -15,10 +15,16 @@ void setup_foo(void)
+ .a1 = 1,
+ .a2 = 5,
+ };
++ volatile const struct foo volinit = {
++ .a1 = 0,
++ .a2 = 6
++ };
+ thefoo = init;
++ theotherfoo = volinit;
+ }
+
+-/* { dg-final { scan-tree-dump-times "thefoo.0 = \{\}" 1 "gimple"} } */
+-/* { dg-final { scan-tree-dump-times "thefoo.0.a1 = 1" 1 "gimple"} } */
+-/* { dg-final { scan-tree-dump-times "thefoo.0.a2 = 5" 1 "gimple"} } */
++/* { dg-final { scan-tree-dump-times "thefoo.* = {}" 1 "gimple"} } */
++/* { dg-final { scan-tree-dump-times "thefoo.* = 1" 1 "gimple"} } */
++/* { dg-final { scan-tree-dump-times "thefoo.* = 5" 1 "gimple"} } */
++/* { dg-final { scan-tree-dump-times "theotherfoo = volinit" 1 "gimple"} } */
+ /* { dg-final { cleanup-tree-dump "gimple" } } */
diff --git a/gcc43-pr34535.patch b/gcc43-pr34535.patch
new file mode 100644
index 0000000..4a3d59f
--- /dev/null
+++ b/gcc43-pr34535.patch
@@ -0,0 +1,34 @@
+2007-12-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/34535
+ * tree-mudflap.c (mf_make_builtin): Make decl artificial
+ and don't emit debug info for it.
+
+ PR debug/34535
+ * cp-lang.c (cp_classify_record): Check TYPE_LANG_SPECIFIC
+ is non-NULL before testing CLASSTYPE_DECLARED_CLASS.
+
+--- gcc/cp/cp-lang.c.jj 2007-12-16 12:36:16.000000000 +0100
++++ gcc/cp/cp-lang.c 2007-12-20 10:58:19.000000000 +0100
+@@ -159,7 +159,7 @@ cxx_dwarf_name (tree t, int verbosity)
+ static enum classify_record
+ cp_classify_record (tree type)
+ {
+- if (CLASSTYPE_DECLARED_CLASS (type))
++ if (TYPE_LANG_SPECIFIC (type) && CLASSTYPE_DECLARED_CLASS (type))
+ return RECORD_IS_CLASS;
+
+ return RECORD_IS_STRUCT;
+--- gcc/tree-mudflap.c.jj 2007-08-13 15:11:18.000000000 +0200
++++ gcc/tree-mudflap.c 2007-12-20 11:15:01.000000000 +0100
+@@ -301,6 +301,10 @@ mf_make_builtin (enum tree_code category
+ TREE_PUBLIC (decl) = 1;
+ DECL_EXTERNAL (decl) = 1;
+ lang_hooks.decls.pushdecl (decl);
++ /* The decl was declared by the compiler. */
++ DECL_ARTIFICIAL (decl) = 1;
++ /* And we don't want debug info for it. */
++ DECL_IGNORED_P (decl) = 1;
+ return decl;
+ }
+
diff --git a/gcc43.spec b/gcc43.spec
index a2509ae..1cc02ce 100644
--- a/gcc43.spec
+++ b/gcc43.spec
@@ -328,7 +328,7 @@ Requires: libart_lgpl >= 2.1.0
%if %{build_java}
BuildRequires: gtk2-devel >= 2.4.0
BuildRequires: glib2-devel >= 2.4.0
-BuildRequires: firefox-devel
+BuildRequires: xulrunner-devel
BuildRequires: libart_lgpl-devel >= 2.1.0
BuildRequires: alsa-lib-devel
BuildRequires: libXtst-devel
diff --git a/sources b/sources
index c36fc95..1bfa2db 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-65ac33620b3605f6c612b8591d7f7fa1 gcc-4.3.0-20071212.tar.bz2
+c29e437a88678a93a9750caf304b69bc gcc-4.3.0-20071220.tar.bz2
92a70f9e56223b653bce0f58f90cf950 fastjar-0.95.tar.gz
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [rpms/gcc] rhel-f41-base: 4.3.0-0.4
@ 2026-06-29 12:23 Jakub Jelinek
0 siblings, 0 replies; 5+ messages in thread
From: Jakub Jelinek @ 2026-06-29 12:23 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gcc
Branch : rhel-f41-base
Commit : 9389c6679898bedbfdbf931b2bdf6e4a4bad226d
Author : Jakub Jelinek <jakub@fedoraproject.org>
Date : 2007-12-20T16:34:11+00:00
Stats : +13/-16 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gcc/c/9389c6679898bedbfdbf931b2bdf6e4a4bad226d?branch=rhel-f41-base
Log:
4.3.0-0.4
---
diff --git a/gcc43.spec b/gcc43.spec
index b509f3e..a2509ae 100644
--- a/gcc43.spec
+++ b/gcc43.spec
@@ -1,6 +1,6 @@
-%define DATE 20071212
+%define DATE 20071220
%define gcc_version 4.3.0
-%define gcc_release 0.3
+%define gcc_release 0.4
%define _unpackaged_files_terminate_build 0
%define multilib_64_archs sparc64 ppc64 s390x x86_64
%define include_gappletviewer 1
@@ -136,15 +136,12 @@ Patch6: gcc43-ppc64-ia64-GNU-stack.patch
Patch7: gcc43-pr27898.patch
Patch8: gcc43-pr32139.patch
Patch9: gcc43-pr33763.patch
-Patch10: gcc43-pr32636.patch
+Patch10: gcc43-pr29484.patch
Patch11: gcc43-rh330771.patch
Patch12: gcc43-rh341221.patch
-Patch13: gcc43-libjava-test.patch
-Patch14: gcc43-pr34427.patch
-Patch15: gcc43-libjava-gcjpath.patch
-Patch16: gcc43-pr34003.patch
-Patch17: gcc43-ada-profiledbootstrap.patch
-Patch18: gcc43-pr29978.patch
+Patch13: gcc43-pr34281.patch
+Patch14: gcc43-pr34448.patch
+Patch15: gcc43-pr34535.patch
# On ARM EABI systems, we do want -gnueabi to be part of the
# target triple.
@@ -437,15 +434,12 @@ which are required to run programs compiled with the GNAT.
%patch7 -p0 -b .pr27898~
%patch8 -p0 -b .pr32139~
%patch9 -p0 -b .pr33763~
-%patch10 -p0 -b .pr32636~
+%patch10 -p0 -b .pr29484~
%patch11 -p0 -b .rh330771~
%patch12 -p0 -b .rh341221~
-%patch13 -p0 -b .libjava-test~
-%patch14 -p0 -E -b .pr34427~
-%patch15 -p0 -b .libjava-gcjpath~
-%patch16 -p0 -b .pr34003~
-%patch17 -p0 -b .ada-profiledbootstrap~
-%patch18 -p0 -b .pr29978~
+%patch13 -p0 -b .pr34281~
+%patch14 -p0 -b .pr34448~
+%patch15 -p0 -b .pr34535~
tar xzf %{SOURCE4}
@@ -1653,6 +1647,9 @@ fi
%doc rpm.doc/changelogs/libmudflap/ChangeLog*
%changelog
+* Thu Dec 20 2007 Jakub Jelinek <jakub@redhat.com> 4.3.0-0.4
+- update from the trunk
+
* Fri Dec 14 2007 Jakub Jelinek <jakub@redhat.com> 4.3.0-0.3
- build fastjar, gjar is uncomparably worse
- fix profiledbootstrap and use it
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-06-29 12:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 12:23 [rpms/gcc] rhel-f41-base: 4.3.0-0.4 Jakub Jelinek
-- strict thread matches above, loose matches on Subject: below --
2026-06-29 12:23 Jakub Jelinek
2026-06-29 12:23 Jakub Jelinek
2026-06-29 12:23 Jakub Jelinek
2026-06-29 12:23 Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox