This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/83778] [8 regression] g++.dg/ext/altivec-cell-2.C fails starting with r256448
- From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Jan 2018 02:21:27 +0000
- Subject: [Bug c++/83778] [8 regression] g++.dg/ext/altivec-cell-2.C fails starting with r256448
- Auto-submitted: auto-generated
- References: <bug-83778-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83778
--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Presumably we should simply strip the location from arg, though there are some
places with:
/* Call get_element_number to validate arg1 if it is a constant. */
if (TREE_CODE (arg1) == INTEGER_CST)
(void) get_element_number (TREE_TYPE (arg0), arg1);
which suggests any such stripping needs to happen there.