public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/32596]  New: ice for legal code
@ 2007-07-02 19:56 dcb314 at hotmail dot com
  2007-07-02 19:57 ` [Bug c++/32596] " dcb314 at hotmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2007-07-02 19:56 UTC (permalink / raw)
  To: gcc-bugs

I just tried to compile Suse Linux package ruby-zypp-0.1-83 with the
GNU C++ compiler version 4.3 snapshot 20070629

The compiler said

/usr/include/boost/regex/v4/basic_regex_creator.hpp:515: internal compiler
error: in expand_or_defer_fn, at cp/semantics.c:3220
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source code attached. No flags required.


-- 
           Summary: ice for legal code
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


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


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

* [Bug c++/32596] ice for legal code
  2007-07-02 19:56 [Bug c++/32596] New: ice for legal code dcb314 at hotmail dot com
@ 2007-07-02 19:57 ` dcb314 at hotmail dot com
  2007-07-08 10:36 ` [Bug c++/32596] [4.3 Regression] ICE with template in anonymous namespace pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2007-07-02 19:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dcb314 at hotmail dot com  2007-07-02 19:57 -------
Created an attachment (id=13830)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13830&action=view)
gzipped C++ source code


-- 


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


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

* [Bug c++/32596] [4.3 Regression] ICE with template in anonymous namespace
  2007-07-02 19:56 [Bug c++/32596] New: ice for legal code dcb314 at hotmail dot com
  2007-07-02 19:57 ` [Bug c++/32596] " dcb314 at hotmail dot com
@ 2007-07-08 10:36 ` pinskia at gcc dot gnu dot org
  2007-07-08 10:36 ` [Bug c++/32596] " pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-07-08 10:36 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   GCC host triplet|x86_64-suse-linux           |
            Summary|ICE with template in        |[4.3 Regression] ICE with
                   |anonymous namespace         |template in anonymous
                   |                            |namespace
   Target Milestone|---                         |4.3.0


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


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

* [Bug c++/32596] ICE with template in anonymous namespace
  2007-07-02 19:56 [Bug c++/32596] New: ice for legal code dcb314 at hotmail dot com
  2007-07-02 19:57 ` [Bug c++/32596] " dcb314 at hotmail dot com
  2007-07-08 10:36 ` [Bug c++/32596] [4.3 Regression] ICE with template in anonymous namespace pinskia at gcc dot gnu dot org
@ 2007-07-08 10:36 ` pinskia at gcc dot gnu dot org
  2007-07-08 10:47 ` [Bug c++/32596] [4.3 Regression] ICE with inline template specialization " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-07-08 10:36 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |critical
           Keywords|                            |ice-on-valid-code
            Summary|ice for legal code          |ICE with template in
                   |                            |anonymous namespace


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


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

* [Bug c++/32596] [4.3 Regression] ICE with inline template specialization in anonymous namespace
  2007-07-02 19:56 [Bug c++/32596] New: ice for legal code dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2007-07-08 10:36 ` [Bug c++/32596] " pinskia at gcc dot gnu dot org
@ 2007-07-08 10:47 ` pinskia at gcc dot gnu dot org
  2007-08-10  0:37 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-07-08 10:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-07-08 10:46 -------
Reduced testcase:
namespace
{
  template<class T> inline void char_less(void) { }
  template<> inline void char_less<char>(void) { }
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-07-08 10:46:52
               date|                            |
            Summary|[4.3 Regression] ICE with   |[4.3 Regression] ICE with
                   |template in anonymous       |inline template
                   |namespace                   |specialization in anonymous
                   |                            |namespace


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


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

* [Bug c++/32596] [4.3 Regression] ICE with inline template specialization in anonymous namespace
  2007-07-02 19:56 [Bug c++/32596] New: ice for legal code dcb314 at hotmail dot com
                   ` (3 preceding siblings ...)
  2007-07-08 10:47 ` [Bug c++/32596] [4.3 Regression] ICE with inline template specialization " pinskia at gcc dot gnu dot org
@ 2007-08-10  0:37 ` mmitchel at gcc dot gnu dot org
  2007-08-15 15:31 ` jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-08-10  0:37 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug c++/32596] [4.3 Regression] ICE with inline template specialization in anonymous namespace
  2007-07-02 19:56 [Bug c++/32596] New: ice for legal code dcb314 at hotmail dot com
                   ` (4 preceding siblings ...)
  2007-08-10  0:37 ` mmitchel at gcc dot gnu dot org
