public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/41163]  New: verify_gimple fails
@ 2009-08-25 13:33 hideaki at sogetthis dot com
  2009-08-25 13:36 ` [Bug c/41163] " hideaki at sogetthis dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: hideaki at sogetthis dot com @ 2009-08-25 13:33 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1744 bytes --]

Attached .i file throws

--------------
$ gcc -c grep.i
grep.i: In function ‘cmd_grep’:
grep.i:9236:5: error: type mismatch in address expression
struct option[<unknown>] *

struct option[41] *

options.0 = &options;

grep.i:9236:5: internal compiler error: verify_gimple failed
Please submit a full bug report,
with preprocessed source if appropriate.
--------------

Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=yes
--with-gxx-include-dir=/usr/include/c++/4.5 --enable-ssp --disable-libssp
--disable-plugin --with-bugurl=http://bugs.opensuse.org/
--with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap
--with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --program-suffix=-4.5
--enable-linux-futex --without-system-libunwind --with-arch-32=i586
--with-tune=generic --build=i586-suse-linux
Thread model: posix
gcc version 4.5.0 20090820 (experimental) [trunk revision 150958] (SUSE Linux)


-- 
           Summary: verify_gimple fails
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hideaki at sogetthis dot com
 GCC build triplet: i586-suse-linux/x86_64-suse-linux
  GCC host triplet: i586-suse-linux/x86_64-suse-linux
GCC target triplet: i586-suse-linux/x86_64-suse-linux


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


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

* [Bug c/41163] verify_gimple fails
  2009-08-25 13:33 [Bug c/41163] New: verify_gimple fails hideaki at sogetthis dot com
@ 2009-08-25 13:36 ` hideaki at sogetthis dot com
  2009-08-25 15:31 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hideaki at sogetthis dot com @ 2009-08-25 13:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hideaki at sogetthis dot com  2009-08-25 13:36 -------
Created an attachment (id=18422)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18422&action=view)
testcase


-- 


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


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

* [Bug c/41163] verify_gimple fails
  2009-08-25 13:33 [Bug c/41163] New: verify_gimple fails hideaki at sogetthis dot com
  2009-08-25 13:36 ` [Bug c/41163] " hideaki at sogetthis dot com
@ 2009-08-25 15:31 ` rguenth at gcc dot gnu dot org
  2009-08-25 15:38 ` [Bug c/41163] [4.5 Regression] " rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-25 15:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-08-25 15:31 -------
Reducing.


-- 


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


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

* [Bug c/41163] [4.5 Regression] verify_gimple fails
  2009-08-25 13:33 [Bug c/41163] New: verify_gimple fails hideaki at sogetthis dot com
  2009-08-25 13:36 ` [Bug c/41163] " hideaki at sogetthis dot com
  2009-08-25 15:31 ` rguenth at gcc dot gnu dot org
@ 2009-08-25 15:38 ` rguenth at gcc dot gnu dot org
  2009-08-25 15:43 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-25 15:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2009-08-25 15:37 -------
Confirmed.

struct option {
    void *value;
};
void parse_options (struct option *);
void cmd_grep(void)
{
    struct option options[] = { { &options } };
    parse_options(options);
}


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|i586-suse-linux/x86_64-suse-|
                   |linux                       |
   GCC host triplet|i586-suse-linux/x86_64-suse-|
                   |linux                       |
 GCC target triplet|i586-suse-linux/x86_64-suse-|
                   |linux                       |
           Keywords|                            |ice-checking, ice-on-valid-
                   |                            |code
   Last reconfirmed|0000-00-00 00:00:00         |2009-08-25 15:37:51
               date|                            |
            Summary|verify_gimple fails         |[4.5 Regression]
                   |                            |verify_gimple fails
   Target Milestone|---                         |4.5.0


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


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

* [Bug c/41163] [4.5 Regression] verify_gimple fails
  2009-08-25 13:33 [Bug c/41163] New: verify_gimple fails hideaki at sogetthis dot com
                   ` (2 preceding siblings ...)
  2009-08-25 15:38 ` [Bug c/41163] [4.5 Regression] " rguenth at gcc dot gnu dot org
@ 2009-08-25 15:43 ` rguenth at gcc dot gnu dot org
  2009-08-26 13:23 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-25 15:43 UTC (permalink / raw)
  To: gcc-bugs



-- 

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|2009-08-25 15:37:51         |2009-08-25 15:43:22
               date|                            |


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


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

* [Bug c/41163] [4.5 Regression] verify_gimple fails
  2009-08-25 13:33 [Bug c/41163] New: verify_gimple fails hideaki at sogetthis dot com
                   ` (3 preceding siblings ...)
  2009-08-25 15:43 ` rguenth at gcc dot gnu dot org
@ 2009-08-26 13:23 ` rguenth at gcc dot gnu dot org
  2009-08-26 14:05 ` rguenth at gcc dot gnu dot org
  2009-08-30  2:07 ` hjl at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-26 13:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2009-08-26 13:23 -------
