David E. O'Brien
c817ff638d
Do not fold -C*ABS<n> to ABS<-C*n> (i.e., do not move negative constants
...
inside ABS expression).
Obtained from: Richard Guenther <rguenther@suse.de>
Approved by: core
2007-12-11 03:35:39 +00:00
David E. O'Brien
c5ace62e4e
This commit was generated by cvs2svn to compensate for changes in r174531,
...
which included commits to RCS files with non-trunk default branches.
2007-12-11 03:35:39 +00:00
Marius Strobl
3df889c865
Allow the targeted CPU type to be set via -mcpu instead of
...
limiting to the hardcoded equivalent of -mcpu=ultrasparc.
PR: 109510
MFC after: 3 months
2007-12-09 17:41:47 +00:00
David E. O'Brien
efd1233d59
Do not imply -ftree-vrp with -O2 and above. One must implicitly specify
...
'-ftree-vrp' if one wants it.
Some bad code generation has been tracked to -ftree-vrp. jdk1{5,6} are
notable examples.
Approved by: re(kensmith)
2007-10-02 20:06:14 +00:00
Alexander Kabaev
4da6937165
Update locally changed files to GCC 4.2.1.
...
Approved by: re (kensmith)
2007-08-14 03:04:42 +00:00
Alexander Kabaev
89ec829aba
Merge files that are no longer carry FreeBSD local changes.
...
Approved by: re (kensmith)
2007-08-14 03:02:26 +00:00
Alexander Kabaev
23baddbde1
GCC 4.2.1 release.
2007-08-14 02:45:23 +00:00
Alexander Kabaev
997921685c
This commit was generated by cvs2svn to compensate for changes in r171825,
...
which included commits to RCS files with non-trunk default branches.
2007-08-14 02:45:23 +00:00
Alexander Kabaev
7a6bf861d6
Disable shared libgcc use for profiled builds. GNU linker pulls symbols
...
out of libgcc_s.so.1 somehow and fails to record DT_NEEED dependency
when linking with profiled libraries despite --ld-as-needed option.
2007-05-28 23:02:56 +00:00
Olivier Houchard
67de64dde8
FreeBSD expects VFP, so use that as the default FPU.
...
Reviewed by: kan
2007-05-21 08:38:42 +00:00
Alexander Kabaev
f1d9718c03
Cosmetics: remove extra space from GCC version string.
2007-05-19 06:37:32 +00:00
Alexander Kabaev
fe32ca9af4
Merge arm-freebsd.h.diff directly into the target file. Maintaining
...
separate patch is much more painful than taking this file off the
vendor branch.
2007-05-19 03:11:26 +00:00
Alexander Kabaev
23400e5a44
Add FMT_FLAG_NULL_FORMAT_OK flag.
2007-05-19 03:09:31 +00:00
Alexander Kabaev
888346df5f
Remove files that are no more part of GCC distribution from FSF branch.
2007-05-19 02:42:17 +00:00
Alexander Kabaev
ef444676f3
This commit was generated by cvs2svn to compensate for changes in r169708,
...
which included commits to RCS files with non-trunk default branches.
2007-05-19 02:42:17 +00:00
Alexander Kabaev
8902467bb7
Remove files that are not part of GCC distribution anymore.
2007-05-19 02:34:18 +00:00
Alexander Kabaev
096b39c236
Update configuration files for GCC 4.2.
2007-05-19 02:30:20 +00:00
Alexander Kabaev
0d6df2bb56
Merge local FreeBSD changes for -mno-align-long-strings.
2007-05-19 02:26:26 +00:00
Alexander Kabaev
be54bacbaf
Merge local FreeBSD changes.
2007-05-19 02:23:49 +00:00
Alexander Kabaev
2bc5055037
In FreeBSD -O0 -O1 optimize alignment for time, not size.
2007-05-19 02:22:16 +00:00
Alexander Kabaev
f48faea4fa
Merge local changes for -mprofiler-epilogue support.
2007-05-19 02:18:38 +00:00
Alexander Kabaev
2f68bca35b
Merge local FreeBSD changes to support -fformat-extensions.
2007-05-19 02:16:45 +00:00
Alexander Kabaev
e2f01f3f63
Add FreeBSD suffix to GCC version string.
2007-05-19 02:14:13 +00:00
Alexander Kabaev
9d6b9560a8
FreeBSD uses unchanged versions of this files.
2007-05-19 02:12:21 +00:00
Alexander Kabaev
6b834ef156
GCC 4.2.0 release.
2007-05-19 01:19:51 +00:00
Alexander Kabaev
533952614f
This commit was generated by cvs2svn to compensate for changes in r169689,
...
which included commits to RCS files with non-trunk default branches.
2007-05-19 01:19:51 +00:00
Bruce Evans
11e27303d3
Fixed -mprofiler-epilogue. The garbage collector apparently doesn't
...
understand that non-local variables can never be collected, and when
it collected the static variable for mexitcount_libfunc, gcc aborted
on the next use of this variable.
This quick fix is to reinitialize the variable on every use and depend
on garbage collection recovering the small amount of memory wasted by
this, and not worry by the small amount of time wasted by this. It
would be better to initialize the variable together with most of the
other libfuncs in optabs.c and depend on whatever magic is there to
prevent its collection, but we initialize it here to avoid taking at
least 2 more files off the vendor branch.
2006-10-25 07:29:22 +00:00
Ruslan Ermilov
f981f1923b
Removed these from HEAD as well.
2006-09-21 07:55:28 +00:00
Ruslan Ermilov
89de143f92
These files live in the doc/ subdir in later releases of GCC.
2006-09-21 07:54:02 +00:00
Ruslan Ermilov
5bb8cebbb4
This commit was generated by cvs2svn to compensate for changes in r162512,
...
which included commits to RCS files with non-trunk default branches.
2006-09-21 07:54:02 +00:00
Ruslan Ermilov
932b1e2fe8
Updated manpages for 3.4.6 release.
...
OK'ed by: kan
Obtained from: gcc-3.4.6.tar.bz2
2006-09-21 07:45:37 +00:00
Ruslan Ermilov
83cc3b492f
This commit was generated by cvs2svn to compensate for changes in r162509,
...
which included commits to RCS files with non-trunk default branches.
2006-09-21 07:45:37 +00:00
Alexander Kabaev
f2d5255ddd
Resolve conflicts after GCC 3.4.6 20060825 import.
2006-08-26 21:37:21 +00:00
Alexander Kabaev
e35cf0a56c
Gcc 3.4.6 as of 2006/08/25 #116475 .
2006-08-26 21:29:10 +00:00
Alexander Kabaev
35cc3dc5ba
This commit was generated by cvs2svn to compensate for changes in r161651,
...
which included commits to RCS files with non-trunk default branches.
2006-08-26 21:29:10 +00:00
David E. O'Brien
a1cfcf9970
Locate __FreeBSD_cc_version's value beside __FreeBSD__'s value to make it
...
easier to keep them in sync.
2005-10-30 19:04:47 +00:00
David E. O'Brien
67ae096798
Catch up with FreeBSD 7.
2005-10-29 09:13:31 +00:00
Craig Rodrigues
5dbed42856
Submitted following patch to FSF GCC:
...
* freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS):
Use builtin_define_with_int_value() instead of
adding a new check for every new major FreeBSD version.
Motivated by: simon
Discussed with: obrien, kan
2005-10-27 23:57:55 +00:00
David E. O'Brien
d109621656
Fix bug where static forward declarations weren't accepted.
...
This allows us to fix non-ISO-C constructs in our kernel to legal ISO-C.
Submitted by: rodrigc
Obtained from: http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00006.html
2005-09-07 09:23:39 +00:00
David E. O'Brien
8d85d711c3
Fix bug where GCC thought athlon-tbird had SSE support.
2005-07-19 21:53:22 +00:00
Scott Long
98e104cbc9
Patch the freebsd spec file for PowerPC so that PIC code builds correctly.
...
This allows FreeBSD/PPC to build and run out of stock CVS sources. This
also takes the file off of the vendor branch.
Submitted by: kan, grehan
Approved by: re, kan
2005-07-07 21:40:37 +00:00
Alexander Kabaev
b297022008
Enable handling of MS-compatible packing push and pop pragmas. This change was
...
inadvertedly left out of the last import.
2005-06-03 17:35:13 +00:00
Alexander Kabaev
441d901f19
Fix a typo from previos commit.
2005-06-03 05:58:56 +00:00
Alexander Kabaev
65bbb3030a
Catch up with changes in BDX_OUTPUT_[LR]BRAC callers.
2005-06-03 04:19:23 +00:00
Alexander Kabaev
c3cbf7fdb9
Merge conflicts for GCC 3.4.4.
2005-06-03 04:02:20 +00:00
Alexander Kabaev
d14a001770
Localize GCC version string for FreeBSD.
2005-06-03 03:52:25 +00:00
Alexander Kabaev
31a119f3ed
Stock files.
2005-06-03 03:50:42 +00:00
Alexander Kabaev
d51085f37e
Gcc 3.4.4 release.
2005-06-03 03:28:44 +00:00
Alexander Kabaev
4101e78861
This commit was generated by cvs2svn to compensate for changes in r146895,
...
which included commits to RCS files with non-trunk default branches.
2005-06-03 03:28:44 +00:00
David E. O'Brien
337c1d7b9b
Break lines at sentence ends, etc...
2004-11-11 07:50:09 +00:00
David E. O'Brien
fb89b41ce4
Don't attempt to claim what version of GCC we're documenting. The manpage
...
is still mostly the GCC 2.95 one, with faint attempts by me over the years
to document a few new switches. Thus, it is dubious to claim documentation
of specific modern GCC versions.
Noted by: delphij
2004-11-11 07:45:01 +00:00
Alexander Kabaev
1689e31de6
Import a patch from GCC PR c/16999 to stop quoting already quoted ident
...
strings.
2004-10-15 03:22:13 +00:00
Alexander Kabaev
f75a5631b8
This commit was generated by cvs2svn to compensate for changes in r136527,
...
which included commits to RCS files with non-trunk default branches.
2004-10-15 03:22:13 +00:00
David E. O'Brien
b4e8286b3b
Enter the long awaited start of FreeBSD 6.0!
2004-08-21 03:58:39 +00:00
Alexander Kabaev
292f200484
Remove files that are not part of GCC 3.4.x from the vendor branch.
2004-08-12 16:41:42 +00:00
Alexander Kabaev
6d3e93598f
This commit was generated by cvs2svn to compensate for changes in r133582,
...
which included commits to RCS files with non-trunk default branches.
2004-08-12 16:41:42 +00:00
Alexander Kabaev
025ee8b5ee
Import one more file for Gcc 3.4.2 20040728.
2004-08-12 02:21:58 +00:00
Alexander Kabaev
db20bc12fe
This commit was generated by cvs2svn to compensate for changes in r133534,
...
which included commits to RCS files with non-trunk default branches.
2004-08-12 02:21:58 +00:00
Alexander Kabaev
dfa9c64b20
Remove obsolete ASM_FINAL_SPEC definition.
...
Reported by: green
2004-07-29 21:49:34 +00:00
Alexander Kabaev
e4d548aae3
Allow GCC to recognize -fformat-extensions flag.
2004-07-29 02:04:58 +00:00
Alexander Kabaev
e46f2ea2ce
Merge rev. 1.2 (allow profiling of FORTRAN77 programs) info
...
GCC 3.4.3-prerelease sources.
2004-07-28 05:08:31 +00:00
Alexander Kabaev
10e9ba0b8b
Merge FreeBSD changes into GCC 3.4.2-prerelease:
...
1.2 Printf format errors fixes.
2004-07-28 05:06:59 +00:00
Alexander Kabaev
110ff012a5
Use stock version of this file now.
2004-07-28 05:03:19 +00:00
Alexander Kabaev
eba800a0ec
Update sparc64 MD bits to GCC 3.4.2-prerelease.
2004-07-28 05:00:13 +00:00
Alexander Kabaev
b76a1e10e7
Merge FreeBSD changes into GCC 3.4.2-prerelease:
...
1.2 Tweaks to make this file live beside our hacked config.
2004-07-28 04:56:54 +00:00
Alexander Kabaev
85336dcfdf
Merge r1.10 (-mno-align-long-strings) and r1.11 (make LONG_TYPE_SIZE
...
overridable from the command line).
2004-07-28 04:49:58 +00:00
Alexander Kabaev
c4471ac9b4
Merge r1.11 (-mno-align-long-strings).
2004-07-28 04:47:35 +00:00
Alexander Kabaev
025f702c81
Update Amd64 MD bits for GCC 3.4.2-prerelease.
2004-07-28 04:44:23 +00:00
Alexander Kabaev
fed81232e9
Update i386 MD bits for GCC 3.4.2-prerelease.
2004-07-28 04:41:42 +00:00
Alexander Kabaev
cd778f4053
Update Alpha config MD bits for GCC 3.4.2-prerelease.
2004-07-28 04:39:15 +00:00
Alexander Kabaev
7217bc1ccb
Merge FreeBSD modifications into gcc 3.4.2-prerelease:
...
1.8 Change symbol values to match freebsd.h.
2004-07-28 04:35:51 +00:00
Alexander Kabaev
9e7f3a944a
Update MI config bits for GCC 3.4.2-prerelease.
2004-07-28 04:34:05 +00:00
Alexander Kabaev
4fc9ee4449
Update for GCC 3.4.2. Bump __FreeBSD_cc_version_ and use correct ELF
...
interpreter on FreeBSD 5.x series.
2004-07-28 04:31:47 +00:00
Alexander Kabaev
6a664e83d1
Merge FreeBSD modifications into gcc 3.4.2-prerelease:
...
1.2 Localize the version string.
2004-07-28 04:27:06 +00:00
Alexander Kabaev
c123cd5f1d
-O0 -O1 should optimize alignment for time, not size. Moved from toplev.c.
2004-07-28 04:23:38 +00:00
Alexander Kabaev
d483803cd9
Merge FreeBSD modifications into gcc 3.4.2-prelelease:
...
1.2 -fformat-extensions.
Remove r1.7 (FORCE_OPTIMIZATION_DOWNGRADE knob for Alpha) as obsolete.
Move r1.14 (-O0 -O1 optimize alignment for time, not size) to opts.c.
2004-07-28 04:20:36 +00:00
Alexander Kabaev
4babd86df3
Merge FreeBSD modifications into gcc 3.4.2-prerelease:
...
1.{2,15} FREEBSD_NATIVE.
1.21 "GCC_OPTIONS".
1.{16,25,27} Cross-compiling issues.
1.38 Correct priority for GCC_EXEC_PREFIX.
2004-07-28 04:05:09 +00:00
Alexander Kabaev
8e87f3b2bd
Merge FreeBSD changes into GCC 3.4.2-prerelease.
...
1.19 Fix -mprofiler-epilogue on i386.
2004-07-28 04:01:01 +00:00
Alexander Kabaev
38f88cafa3
Merge FreeBSD modifications into gcc 3.4.2-prerelease:
...
1.2 -fformat-extensions.
1.3 -printf0
1.6 teach GCC about %y for DDB.
2004-07-28 03:57:21 +00:00
Alexander Kabaev
7073af4071
Use stock version of this file.
...
Revision 1.3 to suppress warnings on K&R main is not useful anymore
since GCC suppresses such warnings unconditionally now.
2004-07-28 03:53:20 +00:00
Alexander Kabaev
42eb4c1088
Merge FreeBSD modifications into gcc 3.4.2-prerelease:
...
1.2 framework for our kernel printf enhancements.
1.3 suppress prototype warnings on K&R main.
Both flag variables declared here were disconnected through the 5-current
lifetime and are retained here for backwards compatibility reasons only.
2004-07-28 03:46:02 +00:00
Alexander Kabaev
48b98bbb98
Merge FreeBSD changes into GCC 3.4.2-prerelease.
...
r1.18: Move FreeBSD specific flag variables from c-decl.c here.
2004-07-28 03:40:54 +00:00
Alexander Kabaev
f246de45e2
Use stock GCC versions on these files.
2004-07-28 03:36:15 +00:00
Alexander Kabaev
9a63ad9273
Gcc 3.4.2 20040728.
2004-07-28 03:11:36 +00:00
Alexander Kabaev
4609cf73ba
This commit was generated by cvs2svn to compensate for changes in r132718,
...
which included commits to RCS files with non-trunk default branches.
2004-07-28 03:11:36 +00:00
David E. O'Brien
255eea9a74
Grrr. our rev 1.19 (FSF GCC rev 1.579) is causing some problems on 32-bit
...
systems. So only use the rev 1.19 (FSF GCC rev 1.579) change on 64-bit
systems.
2004-06-19 20:40:00 +00:00
David E. O'Brien
a3bfe8fd89
Merge FSF GCC rev 1.579 change ((x86_output_mi_thunk): Don't pass MEM to
...
%P0, just SYMBOL_REF) into GCC 3.3.3. This fixes the bad C++ thunks code
generation building Firefox on AMD64.
Submitted by: Sean McNeil <sean@mcneil.com>
2004-06-19 07:29:04 +00:00
Andrey A. Chernov
518818386c
Remove unneeded files
2004-02-17 03:22:35 +00:00
Daniel Eischen
f24e6a4f39
Make gcc -pthread link to -lpthread instead of -lc_r.
2004-01-30 12:14:19 +00:00
Bruce Evans
a36805bd93
Quick fix for breakage of non-i386 arches in previous commit. Only
...
use TARGET_PROFILER_EPILOGUE if it is defined.
2004-01-06 10:38:48 +00:00
Alexander Kabaev
973e839bed
Fix -mprofiler-epilogue on i386. This should be extended to other
...
architectures in future.
Submitted by: bde
2004-01-05 22:23:27 +00:00
Alexander Kabaev
0fb0a43f46
Remove files not part of GCC 3.3.x.
2004-01-05 20:27:51 +00:00
Alexander Kabaev
8412b382ed
This commit was generated by cvs2svn to compensate for changes in r124151,
...
which included commits to RCS files with non-trunk default branches.
2004-01-05 20:27:51 +00:00
Alexander Kabaev
6c9999e01d
Fix ASM_OUTPUT_LABELREF to deal with TSL model prefixes GCC
...
started to use internally. They need to be stripped before
the name of the label or symbol is printed.
2003-12-22 04:27:17 +00:00
David E. O'Brien
2572485481
One might want to correctly generate 32-bit code on an Opteron.
...
Submitted by: peter
2003-12-16 05:40:06 +00:00
David E. O'Brien
6778cdfd3f
Consistently define __LP64__ on all our 64-bit platforms.
2003-12-15 10:34:01 +00:00
Alexander Kabaev
57ec9907bc
Use correct priority parameter value in add_prefix from corresponding
...
enum instead of passing literal 0. This fixes gcc invocations with
GCC_EXEC_PREFIX environment set.
Submitted By: Geoff Morrison
PR: gnu/53476
2003-11-13 22:40:05 +00:00
Daniel Eischen
cd902b7719
Remove a comment stating that -pthread isn't supported.
2003-11-10 18:52:57 +00:00
Alexander Kabaev
148e0bd79e
Drop r1.6 (warn_system_heders by default). Use stock version of
...
the file from now on.
2003-11-07 03:30:31 +00:00
Alexander Kabaev
4ff5474ba8
Merge revs 1.2 (-fformat-extensions), 1.7 (FORCE_OPTIMIZATION_DOWNGRADE knob),
...
1.14 (-O/-O1 optimize alignment for time, not size).
Back out r1.22 which used to enable warnings in system headers by
default.
2003-11-07 03:27:32 +00:00