public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/56134] New: ICE: alias attribute on c++ static class member;
@ 2013-01-29  1:00 tristan.wibberley at gmail dot com
  2013-01-29  1:01 ` [Bug c++/56134] " tristan.wibberley at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: tristan.wibberley at gmail dot com @ 2013-01-29  1:00 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56134
           Summary: ICE: alias attribute on c++ static class member;
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: tristan.wibberley@gmail.com


Created attachment 29297
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29297
preprocessed source that causes an ICE

src.cc:4:45: internal compiler error: in make_rtl_for_nonlocal_decl, at
cp/decl.c:5697


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

* [Bug c++/56134] ICE: alias attribute on c++ static class member;
  2013-01-29  1:00 [Bug c++/56134] New: ICE: alias attribute on c++ static class member; tristan.wibberley at gmail dot com
@ 2013-01-29  1:01 ` tristan.wibberley at gmail dot com
  2013-01-29  1:09 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: tristan.wibberley at gmail dot com @ 2013-01-29  1:01 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Tristan Wibberley <tristan.wibberley at gmail dot com> 2013-01-29 01:00:44 UTC ---
$ g++ --version
g++-4.7.real (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
Copyright © 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


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

* [Bug c++/56134] ICE: alias attribute on c++ static class member;
  2013-01-29  1:00 [Bug c++/56134] New: ICE: alias attribute on c++ static class member; tristan.wibberley at gmail dot com
  2013-01-29  1:01 ` [Bug c++/56134] " tristan.wibberley at gmail dot com
@ 2013-01-29  1:09 ` pinskia at gcc dot gnu.org
  2013-08-21 10:44 ` paolo.carlini at oracle dot com
  2013-08-21 11:22 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-01-29  1:09 UTC (permalink / raw)
  To: gcc-bugs


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.3.5, 4.4.5, 4.8.0

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-01-29 01:08:23 UTC ---
Confirmed:
t.cc:4:45: internal compiler error: in make_rtl_for_nonlocal_decl, at
cp/decl.c:5803
   static char q __attribute__ ((alias ("a")));
                                             ^
0x51579a make_rtl_for_nonlocal_decl
    ../../gcc/cp/decl.c:5803
0x53a780 cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int)
    ../../gcc/cp/decl.c:6420
0x5d844e grokfield(cp_declarator const*, cp_decl_specifier_seq*, tree_node*,
bool, tree_node*, tree_node*)
    ../../gcc/cp/decl2.c:981
0x5f7462 cp_parser_member_declaration
    ../../gcc/cp/parser.c:19435
0x5f82e6 cp_parser_member_specification_opt
    ../../gcc/cp/parser.c:18986
0x5f82e6 cp_parser_class_specifier_1
    ../../gcc/cp/parser.c:18239
0x5f82e6 cp_parser_class_specifier
    ../../gcc/cp/parser.c:18455
0x5f82e6 cp_parser_type_specifier
    ../../gcc/cp/parser.c:13570
0x60f48d cp_parser_decl_specifier_seq
    ../../gcc/cp/parser.c:10895
0x612ea9 cp_parser_simple_declaration
    ../../gcc/cp/parser.c:10494
0x614e20 cp_parser_block_declaration
    ../../gcc/cp/parser.c:10443
0x61da0b cp_parser_declaration
    ../../gcc/cp/parser.c:10340
0x61c6dd cp_parser_declaration_seq_opt
    ../../gcc/cp/parser.c:10226
0x61df82 cp_parser_translation_unit
    ../../gcc/cp/parser.c:3808


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

* [Bug c++/56134] ICE: alias attribute on c++ static class member;
  2013-01-29  1:00 [Bug c++/56134] New: ICE: alias attribute on c++ static class member; tristan.wibberley at gmail dot com
  2013-01-29  1:01 ` [Bug c++/56134] " tristan.wibberley at gmail dot com
  2013-01-29  1:09 ` pinskia at gcc dot gnu.org
@ 2013-08-21 10:44 ` paolo.carlini at oracle dot com
  2013-08-21 11:22 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-08-21 10:44 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-08-21
     Ever confirmed|0                           |1

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
This is fixed in mainline. I'm adding the testcase and closing the PR.


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

* [Bug c++/56134] ICE: alias attribute on c++ static class member;
  2013-01-29  1:00 [Bug c++/56134] New: ICE: alias attribute on c++ static class member; tristan.wibberley at gmail dot com
                   ` (2 preceding siblings ...)
  2013-08-21 10:44 ` paolo.carlini at oracle dot com
@ 2013-08-21 11:22 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-08-21 11:22 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.9.0

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Done.


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

end of thread, other threads:[~2013-08-21 11:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-29  1:00 [Bug c++/56134] New: ICE: alias attribute on c++ static class member; tristan.wibberley at gmail dot com
2013-01-29  1:01 ` [Bug c++/56134] " tristan.wibberley at gmail dot com
2013-01-29  1:09 ` pinskia at gcc dot gnu.org
2013-08-21 10:44 ` paolo.carlini at oracle dot com
2013-08-21 11:22 ` paolo.carlini at oracle dot com

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).