public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/57457] New: cilk tests ICE in c-array-notation.c (is_cilkplus_reduce_builtin) on mips*-*-*
@ 2013-05-29 18:15 sje at gcc dot gnu.org
  2013-05-31  8:49 ` [Bug c/57457] [4.9 Regression] " rguenth at gcc dot gnu.org
  2013-10-30 12:33 ` rguenth at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: sje at gcc dot gnu.org @ 2013-05-29 18:15 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57457
           Summary: cilk tests ICE in c-array-notation.c
                    (is_cilkplus_reduce_builtin) on mips*-*-*
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sje at gcc dot gnu.org

Created attachment 30217
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30217&action=edit
Test case to reproduce error

A number of cilk tests fail on mips*-*-* due to an ICE.  The ICE happens when
processing the bsearch function from the system include files and is because
we call is_cilkplus_reduce_builtin with a NULL tree.  I am not sure if
is_cilkplus_reduce_builtin should be checking for NULL or if the fact that it
is called with a NULL tree is the problem.

Failure:

mips-mti-linux-gnu-gcc -c -O1 -fcilkplus y.c
y.c: In function 'bsearch':
y.c:19:7: internal compiler error: Segmentation fault
       __comparison = (*__compar) (__key, __p);
       ^
0x904fc5 crash_signal
    /local/home/sellcey/gcc/cilk/src/gcc/gcc/toplev.c:333
0x5176d4 is_cilkplus_reduce_builtin(tree_node*)
    /local/home/sellcey/gcc/cilk/src/gcc/gcc/c/c-array-notation.c:143
0x4f6ca6 convert_arguments
    /local/home/sellcey/gcc/cilk/src/gcc/gcc/c/c-typeck.c:2969
0x4f7e8c build_function_call_vec(unsigned int, tree_node*, vec<tree_node*,
va_gc, vl_embed>*, vec<tree_node*, va_gc, vl_embed>*)
    /local/home/sellcey/gcc/cilk/src/gcc/gcc/c/c-typeck.c:2786
0x56db44 c_common_parse_file()
    /local/home/sellcey/gcc/cilk/src/gcc/gcc/c-family/c-opts.c:1046
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.


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

* [Bug c/57457] [4.9 Regression] cilk tests ICE in c-array-notation.c (is_cilkplus_reduce_builtin) on mips*-*-*
  2013-05-29 18:15 [Bug c/57457] New: cilk tests ICE in c-array-notation.c (is_cilkplus_reduce_builtin) on mips*-*-* sje at gcc dot gnu.org
@ 2013-05-31  8:49 ` rguenth at gcc dot gnu.org
  2013-10-30 12:33 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-05-31  8:49 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bviyer at gmail dot com
            Version|unknown                     |4.9.0
   Target Milestone|---                         |4.9.0
            Summary|cilk tests ICE in           |[4.9 Regression] cilk tests
                   |c-array-notation.c          |ICE in c-array-notation.c
                   |(is_cilkplus_reduce_builtin |(is_cilkplus_reduce_builtin
                   |) on mips*-*-*              |) on mips*-*-*


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

* [Bug c/57457] [4.9 Regression] cilk tests ICE in c-array-notation.c (is_cilkplus_reduce_builtin) on mips*-*-*
  2013-05-29 18:15 [Bug c/57457] New: cilk tests ICE in c-array-notation.c (is_cilkplus_reduce_builtin) on mips*-*-* sje at gcc dot gnu.org
  2013-05-31  8:49 ` [Bug c/57457] [4.9 Regression] " rguenth at gcc dot gnu.org
@ 2013-10-30 12:33 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-30 12:33 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think fixed.


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

end of thread, other threads:[~2013-10-30 12:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-29 18:15 [Bug c/57457] New: cilk tests ICE in c-array-notation.c (is_cilkplus_reduce_builtin) on mips*-*-* sje at gcc dot gnu.org
2013-05-31  8:49 ` [Bug c/57457] [4.9 Regression] " rguenth at gcc dot gnu.org
2013-10-30 12:33 ` rguenth at gcc dot gnu.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).