public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/26672]  New: ICE in op_iter_init, triggered by printf->puts optimization
@ 2006-03-14  0:09 debian-gcc at lists dot debian dot org
  2006-03-14  0:15 ` [Bug tree-optimization/26672] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-03-14  0:09 UTC (permalink / raw)
  To: gcc-bugs

[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.


-- 
           Summary: ICE in op_iter_init, triggered by printf->puts
                    optimization
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26672


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/26672] [4.1/4.2 Regression] ICE in op_iter_init, triggered by printf->puts optimization
  2006-03-14  0:09 [Bug middle-end/26672] New: ICE in op_iter_init, triggered by printf->puts optimization debian-gcc at lists dot debian dot org
@ 2006-03-14  0:15 ` pinskia at gcc dot gnu dot org
  2006-03-14 10:33 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-14  0:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  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.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
          Component|middle-end                  |tree-optimization
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2006-03-14 00:15:48
               date|                            |
            Summary|ICE in op_iter_init,        |[4.1/4.2 Regression] ICE in
                   |triggered by printf->puts   |op_iter_init, triggered by
                   |optimization                |printf->puts optimization
   Target Milestone|---                         |4.1.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26672


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/26672] [4.1/4.2 Regression] ICE in op_iter_init, triggered by printf->puts optimization
  2006-03-14  0:09 [Bug middle-end/26672] New: ICE in op_iter_init, triggered by printf->puts optimization debian-gcc at lists dot debian dot org
  2006-03-14  0:15 ` [Bug tree-optimization/26672] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-03-14 10:33 ` rguenth at gcc dot gnu dot org
  2006-03-14 12:50 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-03-14 10:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2006-03-14 10:33 -------
Right.  I have a patch.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-03-14 00:15:48         |2006-03-14 10:33:27
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26672


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/26672] [4.1/4.2 Regression] ICE in op_iter_init, triggered by printf->puts optimization
  2006-03-14  0:09 [Bug middle-end/26672] New: ICE in op_iter_init, triggered by printf->puts optimization debian-gcc at lists dot debian dot org
  2006-03-14  0:15 ` [Bug tree-optimization/26672] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
  2006-03-14 10:33 ` rguenth at gcc dot gnu dot org
@ 2006-03-14 12:50 ` rguenth at gcc dot gnu dot org
  2006-03-14 13:30 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-03-14 12:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26672


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/26672] [4.1/4.2 Regression] ICE in op_iter_init, triggered by printf->puts optimization
  2006-03-14  0:09 [Bug middle-end/26672] New: ICE in op_iter_init, triggered by printf->puts optimization debian-gcc at lists dot debian dot org
                   ` (3 preceding siblings ...)
  2006-03-14 13:30 ` rguenth at gcc dot gnu dot org
@ 2006-03-14 13:30 ` rguenth at gcc dot gnu dot org
  2006-03-14 14:56 ` patchapp at dberlin dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-03-14 13:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2006-03-14 13:30 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26672


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/26672] [4.1/4.2 Regression] ICE in op_iter_init, triggered by printf->puts optimization
  2006-03-14  0:09 [Bug middle-end/26672] New: ICE in op_iter_init, triggered by printf->puts optimization debian-gcc at lists dot debian dot org
                   ` (2 preceding siblings ...)
  2006-03-14 12:50 ` rguenth at gcc dot gnu dot org
@ 2006-03-14 13:30 ` rguenth at gcc dot gnu dot org
  2006-03-14 13:30 ` rguenth at gcc dot gnu dot org
  2006-03-14 14:56 ` patchapp at dberlin dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-03-14 13:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26672


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/26672] [4.1/4.2 Regression] ICE in op_iter_init, triggered by printf->puts optimization
  2006-03-14  0:09 [Bug middle-end/26672] New: ICE in op_iter_init, triggered by printf->puts optimization debian-gcc at lists dot debian dot org
                   ` (4 preceding siblings ...)
  2006-03-14 13:30 ` rguenth at gcc dot gnu dot org
@ 2006-03-14 14:56 ` patchapp at dberlin dot org
  5 siblings, 0 replies; 7+ messages in thread
From: patchapp at dberlin dot org @ 2006-03-14 14:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from patchapp at dberlin dot 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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26672


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-03-14 14:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-14  0:09 [Bug middle-end/26672] New: ICE in op_iter_init, triggered by printf->puts optimization debian-gcc at lists dot debian dot org
2006-03-14  0:15 ` [Bug tree-optimization/26672] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-03-14 10:33 ` rguenth at gcc dot gnu dot org
2006-03-14 12:50 ` rguenth at gcc dot gnu dot org
2006-03-14 13:30 ` rguenth at gcc dot gnu dot org
2006-03-14 13:30 ` rguenth at gcc dot gnu dot org
2006-03-14 14:56 ` patchapp at dberlin dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).