Subject: Bug 41163

Author: rguenth
Date: Wed Aug 26 13:23:04 2009
New Revision: 151122

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151122
Log:
2009-08-26  Richard Guenther  <rguenther@suse.de>

        PR middle-end/41163
        * gimplify.c (gimplify_addr_expr): Canonicalize ADDR_EXPRs if
        the types to not match.
        * tree-cfg.c (verify_gimple_assign_single): Adjust ADDR_EXPR
        verification.
        * tree-ssa.c (useless_type_conversion_p): Conversions to
        pointers to unprototyped functions are useless.

        * gcc.c-torture/compile/pr41163.c: New testcase.
        * gcc.dg/pr35899.c: Adjust.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr41163.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/pr35899.c
    trunk/gcc/tree-cfg.c
    trunk/gcc/tree-ssa.c


-- 


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


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

* [Bug c/41163] [4.5 Regression] verify_gimple fails
  2009-08-25 13:33 [Bug c/41163] New: verify_gimple fails hideaki at sogetthis dot com
                   ` (4 preceding siblings ...)
  2009-08-26 13:23 ` rguenth at gcc dot gnu dot org
@ 2009-08-26 14:05 ` rguenth at gcc dot gnu dot org
  2009-08-30  2:07 ` hjl at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-26 14:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2009-08-26 14:05 -------
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=41163


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

* [Bug c/41163] [4.5 Regression] verify_gimple fails
  2009-08-25 13:33 [Bug c/41163] New: verify_gimple fails hideaki at sogetthis dot com
                   ` (5 preceding siblings ...)
  2009-08-26 14:05 ` rguenth at gcc dot gnu dot org
@ 2009-08-30  2:07 ` hjl at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: hjl at gcc dot gnu dot org @ 2009-08-30  2:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hjl at gcc dot gnu dot org  2009-08-30 02:07 -------
Subject: Bug 41163

Author: hjl
Date: Sun Aug 30 02:06:32 2009
New Revision: 151218

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151218
Log:
2009-08-29  H.J. Lu  <hongjiu.lu@intel.com>

        Backport from mainline:
        2009-08-26  H.J. Lu  <hongjiu.lu@intel.com>

        PR fortran/41162
        * gfortran.dg/pr41162.f: New.

        2009-08-26  Richard Guenther  <rguenther@suse.de>

        PR middle-end/41163
        * gcc.c-torture/compile/pr41163.c: New testcase.

        2009-08-25  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/41139
        * gfortran.dg/proc_ptr_25.f90: New.
        * gfortran.dg/proc_ptr_comp_18.f90: New.
        * gfortran.dg/proc_ptr_comp_19.f90: New.

        2009-08-20  Michael Matz  <matz@suse.de>

        PR fortran/41126
        * gfortran.dg/pr41126.f90: New test.

        2009-08-20  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/41121
        * gfortran.dg/intrinsic_5.f90: New.

        2009-08-19  Jason Merrill  <jason@redhat.com>

        PR c++/41120
        * g++.dg/other/gc4.C: New.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/other/gc4.C
      - copied unchanged from r151217, trunk/gcc/testsuite/g++.dg/other/gc4.C
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr41163.c
      - copied unchanged from r151217,
trunk/gcc/testsuite/gcc.c-torture/compile/pr41163.c
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/intrinsic_5.f90
      - copied unchanged from r151217,
trunk/gcc/testsuite/gfortran.dg/intrinsic_5.f90
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/pr41126.f90
      - copied unchanged from r151217,
trunk/gcc/testsuite/gfortran.dg/pr41126.f90
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/pr41162.f
      - copied unchanged from r151216,
trunk/gcc/testsuite/gfortran.dg/pr41162.f
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/proc_ptr_25.f90
      - copied unchanged from r151217,
trunk/gcc/testsuite/gfortran.dg/proc_ptr_25.f90
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/proc_ptr_comp_18.f90
      - copied unchanged from r151217,
trunk/gcc/testsuite/gfortran.dg/proc_ptr_comp_18.f90
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/proc_ptr_comp_19.f90
      - copied unchanged from r151217,
trunk/gcc/testsuite/gfortran.dg/proc_ptr_comp_19.f90
Modified:
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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


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

end of thread, other threads:[~2009-08-30  2:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-25 13:33 [Bug c/41163] New: verify_gimple fails hideaki at sogetthis dot com
2009-08-25 13:36 ` [Bug c/41163] " hideaki at sogetthis dot com
2009-08-25 15:31 ` rguenth at gcc dot gnu dot org
2009-08-25 15:38 ` [Bug c/41163] [4.5 Regression] " rguenth at gcc dot gnu dot org
2009-08-25 15:43 ` rguenth at gcc dot gnu dot org
2009-08-26 13:23 ` rguenth at gcc dot gnu dot org
2009-08-26 14:05 ` rguenth at gcc dot gnu dot org
2009-08-30  2:07 ` hjl 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).