public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/39110]  New: [4.4 Regression] Revision 143939  breaks bootstrap on Linux/ia64
@ 2009-02-05 16:16 hjl dot tools at gmail dot com
  2009-02-05 16:17 ` [Bug rtl-optimization/39110] " hjl dot tools at gmail dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-02-05 16:16 UTC (permalink / raw)
  To: gcc-bugs

Revision 143939:

http://gcc.gnu.org/ml/gcc-cvs/2009-02/msg00105.html

caused miscompilation of the fortran compiler on ia64.


-- 
           Summary: [4.4 Regression] Revision 143939  breaks bootstrap on
                    Linux/ia64
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com
GCC target triplet: ia64-linux-gnu


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


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

* [Bug rtl-optimization/39110] [4.4 Regression] Revision 143939  breaks bootstrap on Linux/ia64
  2009-02-05 16:16 [Bug rtl-optimization/39110] New: [4.4 Regression] Revision 143939 breaks bootstrap on Linux/ia64 hjl dot tools at gmail dot com
@ 2009-02-05 16:17 ` hjl dot tools at gmail dot com
  2009-02-05 16:28 ` bonzini at gnu dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-02-05 16:17 UTC (permalink / raw)
  To: gcc-bugs



-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
   Target Milestone|---                         |4.4.0


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


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

* [Bug rtl-optimization/39110] [4.4 Regression] Revision 143939  breaks bootstrap on Linux/ia64
  2009-02-05 16:16 [Bug rtl-optimization/39110] New: [4.4 Regression] Revision 143939 breaks bootstrap on Linux/ia64 hjl dot tools at gmail dot com
  2009-02-05 16:17 ` [Bug rtl-optimization/39110] " hjl dot tools at gmail dot com
@ 2009-02-05 16:28 ` bonzini at gnu dot org
  2009-02-05 17:50 ` hjl dot tools at gmail dot com
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bonzini at gnu dot org @ 2009-02-05 16:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bonzini at gnu dot org  2009-02-05 16:28 -------
Can you please attach .i files for the fortran compiler? thanks


-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-02-05 16:28:00
               date|                            |


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


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

* [Bug rtl-optimization/39110] [4.4 Regression] Revision 143939  breaks bootstrap on Linux/ia64
  2009-02-05 16:16 [Bug rtl-optimization/39110] New: [4.4 Regression] Revision 143939 breaks bootstrap on Linux/ia64 hjl dot tools at gmail dot com
  2009-02-05 16:17 ` [Bug rtl-optimization/39110] " hjl dot tools at gmail dot com
  2009-02-05 16:28 ` bonzini at gnu dot org
@ 2009-02-05 17:50 ` hjl dot tools at gmail dot com
  2009-02-05 17:55 ` hjl dot tools at gmail dot com
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-02-05 17:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2009-02-05 17:49 -------
Program received signal SIGSEGV, Segmentation fault.
0x400000000006ac11 in gfc_check_interfaces (ns=0x60000000002b05c0)
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/interface.c:1301
1301              switch (i)
(gdb) bt
#0  0x400000000006ac11 in gfc_check_interfaces (ns=0x60000000002b05c0)
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/interface.c:1301
#1  0x4000000000109330 in resolve_types (ns=0x60000000002b05c0)
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/resolve.c:10409
#2  0x4000000000111a00 in gfc_resolve (ns=0x60000000002b05c0)
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/resolve.c:10475
#3  0x40000000000e31b0 in gfc_parse_file ()
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/parse.c:3844
#4  0x4000000000161160 in gfc_be_parse_file (set_yydebug=0)
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/f95-lang.c:236
#5  0x40000000006c29a0 in toplev_main (argc=<value optimized out>, 
    argv=<value optimized out>)
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/toplev.c:970
#6  0x40000000001f2f70 in main (argc=12, argv=0x60000fffffffb718)
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/main.c:36
(gdb) 


-- 


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


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

* [Bug rtl-optimization/39110] [4.4 Regression] Revision 143939  breaks bootstrap on Linux/ia64
  2009-02-05 16:16 [Bug rtl-optimization/39110] New: [4.4 Regression] Revision 143939 breaks bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  2009-02-05 17:50 ` hjl dot tools at gmail dot com
@ 2009-02-05 17:55 ` hjl dot tools at gmail dot com
  2009-02-05 18:15 ` bonzini at gnu dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-02-05 17:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hjl dot tools at gmail dot com  2009-02-05 17:54 -------
Created an attachment (id=17249)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17249&action=view)
Processed gcc/fortran/interface.c 

This file is miscompiled with

-DUSE_LIBUNWIND_EXCEPTIONS -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition
-Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror   -DHAVE_CONFIG_H 


-- 


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


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

* [Bug rtl-optimization/39110] [4.4 Regression] Revision 143939  breaks bootstrap on Linux/ia64
  2009-02-05 16:16 [Bug rtl-optimization/39110] New: [4.4 Regression] Revision 143939 breaks bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (3 preceding siblings ...)
  2009-02-05 17:55 ` hjl dot tools at gmail dot com
