public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/64375] New: m32c ICE building newlib in calls.cL3638
@ 2014-12-22 15:12 joel at gcc dot gnu.org
  2015-07-28 22:27 ` [Bug target/64375] " yselkowi at redhat dot com
  2021-08-16  7:47 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: joel at gcc dot gnu.org @ 2014-12-22 15:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64375

            Bug ID: 64375
           Summary: m32c ICE building newlib in calls.cL3638
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: joel at gcc dot gnu.org

Created attachment 34312
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34312&action=edit
Preprocessed fopencookie.c from newlib

xgcc (GCC) 5.0.0 20141221 (experimental)

This appears to be completely independent of optimization. It fails at O[012s]
if -mcpum32cm is included.

/users/joel/test-gcc/b-m32c-rtems4.11-gcc/./gcc/xgcc
-B/users/joel/test-gcc/b-m32c-rtems4.11-gcc/./gcc/ -c -Os -mcpu=m32cm f.c

/users/joel/test-gcc/b-m32c-rtems4.11-gcc/./gcc/xgcc
-B/users/joel/test-gcc/b-m32c-rtems4.11-gcc/./gcc/ -nostdinc
-B/users/joel/test-gcc/b-m32c-rtems4.11-gcc/m32c-rtems4.11/m32cm/newlib/
-isystem
/users/joel/test-gcc/b-m32c-rtems4.11-gcc/m32c-rtems4.11/m32cm/newlib/targ-include
-isystem /users/joel/test-gcc/gcc/newlib/libc/include
-B/users/joel/test-gcc/install-head/m32c-rtems4.11/bin/
-B/users/joel/test-gcc/install-head/m32c-rtems4.11/lib/ -isystem
/users/joel/test-gcc/install-head/m32c-rtems4.11/include -isystem
/users/joel/test-gcc/install-head/m32c-rtems4.11/sys-include  -mcpu=m32cm
-DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
-DPACKAGE_VERSION=\"2.2.0\" -DPACKAGE_STRING=\"newlib\ 2.2.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I.
-I../../../../../../gcc/newlib/libc/stdio -Os -DPREFER_SIZE_OVER_SPEED
-DSMALL_MEMORY -D_COMPILING_NEWLIB -DMALLOC_PROVIDED -DEXIT_PROVIDED
-DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE
-DHAVE_FCNTL -DHAVE_ASSERT_FUNC -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT
-D_NO_GETPASS -D_NO_SIGSET -D_NO_WORDEXP -D_NO_POPEN -D_NO_POSIX_SPAWN
-fno-builtin      -g -O2 -c -o lib_a-fopencookie.o `test -f 'fopencookie.c' ||
echo '../../../../../../gcc/newlib/libc/stdio/'`fopencookie.c
../../../../../../gcc/newlib/libc/stdio/fopencookie.c: In function
'fopencookie':
../../../../../../gcc/newlib/libc/stdio/fopencookie.c:260:10: internal compiler
error: in expand_call, at calls.c:3638
   return _fopencookie_r (_REENT, cookie, mode, functions);
          ^
0x558859 expand_call(tree_node*, rtx_def*, int)
    ../../gcc/gcc/calls.c:3638
0x64ac10 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
    ../../gcc/gcc/expr.c:10474
0x656c2c store_expr_with_bounds(tree_node*, rtx_def*, int, bool, tree_node*)
    ../../gcc/gcc/expr.c:5368
0x65e23e expand_assignment(tree_node*, tree_node*, bool)
    ../../gcc/gcc/expr.c:5137
0x5655a6 expand_call_stmt
    ../../gcc/gcc/cfgexpand.c:2345
0x5655a6 expand_gimple_stmt_1
    ../../gcc/gcc/cfgexpand.c:3293
0x5655a6 expand_gimple_stmt
    ../../gcc/gcc/cfgexpand.c:3447
0x56b651 expand_gimple_tailcall
    ../../gcc/gcc/cfgexpand.c:3494
0x56b651 expand_gimple_basic_block
    ../../gcc/gcc/cfgexpand.c:5257
0x56cdce execute
    ../../gcc/gcc/cfgexpand.c:5889
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.
make: *** [lib_a-fopencookie.o] Error 1


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

* [Bug target/64375] m32c ICE building newlib in calls.cL3638
  2014-12-22 15:12 [Bug target/64375] New: m32c ICE building newlib in calls.cL3638 joel at gcc dot gnu.org
@ 2015-07-28 22:27 ` yselkowi at redhat dot com
  2021-08-16  7:47 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: yselkowi at redhat dot com @ 2015-07-28 22:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64375

Yaakov Selkowitz <yselkowi at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yselkowi at redhat dot com

--- Comment #1 from Yaakov Selkowitz <yselkowi at redhat dot com> ---
Ditto for 5.2.0 m32c-elf at calls.c:3681.


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

* [Bug target/64375] m32c ICE building newlib in calls.cL3638
  2014-12-22 15:12 [Bug target/64375] New: m32c ICE building newlib in calls.cL3638 joel at gcc dot gnu.org
  2015-07-28 22:27 ` [Bug target/64375] " yselkowi at redhat dot com
@ 2021-08-16  7:47 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-16  7:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64375

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 64546.

*** This bug has been marked as a duplicate of bug 64546 ***

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

end of thread, other threads:[~2021-08-16  7:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-22 15:12 [Bug target/64375] New: m32c ICE building newlib in calls.cL3638 joel at gcc dot gnu.org
2015-07-28 22:27 ` [Bug target/64375] " yselkowi at redhat dot com
2021-08-16  7:47 ` pinskia 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).