OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /openrisc/trunk/gnu-src/gcc-4.2.2/gcc/testsuite/g++.dg/cpp
    from Rev 149 to Rev 154
    Reverse comparison

Rev 149 → Rev 154

/normalize-1.C
0,0 → 1,34
/* { dg-do preprocess } */
/* { dg-options "-fextended-identifiers -Wnormalized=id" } */
 
\u00AA
\u00B7
\u0F43 /* { dg-warning "not in NFC" } */
a\u05B8\u05B9\u05B9\u05BBb
a\u05BB\u05B9\u05B8\u05B9b /* { dg-warning "not in NFC" } */
\u09CB
\u09C7\u09BE /* { dg-warning "not in NFC" } */
\u0B4B
\u0B47\u0B3E /* { dg-warning "not in NFC" } */
\u0BCA
\u0BC6\u0BBE /* { dg-warning "not in NFC" } */
\u0BCB
\u0BC7\u0BBE /* { dg-warning "not in NFC" } */
\u0CCA
\u0CC6\u0CC2 /* { dg-warning "not in NFC" } */
\u0D4A
\u0D46\u0D3E /* { dg-warning "not in NFC" } */
\u0D4B
\u0D47\u0D3E /* { dg-warning "not in NFC" } */
 
K
\u212A
 
\u03AC
\u1F71 /* { dg-warning "not in NFC" } */
 
\uAC00
\u1100\u1161
\uAC01
\u1100\u1161\u11A8
\uAC00\u11A8
normalize-1.C Property changes : Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Index: c++98-pedantic.C =================================================================== --- c++98-pedantic.C (nonexistent) +++ c++98-pedantic.C (revision 154) @@ -0,0 +1,10 @@ +/* Copyright (C) 2000 Free Software Foundation, Inc. */ + +/* { dg-do preprocess } */ +/* { dg-options "-std=c++98 -pedantic" } */ + +/* This file is for testing the preprocessor in -std=c++98 -pedantic mode. + Neil Booth, 2 Dec 2000. */ + +#if 1LL /* { dg-warning "long long" } */ +#endif
c++98-pedantic.C Property changes : Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Index: c++_cmd_1.h =================================================================== --- c++_cmd_1.h (nonexistent) +++ c++_cmd_1.h (revision 154) @@ -0,0 +1,6 @@ +/* Copyright (C) 2003 Free Software Foundation, Inc. */ + +/* Contributed by Devang Patel */ + +/* Header file for c++_cmd_1.C */ +
c++_cmd_1.h Property changes : Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Index: ucnid-1.C =================================================================== --- ucnid-1.C (nonexistent) +++ ucnid-1.C (revision 154) @@ -0,0 +1,17 @@ +/* { dg-do preprocess } */ +/* { dg-options "-pedantic -fextended-identifiers" } */ + +\u00AA /* { dg-error "not valid in an identifier" } */ +\u00AB /* { dg-error "not valid in an identifier" } */ +\u00B6 /* { dg-error "not valid in an identifier" } */ +\u00BA /* { dg-error "not valid in an identifier" } */ +\u00C0 +\u00D6 +\u0384 + +\u0669 /* { dg-error "not valid in an identifier" } */ +A\u0669 /* { dg-error "not valid in an identifier" } */ +0\u00BA /* { dg-error "not valid in an identifier" } */ +0\u0669 /* { dg-error "not valid in an identifier" } */ +\u0E59 +A\u0E59
ucnid-1.C Property changes : Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Index: string-1.C =================================================================== --- string-1.C (nonexistent) +++ string-1.C (revision 154) @@ -0,0 +1,9 @@ +// Test location of diagnostics for interpreting strings. Bug 17964. +// Origin: Joseph Myers +// { dg-do compile } + +const char *s = "\q"; // { dg-error "unknown escape sequence" } + +const char *t = "\ "; // { dg-error "unknown escape sequence" } + +const char *u = "";
string-1.C Property changes : Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Index: string-2.C =================================================================== --- string-2.C (nonexistent) +++ string-2.C (revision 154) @@ -0,0 +1,7 @@ +// Test diagnostics for interpreting strings: should be an error by +// default. +// Origin: Joseph Myers +// { dg-do compile } +// { dg-options "" } + +const char *s = "\q"; // { dg-error "error: unknown escape sequence" }
string-2.C Property changes : Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Index: weak.C =================================================================== --- weak.C (nonexistent) +++ weak.C (revision 154) @@ -0,0 +1,5 @@ +// { dg-options "-fno-weak" } + +#if __GXX_WEAK__ +#error "__GXX_WEAK__ defined when -fno-weak in use" +#endif
weak.C Property changes : Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Index: _Pragma1.C =================================================================== --- _Pragma1.C (nonexistent) +++ _Pragma1.C (revision 154) @@ -0,0 +1,11 @@ +// PR c++/27748 +// This is supposed to succeed only if +// the target defines HANDLE_PRAGMA_PACK_PUSH_POP +// and doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION. +// { dg-do compile { target { ! { *-*-solaris2* sh*-[us]*-elf } } } } + +#define push bar +#define foo _Pragma ("pack(push)") +foo +int i; +#pragma pack(pop)
_Pragma1.C Property changes : Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Index: c++98.C =================================================================== --- c++98.C (nonexistent) +++ c++98.C (revision 154) @@ -0,0 +1,10 @@ +/* Copyright (C) 2000 Free Software Foundation, Inc. */ + +/* { dg-do preprocess } */ +/* { dg-options "-std=c++98" } */ + +/* This file is for testing the preprocessor in -std=c++98 mode. + Neil Booth, 2 Dec 2000. */ + +#if 1LL +#endif
c++98.C Property changes : Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Index: truefalse.C =================================================================== --- truefalse.C (nonexistent) +++ truefalse.C (revision 154) @@ -0,0 +1,17 @@ +/* Copyright (C) 2003 Free Software Foundation, Inc. */ + +/* Source: Neil Booth, 18 Apr 2003. */ + +/* { dg-do preprocess } */ +/* { dg-options "-ansi -pedantic -Wundef" } */ + +/* Check that for C++ we handle true and false correctly, and do not + treat them as undefined identifiers. */ + +#if true /* { dg-bogus "is not defined" } */ +#error foo /* { dg-error "foo" } */ +#endif + +#if false /* { dg-bogus "is not defined" } */ +#error foo /* { dg-bogus "foo" } */ +#endif
truefalse.C Property changes : Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Index: c++_cmd_1.C =================================================================== --- c++_cmd_1.C (nonexistent) +++ c++_cmd_1.C (revision 154) @@ -0,0 +1,12 @@ +/* Copyright (C) 2003 Free Software Foundation, Inc. */ + +/* { dg-do preprocess } */ +/* { dg-options "-c -include ${srcdir}/g++.dg/cpp/c++_cmd_1.h" } */ + +/* Contributed by Devang Patel */ + +int main () +{ + return 0; +} +
c++_cmd_1.C Property changes : Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.