@ 2009-02-05 18:15 ` bonzini at gnu dot org
  2009-02-05 18:25 ` hjl dot tools at gmail dot com
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bonzini at gnu dot org @ 2009-02-05 18:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from bonzini at gnu dot org  2009-02-05 18:14 -------
*** Bug 39101 has been marked as a duplicate of this bug. ***


-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu dot
                   |                            |org


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


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

* [Bug rtl-optimization/39110] [4.4 Regression] Revision 143939  breaks bootstrap on Linux/ia64
  2009-02-05 16:16 [Bug rtl-optimization/39110] New: [4.4 Regression] Revision 143939 breaks bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (4 preceding siblings ...)
  2009-02-05 18:15 ` bonzini at gnu dot org
@ 2009-02-05 18:25 ` hjl dot tools at gmail dot com
  2009-02-05 18:30 ` bonzini at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-02-05 18:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from hjl dot tools at gmail dot com  2009-02-05 18:25 -------
Every strict alignment platform is broken.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |critical
 GCC target triplet|ia64-linux-gnu              |


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


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

* [Bug rtl-optimization/39110] [4.4 Regression] Revision 143939  breaks bootstrap on Linux/ia64
  2009-02-05 16:16 [Bug rtl-optimization/39110] New: [4.4 Regression] Revision 143939 breaks bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (5 preceding siblings ...)
  2009-02-05 18:25 ` hjl dot tools at gmail dot com
@ 2009-02-05 18:30 ` bonzini at gcc dot gnu dot org
  2009-02-05 18:31 ` bonzini at gnu dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2009-02-05 18:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from bonzini at gnu dot org  2009-02-05 18:29 -------
Subject: Bug 39110

Author: bonzini
Date: Thu Feb  5 18:29:11 2009
New Revision: 143971

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143971
Log:
2009-02-05  Paolo Bonzini  <bonzini@gnu.org>

        PR rtl-optimization/39110
        * rtlanal.c (rtx_addr_can_trap_p_1): Shortcut unaligned
        addresses, not aligned ones.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/rtlanal.c


-- 


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


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

* [Bug rtl-optimization/39110] [4.4 Regression] Revision 143939  breaks bootstrap on Linux/ia64
  2009-02-05 16:16 [Bug rtl-optimization/39110] New: [4.4 Regression] Revision 143939 breaks bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (6 preceding siblings ...)
  2009-02-05 18:30 ` bonzini at gcc dot gnu dot org
@ 2009-02-05 18:31 ` bonzini at gnu dot org
  2009-02-05 20:42 ` sje at cup dot hp dot com
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bonzini at gnu dot org @ 2009-02-05 18:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from bonzini at gnu dot org  2009-02-05 18:30 -------
patch committed, please close it as soon as you can confirm it is fixed.


-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |major
             Status|NEW                         |WAITING
           Priority|P1                          |P3


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


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

* [Bug rtl-optimization/39110] [4.4 Regression] Revision 143939  breaks bootstrap on Linux/ia64
  2009-02-05 16:16 [Bug rtl-optimization/39110] New: [4.4 Regression] Revision 143939 breaks bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (7 preceding siblings ...)
  2009-02-05 18:31 ` bonzini at gnu dot org
@ 2009-02-05 20:42 ` sje at cup dot hp dot com
  2009-02-05 20:45 ` sje at cup dot hp dot com
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: sje at cup dot hp dot com @ 2009-02-05 20:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from sje at cup dot hp dot com  2009-02-05 20:41 -------
My IA64 HP-UX bootstrap worked but my IA64 Linux bootstrap failed.  When
building libgfortran the configure script tried to compile:

|       program foo
|       real, parameter :: bar = sin (12.34 / 2.5)
|       end program foo

and the Fortran compiler gave a seg fault.


-- 


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


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

