[Bug c/30160] New: enum reporting sizeof == 0

2006-12-11 Thread richard at beatnik dot com
gcc Version: 3.4.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: richard at beatnik dot com GCC build triplet: 3.4.4 GCC host triplet: 3.4.4 GCC target tripl

[Bug c/30160] enum reporting sizeof == 0

2006-12-11 Thread richard at beatnik dot com
--- Comment #1 from richard at beatnik dot com 2006-12-12 00:51 --- Created an attachment (id=12787) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12787&action=view) test file for creating bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30160

[Bug c/30160] enum reporting sizeof == 0

2006-12-11 Thread richard at beatnik dot com
--- Comment #3 from richard at beatnik dot com 2006-12-12 01:29 --- Ahh, I see. Because the a is supposed to be long long, that means that it is of size 8, which would mean that it takes two regs (or stack spaces, or where ever gcc stores it's arguments). Then the second %d i