@ 2007-08-15 15:31 ` jakub at gcc dot gnu dot org
  2007-08-21 10:55 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-08-15 15:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2007-08-15 15:31 -------
Caused by PR31923.


-- 


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


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

* [Bug c++/32596] [4.3 Regression] ICE with inline template specialization in anonymous namespace
  2007-07-02 19:56 [Bug c++/32596] New: ice for legal code dcb314 at hotmail dot com
                   ` (5 preceding siblings ...)
  2007-08-15 15:31 ` jakub at gcc dot gnu dot org
@ 2007-08-21 10:55 ` jakub at gcc dot gnu dot org
  2007-08-28 16:08 ` jakub at gcc dot gnu dot org
  2007-08-28 16:10 ` jakub at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-08-21 10:55 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2007-
                   |                            |08/msg00954.html
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-07-08 10:46:52         |2007-08-21 10:54:51
               date|                            |


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


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

* [Bug c++/32596] [4.3 Regression] ICE with inline template specialization in anonymous namespace
  2007-07-02 19:56 [Bug c++/32596] New: ice for legal code dcb314 at hotmail dot com
                   ` (6 preceding siblings ...)
  2007-08-21 10:55 ` jakub at gcc dot gnu dot org
@ 2007-08-28 16:08 ` jakub at gcc dot gnu dot org
  2007-08-28 16:10 ` jakub at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-08-28 16:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2007-08-28 16:08 -------
Subject: Bug 32596

Author: jakub
Date: Tue Aug 28 16:08:02 2007
New Revision: 127863

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127863
Log:
        PR c++/32596
        PR c++/32400
        * pt.c (check_explicit_specialization): Set DECL_INTERFACE_KNOWN
        and DECL_NOT_REALLY_EXTERN if tmpl_func is not public.

        * g++.dg/ext/visibility/anon5.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/ext/visibility/anon5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/32596] [4.3 Regression] ICE with inline template specialization in anonymous namespace
  2007-07-02 19:56 [Bug c++/32596] New: ice for legal code dcb314 at hotmail dot com
                   ` (7 preceding siblings ...)
  2007-08-28 16:08 ` jakub at gcc dot gnu dot org
@ 2007-08-28 16:10 ` jakub at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-08-28 16:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jakub at gcc dot gnu dot org  2007-08-28 16:10 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-08-28 16:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-02 19:56 [Bug c++/32596] New: ice for legal code dcb314 at hotmail dot com
2007-07-02 19:57 ` [Bug c++/32596] " dcb314 at hotmail dot com
2007-07-08 10:36 ` [Bug c++/32596] [4.3 Regression] ICE with template in anonymous namespace pinskia at gcc dot gnu dot org
2007-07-08 10:36 ` [Bug c++/32596] " pinskia at gcc dot gnu dot org
2007-07-08 10:47 ` [Bug c++/32596] [4.3 Regression] ICE with inline template specialization " pinskia at gcc dot gnu dot org
2007-08-10  0:37 ` mmitchel at gcc dot gnu dot org
2007-08-15 15:31 ` jakub at gcc dot gnu dot org
2007-08-21 10:55 ` jakub at gcc dot gnu dot org
2007-08-28 16:08 ` jakub at gcc dot gnu dot org
2007-08-28 16:10 ` jakub 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).