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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [debug/] [debug4.C] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
/* PR debug/5770
2
   This testcase failed at -O -g because the following constants
3
   were optimized away since they were never referenced, but
4
   since they are variables with initializers, rtl_for_decl_location
5
   run expand_expr on their initializers and returned it.
6
   This lead to references to constants which were deferred and thus
7
   never emitted.  */
8
/* { dg-do link } */
9
 
10
static const char foo[] = "foo string";
11
static const char bar[30] = "bar string";
12
static const wchar_t baz[] = L"baz string";
13
 
14
int
15
main ()
16
{
17
}

powered by: WebSVN 2.1.0

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