This is the mail archive of the gcc-patches@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]

Re: fix spurious error from switch-conversion on overaligned types


> Yes, unconditionally.

Here's an adjusted patch, pleasantly simpler indeed
(thanks again for the suggestion).

Test passes fine as well.

Is this one OK ?

Olivier

	* tree-switch-conversion (array_value_type): Start by
	resetting candidate type to it's main variant.

Attachment: switch-conv-align.diff
Description: Binary data



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