public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23357] New: [4.1 Regression] ICE with __alignof__ on template arguments
@ 2005-08-12 17:31 pinskia at gcc dot gnu dot org
  2005-08-12 17:31 ` [Bug c++/23357] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-12 17:31 UTC (permalink / raw)
  To: gcc-bugs

Testcase:
template<typename _Tp>
struct __per_type_pool_policy
{
  static void _S_get_pool()
  {
    const static int __align = (__alignof__(_Tp) >= 1 ? __alignof__(_Tp) : 1);
    static int _S_tune( 2 >= __align ? 1 : __align);
  }
};

This did not ICE in 4.0.0.  Also this is reduced from PR 23352 but I was trying to reduce a different ICE 
when finding with this one.

-- 
           Summary: [4.1 Regression] ICE with __alignof__ on template
                    arguments
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-09-16 15:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-12 17:31 [Bug c++/23357] New: [4.1 Regression] ICE with __alignof__ on template arguments pinskia at gcc dot gnu dot org
2005-08-12 17:31 ` [Bug c++/23357] " pinskia at gcc dot gnu dot org
2005-08-19 14:34 ` reichelt at gcc dot gnu dot org
2005-08-19 14:35 ` reichelt at gcc dot gnu dot org
2005-08-19 14:44 ` reichelt at gcc dot gnu dot org
2005-09-04 14:54 ` pinskia at gcc dot gnu dot org
2005-09-09 17:01 ` janis at gcc dot gnu dot org
2005-09-09 17:11 ` pinskia at gcc dot gnu dot org
2005-09-14 18:13 ` jason at gcc dot gnu dot org
2005-09-16  6:51 ` cvs-commit at gcc dot gnu dot org
2005-09-16 15:42 ` pinskia 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).