* [Bug rtl-optimization/39110] [4.4 Regression] Revision 143939  breaks bootstrap on Linux/ia64
  2009-02-05 16:16 [Bug rtl-optimization/39110] New: [4.4 Regression] Revision 143939 breaks bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (8 preceding siblings ...)
  2009-02-05 20:42 ` sje at cup dot hp dot com
@ 2009-02-05 20:45 ` sje at cup dot hp dot com
  2009-02-05 20:51 ` hjl dot tools at gmail dot com
  2009-07-14  9:34 ` rguenth at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: sje at cup dot hp dot com @ 2009-02-05 20:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from sje at cup dot hp dot com  2009-02-05 20:45 -------
Ack, my HP-UX and Linux builds were from two different source trees.  The HP-UX
build that worked had the patch, the Linux build that failed did not have the
patch applied.


-- 


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


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

* [Bug rtl-optimization/39110] [4.4 Regression] Revision 143939  breaks bootstrap on Linux/ia64
  2009-02-05 16:16 [Bug rtl-optimization/39110] New: [4.4 Regression] Revision 143939 breaks bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (9 preceding siblings ...)
  2009-02-05 20:45 ` sje at cup dot hp dot com
@ 2009-02-05 20:51 ` hjl dot tools at gmail dot com
  2009-07-14  9:34 ` rguenth at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-02-05 20:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from hjl dot tools at gmail dot com  2009-02-05 20:50 -------
Linux/ia64 is OK now:

http://gcc.gnu.org/ml/gcc-testresults/2009-02/msg00543.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |critical
             Status|WAITING                     |RESOLVED
           Priority|P3                          |P1
         Resolution|                            |FIXED


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


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

* [Bug rtl-optimization/39110] [4.4 Regression] Revision 143939  breaks bootstrap on Linux/ia64
  2009-02-05 16:16 [Bug rtl-optimization/39110] New: [4.4 Regression] Revision 143939 breaks bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (10 preceding siblings ...)
  2009-02-05 20:51 ` hjl dot tools at gmail dot com
@ 2009-07-14  9:34 ` rguenth at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-07-14  9:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from rguenth at gcc dot gnu dot org  2009-07-14 09:33 -------
Subject: Bug 39110

Author: rguenth
Date: Tue Jul 14 09:32:55 2009
New Revision: 149620

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149620
Log:
2009-07-14  Richard Guenther  <rguenther@suse.de>

        Backport from mainline
        2009-02-05  Paolo Bonzini  <bonzini@gnu.org>

        PR rtl-optimization/39110
        * rtlanal.c (rtx_addr_can_trap_p_1): Shortcut unaligned
        addresses, not aligned ones.

        2009-02-04  Paolo Bonzini  <bonzini@gnu.org>
            Hans-Peter Nilsson  <hp@axis.com>

        PR rtl-optimization/37889
        * rtlanal.c (rtx_addr_can_trap_p_1): Add offset and size arguments.
        Move offset handling from PLUS to before the switch.  Use new
        arguments when considering SYMBOL_REFs too.
        (rtx_addr_can_trap_p): Pass dummy offset and size.
        (enum may_trap_p_flags): Remove.
        (may_trap_p_1): Pass size from MEM_SIZE.

        PR rtl-optimization/38921
        * loop-invariant.c (find_invariant_insn): Use may_trap_or_fault_p.
        * rtl.h (may_trap_after_code_motion_p): Delete prototype.
        * rtlanal.c (may_trap_after_code_motion_p): Delete.
        (may_trap_p, may_trap_or_fault_p): Pass 0/1 as flags.

Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/loop-invariant.c
    branches/gcc-4_3-branch/gcc/rtl.h
    branches/gcc-4_3-branch/gcc/rtlanal.c


-- 


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


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

end of thread, other threads:[~2009-07-14  9:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-05 16:16 [Bug rtl-optimization/39110] New: [4.4 Regression] Revision 143939 breaks bootstrap on Linux/ia64 hjl dot tools at gmail dot com
2009-02-05 16:17 ` [Bug rtl-optimization/39110] " hjl dot tools at gmail dot com
2009-02-05 16:28 ` bonzini at gnu dot org
2009-02-05 17:50 ` hjl dot tools at gmail dot com
2009-02-05 17:55 ` hjl dot tools at gmail dot com
2009-02-05 18:15 ` bonzini at gnu dot org
2009-02-05 18:25 ` hjl dot tools at gmail dot com
2009-02-05 18:30 ` bonzini at gcc dot gnu dot org
2009-02-05 18:31 ` bonzini at gnu dot org
2009-02-05 20:42 ` sje at cup dot hp dot com
2009-02-05 20:45 ` sje at cup dot hp dot com
2009-02-05 20:51 ` hjl dot tools at gmail dot com
2009-07-14  9:34 ` rguenth at gcc dot gnu dot 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).