public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/47951] New: [4.6 Regression] web.c:union_match_dups segmentation fault for bfin
@ 2011-03-02 11:29 Stuart.Henderson at analog dot com
  2011-03-02 12:27 ` [Bug target/47951] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Stuart.Henderson at analog dot com @ 2011-03-02 11:29 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] web.c:union_match_dups segmentation
                    fault for bfin
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Stuart.Henderson@analog.com


bfin-uclinux fails to build libgfortran due to a seg fault in union_match_dups
in web.c

Looks like this is the blackfin version of:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43742

which was caused by:
http://gcc.gnu.org/viewcvs?view=revision&revision=158187

i'm not sure what the guilty pattern is though.

/home/shender/gnu/toolchain/gcc_build-4.6/./gcc/xgcc
-B/home/shender/gnu/toolchain/gcc_build-4.6/./gcc/
-B/home/shender/gnu/toolchain/bfin-uclinux/bfin-uclinux/bin/
-B/home/shender/gnu/toolchain/bfin-uclinux/bfin-uclinux/lib/ -isystem
/home/shender/gnu/toolchain/bfin-uclinux/bfin-uclinux/include -isystem
/home/shender/gnu/toolchain/bfin-uclinux/bfin-uclinux/sys-include
-DHAVE_CONFIG_H -I. -I/home/shender/gnu/toolchain/gcc-4.6/libgfortran
-iquote/home/shender/gnu/toolchain/gcc-4.6/libgfortran/io
-I/home/shender/gnu/toolchain/gcc-4.6/libgfortran/../gcc
-I/home/shender/gnu/toolchain/gcc-4.6/libgfortran/../gcc/config -I../.././gcc
-D_GNU_SOURCE -std=gnu99 -ftree-vectorize -funroll-loops -g -O1 -c
/home/shender/gnu/toolchain/gcc-4.6/libgfortran/generated/matmul_i1.c -o
matmul_i1.o
/home/shender/gnu/toolchain/gcc-4.6/libgfortran/generated/matmul_i1.c: In
function ‘matmul_i1’:
/home/shender/gnu/toolchain/gcc-4.6/libgfortran/generated/matmul_i1.c:374:1:
internal compiler error: Segmentation fault


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

* [Bug target/47951] [4.6 Regression] web.c:union_match_dups segmentation fault for bfin
  2011-03-02 11:29 [Bug target/47951] New: [4.6 Regression] web.c:union_match_dups segmentation fault for bfin Stuart.Henderson at analog dot com
@ 2011-03-02 12:27 ` rguenth at gcc dot gnu.org
  2011-03-11 12:16 ` Stuart.Henderson at analog dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-03-02 12:27 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
   Target Milestone|---                         |4.6.0


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

* [Bug target/47951] [4.6 Regression] web.c:union_match_dups segmentation fault for bfin
  2011-03-02 11:29 [Bug target/47951] New: [4.6 Regression] web.c:union_match_dups segmentation fault for bfin Stuart.Henderson at analog dot com
  2011-03-02 12:27 ` [Bug target/47951] " rguenth at gcc dot gnu.org
@ 2011-03-11 12:16 ` Stuart.Henderson at analog dot com
  2011-03-25 19:53 ` [Bug target/47951] [4.6/4.7 " jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Stuart.Henderson at analog dot com @ 2011-03-11 12:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Stu <Stuart.Henderson at analog dot com> 2011-03-11 12:16:40 UTC ---
Created attachment 23626
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23626
First attempt to fix seg fault

The attached patch "fixes" the problem and my testing hasn't shown any
problems, but i currently don't have much confidence in it.  Could someone take
a look and give me some pointers?
thanks,
Stu


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

* [Bug target/47951] [4.6/4.7 Regression] web.c:union_match_dups segmentation fault for bfin
  2011-03-02 11:29 [Bug target/47951] New: [4.6 Regression] web.c:union_match_dups segmentation fault for bfin Stuart.Henderson at analog dot com
  2011-03-02 12:27 ` [Bug target/47951] " rguenth at gcc dot gnu.org
  2011-03-11 12:16 ` Stuart.Henderson at analog dot com
@ 2011-03-25 19:53 ` jakub at gcc dot gnu.org
  2011-05-02 17:04 ` shenders at gcc dot gnu.org
  2011-06-02 16:46 ` shenders at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-03-25 19:53 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.6.0                       |4.6.1

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-25 19:51:53 UTC ---
GCC 4.6.0 is being released, adjusting target milestone.


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

* [Bug target/47951] [4.6/4.7 Regression] web.c:union_match_dups segmentation fault for bfin
  2011-03-02 11:29 [Bug target/47951] New: [4.6 Regression] web.c:union_match_dups segmentation fault for bfin Stuart.Henderson at analog dot com
                   ` (2 preceding siblings ...)
  2011-03-25 19:53 ` [Bug target/47951] [4.6/4.7 " jakub at gcc dot gnu.org
@ 2011-05-02 17:04 ` shenders at gcc dot gnu.org
  2011-06-02 16:46 ` shenders at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: shenders at gcc dot gnu.org @ 2011-05-02 17:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Stuart Henderson <shenders at gcc dot gnu.org> 2011-05-02 17:01:07 UTC ---
Author: shenders
Date: Mon May  2 17:01:01 2011
New Revision: 173261

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173261
Log:
2011-05-02  Stuart Henderson  <shenders@gcc.gnu.org>

        PR target/47951
        * config/bfin/bfin.md (loop_end): Use matching constraints to ensure
        inputs match the output.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/bfin/bfin.md


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

* [Bug target/47951] [4.6/4.7 Regression] web.c:union_match_dups segmentation fault for bfin
  2011-03-02 11:29 [Bug target/47951] New: [4.6 Regression] web.c:union_match_dups segmentation fault for bfin Stuart.Henderson at analog dot com
                   ` (3 preceding siblings ...)
  2011-05-02 17:04 ` shenders at gcc dot gnu.org
@ 2011-06-02 16:46 ` shenders at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: shenders at gcc dot gnu.org @ 2011-06-02 16:46 UTC (permalink / raw)
  To: gcc-bugs

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

Stuart Henderson <shenders at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |shenders at gcc dot gnu.org
         Resolution|                            |FIXED

--- Comment #4 from Stuart Henderson <shenders at gcc dot gnu.org> 2011-06-02 16:46:32 UTC ---
Fixed on trunk.


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

end of thread, other threads:[~2011-06-02 16:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-02 11:29 [Bug target/47951] New: [4.6 Regression] web.c:union_match_dups segmentation fault for bfin Stuart.Henderson at analog dot com
2011-03-02 12:27 ` [Bug target/47951] " rguenth at gcc dot gnu.org
2011-03-11 12:16 ` Stuart.Henderson at analog dot com
2011-03-25 19:53 ` [Bug target/47951] [4.6/4.7 " jakub at gcc dot gnu.org
2011-05-02 17:04 ` shenders at gcc dot gnu.org
2011-06-02 16:46 ` shenders 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).