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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [debug/] [dwarf2/] [typedef4.C] - Rev 715

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

// Origin: PR debug/45171
// { dg-options "-g -dA -fno-eliminate-unused-debug-types" }
// { dg-do compile }

// There should be 2 real instances of byte_size -- one for the
// struct and one for "int".  The other two instances are from
// the comments in the .debug_abbrev section.
// { dg-final { scan-assembler-times "DW_AT_byte_size" 4 } }

typedef struct { int a, b; } x;

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

powered by: WebSVN 2.1.0

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