public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "aph at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/60667] Undefined behavior in Java FE
Date: Wed, 26 Mar 2014 09:27:00 -0000	[thread overview]
Message-ID: <bug-60667-8172-5W1v6VWd3q@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-60667-8172@http.gcc.gnu.org/bugzilla/>

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

Andrew Haley <aph at redhat dot com> changed:

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

--- Comment #2 from Andrew Haley <aph at redhat dot com> ---
I can't investigate this with today's trunk, because it does not build with
ubsan:

i386 /scratch/gcc/configure --with-build-config=bootstrap-ubsan
--enable-languages=java


/scratch/gcc/obj-i686-pc-linux-gnu/./prev-gcc/xg++
-B/scratch/gcc/obj-i686-pc-linux-gnu/./prev-gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -nostdinc++
-B/scratch/gcc/obj-i686-pc-linux-gnu/prev-i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/scratch/gcc/obj-i686-pc-linux-gnu/prev-i686-pc-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/scratch/gcc/obj-i686-pc-linux-gnu/prev-i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu

-I/scratch/gcc/obj-i686-pc-linux-gnu/prev-i686-pc-linux-gnu/libstdc++-v3/include
 -I/scratch/gcc/libstdc++-v3/libsupc++
-L/scratch/gcc/obj-i686-pc-linux-gnu/prev-i686-pc-linux-gnu/libstdc++-v3/src/.libs
-L/scratch/gcc/obj-i686-pc-linux-gnu/prev-i686-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-c   -g -O2 -fsanitize=undefined -DIN_GCC    -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common 
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/scratch/gcc/gcc
-I/scratch/gcc/gcc/build -I/scratch/gcc/gcc/../include 
-I/scratch/gcc/gcc/../libcpp/include  \
    -o build/read-rtl.o /scratch/gcc/gcc/read-rtl.c
/scratch/gcc/gcc/read-rtl.c: In function 'bool read_rtx(const char*,
rtx_def**)':
/scratch/gcc/gcc/read-rtl.c:1031:1: internal compiler error: Segmentation fault
 read_rtx (const char *rtx_name, rtx *x)
 ^
0xda18f2 crash_signal
    /scratch/gcc/gcc/toplev.c:337
0x5ea774 contains_struct_check(tree_node*, tree_node_structure_enum, char
const*, int, char const*)
    /scratch/gcc/gcc/tree.h:2826
0xd9282f place_field(record_layout_info_s*, tree_node*)
    /scratch/gcc/gcc/stor-layout.c:1076
0xd98085 layout_type(tree_node*)
    /scratch/gcc/gcc/stor-layout.c:2292
0xdc4480 ubsan_create_data(char const*, unsigned int, ubsan_mismatch_data
const*, ...)
    /scratch/gcc/gcc/ubsan.c:465
0xdc4829 ubsan_instrument_unreachable(unsigned int)
    /scratch/gcc/gcc/ubsan.c:517
0x92d8cb fold_builtin_0
    /scratch/gcc/gcc/builtins.c:10306
0x93022c fold_builtin_n
    /scratch/gcc/gcc/builtins.c:11111
0x93a145 fold_call_stmt(gimple_statement_base*, bool)
    /scratch/gcc/gcc/builtins.c:14251
0xb2690b gimple_fold_builtin(gimple_statement_base*)
    /scratch/gcc/gcc/gimple-fold.c:888
0xb27967 gimple_fold_call
    /scratch/gcc/gcc/gimple-fold.c:1179
0xb27d6d fold_stmt_1
    /scratch/gcc/gcc/gimple-fold.c:1258
0xb282fb fold_stmt(gimple_stmt_iterator*)
    /scratch/gcc/gcc/gimple-fold.c:1366
0xe2140c fold_marked_statements
    /scratch/gcc/gcc/tree-inline.c:4497
0xe2188e optimize_inline_calls(tree_node*)
    /scratch/gcc/gcc/tree-inline.c:4622
0x1492868 inline_transform(cgraph_node*)
    /scratch/gcc/gcc/ipa-inline-transform.c:453
0xcb73f0 execute_one_ipa_transform_pass
    /scratch/gcc/gcc/passes.c:2066
0xcb7557 execute_all_ipa_transforms()
    /scratch/gcc/gcc/passes.c:2107
0x9951c4 expand_function
    /scratch/gcc/gcc/cgraphunit.c:1767
0x9957e1 expand_all_functions
    /scratch/gcc/gcc/cgraphunit.c:1908
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[3]: *** [build/read-rtl.o] Error 1
make[3]: Leaving directory `/scratch/gcc/obj-i686-pc-linux-gnu/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/scratch/gcc/obj-i686-pc-linux-gnu'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/scratch/gcc/obj-i686-pc-linux-gnu'
make: *** [all] Error 2


  parent reply	other threads:[~2014-03-26  9:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-26  8:45 [Bug java/60667] New: " jakub at gcc dot gnu.org
2014-03-26  8:47 ` [Bug java/60667] " jakub at gcc dot gnu.org
2014-03-26  9:27 ` aph at redhat dot com [this message]
2014-03-28 15:11 ` aph at gcc dot gnu.org
2014-03-28 15:35 ` jakub at gcc dot gnu.org
2014-03-28 15:36 ` aph at gcc dot gnu.org
2014-03-28 16:06 ` jakub at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-60667-8172-5W1v6VWd3q@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).