mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 23:30:59 +08:00
Merge dg-options and dg-additional-options if len <= 120 chars.
gcc/testsuite/ChangeLog: 2020-04-15 Martin Liska <mliska@suse.cz> * g++.dg/concepts/diagnostic1.C: Merge dg-options and dg-additional-options if len <= 120 chars. * g++.dg/cpp1y/new1.C: Likewise. * g++.dg/cpp1y/new2.C: Likewise. * g++.dg/debug/dwarf2/pr61433.C: Likewise. * g++.dg/init/new18.C: Likewise. * g++.dg/ipa/devirt-19.C: Likewise. * g++.dg/ipa/devirt-52.C: Likewise. * g++.dg/ipa/pr44372.C: Likewise. * g++.dg/ipa/pr58371.C: Likewise. * g++.dg/ipa/pr63587-2.C: Likewise. * g++.dg/ipa/pr78211.C: Likewise. * g++.dg/opt/dump1.C: Likewise. * g++.dg/opt/pr44919.C: Likewise. * g++.dg/opt/pr47615.C: Likewise. * g++.dg/opt/pr82159-2.C: Likewise. * g++.dg/other/pr52048.C: Likewise. * g++.dg/pr57662.C: Likewise. * g++.dg/pr59510.C: Likewise. * g++.dg/pr67989.C: Likewise. * g++.dg/pr81194.C: Likewise. * g++.dg/template/canon-type-8.C: Likewise. * g++.dg/template/crash107.C: Likewise. * g++.dg/template/show-template-tree-3.C: Likewise. * g++.dg/tm/cgraph_edge.C: Likewise. * g++.dg/torture/20141013.C: Likewise. * g++.dg/torture/pr34641.C: Likewise. * g++.dg/torture/pr34850.C: Likewise. * g++.dg/torture/pr36745.C: Likewise. * g++.dg/torture/pr40991.C: Likewise. * g++.dg/torture/pr48271.C: Likewise. * g++.dg/torture/pr53602.C: Likewise. * g++.dg/torture/pr53752.C: Likewise. * g++.dg/torture/pr54838.C: Likewise. * g++.dg/torture/pr58252.C: Likewise. * g++.dg/tree-ssa/pr22444.C: Likewise. * g++.dg/tree-ssa/pr24351-3.C: Likewise. * g++.dg/tree-ssa/pr27283.C: Likewise. * g++.dg/tree-ssa/pr27291.C: Likewise. * g++.dg/tree-ssa/pr27548.C: Likewise. * g++.dg/tree-ssa/pr42337.C: Likewise. * g++.dg/ubsan/pr65583.C: Likewise. * g++.old-deja/g++.robertl/eb27.C: Likewise. * gcc.dg/tree-ssa/dse-points-to.c: Likewise. * gcc.target/arm/simd/vmmla_1.c: Likewise. * gcc.target/i386/vect-pr67800.c: Likewise. * gcc.target/mips/cfgcleanup-jalr2.c: Likewise. * gcc.target/mips/cfgcleanup-jalr3.c: Likewise.
This commit is contained in:
parent
03f9754665
commit
d214842416
@ -1,7 +1,6 @@
|
||||
// PR c++/67159
|
||||
// { dg-do compile { target c++17_only } }
|
||||
// { dg-options "-fconcepts" }
|
||||
// { dg-additional-options "-fconcepts-diagnostics-depth=2" }
|
||||
// { dg-options "-fconcepts -fconcepts-diagnostics-depth=2" }
|
||||
|
||||
template <class T, class U>
|
||||
concept bool SameAs = __is_same_as(T, U);
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fdump-tree-cddce-details" } */
|
||||
// { dg-additional-options "-fdelete-null-pointer-checks" }
|
||||
/* { dg-options "-O2 -fdump-tree-cddce-details -fdelete-null-pointer-checks" } */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -std=c++17 -fdump-tree-cddce-details" } */
|
||||
/* { dg-additional-options "-fdelete-null-pointer-checks" } */
|
||||
/* { dg-options "-O2 -std=c++17 -fdump-tree-cddce-details -fdelete-null-pointer-checks" } */
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
@ -1,7 +1,6 @@
|
||||
// PR c++/61433
|
||||
// { dg-do compile { target c++11 } }
|
||||
// { dg-options "-O -fcompare-debug -fno-inline -fno-ipa-pure-const -fipa-sra" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-O -fcompare-debug -fno-inline -fno-ipa-pure-const -fipa-sra -Wno-return-type" }
|
||||
|
||||
template <class T>
|
||||
struct A
|
||||
|
@ -1,6 +1,5 @@
|
||||
// { dg-do compile }
|
||||
// { dg-options "-O2 -fstrict-aliasing" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-O2 -fstrict-aliasing -Wno-return-type" }
|
||||
|
||||
// This caused an ICE during placement new.
|
||||
|
||||
|
@ -2,8 +2,7 @@
|
||||
Previously we were failing by considering CLOBBER statement to be
|
||||
a type change. */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fdump-ipa-cp -fipa-cp-clone" } */
|
||||
/* { dg-additional-options "-Wno-return-type" } */
|
||||
/* { dg-options "-O2 -fdump-ipa-cp -fipa-cp-clone -Wno-return-type" } */
|
||||
|
||||
struct A {
|
||||
void operator==(const A &);
|
||||
|
@ -1,7 +1,6 @@
|
||||
// PR middle-end/77259
|
||||
// { dg-do compile { target c++11 } }
|
||||
// { dg-options "-O2" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-O2 -Wno-return-type" }
|
||||
|
||||
template <typename, typename = int> class A;
|
||||
template <typename, typename> struct A
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O -fipa-cp -fipa-cp-clone" } */
|
||||
/* { dg-additional-options "-Wno-return-type" } */
|
||||
/* { dg-options "-O -fipa-cp -fipa-cp-clone -Wno-return-type" } */
|
||||
|
||||
template < typename > class S3;
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2" } */
|
||||
/* { dg-additional-options "-Wno-return-type" } */
|
||||
/* { dg-options "-O2 -Wno-return-type" } */
|
||||
|
||||
|
||||
typedef int size_t;
|
||||
|
@ -1,7 +1,6 @@
|
||||
// PR ipa/63587
|
||||
// { dg-do compile { target c++11 } }
|
||||
// { dg-options "-O2" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-O2 -Wno-return-type" }
|
||||
|
||||
namespace boost {
|
||||
class basic_cstring
|
||||
|
@ -1,7 +1,6 @@
|
||||
// PR lto/78211
|
||||
// { dg-do compile { target { lto && c++11 } } }
|
||||
// { dg-options "-fcompare-debug -fno-printf-return-value -flto -fno-use-linker-plugin -O3" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-fcompare-debug -fno-printf-return-value -flto -fno-use-linker-plugin -O3 -Wno-return-type" }
|
||||
|
||||
namespace std {
|
||||
typedef __SIZE_TYPE__ size_t;
|
||||
|
@ -1,8 +1,7 @@
|
||||
// PR c++/57102
|
||||
// { dg-options "-O2 -fno-inline -fdump-final-insns" }
|
||||
// { dg-options "-O2 -fno-inline -fdump-final-insns -Wno-return-type" }
|
||||
// { dg-do compile { target c++11 } }
|
||||
// { dg-final cleanup-final-insns-dump }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
|
||||
namespace std
|
||||
{
|
||||
|
@ -1,6 +1,5 @@
|
||||
// { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } }
|
||||
// { dg-options "-O3 -fselective-scheduling2" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-O3 -fselective-scheduling2 -Wno-return-type" }
|
||||
|
||||
namespace std {
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
// { dg-do compile }
|
||||
// { dg-options "-O -fstrict-aliasing -ftree-pre -fno-tree-fre -fno-tree-sra" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-O -fstrict-aliasing -ftree-pre -fno-tree-fre -fno-tree-sra -Wno-return-type" }
|
||||
|
||||
typedef __SIZE_TYPE__ size_t;
|
||||
namespace std
|
||||
|
@ -1,7 +1,6 @@
|
||||
// PR c++/82159
|
||||
// { dg-do compile }
|
||||
// { dg-options "" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options " -Wno-return-type" }
|
||||
|
||||
template <typename T> struct D { T e; };
|
||||
struct F : D<int[0]> {
|
||||
|
@ -1,7 +1,6 @@
|
||||
// PR debug/52048
|
||||
// { dg-do compile }
|
||||
// { dg-options "-fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts -O2" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts -O2 -Wno-return-type" }
|
||||
|
||||
template <typename T> struct A;
|
||||
template <typename T>
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
|
||||
/* { dg-options "-O2 -fselective-scheduling2 -fsel-sched-pipelining" } */
|
||||
/* { dg-additional-options "-Wno-return-type" } */
|
||||
/* { dg-options "-O2 -fselective-scheduling2 -fsel-sched-pipelining -Wno-return-type" } */
|
||||
|
||||
extern "C" {
|
||||
typedef struct _IO_FILE FILE;
|
||||
|
@ -1,7 +1,6 @@
|
||||
// PR debug/59510
|
||||
// { dg-do compile }
|
||||
// { dg-options "-O2 -g --param=large-stack-frame-growth=1" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-O2 -g --param=large-stack-frame-growth=1 -Wno-return-type" }
|
||||
|
||||
template <typename _Iterator>
|
||||
struct _Iter_base
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-std=c++11 -O2" } */
|
||||
/* { dg-additional-options "-Wno-return-type" } */
|
||||
/* { dg-options "-std=c++11 -O2 -Wno-return-type" } */
|
||||
|
||||
__extension__ typedef unsigned long long int uint64_t;
|
||||
namespace std __attribute__ ((__visibility__ ("default")))
|
||||
|
@ -1,6 +1,5 @@
|
||||
// { dg-do compile { target c++17 } }
|
||||
// { dg-options "-O2 -fno-exceptions" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-O2 -fno-exceptions -Wno-return-type" }
|
||||
|
||||
template <class a> struct b { typedef a *c; };
|
||||
class e {};
|
||||
|
@ -1,8 +1,7 @@
|
||||
// PR c++/45984
|
||||
// We were getting different canonical types for matching types because
|
||||
// TYPE_ALIGN wasn't propagated to all the variants fast enough.
|
||||
// { dg-options "" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-Wno-return-type" }
|
||||
|
||||
typedef __SIZE_TYPE__ size_t;
|
||||
enum { chunk_size = 16 };
|
||||
|
@ -1,7 +1,6 @@
|
||||
// PR c++/44625
|
||||
// { dg-do compile }
|
||||
// { dg-options "" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-Wno-return-type" }
|
||||
|
||||
template<typename FP_> struct Vec { // { dg-message "note" "" { target c++17_down } }
|
||||
Vec& operator^=(Vec& rhs) {
|
||||
|
@ -8,8 +8,7 @@
|
||||
(again, with the "double" and "float" highlighted, though we can't test
|
||||
for that in this case). */
|
||||
|
||||
// { dg-options "-fdiagnostics-show-template-tree" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-fdiagnostics-show-template-tree -Wno-return-type" }
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
@ -1,6 +1,5 @@
|
||||
// { dg-do compile }
|
||||
// { dg-options "-fgnu-tm -O3" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-fgnu-tm -O3 -Wno-return-type" }
|
||||
|
||||
template<typename _InputIterator, typename _Distance> inline void advance(_InputIterator& __i, _Distance __n)
|
||||
{
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* { dg-options "-fno-short-enums" } */
|
||||
/* { dg-additional-options "-Wno-return-type" } */
|
||||
/* { dg-options "-fno-short-enums -Wno-return-type" } */
|
||||
enum
|
||||
{
|
||||
_sch_isdigit = 0x0004,
|
||||
|
@ -1,8 +1,7 @@
|
||||
// { dg-do compile }
|
||||
// { dg-require-effective-target fpic }
|
||||
// { dg-require-visibility "" }
|
||||
// { dg-options "-fPIC" }
|
||||
/* { dg-additional-options "-Wno-return-type" } */
|
||||
// { dg-options "-fPIC -Wno-return-type" }
|
||||
|
||||
|
||||
typedef __SIZE_TYPE__ size_t;
|
||||
|
@ -1,7 +1,6 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
|
||||
/* { dg-options "-ffat-lto-objects" } */
|
||||
/* { dg-additional-options "-Wno-return-type" } */
|
||||
/* { dg-options "-ffat-lto-objects -Wno-return-type" } */
|
||||
|
||||
typedef unsigned char uint8_t;
|
||||
typedef unsigned int uint32_t;
|
||||
|
@ -1,7 +1,6 @@
|
||||
/* PR target/36745 */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fPIC" } */
|
||||
/* { dg-additional-options "-Wno-return-type" } */
|
||||
/* { dg-options "-O2 -fPIC -Wno-return-type" } */
|
||||
/* { dg-require-effective-target fpic } */
|
||||
|
||||
typedef __SIZE_TYPE__ size_t;
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* { dg-options "-std=gnu++0x" } */
|
||||
/* { dg-additional-options "-Wno-return-type" } */
|
||||
/* { dg-options "-std=gnu++0x -Wno-return-type" } */
|
||||
|
||||
typedef __SIZE_TYPE__ size_t;
|
||||
namespace std __attribute__ ((__visibility__ ("default"))) {
|
||||
|
@ -1,6 +1,5 @@
|
||||
// { dg-do compile }
|
||||
// { dg-options "-ftree-vrp -fno-guess-branch-probability -fnon-call-exceptions" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-ftree-vrp -fno-guess-branch-probability -fnon-call-exceptions -Wno-return-type" }
|
||||
|
||||
void *xalloc ();
|
||||
void xfree (void *);
|
||||
|
@ -1,6 +1,5 @@
|
||||
// { dg-do compile }
|
||||
// { dg-options "-std=c++11" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-std=c++11 -Wno-return-type" }
|
||||
|
||||
namespace std
|
||||
{
|
||||
|
@ -1,6 +1,5 @@
|
||||
// { dg-do compile }
|
||||
// { dg-options "-g" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-g -Wno-return-type" }
|
||||
|
||||
typedef unsigned int uint32_t;
|
||||
typedef unsigned long int uint64_t;
|
||||
|
@ -1,6 +1,5 @@
|
||||
// { dg-do compile }
|
||||
// { dg-options "-ftracer -fno-tree-dce -fno-tree-sra" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-ftracer -fno-tree-dce -fno-tree-sra -Wno-return-type" }
|
||||
|
||||
struct bidirectional_iterator_tag
|
||||
{};
|
||||
|
@ -1,6 +1,5 @@
|
||||
// { dg-do compile }
|
||||
// { dg-options "-fpermissive" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-fpermissive -Wno-return-type" }
|
||||
typedef long unsigned int size_t;
|
||||
typedef bool _CORBA_Boolean;
|
||||
typedef unsigned int _CORBA_ULong;
|
||||
|
@ -3,8 +3,7 @@
|
||||
// to the addressable vars list, because this may cause false aliasing
|
||||
// with the subvars leading to the subvars not being renamed when they should
|
||||
// { dg-do compile }
|
||||
// { dg-options "-O2" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-O2 -Wno-return-type" }
|
||||
__extension__ typedef __PTRDIFF_TYPE__ ptrdiff_t;
|
||||
__extension__ typedef __SIZE_TYPE__ size_t;
|
||||
namespace std
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2" } */
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
/* { dg-options "-O2 -Wno-return-type" } */
|
||||
namespace sigc {
|
||||
template <class T_type> struct type_trait {
|
||||
typedef T_type& pass;
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2" } */
|
||||
/* { dg-additional-options "-Wno-return-type" } */
|
||||
/* { dg-options "-O2 -Wno-return-type" } */
|
||||
|
||||
namespace Gambit
|
||||
{
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2" } */
|
||||
/* { dg-additional-options "-Wno-return-type" } */
|
||||
/* { dg-options "-O2 -Wno-return-type" } */
|
||||
|
||||
namespace std
|
||||
{
|
||||
|
@ -1,7 +1,6 @@
|
||||
// PR tree-optimization/27548
|
||||
// { dg-do compile }
|
||||
// { dg-options "-O1" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-O1 -Wno-return-type" }
|
||||
|
||||
namespace Gambit
|
||||
{
|
||||
|
@ -1,7 +1,6 @@
|
||||
// PR tree-optimize/42337
|
||||
// { dg-do compile }
|
||||
// { dg-options "-O2" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-O2 -Wno-return-type" }
|
||||
|
||||
template<class _T1, class _T2> struct pair {
|
||||
_T2 second;
|
||||
|
@ -1,7 +1,6 @@
|
||||
// PR sanitizer/65583
|
||||
// { dg-do compile }
|
||||
// { dg-options "-std=c++11 -fsanitize=undefined" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-std=c++11 -fsanitize=undefined -Wno-return-type" }
|
||||
|
||||
namespace std
|
||||
{
|
||||
|
@ -1,6 +1,5 @@
|
||||
// { dg-do assemble }
|
||||
// { dg-options "-Wno-deprecated" }
|
||||
// { dg-additional-options "-Wno-return-type" }
|
||||
// { dg-options "-Wno-deprecated -Wno-return-type" }
|
||||
/* bug.cc */
|
||||
/* simple program to demonstrate the bug with named return values in gcc
|
||||
*/
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fno-tree-ccp -fno-tree-forwprop -fno-tree-fre -fno-tree-vrp" } */
|
||||
/* { dg-additional-options "-fdump-tree-dse1-details" } */
|
||||
/* { dg-options "-O2 -fno-tree-ccp -fno-tree-forwprop -fno-tree-fre -fno-tree-vrp -fdump-tree-dse1-details" } */
|
||||
|
||||
int
|
||||
f ()
|
||||
|
@ -1,7 +1,6 @@
|
||||
/* { dg-do assemble } */
|
||||
/* { dg-require-effective-target arm_v8_2a_i8mm_ok } */
|
||||
/* { dg-options "-save-temps -O2" } */
|
||||
/* { dg-additional-options "-march=armv8.2-a+i8mm" } */
|
||||
/* { dg-options "-save-temps -O2 -march=armv8.2-a+i8mm" } */
|
||||
|
||||
#include "arm_neon.h"
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-details" } */
|
||||
/* { dg-additional-options "-msse4.2" } */
|
||||
/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-details -msse4.2" } */
|
||||
|
||||
#define ubyte unsigned char
|
||||
#define byte char
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-mabicalls -fpic -mno-mips16 -mno-micromips" } */
|
||||
/* { dg-additional-options "-fno-inline -fipa-ra -mcompact-branches=never" } */
|
||||
/* { dg-options "-mabicalls -fpic -mno-mips16 -mno-micromips -fno-inline -fipa-ra -mcompact-branches=never" } */
|
||||
/* { dg-skip-if "needs codesize optimization" { *-*-* } { "-O0" "-O1" "-O2" "-O3" } { "" } } */
|
||||
|
||||
static int foo (void* p) { __asm__ (""::"r"(p):"$t0"); return 0; }
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-mabicalls -fpic -mno-mips16 -mno-micromips" } */
|
||||
/* { dg-additional-options "-fno-inline -fipa-ra -mcompact-branches=never" } */
|
||||
/* { dg-options "-mabicalls -fpic -mno-mips16 -mno-micromips -fno-inline -fipa-ra -mcompact-branches=never" } */
|
||||
/* { dg-skip-if "needs codesize optimization" { *-*-* } { "-O0" "-O1" "-O2" "-O3" } { "" } } */
|
||||
|
||||
static int foo (void* p) { return 0; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user