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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [merge-all-constants-1.c] - Blame information for rev 708

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-w -O2 -fmerge-all-constants" } */
3
 
4
const char str1[36] = "0123456789abcdefghijklmnopqrstuvwxyz";
5
const char str2[38] = "0123456789abcdefghijklmnopqrstuvwxyz";
6
const char str3[10] = "0123456789abcdefghijklmnopqrstuvwxyz";
7
 
8
/* { dg-final { scan-assembler-not "\.rodata\.str" } } */

powered by: WebSVN 2.1.0

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