public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/59460] New: [4.9 Regression] ICE with -mips16 and __attribute__((nomips16))
@ 2013-12-10 22:07 robert.suchanek at imgtec dot com
  2013-12-11  9:24 ` [Bug target/59460] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: robert.suchanek at imgtec dot com @ 2013-12-10 22:07 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 5411 bytes --]

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

            Bug ID: 59460
           Summary: [4.9 Regression] ICE with -mips16 and
                    __attribute__((nomips16))
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: robert.suchanek at imgtec dot com
            Target: mips16

A number of failures started to appear on the trunk for mips-elf target
(possibly other targets too) and all of the new failures are related
to the fix for PR58115. The following is a narrowed testcase that triggers
an ICE.

It crashes when attributes for a function try to override -mips16 argument
given on the commandline. I found another problem with the testcase when the
function takes an argument of type v2sf: the compiler segfaults due to
recursive calls, but this also points to the fix.


$ cat mips-ps-2.c
typedef float v2sf __attribute__ ((vector_size(8)));

__attribute__((nomips16)) v2sf foo () {}


$ mips-elf-gcc -mips32r2 -mfp64 -mips16 -mpaired-single -c mips-ps-2.c          
mips-ps-2.c: In function ‘foo’:                                                 
mips-ps-2.c:3:1: internal compiler error: in emit_move_multi_word, at
expr.c:3518                                                      
 __attribute__((nomips16)) v2sf foo () {}                                       
 ^                                                                              
0x736d43 emit_move_multi_word                                                   
        ../../gcc-trunk/gcc/expr.c:3518                                         
0x736061 emit_move_insn(rtx_def*, rtx_def*)                                     
        ../../gcc-trunk/gcc/expr.c:3650                                         
0x7b5d0a expand_function_end()                                                  
        ../../gcc-trunk/gcc/function.c:5120                                     
0x65fef0 construct_exit_block                                                   
        ../../gcc-trunk/gcc/cfgexpand.c:5282                                    
0x65fef0 gimple_expand_cfg                                                      
        ../../gcc-trunk/gcc/cfgexpand.c:5737                                    
0x65fef0 execute                                                                
        ../../gcc-trunk/gcc/cfgexpand.c:5932                                    
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.
>From gcc-bugs-return-437251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 10 22:11:32 2013
Return-Path: <gcc-bugs-return-437251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3064 invoked by alias); 10 Dec 2013 22:11:31 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 3026 invoked by uid 48); 10 Dec 2013 22:11:28 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/34004] Accepts invalid: Ambigiuous interface with subroutine.
Date: Tue, 10 Dec 2013 22:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.3.0
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: janus at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-34004-4-iQCKmWkoh5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-34004-4@http.gcc.gnu.org/bugzilla/>
References: <bug-34004-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-12/txt/msg00906.txt.bz2
Content-length: 717

http://gcc.gnu.org/bugzilla/show_bug.cgi?id4004

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #12 from janus at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #9)
> > How about counting this as a "bug in the F03 standard" and closing the PR as
> > invalid (as suggested by Mikael)?
>
> If nobody want to do the changes for a diagnostic under -stdù5/f2003, I
> think it should be closed as WONTFIX to better reflect the situation.

Doing so.


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

* [Bug target/59460] [4.9 Regression] ICE with -mips16 and __attribute__((nomips16))
  2013-12-10 22:07 [Bug target/59460] New: [4.9 Regression] ICE with -mips16 and __attribute__((nomips16)) robert.suchanek at imgtec dot com
@ 2013-12-11  9:24 ` rguenth at gcc dot gnu.org
  2013-12-18 16:27 ` robert.suchanek at imgtec dot com
  2014-01-07 22:52 ` rsandifo at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-12-11  9:24 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.0


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

* [Bug target/59460] [4.9 Regression] ICE with -mips16 and __attribute__((nomips16))
  2013-12-10 22:07 [Bug target/59460] New: [4.9 Regression] ICE with -mips16 and __attribute__((nomips16)) robert.suchanek at imgtec dot com
  2013-12-11  9:24 ` [Bug target/59460] " rguenth at gcc dot gnu.org
@ 2013-12-18 16:27 ` robert.suchanek at imgtec dot com
  2014-01-07 22:52 ` rsandifo at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: robert.suchanek at imgtec dot com @ 2013-12-18 16:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Robert Suchanek <robert.suchanek at imgtec dot com> ---
Ping

Where should I look at or what else could be done to resolve this without
reverting the patch for pr58115?


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

* [Bug target/59460] [4.9 Regression] ICE with -mips16 and __attribute__((nomips16))
  2013-12-10 22:07 [Bug target/59460] New: [4.9 Regression] ICE with -mips16 and __attribute__((nomips16)) robert.suchanek at imgtec dot com
  2013-12-11  9:24 ` [Bug target/59460] " rguenth at gcc dot gnu.org
  2013-12-18 16:27 ` robert.suchanek at imgtec dot com
@ 2014-01-07 22:52 ` rsandifo at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2014-01-07 22:52 UTC (permalink / raw)
  To: gcc-bugs

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

rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed:

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

--- Comment #2 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
Should be fixed now.  Please reopen if not though.


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

end of thread, other threads:[~2014-01-07 22:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-10 22:07 [Bug target/59460] New: [4.9 Regression] ICE with -mips16 and __attribute__((nomips16)) robert.suchanek at imgtec dot com
2013-12-11  9:24 ` [Bug target/59460] " rguenth at gcc dot gnu.org
2013-12-18 16:27 ` robert.suchanek at imgtec dot com
2014-01-07 22:52 ` rsandifo 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).