[Bug middle-end/55438] [4.8 Regression]: tmpdir-gcc.dg-struct-layout-1/t001 - t028, gcc.c-torture/execute/991118-1.c, gcc.c-torture/execute/bf64-1.c, ICE

2012-11-28 Thread rsandifo at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55438



rsand...@gcc.gnu.org  changed:



   What|Removed |Added



 Status|ASSIGNED|RESOLVED

 Resolution||FIXED



--- Comment #4 from rsandifo at gcc dot gnu.org  
2012-11-28 20:23:24 UTC ---

Patch applied.


[Bug middle-end/55438] [4.8 Regression]: tmpdir-gcc.dg-struct-layout-1/t001 - t028, gcc.c-torture/execute/991118-1.c, gcc.c-torture/execute/bf64-1.c, ICE

2012-11-28 Thread rsandifo at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55438



--- Comment #3 from rsandifo at gcc dot gnu.org  
2012-11-28 20:13:39 UTC ---

Author: rsandifo

Date: Wed Nov 28 20:13:22 2012

New Revision: 193905



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193905

Log:

gcc/

PR middle-end/55438

* expmed.c (simple_mem_bitfield_p): New function, extracted from

store_bit_field_1 and extract_bit_field_1.  Use GET_MODE_ALIGNMENT

rather than bitsize when checking the alignment.

(store_bit_field_1, extract_bit_field_1): Call it.

* stor-layout.c (bit_field_mode_iterator::bit_field_mode_iterator):

Don't limit ALIGN_.  Assume that memory is mapped in chunks of at

least word size, regardless of BIGGEST_ALIGNMENT.

(bit_field_mode_iterator::get_mode): Use GET_MODE_ALIGNMENT rather

than unit when checking the alignment.

(get_best_mode): Use GET_MODE_ALIGNMENT.



Modified:

trunk/gcc/ChangeLog

trunk/gcc/expmed.c

trunk/gcc/stor-layout.c


[Bug middle-end/55438] [4.8 Regression]: tmpdir-gcc.dg-struct-layout-1/t001 - t028, gcc.c-torture/execute/991118-1.c, gcc.c-torture/execute/bf64-1.c, ICE

2012-11-25 Thread rguenth at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55438



Richard Biener  changed:



   What|Removed |Added



   Target Milestone|--- |4.8.0


[Bug middle-end/55438] [4.8 Regression]: tmpdir-gcc.dg-struct-layout-1/t001 - t028, gcc.c-torture/execute/991118-1.c, gcc.c-torture/execute/bf64-1.c, ICE

2012-11-24 Thread rsandifo at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55438



rsand...@gcc.gnu.org  changed:



   What|Removed |Added



 Status|UNCONFIRMED |ASSIGNED

   Last reconfirmed||2012-11-24

 AssignedTo|unassigned at gcc dot   |rsandifo at gcc dot gnu.org

   |gnu.org |

 Ever Confirmed|0   |1



--- Comment #2 from rsandifo at gcc dot gnu.org  
2012-11-24 10:36:34 UTC ---

Gah, I'd misremembered what BIGGEST_ALIGMNENT means.

Testing a patch.


[Bug middle-end/55438] [4.8 Regression]: tmpdir-gcc.dg-struct-layout-1/t001 - t028, gcc.c-torture/execute/991118-1.c, gcc.c-torture/execute/bf64-1.c, ICE

2012-11-22 Thread hp at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55438



Hans-Peter Nilsson  changed:



   What|Removed |Added



Summary|[4.8 Regression]:   |[4.8 Regression]:

   |tmpdir-gcc.dg-struct-layout |tmpdir-gcc.dg-struct-layout

   |-1/t001 - t028 ICE  |-1/t001 - t028,

   ||gcc.c-torture/execute/99111

   ||8-1.c,

   ||gcc.c-torture/execute/bf64-

   ||1.c, ICE



--- Comment #1 from Hans-Peter Nilsson  2012-11-23 
00:44:36 UTC ---

Actually, there are two more regressions:

Running

/tmp/hpautotest-gcc0/gcc/gcc/testsuite/gcc.c-torture/execute/execute.exp ...

FAIL: gcc.c-torture/execute/991118-1.c compilation,  -O0  (internal compiler

error)

FAIL: gcc.c-torture/execute/991118-1.c compilation,  -O1  (internal compiler

error)

FAIL: gcc.c-torture/execute/991118-1.c compilation,  -O2  (internal compiler

error)

FAIL: gcc.c-torture/execute/991118-1.c compilation,  -O3 -fomit-frame-pointer 

(internal compiler error)

FAIL: gcc.c-torture/execute/991118-1.c compilation,  -O3 -g  (internal compiler

error)

FAIL: gcc.c-torture/execute/991118-1.c compilation,  -Os  (internal compiler

error)

FAIL: gcc.c-torture/execute/991118-1.c compilation,  -Og -g  (internal compiler

error)

FAIL: gcc.c-torture/execute/991118-1.c compilation,  -O2 -flto

-fno-use-linker-plugin -flto-partition=none  (internal compiler error)

FAIL: gcc.c-torture/execute/bf64-1.c compilation,  -O0  (internal compiler

error)

FAIL: gcc.c-torture/execute/bf64-1.c compilation,  -O1  (internal compiler

error)

FAIL: gcc.c-torture/execute/bf64-1.c compilation,  -O2  (internal compiler

error)

FAIL: gcc.c-torture/execute/bf64-1.c compilation,  -O3 -fomit-frame-pointer 

(internal compiler error)

FAIL: gcc.c-torture/execute/bf64-1.c compilation,  -O3 -g  (internal compiler

error)

FAIL: gcc.c-torture/execute/bf64-1.c compilation,  -Os  (internal compiler

error)

FAIL: gcc.c-torture/execute/bf64-1.c compilation,  -Og -g  (internal compiler

error)

FAIL: gcc.c-torture/execute/bf64-1.c compilation,  -O2 -flto

-fno-use-linker-plugin -flto-partition=none  (internal compiler error)



Similar messages in gcc.log as for the struct-layout-1 regressions.