* patch that caused regression PR c++/9167
@ 2003-01-06 22:47 Janis Johnson
0 siblings, 0 replies; only message in thread
From: Janis Johnson @ 2003-01-06 22:47 UTC (permalink / raw)
To: gcc, jason
The regression reported in PR c++/9167 showed up starting
with this patch:
2002-12-04 Jason Merrill <jason@redhat.com>
PR c++/8461, c++/8625
* integrate.c (copy_decl_for_inlining): Handle explicit invisible
references.
* tree-inline.c (initialize_inlined_parameters): Likewise.
* tree.c (variably_modified_type_p): Just return an error_mark_node.
cp/:
PR c++/8674
* call.c (build_over_call): Check specifically for TARGET_EXPR
when eliding.
PR c++/8461, c++/8625
* call.c (convert_for_arg_passing): Don't mess with error_mark_node.
(cp_convert_parm_for_inlining): Remove.
* cp-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
Remove.
* cp-tree.h (ADDR_IS_INVISIREF): Remove.
* except.c (stabilize_throw_expr): Remove ADDR_IS_INVISIREF code.
Here's a small test case that causes the compiler to ICE when compiled
on i686-linux with the mainline or 3.3 branch with -O:
-------------------
// ICE when compiled with -O
class A {
private:
const int n;
public:
A(const int n_) : n(n_) { }
A(const A& x) : n(x.n) { }
~A() { }
A operator^(A) const {
A result(n);
return result;
}
A& operator=(const A) {
return *this;
}
};
void f(void)
{
A a_1(16);
a_1 = a_1 ^ a_1;
}
-------------------
Output from the compiler (mainline from 2002-12-20)
9167.C: In function `void f()':
9167.C:10: internal compiler error: in simplify_gen_subreg, at simplify-rtx.c:
2629
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
I've added this information to the PR.
Janis
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-06 22:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-06 22:47 patch that caused regression PR c++/9167 Janis Johnson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).