public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/43288] [4.5 Regression] ICE in function_and_variable_visibility, at ipa.c:415
  2010-03-08 11:58 [Bug c/43288] New: [4.5 Regression] ICE in function_and_variable_visibility, at ipa.c:415 rguenth at gcc dot gnu dot org
@ 2010-03-08 11:58 ` rguenth at gcc dot gnu dot org
  2010-03-08 16:32 ` hjl dot tools at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-08 11:58 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-03-08 11:58:39
               date|                            |
   Target Milestone|---                         |4.5.0


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


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

* [Bug c/43288]  New: [4.5 Regression] ICE in function_and_variable_visibility, at ipa.c:415
@ 2010-03-08 11:58 rguenth at gcc dot gnu dot org
  2010-03-08 11:58 ` [Bug c/43288] " rguenth at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-08 11:58 UTC (permalink / raw)
  To: gcc-bugs

static int a __attribute__((common));

ICEs like

> ./cc1 -quiet t.i
t.i:32:1: internal compiler error: in function_and_variable_visibility, at
ipa.c:415
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

but instead should be rejected.

This bug was split out from PR42068.


-- 
           Summary: [4.5 Regression] ICE in
                    function_and_variable_visibility, at ipa.c:415
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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


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

* [Bug c/43288] [4.5 Regression] ICE in function_and_variable_visibility, at ipa.c:415
  2010-03-08 11:58 [Bug c/43288] New: [4.5 Regression] ICE in function_and_variable_visibility, at ipa.c:415 rguenth at gcc dot gnu dot org
  2010-03-08 11:58 ` [Bug c/43288] " rguenth at gcc dot gnu dot org
@ 2010-03-08 16:32 ` hjl dot tools at gmail dot com
  2010-03-10 15:41 ` hubicka at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-03-08 16:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl dot tools at gmail dot com  2010-03-08 16:32 -------
It is caused by revision 154121:

http://gcc.gnu.org/ml/gcc-cvs/2009-11/msg00342.html


-- 


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


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

* [Bug c/43288] [4.5 Regression] ICE in function_and_variable_visibility, at ipa.c:415
  2010-03-08 11:58 [Bug c/43288] New: [4.5 Regression] ICE in function_and_variable_visibility, at ipa.c:415 rguenth at gcc dot gnu dot org
  2010-03-08 11:58 ` [Bug c/43288] " rguenth at gcc dot gnu dot org
  2010-03-08 16:32 ` hjl dot tools at gmail dot com
@ 2010-03-10 15:41 ` hubicka at gcc dot gnu dot org
  2010-03-10 16:28 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-03-10 15:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hubicka at gcc dot gnu dot org  2010-03-10 15:40 -------
Patch posted


-- 

hubicka at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |hubicka at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2010-03-08 11:58:39         |2010-03-10 15:40:37
               date|                            |


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


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

* [Bug c/43288] [4.5 Regression] ICE in function_and_variable_visibility, at ipa.c:415
  2010-03-08 11:58 [Bug c/43288] New: [4.5 Regression] ICE in function_and_variable_visibility, at ipa.c:415 rguenth at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2010-03-10 15:41 ` hubicka at gcc dot gnu dot org
@ 2010-03-10 16:28 ` rguenth at gcc dot gnu dot org
  2010-03-10 19:34 ` hubicka at gcc dot gnu dot org
  2010-03-10 19:36 ` hubicka at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-10 16:28 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug c/43288] [4.5 Regression] ICE in function_and_variable_visibility, at ipa.c:415
  2010-03-08 11:58 [Bug c/43288] New: [4.5 Regression] ICE in function_and_variable_visibility, at ipa.c:415 rguenth at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2010-03-10 16:28 ` rguenth at gcc dot gnu dot org
@ 2010-03-10 19:34 ` hubicka at gcc dot gnu dot org
  2010-03-10 19:36 ` hubicka at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-03-10 19:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hubicka at gcc dot gnu dot org  2010-03-10 19:33 -------
Subject: Bug 43288

Author: hubicka
Date: Wed Mar 10 19:33:37 2010
New Revision: 157366

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157366
Log:

        PR c/43288
        * ipa.c (function_and_variable_visibility) Normalize COMMON bits.
        * varasm.c (get_variable_section): Don't do that here...
        (make_decl_rtl): ... and here.
        (do_assemble_alias): Produce decl RTL.
        (assemble_alias): Likewise.

        * gcc.dg/compile/pr43288.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr43288.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/varasm.c


-- 


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


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

* [Bug c/43288] [4.5 Regression] ICE in function_and_variable_visibility, at ipa.c:415
  2010-03-08 11:58 [Bug c/43288] New: [4.5 Regression] ICE in function_and_variable_visibility, at ipa.c:415 rguenth at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2010-03-10 19:34 ` hubicka at gcc dot gnu dot org
@ 2010-03-10 19:36 ` hubicka at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-03-10 19:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from hubicka at gcc dot gnu dot org  2010-03-10 19:36 -------
Fixed.


-- 

hubicka at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2010-03-10 19:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-08 11:58 [Bug c/43288] New: [4.5 Regression] ICE in function_and_variable_visibility, at ipa.c:415 rguenth at gcc dot gnu dot org
2010-03-08 11:58 ` [Bug c/43288] " rguenth at gcc dot gnu dot org
2010-03-08 16:32 ` hjl dot tools at gmail dot com
2010-03-10 15:41 ` hubicka at gcc dot gnu dot org
2010-03-10 16:28 ` rguenth at gcc dot gnu dot org
2010-03-10 19:34 ` hubicka at gcc dot gnu dot org
2010-03-10 19:36 ` hubicka 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).