OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.dg/] [debug/] [debug4.C] - Diff between revs 301 and 384

Only display areas with differences | Details | Blame | View Log

Rev 301 Rev 384
/* PR debug/5770
/* PR debug/5770
   This testcase failed at -O -g because the following constants
   This testcase failed at -O -g because the following constants
   were optimized away since they were never referenced, but
   were optimized away since they were never referenced, but
   since they are variables with initializers, rtl_for_decl_location
   since they are variables with initializers, rtl_for_decl_location
   run expand_expr on their initializers and returned it.
   run expand_expr on their initializers and returned it.
   This lead to references to constants which were deferred and thus
   This lead to references to constants which were deferred and thus
   never emitted.  */
   never emitted.  */
/* { dg-do link } */
/* { dg-do link } */
static const char foo[] = "foo string";
static const char foo[] = "foo string";
static const char bar[30] = "bar string";
static const char bar[30] = "bar string";
static const wchar_t baz[] = L"baz string";
static const wchar_t baz[] = L"baz string";
int
int
main ()
main ()
{
{
}
}
 
 

powered by: WebSVN 2.1.0

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