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] |
On Tue, Oct 26, 2010 at 6:35 PM, Jason Merrill<jason@redhat.com> wrote:For constexpr I need to be able to fold some tree forms that fold_indirect_ref_1 didn't handle; this patch extends it to handle folding POINTER_PLUS_EXPR to an ARRAY_REF, and also folding to COMPONENT_REF.
I think by making this kind of transforms you are prone to bugs like PR44468.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |