public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/56022] New: [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334)
@ 2013-01-17 15:57 kretz at kde dot org
  2013-01-18 10:27 ` [Bug middle-end/56022] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: kretz at kde dot org @ 2013-01-17 15:57 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56022
           Summary: [4.8 regression] ICE (segfault) at
                    convert_memory_address_addr_space (explow.c:334)
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: kretz@kde.org


% cat ice.cpp
typedef float __m256 __attribute__ ((__vector_size__ (32), __may_alias__));
__attribute__((target("no-avx"))) static bool currentImplementationSupported()
{}
__m256 foo0(__m256 a) {}

% /opt/gcc-4.8-snapshot/bin/g++ -mavx -c ice.cpp
ice.cpp: In function ‘__m256 foo0(__m256)’:
ice.cpp:3:24: internal compiler error: Segmentation fault
 __m256 foo0(__m256 a) {}
                        ^
0xab4dcf crash_signal
        ../.././gcc/toplev.c:332
0x875c4a convert_memory_address_addr_space(machine_mode, rtx_def*, unsigned
char)
        ../.././gcc/explow.c:334
0x914476 expand_function_end()
        ../.././gcc/function.c:5166
0x7ca8d7 construct_exit_block
        ../.././gcc/cfgexpand.c:4219
0x7ca8d7 gimple_expand_cfg
        ../.././gcc/cfgexpand.c:4627

% /opt/gcc-4.8-snapshot/bin/g++ --version
g++ (GCC) 4.8.0 20130113 (experimental)


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

* [Bug middle-end/56022] [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334)
  2013-01-17 15:57 [Bug middle-end/56022] New: [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334) kretz at kde dot org
@ 2013-01-18 10:27 ` rguenth at gcc dot gnu.org
  2013-01-18 11:12 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-01-18 10:27 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-*-*
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-01-18
   Target Milestone|---                         |4.8.0
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-18 10:27:13 UTC ---
Confirmed.  I think there is/was a related bug with SSE.


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

* [Bug middle-end/56022] [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334)
  2013-01-17 15:57 [Bug middle-end/56022] New: [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334) kretz at kde dot org
  2013-01-18 10:27 ` [Bug middle-end/56022] " rguenth at gcc dot gnu.org
@ 2013-01-18 11:12 ` jakub at gcc dot gnu.org
  2013-01-18 14:26 ` jamborm at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-01-18 11:12 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jamborm at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-18 11:11:51 UTC ---
Caused by http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191577


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

* [Bug middle-end/56022] [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334)
  2013-01-17 15:57 [Bug middle-end/56022] New: [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334) kretz at kde dot org
  2013-01-18 10:27 ` [Bug middle-end/56022] " rguenth at gcc dot gnu.org
  2013-01-18 11:12 ` jakub at gcc dot gnu.org
@ 2013-01-18 14:26 ` jamborm at gcc dot gnu.org
  2013-01-21 10:02 ` jamborm at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jamborm at gcc dot gnu.org @ 2013-01-18 14:26 UTC (permalink / raw)
  To: gcc-bugs


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

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |jamborm at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> 2013-01-18 14:26:32 UTC ---
OK, let me have a look.


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

* [Bug middle-end/56022] [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334)
  2013-01-17 15:57 [Bug middle-end/56022] New: [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334) kretz at kde dot org
                   ` (2 preceding siblings ...)
  2013-01-18 14:26 ` jamborm at gcc dot gnu.org
@ 2013-01-21 10:02 ` jamborm at gcc dot gnu.org
  2013-01-21 16:51 ` jamborm at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jamborm at gcc dot gnu.org @ 2013-01-21 10:02 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> 2013-01-21 10:01:40 UTC ---
The problem is that aggregate_value_p can rely on that
invoke_set_current_function_hook has already been called which my patch
foolishly moved below it.  I'm preparing a patch.


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

* [Bug middle-end/56022] [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334)
  2013-01-17 15:57 [Bug middle-end/56022] New: [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334) kretz at kde dot org
                   ` (3 preceding siblings ...)
  2013-01-21 10:02 ` jamborm at gcc dot gnu.org
@ 2013-01-21 16:51 ` jamborm at gcc dot gnu.org
  2013-01-21 17:17 ` jamborm at gcc dot gnu.org
  2013-01-21 17:19 ` jamborm at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jamborm at gcc dot gnu.org @ 2013-01-21 16:51 UTC (permalink / raw)
  To: gcc-bugs


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

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2013-01/msg01061.htm
                   |                            |l

--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> 2013-01-21 16:50:56 UTC ---
Proposed fix posted to the mailing list:

http://gcc.gnu.org/ml/gcc-patches/2013-01/msg01061.html


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

* [Bug middle-end/56022] [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334)
  2013-01-17 15:57 [Bug middle-end/56022] New: [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334) kretz at kde dot org
                   ` (4 preceding siblings ...)
  2013-01-21 16:51 ` jamborm at gcc dot gnu.org
@ 2013-01-21 17:17 ` jamborm at gcc dot gnu.org
  2013-01-21 17:19 ` jamborm at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jamborm at gcc dot gnu.org @ 2013-01-21 17:17 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> 2013-01-21 17:17:19 UTC ---
Author: jamborm
Date: Mon Jan 21 17:16:57 2013
New Revision: 195341

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195341
Log:
2013-01-21  Martin Jambor  <mjambor@suse.cz>

    PR middle-end/56022
    * function.c (allocate_struct_function): Call
    invoke_set_current_function_hook earlier.

testsuite/
    * gcc.target/i386/pr56022.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr56022.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/function.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug middle-end/56022] [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334)
  2013-01-17 15:57 [Bug middle-end/56022] New: [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334) kretz at kde dot org
                   ` (5 preceding siblings ...)
  2013-01-21 17:17 ` jamborm at gcc dot gnu.org
@ 2013-01-21 17:19 ` jamborm at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jamborm at gcc dot gnu.org @ 2013-01-21 17:19 UTC (permalink / raw)
  To: gcc-bugs


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

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> 2013-01-21 17:18:57 UTC ---
Fixed.


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

end of thread, other threads:[~2013-01-21 17:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-17 15:57 [Bug middle-end/56022] New: [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334) kretz at kde dot org
2013-01-18 10:27 ` [Bug middle-end/56022] " rguenth at gcc dot gnu.org
2013-01-18 11:12 ` jakub at gcc dot gnu.org
2013-01-18 14:26 ` jamborm at gcc dot gnu.org
2013-01-21 10:02 ` jamborm at gcc dot gnu.org
2013-01-21 16:51 ` jamborm at gcc dot gnu.org
2013-01-21 17:17 ` jamborm at gcc dot gnu.org
2013-01-21 17:19 ` jamborm 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).