diff options
author | Paolo Carlini <pcarlini@suse.de> | 2008-02-26 10:09:43 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2008-02-26 10:09:43 +0000 |
commit | 50a70b6bbb7a0a80f39bc609a9a61c5794e5c9b3 (patch) | |
tree | e77b6c85e4bfee3daf5365a4f753345bdf343be1 /gcc/cp | |
parent | 0dc15f28bd7b85cdaf9c12f507979e5b399d1628 (diff) | |
download | gcc-50a70b6bbb7a0a80f39bc609a9a61c5794e5c9b3.zip gcc-50a70b6bbb7a0a80f39bc609a9a61c5794e5c9b3.tar.gz gcc-50a70b6bbb7a0a80f39bc609a9a61c5794e5c9b3.tar.bz2 |
re PR c++/35323 (ICE calling functions with fixed-point type parameter)
/cp
2008-02-26 Paolo Carlini <pcarlini@suse.de>
PR c++/35323
* name-lookup.c (arg_assoc_type): Handle FIXED_POINT_TYPE.
/testsuite
2008-02-26 Paolo Carlini <pcarlini@suse.de>
PR c++/35323
* g++.dg/lookup/crash7.C: New.
From-SVN: r132669
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/name-lookup.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2738490..aa4bf07 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2008-02-26 Paolo Carlini <pcarlini@suse.de> + + PR c++/35323 + * name-lookup.c (arg_assoc_type): Handle FIXED_POINT_TYPE. + 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * typeck.c (build_class_member_access_expr): Add appropriate diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c index 74a25bd..9a95d15 100644 --- a/gcc/cp/name-lookup.c +++ b/gcc/cp/name-lookup.c @@ -1,5 +1,5 @@ /* Definitions for C++ name lookup routines. - Copyright (C) 2003, 2004, 2005, 2006, 2007 + Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. Contributed by Gabriel Dos Reis <gdr@integrable-solutions.net> @@ -4601,6 +4601,7 @@ arg_assoc_type (struct arg_lookup *k, tree type) case COMPLEX_TYPE: case VECTOR_TYPE: case BOOLEAN_TYPE: + case FIXED_POINT_TYPE: return false; case RECORD_TYPE: if (TYPE_PTRMEMFUNC_P (type)) |