First Last Prev Next    No search results available
Details
: [llvmgcc] Crash compiling unnamed bitfield which does not...
Bug#: 461
: tools
: llvm-gcc
Status: RESOLVED
Resolution: FIXED
: All
: All
: 1.0
: P2
: normal
: 1.4

:
: compile-fail
:
:
  Show dependency tree - Show dependency graph
People
Reporter: James Michael DuPont <mdupont777@yahoo.com>
Assigned To: Chris Lattner <clattner@apple.com>

Attachments
reload from the gcc (531.79 KB, text/plain)
2004-11-24 22:55, James Michael DuPont
Details


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2004-11-24 22:50
Here are the steps to reproduce 

./cc1 --version
GNU C version 3.4-llvm 20030924 (experimental) (i686-pc-linux-gnu)

Extract the .i from the reload
llvm/llvm-gcc/gcc$ make reload.o  -W reload.c CFLAGS=-save-temps

./cc1 reload.i
 gen_sse_prologue_save
Segmentation fault
------- Comment #1 From James Michael DuPont 2004-11-24 22:55:04 -------
Created an attachment (id=184) [details]
reload from the gcc

This causes the crash
------- Comment #2 From Chris Lattner 2004-11-24 23:13:45 -------
I'll take a look.

Thanks!

-Chris
------- Comment #3 From Chris Lattner 2004-11-25 00:04:02 -------
here's a reduced testcase:

typedef struct {
  unsigned min_align: 8;
  unsigned base_after_vec: 1;
  unsigned min_after_vec: 1;
  unsigned max_after_vec: 1;
  unsigned min_after_base: 1;
  unsigned max_after_base: 1;
  unsigned offset_unsigned: 1;
  unsigned : 2;
  unsigned scale : 8;
} addr_diff_vec_flags;

addr_diff_vec_flags X;
------- Comment #4 From Chris Lattner 2004-11-25 00:09:09 -------
here's a more reduced testcase:

typedef struct {
  unsigned min_align: 1;
  unsigned : 1;
} addr_diff_vec_flags;

addr_diff_vec_flags X;
------- Comment #6 From James Michael DuPont 2004-11-25 03:46:35 -------
Wow, that was fast!
I will update and check now.

First Last Prev Next    No search results available