First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 26672
Product:  
Component:  
Status: RESOLVED
Resolution: FIXED
Assigned To: Richard Guenther <rguenth@gcc.gnu.org>
Host:
Reported against  
Priority:  
Severity:  
Target Milestone:  
 
 
Target:
Reporter: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Add CC:
CC:
Remove selected CCs
Build:
URL:
Summary:
Keywords:
Known to work:
Known to fail:

Attachment Description Type Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 26672 depends on: Show dependency tree
Show dependency graph
Bug 26672 blocks:

Additional Comments:






View Bug Activity   |   Format For Printing   |   Clone This Bug


Description:   Last confirmed: 2006-03-14 10:33 Opened: 2006-03-14 00:09
[forwarded from http://bugs.debian.org/356231]

found in 4.1 and in 4.2.0 20060304
not found in 3.4, 4.0


falk@juist:/src/delta/bin% cat mini.c
int printf(const char *format, ...);
extern const char help_string[];
void app_opts(void) {
    printf("%s", help_string);
}
const char help_string[] = "foo\n";

falk@juist:/src/delta/bin% gcc -c mini.c
falk@juist:/src/delta/bin% gcc -c mini.c -O
mini.c: In function 'app_opts':
mini.c:6: internal compiler error: in op_iter_init, at tree-flow-inline.h:1036
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

------- Comment #1 From Andrew Pinski 2006-03-14 00:15 -------
Hmm, The problem is really we are looking at the VOPS pre going into SSA in
set_rhs.
That seems wrong.

------- Comment #2 From Richard Guenther 2006-03-14 10:33 -------
Right.  I have a patch.

------- Comment #3 From Richard Guenther 2006-03-14 12:50 -------
Subject: Bug 26672

Author: rguenth
Date: Tue Mar 14 12:50:10 2006
New Revision: 112050

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112050
Log:
2006-03-14  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/26672
        * tree-ssa-propagate.c (set_rhs): Don't walk DEFs if not in
        SSA form.

        * gcc.dg/torture/pr26672.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr26672.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-propagate.c

------- Comment #4 From Richard Guenther 2006-03-14 13:30 -------
Subject: Bug 26672

Author: rguenth
Date: Tue Mar 14 13:30:08 2006
New Revision: 112051

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112051
Log:
2006-03-14  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/26672
        * tree-ssa-propagate.c (set_rhs): Don't walk DEFs if not in
        SSA form.

        * gcc.dg/torture/pr26672.c: New testcase.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/torture/pr26672.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/tree-ssa-propagate.c

------- Comment #5 From Richard Guenther 2006-03-14 13:30 -------
Fixed.

------- Comment #6 From patchapp@dberlin.org 2006-03-14 14:56 -------
Subject: Bug number PR26672

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-03/msg00841.html

First Last Prev Next    No search results available      Search page      Enter new bug