Commit 883935fd by Janis Johnson Committed by Janis Johnson

examples: New directory.

	* examples: New directory.
	* examples/gcc-svn-env: New.
	* examples/reg-watch: New.
	* examples/reg-watch.awk: New.
	* examples/common.config: New.
	* examples/testall: New.
	* examples/28970.config: New.
	* examples/28970.list: New.
	* examples/28970.c: New.
	* examples/28970.log: New.
	* examples/29106.config: New.
	* examples/29106.list: New.
	* examples/29106.test: New.
	* examples/29106.cc: New.
	* examples/29106.log: New.
	* examples/29478.config: New.
	* examples/29478.list: New.
	* examples/29478.c: New.
	* examples/29478.log: New.
	* examples/29906a.config: New.
	* examples/29906a.list: New.
	* examples/29906a.cc: New.
	* examples/29906a.log: New.
	* examples/29906b.config: New.
	* examples/29906b.list: New.
	* examples/29906b.cc: New.
	* examples/29906b.log: New.
	* examples/30643.config: New.
	* examples/30643.list: New.
	* examples/30643.c: New.
	* examples/30643.test: New.
	* examples/30643.log: New.

From-SVN: r144242
parent e88396c0
2009-02-17 Janis Johnson <janis187@us.ibm.com>
* examples: New directory.
* examples/gcc-svn-env: New.
* examples/reg-watch: New.
* examples/reg-watch.awk: New.
* examples/common.config: New.
* examples/testall: New.
* examples/28970.config: New.
* examples/28970.list: New.
* examples/28970.c: New.
* examples/28970.log: New.
* examples/29106.config: New.
* examples/29106.list: New.
* examples/29106.test: New.
* examples/29106.cc: New.
* examples/29106.log: New.
* examples/29478.config: New.
* examples/29478.list: New.
* examples/29478.c: New.
* examples/29478.log: New.
* examples/29906a.config: New.
* examples/29906a.list: New.
* examples/29906a.cc: New.
* examples/29906a.log: New.
* examples/29906b.config: New.
* examples/29906b.list: New.
* examples/29906b.cc: New.
* examples/29906b.log: New.
* examples/30643.config: New.
* examples/30643.list: New.
* examples/30643.c: New.
* examples/30643.test: New.
* examples/30643.log: New.
* bin: New directory.
* bin/reg-hunt: New.
* bin/reg_periodic: New.
......
extern void abort (void);
int tar (int i)
{
if (i != 36863)
abort ();
return -1;
}
void bug(int q, int bcount)
{
int j = 0;
int outgo = 0;
while(j != -1)
{
outgo++;
if (outgo > q-1)
outgo = q-1;
j = tar (outgo*bcount);
}
}
int main(void)
{
bug(5, 36863);
return 0;
}
BUGID=28970
FIND=break
LANG=c
BUILD_KIND=full
BUG_KIND=wrong-code
OPTS="-O2"
REG_CONFOPTS="--disable-bootstrap"
. ./common.config
#LOW_PATCH=101
#HIGH_PATCH=111
#msg 0 'NOTE: skipping low patch, already verified'
#SKIP_LOW=1
#msg 0 'NOTE: skipping high patch, already verified'
#SKIP_HIGH=1
#REG_IDLIST="161"
Mon Feb 16 14:31:45 PST 2009 LATER_THAN = 1
Mon Feb 16 14:31:45 PST 2009 EARLIER_THAN = 324
Mon Feb 16 14:31:45 PST 2009 svn checkout begun for id 324, rev 100249
Mon Feb 16 14:35:14 PST 2009 svn checkout done
Mon Feb 16 14:35:15 PST 2009 building GCC (c) for id 324
/home/janis/reghunt/bin/gcc-test-wrong-code: line 35: 29069 Aborted ./a.out >> ${LOG} 2>&1
Mon Feb 16 14:38:53 PST 2009 test run aborted for bug 28970, id 324
Mon Feb 16 14:38:53 PST 2009 result for high patch 324 is as expected
Mon Feb 16 14:38:53 PST 2009 svn update begun for id 1, rev 99687
Mon Feb 16 14:39:14 PST 2009 svn update done
Mon Feb 16 14:39:15 PST 2009 building GCC (c) for id 1
Mon Feb 16 14:42:48 PST 2009 test ran successfully for bug 28970, id 1
Mon Feb 16 14:42:48 PST 2009 result for low patch 1 is as expected
Mon Feb 16 14:42:48 PST 2009 svn update begun for id 162, rev 99950
Mon Feb 16 14:42:58 PST 2009 svn update done
Mon Feb 16 14:42:59 PST 2009 building GCC (c) for id 162
/home/janis/reghunt/bin/gcc-test-wrong-code: line 35: 30641 Aborted ./a.out >> ${LOG} 2>&1
Mon Feb 16 14:46:36 PST 2009 test run aborted for bug 28970, id 162
Mon Feb 16 14:46:36 PST 2009 search patches earlier than 162
Mon Feb 16 14:46:36 PST 2009 svn update begun for id 81, rev 99823
Mon Feb 16 14:46:49 PST 2009 svn update done
Mon Feb 16 14:46:50 PST 2009 building GCC (c) for id 81
Mon Feb 16 14:50:23 PST 2009 test ran successfully for bug 28970, id 81
Mon Feb 16 14:50:23 PST 2009 search patches later than 81
Mon Feb 16 14:50:23 PST 2009 svn update begun for id 121, rev 99880
Mon Feb 16 14:50:29 PST 2009 svn update done
Mon Feb 16 14:50:30 PST 2009 building GCC (c) for id 121
/home/janis/reghunt/bin/gcc-test-wrong-code: line 35: 32209 Aborted ./a.out >> ${LOG} 2>&1
Mon Feb 16 14:54:03 PST 2009 test run aborted for bug 28970, id 121
Mon Feb 16 14:54:03 PST 2009 search patches earlier than 121
Mon Feb 16 14:54:03 PST 2009 svn update begun for id 101, rev 99846
Mon Feb 16 14:54:10 PST 2009 svn update done
Mon Feb 16 14:54:10 PST 2009 building GCC (c) for id 101
Mon Feb 16 14:57:41 PST 2009 test ran successfully for bug 28970, id 101
Mon Feb 16 14:57:41 PST 2009 search patches later than 101
Mon Feb 16 14:57:42 PST 2009 svn update begun for id 111, rev 99856
Mon Feb 16 14:57:49 PST 2009 svn update done
Mon Feb 16 14:57:49 PST 2009 building GCC (c) for id 111
/home/janis/reghunt/bin/gcc-test-wrong-code: line 35: 1320 Aborted ./a.out >> ${LOG} 2>&1
Mon Feb 16 15:01:27 PST 2009 test run aborted for bug 28970, id 111
Mon Feb 16 15:01:27 PST 2009 search patches earlier than 111
Mon Feb 16 15:01:27 PST 2009 svn update begun for id 106, rev 99851
Mon Feb 16 15:01:33 PST 2009 svn update done
Mon Feb 16 15:01:33 PST 2009 building GCC (c) for id 106
/home/janis/reghunt/bin/gcc-test-wrong-code: line 35: 2076 Aborted ./a.out >> ${LOG} 2>&1
Mon Feb 16 15:05:04 PST 2009 test run aborted for bug 28970, id 106
Mon Feb 16 15:05:04 PST 2009 search patches earlier than 106
Mon Feb 16 15:05:05 PST 2009 svn update begun for id 103, rev 99848
Mon Feb 16 15:05:08 PST 2009 svn update done
Mon Feb 16 15:05:08 PST 2009 building GCC (c) for id 103
Mon Feb 16 15:08:40 PST 2009 test ran successfully for bug 28970, id 103
Mon Feb 16 15:08:40 PST 2009 search patches later than 103
Mon Feb 16 15:08:40 PST 2009 svn update begun for id 104, rev 99849
Mon Feb 16 15:08:44 PST 2009 svn update done
Mon Feb 16 15:08:44 PST 2009 building GCC (c) for id 104
Mon Feb 16 15:12:17 PST 2009 test ran successfully for bug 28970, id 104
Mon Feb 16 15:12:17 PST 2009 search patches later than 104
Mon Feb 16 15:12:17 PST 2009 svn update begun for id 105, rev 99850
Mon Feb 16 15:12:21 PST 2009 svn update done
Mon Feb 16 15:12:21 PST 2009 building GCC (c) for id 105
/home/janis/reghunt/bin/gcc-test-wrong-code: line 35: 4458 Aborted ./a.out >> ${LOG} 2>&1
Mon Feb 16 15:15:54 PST 2009 test run aborted for bug 28970, id 105
Mon Feb 16 15:15:54 PST 2009 search patches earlier than 105
Test result changes with id 105
------------------------------------------------------------------------
r99850 | rakdver | 2005-05-17 19:55:53 +0000 (Tue, 17 May 2005) | 9 lines
* tree-cfg.c (tree_can_merge_blocks_p): Allow phi nodes in the
merged block.
(replace_uses_by): New function.
(tree_merge_blocks): Eliminate the phi nodes in the merged block.
* tree-flow.h (fold_stmt_inplace): Declare.
* tree-ssa-ccp.c (fold_stmt_inplace): New function.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Update dominance
info after cfg cleanup.
------------------------------------------------------------------------
http://gcc.gnu.org/viewcvs?view=rev&rev=99850
r99850 | rakdver | 2005-05-17 19:55:53 +0000 (Tue, 17 May 2005)
#include <stdio.h>
int main()
{
int* const savepos = sizeof(*savepos) ? 0 : 0;
// code for the next line is left out!
printf("size of thingy is %d\n", sizeof(*savepos));
}
BUGID=29106
FIND=break
LANG=c++
BUILD_KIND=full
BUG_KIND=wrong-code
OPTS=""
. ./common.config
export REG_TEST=${BUGID}.test
#LOW_PATCH=532
#HIGH_PATCH=550
#msg 0 'NOTE: skipping low patch, already verified'
#SKIP_LOW=1
#msg 0 'NOTE: skipping high patch, already verified'
#SKIP_HIGH=1
Mon Feb 16 15:16:01 PST 2009 LATER_THAN = 1
Mon Feb 16 15:16:01 PST 2009 EARLIER_THAN = 568
Mon Feb 16 15:16:01 PST 2009 svn checkout begun for id 568, rev 111527
Mon Feb 16 15:19:11 PST 2009 svn checkout done
Mon Feb 16 15:19:11 PST 2009 building GCC (c,c++) for id 568
Mon Feb 16 15:29:17 PST 2009 no output for bug 29106, id 568
Mon Feb 16 15:29:17 PST 2009 result for high patch 568 is as expected
Mon Feb 16 15:29:17 PST 2009 svn update begun for id 1, rev 107221
Mon Feb 16 15:29:48 PST 2009 svn update done
Mon Feb 16 15:29:49 PST 2009 building GCC (c,c++) for id 1
Mon Feb 16 15:40:07 PST 2009 test ran successfully for bug 29106, id 1
Mon Feb 16 15:40:07 PST 2009 result for low patch 1 is as expected
Mon Feb 16 15:40:07 PST 2009 svn update begun for id 284, rev 109215
Mon Feb 16 15:40:24 PST 2009 svn update done
Mon Feb 16 15:40:24 PST 2009 building GCC (c,c++) for id 284
Mon Feb 16 15:50:30 PST 2009 test ran successfully for bug 29106, id 284
Mon Feb 16 15:50:30 PST 2009 search patches later than 284
Mon Feb 16 15:50:30 PST 2009 svn update begun for id 426, rev 110331
Mon Feb 16 15:50:59 PST 2009 svn update done
Mon Feb 16 15:51:00 PST 2009 building GCC (c,c++) for id 426
Mon Feb 16 16:01:06 PST 2009 test ran successfully for bug 29106, id 426
Mon Feb 16 16:01:06 PST 2009 search patches later than 426
Mon Feb 16 16:01:06 PST 2009 svn update begun for id 497, rev 110808
Mon Feb 16 16:01:21 PST 2009 svn update done
Mon Feb 16 16:01:22 PST 2009 building GCC (c,c++) for id 497
Mon Feb 16 16:11:29 PST 2009 test ran successfully for bug 29106, id 497
Mon Feb 16 16:11:29 PST 2009 search patches later than 497
Mon Feb 16 16:11:29 PST 2009 svn update begun for id 532, rev 111111
Mon Feb 16 16:11:38 PST 2009 svn update done
Mon Feb 16 16:11:39 PST 2009 building GCC (c,c++) for id 532
Mon Feb 16 16:21:47 PST 2009 test ran successfully for bug 29106, id 532
Mon Feb 16 16:21:47 PST 2009 search patches later than 532
Mon Feb 16 16:21:48 PST 2009 svn update begun for id 550, rev 111297
Mon Feb 16 16:21:55 PST 2009 svn update done
Mon Feb 16 16:21:56 PST 2009 building GCC (c,c++) for id 550
Mon Feb 16 16:32:07 PST 2009 no output for bug 29106, id 550
Mon Feb 16 16:32:07 PST 2009 search patches earlier than 550
Mon Feb 16 16:32:07 PST 2009 svn update begun for id 541, rev 111233
Mon Feb 16 16:32:11 PST 2009 svn update done
Mon Feb 16 16:32:12 PST 2009 building GCC (c,c++) for id 541
Mon Feb 16 16:42:19 PST 2009 no output for bug 29106, id 541
Mon Feb 16 16:42:19 PST 2009 search patches earlier than 541
Mon Feb 16 16:42:19 PST 2009 svn update begun for id 536, rev 111179
Mon Feb 16 16:42:26 PST 2009 svn update done
Mon Feb 16 16:42:26 PST 2009 building GCC (c,c++) for id 536
Mon Feb 16 16:52:30 PST 2009 test ran successfully for bug 29106, id 536
Mon Feb 16 16:52:30 PST 2009 search patches later than 536
Mon Feb 16 16:52:30 PST 2009 svn update begun for id 538, rev 111227
Mon Feb 16 16:52:35 PST 2009 svn update done
Mon Feb 16 16:52:35 PST 2009 building GCC (c,c++) for id 538
Mon Feb 16 17:02:35 PST 2009 test ran successfully for bug 29106, id 538
Mon Feb 16 17:02:35 PST 2009 search patches later than 538
Mon Feb 16 17:02:35 PST 2009 svn update begun for id 539, rev 111228
Mon Feb 16 17:02:39 PST 2009 svn update done
Mon Feb 16 17:02:39 PST 2009 building GCC (c,c++) for id 539
Mon Feb 16 17:12:42 PST 2009 test ran successfully for bug 29106, id 539
Mon Feb 16 17:12:42 PST 2009 search patches later than 539
Mon Feb 16 17:12:42 PST 2009 svn update begun for id 540, rev 111231
Mon Feb 16 17:12:47 PST 2009 svn update done
Mon Feb 16 17:12:47 PST 2009 building GCC (c,c++) for id 540
Mon Feb 16 17:22:53 PST 2009 no output for bug 29106, id 540
Mon Feb 16 17:22:53 PST 2009 search patches earlier than 540
Test result changes with id 540
------------------------------------------------------------------------
r111231 | mmitchel | 2006-02-18 08:37:34 +0000 (Sat, 18 Feb 2006) | 41 lines
PR c++/26266
* cp-tree.h (cp_finish_decl): Adjust declaration.
(grokbitfield): Likewise.
(finish_static_data_member_decl): Likewise.
* init.c (constant_value_1): Ensure processing_template_decl when
folding non-dependent initializers for static data members of
dependent types. Return error_mark_node for erroneous
initailizers.
* class.c (get_vtable_decl): Use finish_decl, not cp_finish_decl.
* decl.c (cp_make_fname_decl): Adjust call to cp_finish_decl.
(cp_finish_decl): Add init_const_expr_p parameter. Set
DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P here.
(finish_decl): Adjust call to cp_finish_decl.
(compute_array_index_type): Robustify.
(start_method): Use finish_decl, not cp_finish_decl.
* rtti.c (emit_tinfo_decl): Likewise.
* except.c (initialize_handler_parm): Adjust call to
cp_finish_decl.
(expand_start_catch_block): Likewise.
* cvt.c (build_up_reference): Adjust call to cp_finish_decl.
* pt.c (instantiate_class_template): Adjust call to
finish_static_data_member_decl.
(tsubst_expr): Use finish_decl, not cp_finish_decl.
(instantiate_decl): Adjust call to cp_finish_decl.
* name-lookup.c (pushdecl_top_level_1): Use finish_decl, not
cp_finish_decl.
* decl2.c (finish_static_data_member_decl): Add init_const_expr_p
parameter.
(grokfield): Likewise.
* parser.c (cp_parser_condition): Check for constant initializers.
(cp_parser_init_declarator): Adjust calls to grokfield and
cp_finish_decl. Don't set
DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P here.
(cp_parser_member_declaration): Likewise.
(cp_parser_objc_class_ivars): Likewise.
PR c++/26266
* g++.dg/template/static22.C: New test.
* g++.dg/template/static23.C: New test.
* g++.dg/template/static24.C: New test.
* g++.dg/template/non-dependent13.C: New test.
------------------------------------------------------------------------
http://gcc.gnu.org/viewcvs?view=rev&rev=111231
r111231 | mmitchel | 2006-02-18 08:37:34 +0000 (Sat, 18 Feb 2006)
#! /bin/sh
ID=$1
LOGID=`printf "%04d" ${ID}`
LOG=${BUGID}.${LOGID}.out
MSGID="bug ${BUGID}, id ${ID}"
$REG_TEST_COMPILER $REG_OPTS $REG_TESTCASE > ${LOG} 2>&1
if [ $? -ne 0 ]; then
echo "`date` unexpected failure: test compilation failed for ${MSGID}"
exit $REG_ERROR
fi
./a.out >> ${LOG} 2>&1
if [ $? -ne 0 ]; then
echo "`date` unexpected failure: test run aborted for ${MSGID}"
exit $REG_ERROR
fi
grep -q 'size of thingy is 4' $LOG
if [ $? -ne 0 ]; then
echo "`date` no output for ${MSGID}"
exit $REG_FAIL
fi
echo "`date` test ran successfully for ${MSGID}"
exit $REG_PASS
struct block;
static int
remove_out_of_scope_renamings (struct block *current_block)
{
return 1;
}
int
ada_lookup_symbol_list (const struct block *block0)
{
return remove_out_of_scope_renamings ((struct block *) block0);
}
BUGID=29478
FIND=break
LANG=c
BUILD_KIND=simple
BUG_KIND=bogus-warning
OPTS="-O1"
. ./common.config
#LOW_PATCH=212
#HIGH_PATCH=222
#msg 0 'NOTE: skipping low patch, already verified'
#SKIP_LOW=1
#msg 0 'NOTE: skipping high patch, already verified'
#SKIP_HIGH=1
Mon Feb 16 17:23:03 PST 2009 LATER_THAN = 1
Mon Feb 16 17:23:03 PST 2009 EARLIER_THAN = 340
Mon Feb 16 17:23:03 PST 2009 svn checkout begun for id 340, rev 116730
Mon Feb 16 17:26:27 PST 2009 svn checkout done
Mon Feb 16 17:26:28 PST 2009 building cc1 for id 340
Mon Feb 16 17:30:29 PST 2009 build completed
Mon Feb 16 17:30:29 PST 2009 bogus warning detected for bug 29478, id 340
Mon Feb 16 17:30:29 PST 2009 result for high patch 340 is as expected
Mon Feb 16 17:30:29 PST 2009 svn update begun for id 1, rev 115866
Mon Feb 16 17:30:55 PST 2009 svn update done
Mon Feb 16 17:30:56 PST 2009 building cc1 for id 1
Mon Feb 16 17:34:41 PST 2009 build completed
Mon Feb 16 17:34:41 PST 2009 no bogus warning for bug 29478, id 1
Mon Feb 16 17:34:41 PST 2009 result for low patch 1 is as expected
Mon Feb 16 17:34:41 PST 2009 svn update begun for id 170, rev 116321
Mon Feb 16 17:34:55 PST 2009 svn update done
Mon Feb 16 17:34:56 PST 2009 building cc1 for id 170
Mon Feb 16 17:38:40 PST 2009 build completed
Mon Feb 16 17:38:40 PST 2009 no bogus warning for bug 29478, id 170
Mon Feb 16 17:38:40 PST 2009 search patches later than 170
Mon Feb 16 17:38:41 PST 2009 svn update begun for id 255, rev 116554
Mon Feb 16 17:38:52 PST 2009 svn update done
Mon Feb 16 17:38:53 PST 2009 building cc1 for id 255
Mon Feb 16 17:42:38 PST 2009 build completed
Mon Feb 16 17:42:38 PST 2009 bogus warning detected for bug 29478, id 255
Mon Feb 16 17:42:38 PST 2009 search patches earlier than 255
Mon Feb 16 17:42:38 PST 2009 svn update begun for id 212, rev 116411
Mon Feb 16 17:42:45 PST 2009 svn update done
Mon Feb 16 17:42:46 PST 2009 building cc1 for id 212
Mon Feb 16 17:46:30 PST 2009 build completed
Mon Feb 16 17:46:30 PST 2009 no bogus warning for bug 29478, id 212
Mon Feb 16 17:46:30 PST 2009 search patches later than 212
Mon Feb 16 17:46:30 PST 2009 svn update begun for id 233, rev 116479
Mon Feb 16 17:46:40 PST 2009 svn update done
Mon Feb 16 17:46:41 PST 2009 building cc1 for id 233
Mon Feb 16 17:50:26 PST 2009 build completed
Mon Feb 16 17:50:26 PST 2009 bogus warning detected for bug 29478, id 233
Mon Feb 16 17:50:26 PST 2009 search patches earlier than 233
Mon Feb 16 17:50:26 PST 2009 svn update begun for id 222, rev 116463
Mon Feb 16 17:50:31 PST 2009 svn update done
Mon Feb 16 17:50:32 PST 2009 building cc1 for id 222
Mon Feb 16 17:54:17 PST 2009 build completed
Mon Feb 16 17:54:17 PST 2009 bogus warning detected for bug 29478, id 222
Mon Feb 16 17:54:17 PST 2009 search patches earlier than 222
Mon Feb 16 17:54:17 PST 2009 svn update begun for id 217, rev 116435
Mon Feb 16 17:54:23 PST 2009 svn update done
Mon Feb 16 17:54:23 PST 2009 building cc1 for id 217
Mon Feb 16 17:58:07 PST 2009 build completed
Mon Feb 16 17:58:07 PST 2009 bogus warning detected for bug 29478, id 217
Mon Feb 16 17:58:07 PST 2009 search patches earlier than 217
Mon Feb 16 17:58:08 PST 2009 svn update begun for id 214, rev 116424
Mon Feb 16 17:58:13 PST 2009 svn update done
Mon Feb 16 17:58:13 PST 2009 building cc1 for id 214
Mon Feb 16 18:01:59 PST 2009 build completed
Mon Feb 16 18:01:59 PST 2009 bogus warning detected for bug 29478, id 214
Mon Feb 16 18:01:59 PST 2009 search patches earlier than 214
Mon Feb 16 18:01:59 PST 2009 svn update begun for id 213, rev 116415
Mon Feb 16 18:02:05 PST 2009 svn update done
Mon Feb 16 18:02:05 PST 2009 building cc1 for id 213
Mon Feb 16 18:05:51 PST 2009 build completed
Mon Feb 16 18:05:51 PST 2009 no bogus warning for bug 29478, id 213
Mon Feb 16 18:05:51 PST 2009 search patches later than 213
Test result changes with id 214
------------------------------------------------------------------------
r116424 | amylaar | 2006-08-25 18:51:57 +0000 (Fri, 25 Aug 2006) | 8 lines
gcc:
PR tree-optimization/16876
* c-typeck.c (c_convert_parm_for_inlining): Don't take early
exit if PARM doesn't match VALUE.
testsuite:
gcc.dg/noncompile/pr16876.c: New test.
------------------------------------------------------------------------
http://gcc.gnu.org/viewcvs?view=rev&rev=116424
r116424 | amylaar | 2006-08-25 18:51:57 +0000 (Fri, 25 Aug 2006)
struct A{
typedef int T;
virtual ~A();
};
struct B:public A{
using A::T;
};
BUGID=29906a
FIND=break
LANG=c++
BUILD_KIND=simple
BUG_KIND=ice-on-valid-code
OPTS="-g"
. ./common.config
#LOW_PATCH=384
#HIGH_PATCH=389
#msg 0 'NOTE: skipping low patch, already verified'
#SKIP_LOW=1
#msg 0 'NOTE: skipping high patch, already verified'
#SKIP_HIGH=1
Mon Feb 16 18:06:01 PST 2009 LATER_THAN = 1
Mon Feb 16 18:06:01 PST 2009 EARLIER_THAN = 623
Mon Feb 16 18:06:01 PST 2009 svn checkout begun for id 623, rev 77257
Mon Feb 16 18:08:50 PST 2009 svn checkout done
Mon Feb 16 18:08:51 PST 2009 building cc1plus for id 623
Mon Feb 16 18:14:43 PST 2009 build completed
Mon Feb 16 18:14:43 PST 2009 compilation failed for bug 29906a, id 623
Mon Feb 16 18:14:43 PST 2009 result for high patch 623 is as expected
Mon Feb 16 18:14:43 PST 2009 svn update begun for id 1, rev 75951
Mon Feb 16 18:15:05 PST 2009 svn update done
Mon Feb 16 18:15:06 PST 2009 building cc1plus for id 1
Mon Feb 16 18:20:58 PST 2009 build completed
Mon Feb 16 18:20:58 PST 2009 test compiled successfully for bug 29906a, id 1
Mon Feb 16 18:20:58 PST 2009 result for low patch 1 is as expected
Mon Feb 16 18:20:58 PST 2009 svn update begun for id 312, rev 76600
Mon Feb 16 18:21:09 PST 2009 svn update done
Mon Feb 16 18:21:10 PST 2009 building cc1plus for id 312
Mon Feb 16 18:27:03 PST 2009 build completed
Mon Feb 16 18:27:03 PST 2009 test compiled successfully for bug 29906a, id 312
Mon Feb 16 18:27:03 PST 2009 search patches later than 312
Mon Feb 16 18:27:03 PST 2009 svn update begun for id 467, rev 76934
Mon Feb 16 18:27:12 PST 2009 svn update done
Mon Feb 16 18:27:13 PST 2009 building cc1plus for id 467
Mon Feb 16 18:33:05 PST 2009 build completed
Mon Feb 16 18:33:05 PST 2009 compilation failed for bug 29906a, id 467
Mon Feb 16 18:33:05 PST 2009 search patches earlier than 467
Mon Feb 16 18:33:06 PST 2009 svn update begun for id 389, rev 76747
Mon Feb 16 18:33:14 PST 2009 svn update done
Mon Feb 16 18:33:15 PST 2009 building cc1plus for id 389
Mon Feb 16 18:39:07 PST 2009 build completed
Mon Feb 16 18:39:07 PST 2009 compilation failed for bug 29906a, id 389
Mon Feb 16 18:39:07 PST 2009 search patches earlier than 389
Mon Feb 16 18:39:07 PST 2009 svn update begun for id 350, rev 76666
Mon Feb 16 18:39:14 PST 2009 svn update done
Mon Feb 16 18:39:14 PST 2009 building cc1plus for id 350
Mon Feb 16 18:45:07 PST 2009 build completed
Mon Feb 16 18:45:08 PST 2009 test compiled successfully for bug 29906a, id 350
Mon Feb 16 18:45:08 PST 2009 search patches later than 350
Mon Feb 16 18:45:08 PST 2009 svn update begun for id 369, rev 76707
Mon Feb 16 18:45:12 PST 2009 svn update done
Mon Feb 16 18:45:12 PST 2009 building cc1plus for id 369
Mon Feb 16 18:51:05 PST 2009 build completed
Mon Feb 16 18:51:05 PST 2009 test compiled successfully for bug 29906a, id 369
Mon Feb 16 18:51:05 PST 2009 search patches later than 369
Mon Feb 16 18:51:05 PST 2009 svn update begun for id 379, rev 76734
Mon Feb 16 18:51:10 PST 2009 svn update done
Mon Feb 16 18:51:10 PST 2009 building cc1plus for id 379
Mon Feb 16 18:57:02 PST 2009 build completed
Mon Feb 16 18:57:03 PST 2009 test compiled successfully for bug 29906a, id 379
Mon Feb 16 18:57:03 PST 2009 search patches later than 379
Mon Feb 16 18:57:03 PST 2009 svn update begun for id 384, rev 76739
Mon Feb 16 18:57:07 PST 2009 svn update done
Mon Feb 16 18:57:07 PST 2009 building cc1plus for id 384
Mon Feb 16 19:03:02 PST 2009 build completed
Mon Feb 16 19:03:02 PST 2009 test compiled successfully for bug 29906a, id 384
Mon Feb 16 19:03:02 PST 2009 search patches later than 384
Mon Feb 16 19:03:02 PST 2009 svn update begun for id 386, rev 76741
Mon Feb 16 19:03:08 PST 2009 svn update done
Mon Feb 16 19:03:08 PST 2009 building cc1plus for id 386
Mon Feb 16 19:09:00 PST 2009 build completed
Mon Feb 16 19:09:00 PST 2009 test compiled successfully for bug 29906a, id 386
Mon Feb 16 19:09:00 PST 2009 search patches later than 386
Mon Feb 16 19:09:00 PST 2009 svn update begun for id 387, rev 76742
Mon Feb 16 19:09:04 PST 2009 svn update done
Mon Feb 16 19:09:04 PST 2009 building cc1plus for id 387
Mon Feb 16 19:14:57 PST 2009 build completed
Mon Feb 16 19:14:58 PST 2009 test compiled successfully for bug 29906a, id 387
Mon Feb 16 19:14:58 PST 2009 search patches later than 387
Mon Feb 16 19:14:58 PST 2009 svn update begun for id 388, rev 76746
Mon Feb 16 19:15:02 PST 2009 svn update done
Mon Feb 16 19:15:02 PST 2009 building cc1plus for id 388
Mon Feb 16 19:20:55 PST 2009 build completed
Mon Feb 16 19:20:56 PST 2009 compilation failed for bug 29906a, id 388
Mon Feb 16 19:20:56 PST 2009 search patches earlier than 388
Test result changes with id 388
------------------------------------------------------------------------
r76746 | dpatel | 2004-01-27 20:36:02 +0000 (Tue, 27 Jan 2004) | 47 lines
2004-01-27 Devang Patel <dpatel@apple.com>
* Makefile.in (dwarf2out.o): Depend on input.h
* dbxout.c (dbx_debug_hooks): Add new empty hook for
imported_module_or_decl.
(xcoff_debug_hooks): Same.
* sdbout.c (sdb_debug_hooks): Same.
* vmsdbgout.c (vmsdbg_debug_hooks): Same.
* debug.c (do_nothing_debug_hooks): Same.
(debug_nothing_tree_tree): New function.
* debug.h (gcc_debug_hooks): New hook, imported_module_or_decl.
* dwarf2out.c: Include input.h.
(dwarf2_debug_hooks): Add new hook for imported_module_or_decl.
(remove_child_TAG): New function.
(dwarf_tag_name): Handle DW_TAG_imported_module.
(gen_subprogram_die): Equate decl number to declaration die. Do not
remove all children dies while reusing declaration die for definition.
Instead, selectively remove only formal parameters.
(gen_variable_die): Equate variable decl to declaration die.
(gen_field_die): Equate field decl to line number.
(force_namespace_die): Replace it with ...
(force_decl_die): ... this.
(force_type_die): New function.
(setup_namespace_context): Replace use of force_namespace_die() with
force_decl_die().
(gen_namespace_die): Same.
(dwarf2out_imported_module_or_decl): New function.
testsuite:
* g++.dg/debug/namespace1.C: New test.
cp:
* name-lookup.c: Include "debug.h"
(do_namespace_alias): Invoke debug_hooks to emit debug info
for namespace alias.
(do_local_using_decl): Invoke debug_hooks to emit debug info
for using decl.
(do_class_using_decl): Same.
(do_toplevel_using_decl): Same.
(do_using_directive): Same.
(cp_emit_debug_info_for_using): New function.
* Make-lang.in (cp/parser.o): Depend on debug.h
(cp/name-lookup.o): Same.
------------------------------------------------------------------------
http://gcc.gnu.org/viewcvs?view=rev&rev=76746
r76746 | dpatel | 2004-01-27 20:36:02 +0000 (Tue, 27 Jan 2004)
struct A{
typedef int T;
virtual ~A();
};
struct B:public A{
using A::T;
};
BUGID=29906b
FIND=fix
LANG=c++
BUILD_KIND=full
BUG_KIND=ice-on-valid-code
OPTS="-g"
REG_CONFOPTS="--disable-bootstrap"
. ./common.config
#LOW_PATCH=112
#HIGH_PATCH=121
#msg 0 'NOTE: skipping low patch, already verified'
#SKIP_LOW=1
msg 0 'NOTE: skipping high patch, already verified'
SKIP_HIGH=1
#REG_IDLIST="11 21 31 41 51 71 81 91 101 111"
Mon Feb 16 19:21:02 PST 2009 NOTE: skipping high patch, already verified
Mon Feb 16 19:21:02 PST 2009 LATER_THAN = 1
Mon Feb 16 19:21:02 PST 2009 EARLIER_THAN = 556
Mon Feb 16 19:21:02 PST 2009 svn checkout begun for id 1, rev 112078
Mon Feb 16 19:25:04 PST 2009 svn checkout done
Mon Feb 16 19:25:04 PST 2009 building GCC (c,c++) for id 1
Mon Feb 16 19:37:17 PST 2009 compilation failed for bug 29906b, id 1
Mon Feb 16 19:37:17 PST 2009 result for low patch 1 is as expected
Mon Feb 16 19:37:17 PST 2009 svn update begun for id 278, rev 112702
Mon Feb 16 19:37:37 PST 2009 svn update done
Mon Feb 16 19:37:38 PST 2009 building GCC (c,c++) for id 278
Mon Feb 16 19:49:42 PST 2009 test compiled successfully for bug 29906b, id 278
Mon Feb 16 19:49:42 PST 2009 search patches earlier than 278
Mon Feb 16 19:49:42 PST 2009 svn update begun for id 139, rev 112398
Mon Feb 16 19:49:57 PST 2009 svn update done
Mon Feb 16 19:49:58 PST 2009 building GCC (c,c++) for id 139
Mon Feb 16 20:01:55 PST 2009 test compiled successfully for bug 29906b, id 139
Mon Feb 16 20:01:55 PST 2009 search patches earlier than 139
Mon Feb 16 20:01:55 PST 2009 svn update begun for id 70, rev 112248
Mon Feb 16 20:02:06 PST 2009 svn update done
Mon Feb 16 20:02:07 PST 2009 building GCC (c,c++) for id 70
Mon Feb 16 20:14:01 PST 2009 compilation failed for bug 29906b, id 70
Mon Feb 16 20:14:01 PST 2009 search patches later than 70
Mon Feb 16 20:14:01 PST 2009 svn update begun for id 104, rev 112319
Mon Feb 16 20:14:12 PST 2009 svn update done
Mon Feb 16 20:14:12 PST 2009 building GCC (c,c++) for id 104
Mon Feb 16 20:26:15 PST 2009 compilation failed for bug 29906b, id 104
Mon Feb 16 20:26:15 PST 2009 search patches later than 104
Mon Feb 16 20:26:15 PST 2009 svn update begun for id 121, rev 112360
Mon Feb 16 20:26:25 PST 2009 svn update done
Mon Feb 16 20:26:26 PST 2009 building GCC (c,c++) for id 121
Mon Feb 16 20:38:27 PST 2009 test compiled successfully for bug 29906b, id 121
Mon Feb 16 20:38:27 PST 2009 search patches earlier than 121
Mon Feb 16 20:38:27 PST 2009 svn update begun for id 112, rev 112346
Mon Feb 16 20:38:38 PST 2009 svn update done
Mon Feb 16 20:38:39 PST 2009 building GCC (c,c++) for id 112
Mon Feb 16 20:50:36 PST 2009 compilation failed for bug 29906b, id 112
Mon Feb 16 20:50:36 PST 2009 search patches later than 112
Mon Feb 16 20:50:37 PST 2009 svn update begun for id 116, rev 112351
Mon Feb 16 20:50:42 PST 2009 svn update done
Mon Feb 16 20:50:42 PST 2009 building GCC (c,c++) for id 116
Mon Feb 16 21:02:45 PST 2009 compilation failed for bug 29906b, id 116
Mon Feb 16 21:02:45 PST 2009 search patches later than 116
Mon Feb 16 21:02:45 PST 2009 svn update begun for id 118, rev 112355
Mon Feb 16 21:02:50 PST 2009 svn update done
Mon Feb 16 21:02:51 PST 2009 building GCC (c,c++) for id 118
Mon Feb 16 21:14:53 PST 2009 compilation failed for bug 29906b, id 118
Mon Feb 16 21:14:53 PST 2009 search patches later than 118
Mon Feb 16 21:14:53 PST 2009 svn update begun for id 119, rev 112357
Mon Feb 16 21:15:01 PST 2009 svn update done
Mon Feb 16 21:15:01 PST 2009 building GCC (c,c++) for id 119
Mon Feb 16 21:26:59 PST 2009 compilation failed for bug 29906b, id 119
Mon Feb 16 21:26:59 PST 2009 search patches later than 119
Mon Feb 16 21:26:59 PST 2009 svn update begun for id 120, rev 112359
Mon Feb 16 21:27:04 PST 2009 svn update done
Mon Feb 16 21:27:04 PST 2009 building GCC (c,c++) for id 120
Mon Feb 16 21:39:01 PST 2009 compilation failed for bug 29906b, id 120
Mon Feb 16 21:39:01 PST 2009 search patches later than 120
Test result changes with id 121
------------------------------------------------------------------------
r112360 | carlos | 2006-03-24 21:17:41 +0000 (Fri, 24 Mar 2006) | 15 lines
gcc/
2006-03-24 Carlos O'Donell <carlos@codesourcery.com>
* doc/invoke.texi: Document -femit-class-debug-always
* common.opt: Add -femit-class-debug-always.
gcc/cp/
2006-03-24 Carlos O'Donell <carlos@codesourcery.com>
* search.c (maybe_suppress_debug_info): If
flag_emit_class_debug_always then don't suppress.
------------------------------------------------------------------------
http://gcc.gnu.org/viewcvs?view=rev&rev=112360
r112360 | carlos | 2006-03-24 21:17:41 +0000 (Fri, 24 Mar 2006)
extern void abort (void);
struct s { int a; int b;};
void bar (struct s *ps, int *p, int *__restrict__ rp, int *__restrict__ rq)
{
ps->a = 0;
ps->b = 1;
if (ps->a != 0) abort ();
p[0] = 0;
p[1] = 1;
if (p[0] != 0) abort ();
rp[0] = 0;
rq[0] = 1;
if (rp[0] != 0) abort();
}
BUGID=30643
FIND=break
LANG=c
BUILD_KIND=simple
BUG_KIND=ice-on-valid-code
OPTS="-O2"
REG_TARGET=i686-linux
. ./common.config
REG_TEST=${BUGID}.test
#LOW_PATCH=11
#HIGH_PATCH=21
#msg 0 'NOTE: skipping low patch, already verified'
#SKIP_LOW=1
msg 0 'NOTE: skipping high patch, already verified'
SKIP_HIGH=1
1|115570|pmj|2006-07-18 22:22:07|trunk
2|115576|mmitchel|2006-07-19 00:22:43|trunk
3|115578|sayle|2006-07-19 05:13:56|trunk
4|115579|mmitchel|2006-07-19 05:14:25|trunk
5|115580|rsandifo|2006-07-19 05:29:36|trunk
6|115582|nathan|2006-07-19 06:45:34|trunk
7|115591|jakub|2006-07-19 15:47:36|trunk
8|115593|jb|2006-07-19 16:51:49|trunk
9|115594|jb|2006-07-19 16:52:45|trunk
10|115597|mmitchel|2006-07-19 17:32:38|trunk
11|115598|daney|2006-07-19 19:52:44|trunk
12|115599|reichelt|2006-07-19 19:56:29|trunk
13|115600|mmitchel|2006-07-19 22:49:20|trunk
14|115608|echristo|2006-07-20 07:35:32|trunk
15|115609|echristo|2006-07-20 07:40:12|trunk
16|115610|dannysmith|2006-07-20 07:59:09|trunk
17|115614|pbrook|2006-07-20 13:57:31|trunk
18|115619|pbrook|2006-07-20 14:20:26|trunk
19|115622|jason|2006-07-20 16:02:57|trunk
20|115624|daney|2006-07-20 17:30:42|trunk
21|115625|daney|2006-07-20 17:42:11|trunk
22|115628|kseitz|2006-07-20 19:29:53|trunk
23|115629|kseitz|2006-07-20 19:30:30|trunk
24|115631|kseitz|2006-07-20 22:20:09|trunk
25|115632|bkoz|2006-07-20 23:37:27|trunk
26|115638|sayle|2006-07-21 05:31:33|trunk
27|115640|reichelt|2006-07-21 09:41:16|trunk
28|115643|reichelt|2006-07-21 09:59:57|trunk
29|115646|kseitz|2006-07-21 18:50:48|trunk
30|115647|mark|2006-07-21 19:13:22|trunk
31|115648|mrs|2006-07-21 20:19:08|trunk
32|115649|mrs|2006-07-21 20:39:19|trunk
33|115650|daney|2006-07-21 20:49:06|trunk
34|115651|jason|2006-07-21 21:00:20|trunk
35|115652|jason|2006-07-21 21:06:19|trunk
36|115653|sje|2006-07-21 21:07:15|trunk
37|115654|sje|2006-07-21 21:11:46|trunk
38|115655|kseitz|2006-07-21 23:45:03|trunk
39|115656|bkoz|2006-07-21 23:54:41|trunk
40|115669|membar|2006-07-22 01:42:25|trunk
41|115670|jvdelisle|2006-07-22 03:14:27|trunk
42|115671|jvdelisle|2006-07-22 03:18:33|trunk
43|115672|jvdelisle|2006-07-22 03:21:10|trunk
44|115677|kargl|2006-07-22 17:55:35|trunk
45|115678|hubicka|2006-07-22 23:41:18|trunk
46|115684|drow|2006-07-23 03:50:24|trunk
47|115685|steven|2006-07-23 17:56:34|trunk
48|115686|sayle|2006-07-23 20:14:44|trunk
49|115687|mmitchel|2006-07-23 20:28:26|trunk
50|115691|sayle|2006-07-23 21:13:07|trunk
51|115692|membar|2006-07-23 23:59:24|trunk
52|115693|hubicka|2006-07-24 00:16:16|trunk
53|115698|jvdelisle|2006-07-24 00:17:52|trunk
54|115700|jvdelisle|2006-07-24 00:19:45|trunk
55|115701|membar|2006-07-24 00:22:25|trunk
56|115702|jvdelisle|2006-07-24 00:26:08|trunk
57|115703|drow|2006-07-24 02:58:08|trunk
58|115704|drow|2006-07-24 02:59:36|trunk
59|115705|uros|2006-07-24 05:43:14|trunk
60|115712|hubicka|2006-07-24 11:23:21|trunk
61|115713|hubicka|2006-07-24 11:27:53|trunk
62|115714|rguenth|2006-07-24 11:42:52|trunk
63|115715|paolo|2006-07-24 12:30:28|trunk
64|115718|kargl|2006-07-24 16:54:01|trunk
65|115721|eedelman|2006-07-24 20:15:59|trunk
66|115729|reichelt|2006-07-25 00:57:10|trunk
67|115732|kargl|2006-07-25 05:08:33|trunk
68|115733|bonzini|2006-07-25 08:30:38|trunk
69|115734|bonzini|2006-07-25 08:41:02|trunk
70|115735|drow|2006-07-25 12:31:33|trunk
71|115738|nickc|2006-07-25 15:33:50|trunk
72|115739|andreast|2006-07-25 20:01:22|trunk
73|115740|rakdver|2006-07-25 20:38:37|trunk
74|115742|sayle|2006-07-25 23:21:56|trunk
75|115749|jvdelisle|2006-07-26 01:40:29|trunk
76|115750|jvdelisle|2006-07-26 01:47:13|trunk
77|115751|jvdelisle|2006-07-26 01:48:41|trunk
78|115754|fxcoudert|2006-07-26 11:58:48|trunk
79|115760|rakdver|2006-07-26 16:47:28|trunk
80|115761|drow|2006-07-26 17:31:54|trunk
81|115762|drow|2006-07-26 17:38:37|trunk
82|115763|hubicka|2006-07-26 20:17:32|trunk
83|115765|hubicka|2006-07-26 22:51:56|trunk
Mon Feb 16 21:39:11 PST 2009 NOTE: skipping high patch, already verified
Mon Feb 16 21:39:11 PST 2009 LATER_THAN = 1
Mon Feb 16 21:39:11 PST 2009 EARLIER_THAN = 83
Mon Feb 16 21:39:11 PST 2009 svn checkout begun for id 1, rev 115570
Mon Feb 16 21:43:34 PST 2009 svn checkout done
Mon Feb 16 21:43:34 PST 2009 building cc1 for id 1
Mon Feb 16 21:47:05 PST 2009 build completed
Mon Feb 16 21:47:05 PST 2009 no call to abort for bug 30643, id 1
Mon Feb 16 21:47:05 PST 2009 result for low patch 1 is as expected
Mon Feb 16 21:47:05 PST 2009 svn update begun for id 42, rev 115671
Mon Feb 16 21:47:11 PST 2009 svn update done
Mon Feb 16 21:47:11 PST 2009 building cc1 for id 42
Mon Feb 16 21:50:37 PST 2009 build completed
Mon Feb 16 21:50:37 PST 2009 abort call exists for bug 30643, id 42
Mon Feb 16 21:50:37 PST 2009 search patches earlier than 42
Mon Feb 16 21:50:37 PST 2009 svn update begun for id 21, rev 115625
Mon Feb 16 21:50:44 PST 2009 svn update done
Mon Feb 16 21:50:44 PST 2009 building cc1 for id 21
Mon Feb 16 21:54:09 PST 2009 build completed
Mon Feb 16 21:54:09 PST 2009 abort call exists for bug 30643, id 21
Mon Feb 16 21:54:09 PST 2009 search patches earlier than 21
Mon Feb 16 21:54:10 PST 2009 svn update begun for id 11, rev 115598
Mon Feb 16 21:54:15 PST 2009 svn update done
Mon Feb 16 21:54:15 PST 2009 building cc1 for id 11
Mon Feb 16 21:57:39 PST 2009 build completed
Mon Feb 16 21:57:39 PST 2009 no call to abort for bug 30643, id 11
Mon Feb 16 21:57:39 PST 2009 search patches later than 11
Mon Feb 16 21:57:39 PST 2009 svn update begun for id 16, rev 115610
Mon Feb 16 21:57:43 PST 2009 svn update done
Mon Feb 16 21:57:43 PST 2009 building cc1 for id 16
Mon Feb 16 22:01:08 PST 2009 build completed
Mon Feb 16 22:01:09 PST 2009 no call to abort for bug 30643, id 16
Mon Feb 16 22:01:09 PST 2009 search patches later than 16
Mon Feb 16 22:01:09 PST 2009 svn update begun for id 18, rev 115619
Mon Feb 16 22:01:13 PST 2009 svn update done
Mon Feb 16 22:01:13 PST 2009 building cc1 for id 18
Mon Feb 16 22:04:38 PST 2009 build completed
Mon Feb 16 22:04:38 PST 2009 abort call exists for bug 30643, id 18
Mon Feb 16 22:04:38 PST 2009 search patches earlier than 18
Mon Feb 16 22:04:38 PST 2009 svn update begun for id 17, rev 115614
Mon Feb 16 22:04:42 PST 2009 svn update done
Mon Feb 16 22:04:42 PST 2009 building cc1 for id 17
Mon Feb 16 22:08:07 PST 2009 build completed
Mon Feb 16 22:08:07 PST 2009 abort call exists for bug 30643, id 17
Mon Feb 16 22:08:07 PST 2009 search patches earlier than 17
Test result changes with id 17
------------------------------------------------------------------------
r115614 | pbrook | 2006-07-20 13:57:31 +0000 (Thu, 20 Jul 2006) | 11 lines
2006-07-20 Paul Brook <paul@codesourcery.com>
PR 27363
gcc/
* cse.c (cse_insn): Add destination addresses to hash table. Check if
they are invalidated by this instruction.
gcc/testsuite/
* gcc.dg/pr27363.c: New test.
------------------------------------------------------------------------
http://gcc.gnu.org/viewcvs?view=rev&rev=115614
r115614 | pbrook | 2006-07-20 13:57:31 +0000 (Thu, 20 Jul 2006)
#! /bin/sh
ID=$1
LOGID=`printf "%04d" ${ID}`
LOG=${BUGID}.${LOGID}.out
MSGID="bug ${BUGID}, id ${ID}"
ASM=${BUGID}.${LOGID}.s
$REG_TEST_COMPILER $REG_OPTS $REG_TESTCASE > ${LOG} 2>&1
if [ $? -ne 0 ]; then
echo "`date` compilation failed unexpectedly for ${MSGID}"
exit REG_ERROR
fi
cp ${BUGID}.s $ASM
grep -q abort $ASM
if [ $? -eq 0 ]; then
echo "`date` abort call exists for ${MSGID}"
exit $REG_FAIL
fi
echo "`date` no call to abort for ${MSGID}"
exit $REG_PASS
This directory contains files from examples of regression hunts, cut
down to smaller ranges to save space and time. Try these out before
using the tools on your own tests. First, update gcc-svn-env and
common.config for your own environment.
Each of the examples has multiple files:
*.list files were created using gcc-svn-patchlist
*.config files were written by hand based on earlier config files;
the commented-out pieces are left as templates in case they're needed
*.c, *.c++ are source files for the test, usually taken directly from
the PR
*.test files are tests specific to a bug when an existing gcc-test-*
script can't be used
*.log files are output from various scripts
Examples, where the identifier is the PR number:
28970 wrong-code
29106 special test, 4.1 branch
29578 bogus-warning
29906a ice-on-valid-code, break
29906b ice-on-valid-code, fix
30643 special test, cross compiler
Cut down the range even further by setting LOW_PATCH and HIGH_PATCH
within the config file to ids where the log file shows the test
passed or failed.
To run one, do
reg-hunt 28970.config > 28970.log 2>&1
Check on its progress using
./reg-watch 28970.log
To run them all, do
echo "hunt 28970" > queue
echo "hunt 29106" >> queue
echo "hunt 29578" >> queue
echo "hunt 29906a" >> queue
echo "hunt 29906b" >> queue
echo "hunt 30643" >> queue
./testall queue
This allows you to add more to the queue if you're setting up lots of
hunts.
. ../gcc-svn-env
test "x${BUILD}" != "x" || BUILD=$REG_DEFAULT_BUILD
export REG_BLD=$BUILD
HOST=$BUILD
test "x${REG_TARGET}" != "x" || REG_TARGET=$HOST
test "x${REG_CONFOPTS}" != "x" || REG_CONFOPTS=""
test "${BUILD}" = "${TARGET}" -a -n "${BINUTILS}" \
|| export PATH=${BINUTILS}:${PATH}
VERBOSITY=1
DATE_IN_MSG=1
export BUGID
export REG_CHANGESET_LIST=`pwd`/${BUGID}.list
########################################################################
# LOW_PATCH and HIGH_PATCH are for reg_search_id.
########################################################################
LOW_PATCH=1
HIGH_PATCH=`wc -l $REG_CHANGESET_LIST | awk '{ print $1 }'`
########################################################################
# REG_NEWMID, REG_FAILLIST, REG_CHECKFAIL, and REG_REPORTFAIL are
# used by reg-hunt and auxiliary scripts to continue a hunt after a
# build failure. If REG_NEWMID is not defined then they are all
# ignored.
########################################################################
#export REG_NEWMID=${REG_BIN}/reg-newmid
#export REG_FAILLIST=`pwd`/gcc-fails-${BUILD_KIND}
export REG_CHECKFAIL=${REG_BIN}/gcc-svn-checkfail
export REG_RECORDFAIL=${REG_BIN}/gcc-svn-recordfail
########################################################################
# REG_UPDATE, REG_BUILD, and REG_TEST are used by several scripts.
# You can use these or provide your own.
########################################################################
export REG_UPDATE=${REG_BIN}/gcc-svn-update
export REG_BUILD=${REG_BIN}/gcc-build-${BUILD_KIND}
# Variables defined below are specific to gcc-build-${BUILD_KIND}
REG_CONFOPTS="$REG_CONFOPTS --build=${BUILD}"
REG_CONFOPTS="$REG_CONFOPTS --host=${HOST}"
REG_CONFOPTS="$REG_CONFOPTS --target=${REG_TARGET}"
if [ -n "$GMP" ]; then
REG_CONFOPTS="$REG_CONFOPTS --with-gmp=$GMP"
REG_CONFOPTS="$REG_CONFOPTS --with-mpfr=$GMP"
fi
REG_CONFOPTS="$REG_CONFOPTS --disable-libmudflap"
REG_CONFOPTS="$REG_CONFOPTS --disable-libssa"
if [ "${BUILD_KIND}" != "simple" -a -n "${BINUTILS}" ]; then
REG_CONFOPTS="$REG_CONFOPTS --with-as=${BINUTILS}/as"
REG_CONFOPTS="$REG_CONFOPTS --with-ld=${BINUTILS}/ld"
fi
case $LANG in
c)
REG_LANGS="c"
SUFFIX=c
case $BUILD_KIND in
simple) REG_COMPILER=cc1;;
full) REG_COMPILER=gcc;;
bootstrap) REG_COMPILER=gcc;;
*) msg 0 "unrecognized BUILD_KIND: $BUILD_KIND"; exit 1;
esac
;;
c++)
REG_LANGS="c,c++"
SUFFIX=cc
case $BUILD_KIND in
simple) REG_COMPILER=cc1plus;;
full) REG_COMPILER=g++;;
bootstrap) REG_COMPILER=g++;;
*) msg 0 "unrecognized BUILD_KIND: $BUILD_KIND"; exit 1;
esac
;;
f77)
REG_LANGS="c,f77"
SUFFIX=f
case $BUILD_KIND in
simple) REG_COMPILER=f771;;
full) REG_COMPILER=g77;;
bootstrap) REG_COMPILER=g77;;
*) msg 0 "unrecognized BUILD_KIND: $BUILD_KIND"; exit 1;
esac
;;
f95)
REG_LANGS="c,f95"
SUFFIX=f90
case $BUILD_KIND in
simple) REG_COMPILER=f951;;
full) REG_COMPILER=gfortran;;
bootstrap) REG_COMPILER=gfortran;;
*) msg 0 "unrecognized BUILD_KIND: $BUILD_KIND"; exit 1;
esac
;;
*) msg 0 "unrecognized LANG: $LANG"; exit 1;;
esac
export REG_TARGET
export REG_CONFOPTS
export REG_GCCSRC=${REG_SRCDIR}/gcc
export REG_LANGS
export REG_COMPILER
export REG_TEST=${REG_BIN}/gcc-test-${BUG_KIND}
# Variables defined below are specific to gcc-${BUG_KIND}
case $BUILD_KIND in
simple) REG_TEST_COMPILER="${REG_OBJDIR}/gcc/${REG_COMPILER} -quiet";;
*) REG_TEST_COMPILER="${REG_PREFIX}/bin/${REG_COMPILER}";
case $BUG_KIND in
wrong-code) ;;
*) REG_TEST_COMPILER="$REG_TEST_COMPILER -c";;
esac;
;;
esac
export REG_TEST_COMPILER
export REG_OPTS="${OPTS}"
export REG_TESTCASE=${BUGID}.${SUFFIX}
# Return values of the test scripts depend on whether we're looking
# for the patch that introduced a bug or the one that fixed it.
case $FIND in
break) REG_PASS=1; REG_FAIL=0;;
fix) REG_PASS=0; REG_FAIL=1;;
*) msg 0 "error: unrecognized FIND: $FIND"; exit 1;;
esac
REG_ERROR=2
export REG_PASS REG_FAIL REG_ERROR
# Define environment variables used by regression-hunting scripts.
# Change this if using a local copy of the repository.
export REG_SVN_REPO=svn://gcc.gnu.org/svn/gcc
REG_TOP=${HOME}/reghunt
export REG_BIN=${REG_TOP}/bin
export PATH=${REG_BIN}:${PATH}
# The build scripts look for these variables if they are defined.
#export BINUTILS=/opt/gcc-nightly/binutils-2.19/bin
#export GMP=/opt/gcc-nightly/gmp-mpfr
export REG_DEFAULT_BUILD=${REG_DEFAULT_BUILD-powerpc-linux}
export REG_SRCDIR=${REG_TOP}/src
export REG_BUILDDIR=${REG_TOP}/build
export REG_OBJDIR=${REG_BUILDDIR}/obj
export REG_PREFIX=${REG_TOP}/install
export REG_IDS=${REG_BIN}/gcc-svn-ids
export REG_REPORT=${REG_BIN}/gcc-svn-report
export REG_CLEANUP=${REG_CLEANUP-$REG_BIN/gcc-cleanup}
export REG_STOP=${REG_SRCDIR}/STOP
# Used for parallelism in make commands; very system-dependent, this is POSIX.
export REG_MAKE_J="-j `getconf _NPROCESSORS_ONLN`"
export BRANCHPOINT_4_3="2008-02-18"
export BRANCHPOINT_4_2="2006-10-20"
export BRANCHPOINT_4_1="2005-11-18"
export BRANCHPOINT_4_0="2005-02-25"
export BRANCHPOINT_3_4="2004-01-16"
export BRANCHPOINT_3_3="2002-12-13"
export BRANCHPOINT_3_1="2002-02-25"
export BRANCHPOINT_3_0="2001-02-12"
export BRANCHPOINT_2_95="1999-05-18"
export RELEASE_4_3_3="2009-01-24"
export RELEASE_4_3_2="2008-08-27"
export RELEASE_4_3_1="2008-06-06"
export RELEASE_4_3_0="2008-03-05"
export RELEASE_4_2_4="2008-05-19"
export RELEASE_4_2_3="2008-02-01"
export RELEASE_4_2_2="2007-10-07"
export RELEASE_4_2_1="2007-07-19"
export RELEASE_4_2_0="2007-05-13"
export RELEASE_4_1_2="2007-02-13"
export RELEASE_4_1_1="2006-05-24"
export RELEASE_4_1_0="2006-02-28"
export RELEASE_4_0_4="2007-01-31"
export RELEASE_4_0_3="2006-03-10"
export RELEASE_4_0_2="2005-09-28"
export RELEASE_4_0_1="2005-07-07"
export RELEASE_4_0_0="2005-04-20"
export RELEASE=3_4_6="2006-03-06"
export RELEASE=3_4_5="2005-11-30"
export RELEASE_3_4_4="2005-05-18"
export RELEASE_3_4_3="2004-11-04"
export RELEASE_3_4_2="2004-09-06"
export RELEASE_3_4_1="2004-07-01"
export RELEASE_3_4_0="2004-04-18"
export RELEASE_3_3_6="2005-05-03"
export RELEASE_3_3_5="2004-09-30"
export RELEASE_3_3_4="2004-05-31"
export RELEASE_3_3_3="2004-02-14"
export RELEASE_3_3_2="2003-10-17"
export RELEASE_3_3_1="2003-08-08"
export RELEASE_3_3_0="2003-05-13"
export RELEASE_3_3="${RELEASE_3_3_0}"
# Merge of the new C++ parser into mainline was revision 60560 on 2002-12-28
# Merge of the ssa-branch into mainline was revision 81764 on 2004-05-13
#! /bin/sh
awk -f reg-watch.awk "$@"
/result for low patch/ {
sub(".*low patch ","")
sub(" is as expected","")
printf ("<-- %4s\n", $0);
next
}
/result for high patch/ {
sub(".*high patch ","")
sub(" is as expected","")
printf (" %4s -->\n", $0);
next
}
/patches later/ {
sub(".*later than ","")
printf ("<-- %4s\n", $0);
next
}
/patches earlier/ {
sub(".*earlier than ","")
printf (" %4s -->\n", $0);
next
}
/build failed for/ {
sub(".*build failed for ","")
printf (" [%4s]\n", $0);
next
}
/HIGH_PATCH/ {
printf ("* stopped early *\n")
next
}
/changes with/ {
sub(".*changes with id ","")
printf ("+----------+\n")
printf ("| %4s |\n", $0)
printf ("+----------+\n")
next
}
#! /bin/sh
# Run one or more regression hunts
#
# The file specified as the single argument is a queue of regression
# hunts and/or lists of patches to test. Each entry in the file is
# "hunt" or "test" followed by a bugid for which there is a config
# file and other required files (patch list and test source file).
# Each line of the file is removed as it is processed, and new ones
# can be added while the script is still running.
#set -ex
if [ $# != 1 ]; then
echo "usage: $0 testfile"
exit 1
fi
REGFILE=$1
TMPFILE=testall.tmp
if [ ! -f $REGFILE ]; then
echo "$0: file $REGFILE does not exist"
exit 1
fi
RETURN_FOR_TEST=return
RETURN_FOR_TEST=true
. ../gcc-svn-env
hunt() {
id=$1
echo regression hunt for $id
$RETURN_FOR_TEST
$REG_CLEANUP
reg-hunt $id.config >> $id.log 2>&1
tail -n 1 $id.log
#tail -n 1 $id.log | mutt -s "reghunt for $id finished" janis187
}
testit() {
id=$1
echo testing specific dates for $id
$RETURN_FOR_TEST
$REG_CLEANUP
reg-test $id.config >> $id.log 2>&1
#mutt -s "reg-test for $id finished" janis187 < /dev/null
}
rm -f $REG_STOP
while
read WHICH ID < $REGFILE
do
if [ -f $REG_STOP ]; then
echo "$REG_STOP detected"
rm -f $REG_STOP
exit 1
fi
sed 1d < $REGFILE > $TMPFILE
mv $TMPFILE $REGFILE
case $WHICH in
hunt) hunt $ID;;
test) testit $ID;;
*) echo "unknown action $WHICH, skipping $ID";;
esac
echo
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment