public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/50665] New: [4.7 Regression] Bootstrap failure
@ 2011-10-08 17:12 hjl.tools at gmail dot com
2011-10-08 19:24 ` [Bug bootstrap/50665] " hjl.tools at gmail dot com
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: hjl.tools at gmail dot com @ 2011-10-08 17:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50665
Bug #: 50665
Summary: [4.7 Regression] Bootstrap failure
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: hjl.tools@gmail.com
On Linux/ia32, revision 179703 gave:
checking for stdlib.h... ../../src-trunk/libcpp/lex.c: In function 'const
uchar* search_line_sse42(const uchar*, const uchar*)':
../../src-trunk/libcpp/lex.c:466:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Revision 179695 is OK.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/50665] [4.7 Regression] Bootstrap failure
2011-10-08 17:12 [Bug bootstrap/50665] New: [4.7 Regression] Bootstrap failure hjl.tools at gmail dot com
@ 2011-10-08 19:24 ` hjl.tools at gmail dot com
2011-10-08 20:13 ` hjl.tools at gmail dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: hjl.tools at gmail dot com @ 2011-10-08 19:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50665
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2011-10-08 19:23:54 UTC ---
This may be another target optimization bug:
[hjl@gnu-1 prev-gcc]$ cat /tmp/x.i
const char *
__attribute__((__target__("ssse3")))
foo (const char *s)
{
return s;
}
[hjl@gnu-1 prev-gcc]$ ./xgcc -B./ -S /tmp/x.i -o /tmp/x.s
/tmp/x.i: In function \u2018foo\u2019:
/tmp/x.i:6:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-1 prev-gcc]$
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/50665] [4.7 Regression] Bootstrap failure
2011-10-08 17:12 [Bug bootstrap/50665] New: [4.7 Regression] Bootstrap failure hjl.tools at gmail dot com
2011-10-08 19:24 ` [Bug bootstrap/50665] " hjl.tools at gmail dot com
@ 2011-10-08 20:13 ` hjl.tools at gmail dot com
2011-10-08 22:49 ` hjl.tools at gmail dot com
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: hjl.tools at gmail dot com @ 2011-10-08 20:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50665
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-10-08 20:12:37 UTC ---
Program received signal SIGSEGV, Segmentation fault.
df_ref_create_structure (cl=DF_REF_ARTIFICIAL, collection_rec=0xffffd110,
reg=0xafafafaf, loc=0x0, bb=0xf7dae000, info=0x0, ref_type=DF_REF_REG_DEF,
ref_flags=0) at ../../src-trunk/gcc/df-scan.c:2755
2755 int regno = REGNO (GET_CODE (reg) == SUBREG ? SUBREG_REG (reg) :
reg);
Missing separate debuginfos, use: debuginfo-install glibc-2.14.90-9.1.f15.i686
gmp-4.3.2-3.fc15.i686 libgcc-4.6.0-10.fc15.i686
libmpc-0.8.3-0.3.svn855.fc15.i686 libstdc++-4.6.0-10.fc15.i686
mpfr-3.0.0-4.fc15.i686 zlib-1.2.5-3.fc15.i686
(gdb) bt
#0 df_ref_create_structure (cl=DF_REF_ARTIFICIAL, collection_rec=0xffffd110,
reg=0xafafafaf, loc=0x0, bb=0xf7dae000, info=0x0, ref_type=DF_REF_REG_DEF,
ref_flags=0) at ../../src-trunk/gcc/df-scan.c:2755
#1 0x0827c04c in df_ref_record (cl=DF_REF_ARTIFICIAL,
collection_rec=0xffffd110, reg=<optimized out>, loc=0x0, bb=0xf7dae000,
insn_info=0x0, ref_type=DF_REF_REG_DEF, ref_flags=0)
at ../../src-trunk/gcc/df-scan.c:2888
#2 0x0827c2ef in df_entry_block_defs_collect (collection_rec=0xffffd110,
entry_block_defs=<optimized out>) at ../../src-trunk/gcc/df-scan.c:3823
#3 0x0827c35c in df_record_entry_block_defs (entry_block_defs=0x8f2ea28)
at ../../src-trunk/gcc/df-scan.c:3839
#4 0x0827f7ec in df_scan_blocks () at ../../src-trunk/gcc/df-scan.c:670
#5 0x0826dc77 in rest_of_handle_df_initialize ()
at ../../src-trunk/gcc/df-core.c:738
#6 0x084990cc in execute_one_pass (pass=0x8d485c0)
at ../../src-trunk/gcc/passes.c:2064
#7 0x08499435 in execute_pass_list (pass=0x8d485c0)
at ../../src-trunk/gcc/passes.c:2119
#8 0x08499448 in execute_pass_list (pass=0x8d493c0)
at ../../src-trunk/gcc/passes.c:2120
#9 0x085af6d7 in tree_rest_of_compilation (fndecl=0xf7d7b580)
at ../../src-trunk/gcc/tree-optimize.c:420
#10 0x0825254f in cgraph_expand_function (node=0xf7ce83d8)
---Type <return> to continue, or q <return> to quit---
at ../../src-trunk/gcc/cgraphunit.c:1805
#11 0x08254733 in cgraph_output_in_order ()
at ../../src-trunk/gcc/cgraphunit.c:1962
#12 cgraph_optimize () at ../../src-trunk/gcc/cgraphunit.c:2136
#13 0x08254abf in cgraph_finalize_compilation_unit ()
at ../../src-trunk/gcc/cgraphunit.c:1312
#14 0x0812f650 in c_write_global_declarations ()
at ../../src-trunk/gcc/c-decl.c:9936
#15 0x0854432a in compile_file () at ../../src-trunk/gcc/toplev.c:581
#16 do_compile () at ../../src-trunk/gcc/toplev.c:1925
#17 toplev_main (argc=13, argv=0xffffd404) at ../../src-trunk/gcc/toplev.c:2001
#18 0x0811012b in main (argc=13, argv=0xffffd404)
at ../../src-trunk/gcc/main.c:36
(gdb)
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/50665] [4.7 Regression] Bootstrap failure
2011-10-08 17:12 [Bug bootstrap/50665] New: [4.7 Regression] Bootstrap failure hjl.tools at gmail dot com
2011-10-08 19:24 ` [Bug bootstrap/50665] " hjl.tools at gmail dot com
2011-10-08 20:13 ` hjl.tools at gmail dot com
@ 2011-10-08 22:49 ` hjl.tools at gmail dot com
2011-10-09 11:41 ` rguenth at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: hjl.tools at gmail dot com @ 2011-10-08 22:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50665
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at gcc dot gnu.org
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2011-10-08 22:49:14 UTC ---
[hjl@gnu-1 gcc]$ cat x.i
const char *
foo (const char *s)
{
return s;
}
[hjl@gnu-1 gcc]$ ./xgcc -B./ -S x.i -o /tmp/x.s -mssse3
x.i: In function \u2018foo\u2019:
x.i:5:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-1 gcc]$
Somehow
Continuing.
Hardware watchpoint 9: default_target_regs.x_hard_regno_nregs[31][DImode]
Old value = 1 '\001'
New value = 255 '\377'
init_all_optabs () at insn-opinit.c:1543
1543 set_direct_optab_handler (vec_perm_optab, V2DImode,
CODE_FOR_vec_permv2di);
overwrites default_target_regs.x_hard_regno_nregs[31][DImode].
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/50665] [4.7 Regression] Bootstrap failure
2011-10-08 17:12 [Bug bootstrap/50665] New: [4.7 Regression] Bootstrap failure hjl.tools at gmail dot com
` (2 preceding siblings ...)
2011-10-08 22:49 ` hjl.tools at gmail dot com
@ 2011-10-09 11:41 ` rguenth at gcc dot gnu.org
2011-10-10 12:48 ` doko at gcc dot gnu.org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-09 11:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50665
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.7.0
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/50665] [4.7 Regression] Bootstrap failure
2011-10-08 17:12 [Bug bootstrap/50665] New: [4.7 Regression] Bootstrap failure hjl.tools at gmail dot com
` (3 preceding siblings ...)
2011-10-09 11:41 ` rguenth at gcc dot gnu.org
@ 2011-10-10 12:48 ` doko at gcc dot gnu.org
2011-10-10 15:34 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: doko at gcc dot gnu.org @ 2011-10-10 12:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50665
Matthias Klose <doko at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |doko at gcc dot gnu.org
--- Comment #4 from Matthias Klose <doko at gcc dot gnu.org> 2011-10-10 12:47:41 UTC ---
seen as well on i686-linux-gnu. x86_64-linux-gnu builds fine
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/50665] [4.7 Regression] Bootstrap failure
2011-10-08 17:12 [Bug bootstrap/50665] New: [4.7 Regression] Bootstrap failure hjl.tools at gmail dot com
` (4 preceding siblings ...)
2011-10-10 12:48 ` doko at gcc dot gnu.org
@ 2011-10-10 15:34 ` rguenth at gcc dot gnu.org
2011-10-10 16:48 ` ubizjak at gmail dot com
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-10 15:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50665
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/50665] [4.7 Regression] Bootstrap failure
2011-10-08 17:12 [Bug bootstrap/50665] New: [4.7 Regression] Bootstrap failure hjl.tools at gmail dot com
` (5 preceding siblings ...)
2011-10-10 15:34 ` rguenth at gcc dot gnu.org
@ 2011-10-10 16:48 ` ubizjak at gmail dot com
2011-10-10 17:05 ` uros at gcc dot gnu.org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ubizjak at gmail dot com @ 2011-10-10 16:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50665
Uros Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2011-10-10
AssignedTo|unassigned at gcc dot |ubizjak at gmail dot com
|gnu.org |
Ever Confirmed|0 |1
--- Comment #5 from Uros Bizjak <ubizjak at gmail dot com> 2011-10-10 16:47:48 UTC ---
Ouch.
Index: optabs.h
===================================================================
--- optabs.h (revision 179754)
+++ optabs.h (working copy)
@@ -377,9 +377,6 @@
OTI_vec_pack_sfix_trunc,
OTI_vec_pack_ufix_trunc,
- /* Vector shuffling. */
- OTI_vec_perm,
-
/* Perform a raise to the power of integer. */
OTI_powi,
@@ -560,7 +557,6 @@
#define vec_pack_usat_optab (&optab_table[OTI_vec_pack_usat])
#define vec_pack_sfix_trunc_optab (&optab_table[OTI_vec_pack_sfix_trunc])
#define vec_pack_ufix_trunc_optab (&optab_table[OTI_vec_pack_ufix_trunc])
-#define vec_perm_optab (&direct_optab_table[(int) OTI_vec_perm])
#define powi_optab (&optab_table[OTI_powi])
@@ -689,6 +685,9 @@
/* Atomic clear with release semantics. */
DOI_sync_lock_release,
+ /* Vector shuffling. */
+ DOI_vec_perm,
+
DOI_MAX
};
@@ -734,6 +733,7 @@
(&direct_optab_table[(int) DOI_sync_lock_test_and_set])
#define sync_lock_release_optab \
(&direct_optab_table[(int) DOI_sync_lock_release])
+#define vec_perm_optab (&direct_optab_table[(int) DOI_vec_perm])
/* Target-dependent globals. */
struct target_optabs {
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/50665] [4.7 Regression] Bootstrap failure
2011-10-08 17:12 [Bug bootstrap/50665] New: [4.7 Regression] Bootstrap failure hjl.tools at gmail dot com
` (6 preceding siblings ...)
2011-10-10 16:48 ` ubizjak at gmail dot com
@ 2011-10-10 17:05 ` uros at gcc dot gnu.org
2011-10-10 17:09 ` ubizjak at gmail dot com
2011-10-10 18:33 ` markus at trippelsdorf dot de
9 siblings, 0 replies; 11+ messages in thread
From: uros at gcc dot gnu.org @ 2011-10-10 17:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50665
--- Comment #6 from uros at gcc dot gnu.org 2011-10-10 17:04:46 UTC ---
Author: uros
Date: Mon Oct 10 17:04:41 2011
New Revision: 179763
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179763
Log:
PR bootstrap/50665
* optabs.h (DOI_vec_perm): Rename from OTI_vec_perm. Move from enum
optab_index to enum direct_optab_index.
(vec_perm_optab): Update.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/optabs.h
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/50665] [4.7 Regression] Bootstrap failure
2011-10-08 17:12 [Bug bootstrap/50665] New: [4.7 Regression] Bootstrap failure hjl.tools at gmail dot com
` (7 preceding siblings ...)
2011-10-10 17:05 ` uros at gcc dot gnu.org
@ 2011-10-10 17:09 ` ubizjak at gmail dot com
2011-10-10 18:33 ` markus at trippelsdorf dot de
9 siblings, 0 replies; 11+ messages in thread
From: ubizjak at gmail dot com @ 2011-10-10 17:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50665
Uros Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #7 from Uros Bizjak <ubizjak at gmail dot com> 2011-10-10 17:08:47 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/50665] [4.7 Regression] Bootstrap failure
2011-10-08 17:12 [Bug bootstrap/50665] New: [4.7 Regression] Bootstrap failure hjl.tools at gmail dot com
` (8 preceding siblings ...)
2011-10-10 17:09 ` ubizjak at gmail dot com
@ 2011-10-10 18:33 ` markus at trippelsdorf dot de
9 siblings, 0 replies; 11+ messages in thread
From: markus at trippelsdorf dot de @ 2011-10-10 18:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50665
Markus Trippelsdorf <markus at trippelsdorf dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markus at trippelsdorf dot
| |de
--- Comment #8 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-10-10 18:32:11 UTC ---
*** Bug 50674 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2011-10-10 18:33 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-08 17:12 [Bug bootstrap/50665] New: [4.7 Regression] Bootstrap failure hjl.tools at gmail dot com
2011-10-08 19:24 ` [Bug bootstrap/50665] " hjl.tools at gmail dot com
2011-10-08 20:13 ` hjl.tools at gmail dot com
2011-10-08 22:49 ` hjl.tools at gmail dot com
2011-10-09 11:41 ` rguenth at gcc dot gnu.org
2011-10-10 12:48 ` doko at gcc dot gnu.org
2011-10-10 15:34 ` rguenth at gcc dot gnu.org
2011-10-10 16:48 ` ubizjak at gmail dot com
2011-10-10 17:05 ` uros at gcc dot gnu.org
2011-10-10 17:09 ` ubizjak at gmail dot com
2011-10-10 18:33 ` markus at trippelsdorf dot de
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).