This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/58088] New: ICE in gcc.c


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

            Bug ID: 58088
           Summary: ICE in gcc.c
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ishiura-compiler at ml dot kwansei.ac.jp

GCC 4.9.0 ICEs on the following code. (i686 and x86_64)

  $ cat error.c

  int main (void)
  {
    int x = 0;
    int y = 127 | ( 128 & ( 2 * x ));

    return 0;
  }

  $ i686-pc-linux-gnu-gcc-4.9.0 error.c

  i686-pc-linux-gnu-gcc-4.9.0: internal compiler error: Segmentation
fault (program cc1)
  0x8053b4e execute
    ../../../../../gcc/gcc/gcc.c:2824
  0x8053e1a do_spec_1
    ../../../../../gcc/gcc/gcc.c:4616
  0x80565bd process_brace_body
    ../../../../../gcc/gcc/gcc.c:5873
  0x80565bd handle_braces
    ../../../../../gcc/gcc/gcc.c:5787
  0x8054a2a do_spec_1
    ../../../../../gcc/gcc/gcc.c:5270
  0x80565bd process_brace_body
    ../../../../../gcc/gcc/gcc.c:5873
  0x80565bd handle_braces
    ../../../../../gcc/gcc/gcc.c:5787
  0x8054a2a do_spec_1
    ../../../../../gcc/gcc/gcc.c:5270
  0x805414e do_spec_1
    ../../../../../gcc/gcc/gcc.c:5375
  0x80565bd process_brace_body
    ../../../../../gcc/gcc/gcc.c:5873
  0x80565bd handle_braces
    ../../../../../gcc/gcc/gcc.c:5787
  0x8054a2a do_spec_1
    ../../../../../gcc/gcc/gcc.c:5270
  0x80565bd process_brace_body
    ../../../../../gcc/gcc/gcc.c:5873
  0x80565bd handle_braces
    ../../../../../gcc/gcc/gcc.c:5787
  0x8054a2a do_spec_1
    ../../../../../gcc/gcc/gcc.c:5270
  0x80565bd process_brace_body
    ../../../../../gcc/gcc/gcc.c:5873
  0x80565bd handle_braces
    ../../../../../gcc/gcc/gcc.c:5787
  0x8054a2a do_spec_1
    ../../../../../gcc/gcc/gcc.c:5270
  0x80565bd process_brace_body
    ../../../../../gcc/gcc/gcc.c:5873
  0x80565bd handle_braces
    ../../../../../gcc/gcc/gcc.c:5787
  Please submit a full bug report,
  with preprocessed source if appropriate.
  Please include the complete backtrace with any bug report.
  See <http://gcc.gnu.org/bugs.html> for instructions.

  $ i686-pc-linux-gnu-gcc-4.9.0 -v
  Using built-in specs.
  COLLECT_GCC=i686-pc-linux-gnu-gcc-4.9.0
 
COLLECT_LTO_WRAPPER=/usr/local/i686-tools/gcc-4.9.0/libexec/gcc/i686-pc-linux-gnu/4.9.0/lto-wrapper
  Target: i686-pc-linux-gnu
  Configured with: ../../../../gcc/configure
--prefix=/usr/local/i686-tools/gcc-4.9.0/
--with-gmp=/usr/local/gmp-5.1.1/ --with-mpfr=/usr/local/mpfr-3.1.2/
--with-mpc=/usr/local/mpc-1.0.1/ --disable-multilib --disable-nls
--enable-languages=c
  Thread model: posix
  gcc version 4.9.0 20130805 (experimental) (GCC)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]