public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12649] New: ICE building winsup
@ 2003-10-16 19:27 green at redhat dot com
  2003-10-16 19:29 ` [Bug c++/12649] " green at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: green at redhat dot com @ 2003-10-16 19:27 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: ICE building winsup
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: green at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-cygwin

This ICE was discovered while building a cygwin cross compiler, however, the
compiler crashes in the same place on the preprocessed source with a native
Linux x86 toolchain.  I'll upload the preprocessed source.

$ g++ --version
g++ (GCC) 3.5-tree-ssa 20031016 (merged 20031005)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
$ g++ -O1 -S spawn.ii
../../../../src/HEAD-2003-10-16/winsup/cygwin/spawn.cc: In function `const char*
find_exec(const char*, path_conv&, const char*, unsigned int, const char**)':
../../../../src/HEAD-2003-10-16/winsup/cygwin/spawn.cc:87: internal compiler
error: in optimize_function_tree, at tree-optimize.c:154
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug c++/12649] ICE building winsup
  2003-10-16 19:27 [Bug c++/12649] New: ICE building winsup green at redhat dot com
@ 2003-10-16 19:29 ` green at redhat dot com
  2003-10-16 19:54 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: green at redhat dot com @ 2003-10-16 19:29 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From green at redhat dot com  2003-10-16 19:29 -------
Created an attachment (id=4948)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4948&action=view)
Preprocessed source for test case.


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

* [Bug c++/12649] ICE building winsup
  2003-10-16 19:27 [Bug c++/12649] New: ICE building winsup green at redhat dot com
  2003-10-16 19:29 ` [Bug c++/12649] " green at redhat dot com
@ 2003-10-16 19:54 ` pinskia at gcc dot gnu dot org
  2003-10-16 23:29 ` [Bug optimization/12649] [tree-ssa] ICE in optimize_function_tree, at tree-optimize.c:154 reichelt at gcc dot gnu dot org
  2003-10-17 14:09 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-16 19:54 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |tree-ssa


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

* [Bug optimization/12649] [tree-ssa] ICE in optimize_function_tree, at tree-optimize.c:154
  2003-10-16 19:27 [Bug c++/12649] New: ICE building winsup green at redhat dot com
  2003-10-16 19:29 ` [Bug c++/12649] " green at redhat dot com
  2003-10-16 19:54 ` pinskia at gcc dot gnu dot org
@ 2003-10-16 23:29 ` reichelt at gcc dot gnu dot org
  2003-10-17 14:09 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-10-16 23:29 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|c++                         |optimization
     Ever Confirmed|                            |1
  GCC build triplet|i686-pc-linux-gnu           |
 GCC target triplet|i686-pc-cygwin              |
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2003-10-16 23:29:26
               date|                            |
            Summary|ICE building winsup         |[tree-ssa] ICE in
                   |                            |optimize_function_tree, at
                   |                            |tree-optimize.c:154


------- Additional Comments From reichelt at gcc dot gnu dot org  2003-10-16 23:29 -------
Here's a reduced testcase that crashes cc1plus as well as cc1:

=================================
char* foo(char**);

void bar()
{
    char ar[1], *p, *q;

    p = foo (&q);
    if (p == ar) *p = 0;
}
=================================

According to Phil's regression tester the bug was introduced
between 2003-10-12-ssa (#106) and 2003-10-13-ssa (#107).

Because the bug has nothing to do with cygwin, I removed target
and build triples.


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

* [Bug optimization/12649] [tree-ssa] ICE in optimize_function_tree, at tree-optimize.c:154
  2003-10-16 19:27 [Bug c++/12649] New: ICE building winsup green at redhat dot com
                   ` (2 preceding siblings ...)
  2003-10-16 23:29 ` [Bug optimization/12649] [tree-ssa] ICE in optimize_function_tree, at tree-optimize.c:154 reichelt at gcc dot gnu dot org
@ 2003-10-17 14:09 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-10-17 14:09 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


reichelt at gcc dot gnu dot org changed:

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


------- Additional Comments From reichelt at gcc dot gnu dot org  2003-10-17 14:04 -------
Apparently fixed.


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

end of thread, other threads:[~2003-10-17 14:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-16 19:27 [Bug c++/12649] New: ICE building winsup green at redhat dot com
2003-10-16 19:29 ` [Bug c++/12649] " green at redhat dot com
2003-10-16 19:54 ` pinskia at gcc dot gnu dot org
2003-10-16 23:29 ` [Bug optimization/12649] [tree-ssa] ICE in optimize_function_tree, at tree-optimize.c:154 reichelt at gcc dot gnu dot org
2003-10-17 14:09 ` reichelt at gcc dot gnu 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).