Author: pfg
Date: Mon Dec 30 02:52:43 2013
New Revision: 260073
URL: http://svnweb.freebsd.org/changeset/base/260073
Log:
gcc: small diff reduction wrt gcc43 and Apple GCC.
Obtained from:gcc 4.3 (rev. 121464, 122528, 124106; GPLv2)
MFC after:3 weeks
Modified:
head/contrib/gcc/ChangeLog.gcc43
head/contrib/gcc/cp/ChangeLog
head/contrib/gcc/cp/g++spec.c
head/contrib/gcc/libgcc2.c
head/contrib/gcc/libgcc2.h
head/contrib/gcc/loop-init.c
head/contrib/gcc/toplev.c
head/contrib/gcc/tree-ssa-address.c
Modified: head/contrib/gcc/ChangeLog.gcc43
==
--- head/contrib/gcc/ChangeLog.gcc43Mon Dec 30 02:19:48 2013
(r260072)
+++ head/contrib/gcc/ChangeLog.gcc43Mon Dec 30 02:52:43 2013
(r260073)
@@ -156,6 +156,15 @@
* reload1.c (merge_assigned_reloads) : Do not merge a RELOAD_OTHER
instruction with a RELOAD_FOR_OPERAND_ADDRESS instruction.
+2007-04-24 Richard Henderson r...@redhat.com (r124106)
+
+ * libgcc2.h (AVOID_FP_TYPE_CONVERSION): Rename from
+ IS_IBM_EXTENDED. Also define in terms of WIDEST_HARDWARE_FP_SIZE.
+ * libgcc2.c (__floatdisf): Avoid double-word arithmetic when
+ looking for non-zero bits shifted out. Avoid a recursive call
+ when constructing the scalar.
+ (__floatundisf): Likewise.
+
2007-04-16 Lawrence Crowl cr...@google.com (r123909)
* doc/invoke.texi (Debugging Options): Add documentation for the
@@ -248,6 +257,11 @@
* tree-vrp.c (vrp_int_const_binop): Handle PLUS_EXPR and
the *_DIV_EXPR codes correctly with overflow infinities.
+2007-03-04 Zdenek Dvorak dvor...@suse.cz (r122528)
+
+ * tree-ssa-address.c (create_mem_ref): Do not put an expression
+ containing a cast to the base of TARGET_MEM_REF.
+
2007-02-09 Dwarakanath Rajagopal dwarak.rajago...@amd.com (r121763)
* config/i386/driver-i386.c: Turn on -mtune=native for AMDFAM10.
@@ -424,6 +438,11 @@
and amdfam10.
* doc/extend.texi: Add documentation for SSE4A builtins.
+2007-02-01 Zdenek Dvorak dvor...@suse.cz (r121464)
+
+ * toplev.c (lang_dependent_init): Call init_set_costs.
+ * loop-init.c (loop_optimizer_init): Do not call init_set_costs.
+
2007-01-24 Jakub Jelinek ja...@redhat.com (r121140)
* config/i386/i386.h (x86_cmpxchg16b): Remove const.
Modified: head/contrib/gcc/cp/ChangeLog
==
--- head/contrib/gcc/cp/ChangeLog Mon Dec 30 02:19:48 2013
(r260072)
+++ head/contrib/gcc/cp/ChangeLog Mon Dec 30 02:52:43 2013
(r260073)
@@ -314,6 +314,12 @@
PR c++/30895
* tree.c (cp_tree_equal): Properly handle COMPLEX_CST trees.
+2007-03-02 Geoffrey Keating geo...@apple.com (r122488)
+
+ * g++spec.c (lang_specific_driver): Add -lstdc++ when compiling
+ Objective-C++. Don't exit early if -shared-libgcc needs to be
+ added.
+
2007-02-22 Simon Martin simar...@users.sourceforge.net
PR c++/29475
Modified: head/contrib/gcc/cp/g++spec.c
==
--- head/contrib/gcc/cp/g++spec.c Mon Dec 30 02:19:48 2013
(r260072)
+++ head/contrib/gcc/cp/g++spec.c Mon Dec 30 02:52:43 2013
(r260073)
@@ -159,11 +159,19 @@ lang_specific_driver (int *in_argc, cons
arg = ;
if (library == 0
(strcmp (arg, c++) == 0
- || strcmp (arg, c++-cpp-output) == 0))
+ || strcmp (arg, c++-cpp-output) == 0
+ || strcmp (arg, objective-c++) == 0
+ || strcmp (arg, objective-c++-cpp-output) == 0))
library = 1;
saw_speclang = 1;
}
+ else if (strcmp (argv[i], -ObjC++) == 0)
+ {
+ if (library == 0)
+ library = 1;
+ saw_speclang = 1;
+ }
/* Arguments that go directly to the linker might be .o files,
or something, and so might cause libstdc++ to be needed. */
else if (strcmp (argv[i], -Xlinker) == 0)
@@ -237,13 +245,6 @@ lang_specific_driver (int *in_argc, cons
if (quote)
fatal (argument to '%s' missing\n, quote);
- /* If we know we don't have to do anything, bail now. */
- if (! added library = 0)
-{
- free (args);
- return;
-}
-
/* There's no point adding -shared-libgcc if we don't have a shared
libgcc. */
#ifndef ENABLE_SHARED_LIBGCC
Modified: head/contrib/gcc/libgcc2.c
==
--- head/contrib/gcc/libgcc2.c Mon Dec 30 02:19:48 2013(r260072)
+++ head/contrib/gcc/libgcc2.c Mon Dec 30 02:52:43 2013(r260073)
@@ -1420,11 +1420,7 @@ __floatunditf (UDWtype u)