aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2019-09-20pa.c (pa_trampoline_init): Remove spurious extended characters.John David Anglin2-2/+7
* config/pa/pa.c (pa_trampoline_init): Remove spurious extended characters. From-SVN: r276010
2019-09-20re PR rtl-optimization/88751 (Performance regression reload vs lra)Andreas Krebbel2-1/+17
Fix PR88751 This patch implements a small improvement for the heuristic in lra which decides when it has to activate the simpler register allocation algorithm. gcc/ChangeLog: 2019-09-20 Andreas Krebbel <krebbel@linux.ibm.com> Backport from mainline 2019-06-06 Andreas Krebbel <krebbel@linux.ibm.com> PR rtl-optimization/88751 * ira.c (ira): Use the number of the actually referenced registers when calculating the threshold. From-SVN: r275993
2019-09-20Daily bump.GCC Administrator1-1/+1
From-SVN: r275983
2019-09-19Daily bump.GCC Administrator1-1/+1
From-SVN: r275921
2019-09-18Daily bump.GCC Administrator1-1/+1
From-SVN: r275830
2019-09-17[Darwin, testsuite] Fix pr71694 fail for m32.Iain Sandoe2-0/+8
This test fails for Darwin m32 because it's scanning for absence of an instruction that's validly used in PIC code. Fixed, in this case, by using non-PIC codegen. 2019-09-17 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-06-13 Iain Sandoe <iain@sandoe.co.uk> * g++.dg/pr71694.C: Use non-PIC codegen for Darwin m32. From-SVN: r275801
2019-09-17Daily bump.GCC Administrator1-1/+1
From-SVN: r275760
2019-09-16[Darwin, testsuite] Fix isysroot-1.c.Iain Sandoe3-2/+18
For the test to succeed there needs to be some header that is to be found in the 'expected' place i.e. <sysroot>/usr/include/. It's important that it is not the name of a header for which fixincludes have been applied, since such headers will be found in the gcc include-fixed dir and, in general, reference additional headers. The dummy sysroot will prevent the additional headers from being found, resulting in a failed test. The fix is to use a header name that isn't expected to be present in a real sysroot. 2019-09-16 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-06-24 Iain Sandoe <iain@sandoe.co.uk> * gcc.dg/cpp/isysroot-1.c: Use <example.h> as the test header. * gcc.dg/cpp/usr/include/stdio.h: Rename... * gcc.dg/cpp/usr/include/example.h: ... to this. From-SVN: r275742
2019-09-16Daily bump.GCC Administrator1-1/+1
From-SVN: r275738
2019-09-15backport: re PR fortran/91557 (Bogus warning about unused dummy argument ↵Thomas Koenig5-3/+37
_formal_*) 2019-09-15 Thomas Koenig <tkoenig@gcc.gnu.org> Backport from trunk PR fortran/91557 * trans-decl.c (generate_local_decl): Do not warn if the symbol is artificial. * trans-types.c (get_formal_from_actual_arglist): Set artificial attribute on dummy arguments. 2019-09-15 Thomas Koenig <tkoenig@gcc.gnu.org> Backport from trunk PR fortran/91557 * gfortran.dg/warn_unused_dummy_argument_5.f90: New test. From-SVN: r275737
2019-09-15[objective-c++, testsuite] Fix test line number.Iain Sandoe2-1/+5
The syntax-1.mm test line numbering is differnent on 7 (and earlier) branches, so the test needs a minor update for the PR90709 workaround. 2019-09-15 Iain Sandoe <iain@sandoe.co.uk> * obj-c++.dg/syntax-error-1.mm: Adjust line number in dg-error. From-SVN: r275725
2019-09-15[objective-c/c++, testsuite] Workaround for PR90709.Iain Sandoe74-59/+9597
Since we cannot parse the current NeXT headers, because of PR90709 and its dependents, we have a large amount of testsuite noise for Darwin platforms. In order to restore the usefulness of the testsuite, we are going add headers without the modern syntax elements that trigger the bug, and use these for test runs on newer Darwin. The headers are imported from GNUStep, with some local modifications to make sure that __BLOCKS__ is honoured as a gate for Apple-style blocks closures. CF-CFString.h, F-NS*.h are proxy headers that use the installed CoreFoundation or Foundation headers on systems <= Darwin12 and the GNUStep headers for newer. Use the CF-CFString.h, F-NS*.h proxy headers where needed in the objective-c testsuite. Make minor adjustments to tests as required, providing that those do not alter the test intent. 2019-09-15 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-06-15 Iain Sandoe <iain@sandoe.co.uk> PR objc/90709 * obj-c++.dg/proto-lossage-7.mm: Use proxy headers. * obj-c++.dg/strings/const-cfstring-2.mm: Likewise. * obj-c++.dg/strings/const-cfstring-5.mm: Likewise * obj-c++.dg/strings/const-str-12.mm: Likewise. * obj-c++.dg/syntax-error-1.mm: Likewise. * obj-c++.dg/torture/strings/const-cfstring-1.mm: Likewise. * obj-c++.dg/torture/strings/const-str-10.mm: Likewise. * obj-c++.dg/torture/strings/const-str-11.mm: Likewise. * obj-c++.dg/torture/strings/const-str-9.mm: Likewise. * obj-c++.dg/cxx-ivars-3.mm: Skip on later Darwin, where the 10.4 API in no longer supported, also on m64 where there's no meaning to it. * obj-c++.dg/isa-field-1.mm: Suppress unwanted warning, add comment why. * obj-c++.dg/objc-gc-3.mm: Skip for Darwin > 16, the API use is an error there. * obj-c++.dg/qual-types-1.mm: Prune a spurious l64 warning. * obj-c++.dg/stubify-1.mm: Tidy up after better compiler warnings. * obj-c++.dg/stubify-2.mm: Likewise. * obj-c++.dg/try-catch-1.mm: Likewise. * obj-c++.dg/try-catch-3.mm: Likewise. Backport from mainline. 2019-06-15 Iain Sandoe <iain@sandoe.co.uk> PR objc/90709 * objc.dg/encode-7-next-64bit.m: Use proxy headers. * objc.dg/image-info.m: Likewise. * objc.dg/method-6.m: Likewise. * objc.dg/no-extra-load.m: Likewise. * objc.dg/objc-foreach-4.m: Likewise. * objc.dg/objc-foreach-5.m: Likewise. * objc.dg/proto-lossage-7.m: Likewise. * objc.dg/strings/const-cfstring-2.m: Likewise. * objc.dg/strings/const-cfstring-5.m: Likewise. * objc.dg/strings/const-str-12b.m: Likewise. * objc.dg/symtab-1.m: Likewise. * objc.dg/torture/strings/const-cfstring-1.m: Likewise. * objc.dg/torture/strings/const-str-10.m: Likewise. * objc.dg/torture/strings/const-str-11.m: Likewise. * objc.dg/torture/strings/const-str-9.m: Likewise. * objc.dg/zero-link-1.m: Likewise. * objc.dg/zero-link-2.m: Likewise. * objc.dg/zero-link-3.m: Likewise. * objc.dg/isa-field-1.m: Suppress unwanted warning, add comment why. * objc.dg/headers.m: XFAIL for Darwin14-19. * objc.dg/objc-gc-4.m: Skip for Darwin > 16, the API use is an error there. Backport from mainline. 2019-06-15 Iain Sandoe <iain@sandoe.co.uk> PR objc/90709 * objc-obj-c++-shared/CF-CFString.h: New. * objc-obj-c++-shared/F-NSArray.h: New. * objc-obj-c++-shared/F-NSAutoreleasePool.h: New. * objc-obj-c++-shared/F-NSObject.h: New. * objc-obj-c++-shared/F-NSString.h: New. * objc-obj-c++-shared/F-NSValue.h: New. * objc-obj-c++-shared/GNUStep/CoreFoundation/CFArray.h: New. * objc-obj-c++-shared/GNUStep/CoreFoundation/CFAvailability.h: New. * objc-obj-c++-shared/GNUStep/CoreFoundation/CFBase.h: New. * objc-obj-c++-shared/GNUStep/CoreFoundation/CFCharacterSet.h: New. * objc-obj-c++-shared/GNUStep/CoreFoundation/CFData.h: New. * objc-obj-c++-shared/GNUStep/CoreFoundation/CFDictionary.h: New. * objc-obj-c++-shared/GNUStep/CoreFoundation/CFLocale.h: New. * objc-obj-c++-shared/GNUStep/CoreFoundation/CFString.h: New. * objc-obj-c++-shared/GNUStep/Foundation/NSArray.h: New. * objc-obj-c++-shared/GNUStep/Foundation/NSAutoreleasePool.h: New. * objc-obj-c++-shared/GNUStep/Foundation/NSDate.h: New. * objc-obj-c++-shared/GNUStep/Foundation/NSEnumerator.h: New. * objc-obj-c++-shared/GNUStep/Foundation/NSGeometry.h: New. * objc-obj-c++-shared/GNUStep/Foundation/NSObjCRuntime.h: New. * objc-obj-c++-shared/GNUStep/Foundation/NSObject.h: New. * objc-obj-c++-shared/GNUStep/Foundation/NSRange.h: New. * objc-obj-c++-shared/GNUStep/Foundation/NSString.h: New. * objc-obj-c++-shared/GNUStep/Foundation/NSValue.h: New. * objc-obj-c++-shared/GNUStep/Foundation/NSZone.h: New. * objc-obj-c++-shared/GNUStep/GNUstepBase/GNUstep.h: New. * objc-obj-c++-shared/GNUStep/GNUstepBase/GSBlocks.h: New. * objc-obj-c++-shared/GNUStep/GNUstepBase/GSConfig.h: New. * objc-obj-c++-shared/GNUStep/GNUstepBase/GSObjCRuntime.h: New. * objc-obj-c++-shared/GNUStep/GNUstepBase/GSVersionMacros.h: New. * objc-obj-c++-shared/GNUStep/GNUstepBase/NSArray+GNUstepBase.h: New. * objc-obj-c++-shared/GNUStep/GNUstepBase/NSMutableString+GNUstepBase.h: New. * objc-obj-c++-shared/GNUStep/GNUstepBase/NSNumber+GNUstepBase.h: New. * objc-obj-c++-shared/GNUStep/GNUstepBase/NSObject+GNUstepBase.h: New. * objc-obj-c++-shared/GNUStep/GNUstepBase/NSString+GNUstepBase.h: New. From-SVN: r275724
2019-09-15Daily bump.GCC Administrator1-1/+1
From-SVN: r275720
2019-09-14Daily bump.GCC Administrator1-1/+1
From-SVN: r275706
2019-09-13[Darwin, testsuite] Adjust two tests that fail on newer OS versions.Iain Sandoe3-2/+10
Newer OS versions (10.14+) do not provide some of the CRTs that are used for older ones (e.g. 10.5), and thus link tests that specify targeting such a revision fail. We retain the testing of the correct defined OS version number but switch to compile-only testing for these two tests. 2019-09-13 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-06-13 Iain Sandoe <iain@sandoe.co.uk> * gcc.dg/darwin-minversion-1.c: Use compile rather than link/run. From-SVN: r275705
2019-09-13Daily bump.GCC Administrator1-1/+1
From-SVN: r275692
2019-09-12[Darwin, X86, testsuite] Adjust test for Darwin's align syntax.Iain Sandoe2-1/+11
Darwin has a .align taking a power of 2 by default, so that some tests expecting a byte count are failing, fixed by adjusting the scan-asms. We also avoid the ABI-mandated indirection for common and PIC extras for m32 (by adjusting compile options). 2019-09-12 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-05-27 Iain Sandoe <iain@sandoe.co.uk> * gcc.target/i386/pr22076.c: Adjust options to match codegen expected by the scan-asms. From-SVN: r275690
2019-09-12re PR fortran/91686 (ICE in gimplify:2554)Paul Thomas4-8/+44
2019-09-12 Paul Thomas <pault@gcc.gnu.org> PR fortran/91686 Backport from mainline * trans-expr.c (gfc_trans_assignment_1): Copy and paste section handling the rse.pre block from mainline. 2019-09-12 Paul Thomas <pault@gcc.gnu.org> PR fortran/91686 * gfortran.dg/pr91686.f90 : New test. From-SVN: r275681
2019-09-12Daily bump.GCC Administrator1-1/+1
From-SVN: r275677
2019-09-11re PR rtl-optimization/89795 (wrong code with -O2 -fno-dce ↵Eric Botcazou4-2/+12
-fno-forward-propagate -fno-sched-pressure) PR rtl-optimization/89795 * rtlanal.c (nonzero_bits1) <SUBREG>: Do not propagate results from inner REGs to paradoxical SUBREGs if WORD_REGISTER_OPERATIONS is set. From-SVN: r275638
2019-09-11Daily bump.GCC Administrator1-1/+1
From-SVN: r275619
2019-09-10[Darwin, X86, testsuite] Fixes for three PIE tests.Iain Sandoe4-7/+30
Darwin requires PIC code in order to support PIE; amend the test scan-asms to match this. 2019-09-10 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-05-26 Iain Sandoe <iain@sandoe.co.uk> * gcc.target/i386/pr39013-1.c: Adjust scan-asms for PIE to account for PIC code on Darwin. * gcc.target/i386/pr39013-2.c: Likewise. * gcc.target/i386/pr64317.c: Likewise. From-SVN: r275612
2019-09-10[Darwin, X86, testsuite] Amend popcnt spelling for Darwin.Iain Sandoe2-1/+10
Darwin uses a different spelling for popcnt (popcnt instead of popcntw). Check for this in the test. 2019-09-10 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-05-25 Iain Sandoe <iain@sandoe.co.uk> * gcc.target/i386/pr59874-3.c: Use the spelling of popcnt expected for Darwin. From-SVN: r275610
2019-09-10Daily bump.GCC Administrator1-1/+1
From-SVN: r275552
2019-09-09[Darwin, testsuite] Address PR91087 - XFAIL parts of pr16855.C.Iain Sandoe2-3/+17
The testcase is failing to instrument part of the source because of a bug in the ordering of static DTORs. It seems unlikely that this is generically fixable in the toolchain (and given that it's likely to be a dynamic loader change would not be expected to be applied retrospectively to OS versions that are out of support). To avoid the testsuite noise, xfail the count lines that don't match (we can adjust the xfails as/when the upstream bug is fixed). dejagnu xfails do not seem to work when embedded in a line like: ~Test (void) { .... /* count(1) { xfail ... } */ } the closing brace seems to confuse the parser. The solution is to exapnd the text onto three lines. 2019-09-09 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-07-25 Iain Sandoe <iain@sandoe.co.uk> PR gcov-profile/91087 * g++.dg/gcov/pr16855.C: Xfail the count lines for the DTORs and the "final" line for the failure summaries. Adjust source layout so that dejagnu xfail expressions work. From-SVN: r275547
2019-09-09[Darwin, testsuite] Fix PR 65364 (uninit-19.c).Iain Sandoe2-2/+11
This test currently fails on Darwin, because the port inlines fn2 for both PIC (and non-pic for m32). Fixed by adjusting the target condition. 2019-09-09 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-06-11 Iain Sandoe <iain@sandoe.co.uk> PR testsuite/65364 * gcc.dg/uninit-19.c (fn1): Adjust target condition for Darwin. (fn2): Likewise. From-SVN: r275546
2019-09-09[Darwin, X86, testsuite] Adjust match strings.Iain Sandoe3-2/+11
Some of the i386.exp tests fail on Darwin because their scan-asm match strings are too general. In some cases the strings also match instances in the .file and size directives or in comment output. This makes the match strings more specific. 2019-09-09 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-05-24 Iain Sandoe <iain@sandoe.co.uk> * gcc.target/i386/pr66819-3.c: Specifically, check that there is no call to "bar". * gcc.target/i386/pr66819-4.c: Likewise. From-SVN: r275545
2019-09-09[Darwin, X86, testsuite] Adjust labels for USER_LABEL_PREFIX.Iain Sandoe3-3/+12
A couple of the i386.exp tests fail because the label spelling used is different between ELF and Mach-O targets. Adjusted here. 2019-09-09 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-05-24 Iain Sandoe <iain@sandoe.co.uk> * gcc.target/i386/pr67985-2.c: Adjust label checks for Darwin. * gcc.target/i386/pr77881.c: Likewise. From-SVN: r275543
2019-09-09[Darwin, X86, testsuite] Disable tests that cannot pass.Iain Sandoe3-1/+10
Some of the i386.exp target tests cannot pass on Darwin because either the port doesn't support a feature, or the ABI demands sufficiently different codegen that matching the output with scan-asms would require a different test. Skip these. 2019-09-09 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-05-24 Iain Sandoe <iain@sandoe.co.uk> * gcc.target/i386/pr70738-7.c: Skip for Darwin. * gcc.target/i386/pr24414.c: Likewise. From-SVN: r275542
2019-09-09re PR target/87853 (_mm_cmpgt_epi8 broken with -funsigned-char)Jakub Jelinek4-1/+28
PR target/87853 * config/i386/emmintrin.h (_mm_cmpeq_epi8): Use casts to __v16qi instead of __v16qs. * gcc.target/i386/pr87853.c: New test. From-SVN: r275516
2019-09-09re PR target/91704 ([X86] Codegen for _mm256_cmpgt_epi8 is affected by ↵Jakub Jelinek5-1/+28
-funsigned-char) PR target/91704 * config/i386/avxintrin.h (__v32qs): New typedef. * config/i386/avx2intrin.h (_mm256_cmpgt_epi8): Use casts to __v32qs instead of __v32qi. * gcc.target/i386/pr91704.c: New test. From-SVN: r275515
2019-09-09Daily bump.GCC Administrator1-1/+1
From-SVN: r275498
2019-09-08[Darwin, X86, testsuite] Add xfails for PR90396.Iain Sandoe4-4/+16
We don't have support for -mcmodel={medium, large, kernel} so don't expect tests for those things to work. For now mark them as xfail where possible and skip where that isn't. These changes will be logged onto the PR and therefore can be backed out when the facility is implemented. 2019-09-08 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-06-01 Iain Sandoe <iain@sandoe.co.uk> PR target/90698 * gcc.target/i386/pr49866.c: XFAIL for Darwin. * gcc.target/i386/pr63538.c: Likewise. * gcc.target/i386/pr61599-1.c: Skip for Darwin. From-SVN: r275496
2019-09-08[X86, testsuite] Fix PR rtl-optimisation/64895 XPASSes.Iain Sandoe4-15/+28
These tests had started to XPASS on pic targets where the codegen is now as expected. 2019-09-08 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-05-23 Iain Sandoe <iain@sandoe.co.uk> PR rtl-optimisation/64895 * gcc.target/i386/fuse-caller-save-rec.c: Remove XFAILs. * gcc.target/i386/fuse-caller-save.c: Likewise. * gcc.target/i386/fuse-caller-save-xmm.c: Adjust tests for PIC cases, remove XFAILs. From-SVN: r275495
2019-09-08[Darwin, X86] Backport fix for .ident tests.Iain Sandoe2-1/+13
The c-c++-common tests fail (or XPASS depending on which) on Darwin because if doesn't emit a.ident marker. For X86 Darwin, this is a trivial oversight; the assembler supports the directive. We can therefore use the default target hook there. 2019-09-08 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline 2018-12-23 Iain Sandoe <iain@sandoe.co.uk> * config/i386/darwin.h (TARGET_ASM_OUTPUT_IDENT): New. From-SVN: r275494
2019-09-08Daily bump.GCC Administrator1-1/+1
From-SVN: r275490
2019-09-07Daily bump.GCC Administrator1-1/+1
From-SVN: r275479
2019-09-06[Ada, Darwin, PPC] PPC Darwin has stack check probes.Iain Sandoe2-1/+9
On PPC, Darwin uses the same code as other parts of the port 2019-09-06 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-07-02 Iain Sandoe <iain@sandoe.co.uk> * system-darwin-ppc.ads: Set Stack_Check_Probes True for PPC Darwin. From-SVN: r275471
2019-09-06[Ada] Push -shared-libgcc where needed.Iain Sandoe2-1/+39
Gnatlink has code that checks for duplicate '-shared-libgcc’ switches (but not duplicate ‘static-libgcc’) and also pushes ’static-libgcc' onto the link line for targets that default to static linking, provided '-shared-libgcc' is not present. For targets that should use a shared libgcc we need the same process to be applied (in inverse), in the event that they do not default to providing the shared flag implicitly. So this adds the complementary set of tests for the shared case and pushes the shared flag as needed. As a minor tidy-up there’s no need push duplicates of the libgcc switch onto the link line when one has already been seen (given by the user). The patch does not alter any of the platform defaults for static/shared libgcc, but it ensures that the intent of the link is explicit. 2019-09-06 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-06-30 Iain Sandoe <iain@sandoe.co.uk> * gnatlink.adb (Link_Step): Push -shared-libgcc explicitly, when it is the target default (unless overidden by the static flag). When the user has put an instance of shared/static-libgcc do not push a duplicate of this. From-SVN: r275470
2019-09-06[Darwin, testsuite] Fix PR27221.Iain Sandoe2-1/+9
The test can't succeed on 32b powerpc Darwin since the ABI demands a different result to the tested one. (So XFAIL it). 2019-09-06 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-05-22 Iain Sandoe <iain@sandoe.co.uk> PR testsuite/27221 * g++.dg/ext/alignof2.C: XFAIL for 32bit Darwin. From-SVN: r275469
2019-09-06[Darwin, testsuite] Fix PR67958.Iain Sandoe9-26/+93
These tests require specific scan-asms in some cases because of the different codegen for Dawin. Added some explanations too. 2019-09-06 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-05-21 Iain Sandoe <iain@sandoe.co.uk> PR testsuite/67958 * gcc.target/i386/pr32219-1.c: Adjust scan-asms for Darwin, comment the differences. * gcc.target/i386/pr32219-2.c: Likewise. * gcc.target/i386/pr32219-3.c: Likewise. * gcc.target/i386/pr32219-4.c: Likewise. * gcc.target/i386/pr32219-5.c: Likewise. * gcc.target/i386/pr32219-6.c: Likewise. * gcc.target/i386/pr32219-7.c: Likewise. * gcc.target/i386/pr32219-8.c: Likewise. From-SVN: r275468
2019-09-06[Darwin, testsuite] Fix PR63891 (darwin-weakimport-3).Iain Sandoe2-1/+25
This is a testcase failing because one part of the codegen is (correctly) generating the scan-asm-not signature. Fixed by altering the build options. 2019-09-06 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-05-21 Iain Sandoe <iain@sandoe.co.uk> PR target/63891 * gcc.dg/darwin-weakimport-3.c: Adjust options and explain the reasons. From-SVN: r275467
2019-09-06[Darwin, testsuite ] Fix for PR58321.Iain Sandoe3-3/+19
Darwin doesn't emit a .file directive by default and one of the scan-asm hits for ELF targets comes from this directive. Adjust for Darwin and explain. 2019-09-06 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-05-20 Iain Sandoe <iain@sandoe.co.uk> PR testsuite/58321 * gcc.target/i386/memcpy-strategy-3.c: Adjust count for Darwin and add a comment as to the reason for the difference. * gcc.target/i386/memset-strategy-1.c: Likewise. From-SVN: r275466
2019-09-06[Darwin, X86] Backport fix for tests using .p2align.Iain Sandoe2-0/+19
This fixes a number of testcases that expect use of .p2align, which was somehow omitted from the darwin X86 port (but is available in all assemblers used with it). 2019-09-06 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline 2019-05-31 Iain Sandoe <iain@sandoe.co.uk> * config/i386/darwin.h (ASM_OUTPUT_MAX_SKIP_ALIGN): New. From-SVN: r275465
2019-09-06Daily bump.GCC Administrator1-1/+1
From-SVN: r275446
2019-09-05[Darwin, PPC, testsuite] Require stabs support for a test.Iain Sandoe2-0/+9
The test fails if the assembler doesn't support stabs. 2019-09-05 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-07-13 Iain Sandoe <iain@sandoe.co.uk> * gcc.target/powerpc/stabs-attrib-vect-darwin.c: Require stabs support. From-SVN: r275440
2019-09-05[Darwin, PPC, testsuite] Skip tests for unimplemented functionality.Iain Sandoe3-0/+10
The -mno-speculate-indirect-jumps functionality is not implemented for Darwin. 2019-09-05 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-06-24 Iain Sandoe <iain@sandoe.co.uk> * gcc.target/powerpc/safe-indirect-jump-1.c: Skip for Darwin. * gcc.target/powerpc/safe-indirect-jump-7.c: Likewise. From-SVN: r275439
2019-09-05[Darwin, PPC, testsuite] Fix builtins-2 Darwin.Iain Sandoe2-0/+8
This cannot pass for current Darwin, since it requires VSX and we don't have any hardware supporting that. Add a dg-requires clause for this. 2019-09-05 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-06-23 Iain Sandoe <iain@sandoe.co.uk> * gcc.target/powerpc/builtins-2.c: Require VSX hardware support. From-SVN: r275438
2019-09-05[Darwin, PPC, testsuite] Fix pr80125 testcase for Darwin.Iain Sandoe2-3/+11
Darwin (unlike most of the members of the PowerPC port family) defaults to signed chars, so the test was failing to compile with a "mismatched parameters" error. 2019-09-05 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-06-23 Iain Sandoe <iain@sandoe.co.uk> * gcc.target/powerpc/pr80125.c (foo): Use an unsigned char vector explicitly for the vec_perm. From-SVN: r275437
2019-09-05[Darwin, PPC, testsuite] Fix pr71785 testcase for Darwin.Iain Sandoe2-1/+15
Firstly, we adjust the test conditions to use non-PIC code for Darwin. Secondly, we have to account for out-of-line GPR restores which gives a false positive on one of the scan-assembler-not. Lastly, we make the test a bit more specific for Darwin - that it looks for absence of branches to local labels. 2019-09-05 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline. 2019-06-23 Iain Sandoe <iain@sandoe.co.uk> * gcc.target/powerpc/pr71785.c: For Darwin, make test non-PIC, expect the out-of-line GPR restore, and test specifically for absence of branches to local labels. From-SVN: r275436