/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
+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
/* 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>
case COMPLEX_TYPE:
case VECTOR_TYPE:
case BOOLEAN_TYPE:
+ case FIXED_POINT_TYPE:
return false;
case RECORD_TYPE:
if (TYPE_PTRMEMFUNC_P (type))
+2008-02-26 Paolo Carlini <pcarlini@suse.de>
+
+ PR c++/35323
+ * g++.dg/lookup/crash7.C: New.
+
2008-02-26 Kaz Kojima <kkojima@gcc.gnu.org>
* gcc.c-torture/execute/nest-align-1.c: Use the largest alignment.
--- /dev/null
+// PR c++/35323
+// { dg-options "" }
+
+void foo(int);
+
+void bar()
+{
+ foo(1r); // { dg-error "unnamed-fixed" }
+}