This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/51893] Wrong subword index computation in store_bit_field_1 on BIG_ENDIAN targets


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

--- Comment #6 from Aurelien Buhrig <aurelien.buhrig.gcc at gmail dot com> 2012-01-20 10:32:22 UTC ---

(In reply to comment #5)
> > After modifying this patch for 4.6.1 this patch doesn't work (bitfld-3.c
> > testcase).
> 
> What do you mean exactly?  That gnat.dg/bitfld-3.c fails with the patch?

I mean the patch was likely done for 4.7, and I made very small adjustments to
enable patching on 4.6.1.

The testcase that fails is gcc.c-torture/execute/bitfld-3.c. Both with and
without (4.6.1 release) the patch. 
The patch I posted fixes the problem, but I don't know if it is general enough.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]