PR middle-end/29254
* cgraphunit.c (verify_cgraph_node): Bail out on earlier
errors.
* gcc.dg/pr29254.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117577
138bc75d-0d04-0410-961f-
82ee72b054a4
+2006-10-09 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/29254
+ * cgraphunit.c (verify_cgraph_node): Bail out on earlier
+ errors.
+
2006-10-09 Steve Ellcey <sje@cup.hp.com>
PR target/27880
block_stmt_iterator bsi;
bool error_found = false;
+ if (errorcount || sorrycount)
+ return;
+
timevar_push (TV_CGRAPH_VERIFY);
for (e = node->callees; e; e = e->next_callee)
if (e->aux)
+2006-10-09 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/29254
+ * gcc.dg/pr29254.c: New testcase.
+
2006-10-08 Erik Edelmann <edelmann@gcc.gnu.org>
Paul Thomas <pault@gcc.gnu.org>
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O3 -Werror" } */
+/* { dg-warning "warnings being treated as errors" "" {target "*-*-*"} 0 } */
+
+list_compare (int * list1)
+{
+ if (list1)
+ value_compare ();
+}
+
+func1 (int * f){}
+
+value_compare (int * a)
+{
+ if (a)
+ list_compare (a);
+}
+
+func2 (const int * fb)
+{
+ func1 ((int *) fb); /* { dg-warning "discards qualifiers" } */
+}