From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2203 invoked by alias); 21 Jan 2008 13:34:02 -0000 Received: (qmail 2057 invoked by uid 48); 21 Jan 2008 13:33:15 -0000 Date: Mon, 21 Jan 2008 14:10:00 -0000 Message-ID: <20080121133315.2056.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/34483] wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "olga at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-01/txt/msg02336.txt.bz2 ------- Comment #39 from olga at gcc dot gnu dot org 2008-01-21 13:33 ------- (In reply to comment #38) > With patch form comments #11 and #31, the executable for > gcc.dg/struct/wo_prof_mult_field_peeling.c segfault with -m64. I have used the > 32 bit mode for -fprofile-generate, run the executable, and use -m64 for > -fprofile-use. wo_prof_mult_field_peeling_db.c is the code from comment #34. Yes... The assembly for wo_prof_mult_field_peeling.c looks "unrolled". But I have number of question to you. Why are you running wo_prof_mult_field_peeling.c with profiling? At least, it was not intended to be executed this way. If it is, then it is a bug in struct-reorg.exp. The other question is whether the failing tests that should run *with* profiling, like w_prof_gloval_var.c and w_prof_local_var.c, fail after compilation with -fprofile-generate or after second compilation with -fprofile-use. Thanks a lot for debugging, Olga -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34483