public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* GCC Bugzilla Account Creation Restricted
@ 2017-06-16 16:03 Legion Ubhfr
  0 siblings, 0 replies; 3+ messages in thread
From: Legion Ubhfr @ 2017-06-16 16:03 UTC (permalink / raw)
  To: overseers

It said something about contacting this address. What should I do to
register an account?

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

* GCC Bugzilla – Account Creation Restricted
       [not found] <3132822.235016.1482328132495.ref@mail.yahoo.com>
@ 2016-12-21 13:48 ` George Prekas
  0 siblings, 0 replies; 3+ messages in thread
From: George Prekas @ 2016-12-21 13:48 UTC (permalink / raw)
  To: overseers

Hello,

I have a bug to submit for GCC but the account creation is disabled. Any ideas?

Best regards,
George

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

* GCC Bugzilla Account Creation Restricted
@ 2015-02-21 19:53 Brian Curtis
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Curtis @ 2015-02-21 19:53 UTC (permalink / raw)
  To: overseers

[-- Attachment #1: Type: text/plain, Size: 4848 bytes --]

I would like to report a bug in GCC, but I am unable to create an
account with the bug tracker. The bug I would like to report is as
described below.


Brian



SUMMARY:

Unable to define a static template member function of a nested class
as a friend of a sibling class.



EXAMPLE:

template <typename T> class A {
 public:
  class B;
  template <typename U> class C;
};

template <typename T>
class A<T>::B {
 public:
  template <typename U> static void Create();
};

template <typename T> template <typename U>
class A<T>::C {
 C() = default;
 friend void B::Create<U>();
};

template <typename T> template <typename U>
void A<T>::B::Create() {
  C<U>{};
}

int main() {
  A<int>::B::Create<char>();
}



COMPILATION COMMAND:

gcc -std=c++ -Wall -Wextra -fno-strict-aliasing -fwrapv
-fno-aggressive-loop-optimizations test.cpp -o test



DATA COLLECTION COMMAND:

gcc -v -save-temps -std=c++11 -Wall -Wextra -fno-strict-aliasing
-fwrapv -fno-aggressive-loop-optimizations test.cpp



OUTPUT:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.8.2-19ubuntu1'
--with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --disable-libmudflap --enable-plugin
--with-system-zlib --disable-browser-plugin --enable-java-awt=gtk
--enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre
--enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64
--with-arch-directory=amd64
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc
--enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=c++11' '-Wall' '-Wextra'
'-fno-strict-aliasing' '-fwrapv' '-fno-aggressive-loop-optimizations'
'-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-linux-gnu/4.8/cc1plus -E -quiet -v -imultiarch
x86_64-linux-gnu -D_GNU_SOURCE test.cpp -mtune=generic -march=x86-64
-std=c++11 -Wall -Wextra -fno-strict-aliasing -fwrapv
-fno-aggressive-loop-optimizations -fpch-preprocess -fstack-protector
-Wformat -Wformat-security -o test.ii
ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/4.8"
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/c++/4.8
 /usr/include/x86_64-linux-gnu/c++/4.8
 /usr/include/c++/4.8/backward
 /usr/lib/gcc/x86_64-linux-gnu/4.8/include
 /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed
 /usr/include/x86_64-linux-gnu
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=c++11' '-Wall' '-Wextra'
'-fno-strict-aliasing' '-fwrapv' '-fno-aggressive-loop-optimizations'
'-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-linux-gnu/4.8/cc1plus -fpreprocessed test.ii
-quiet -dumpbase test.cpp -mtune=generic -march=x86-64 -auxbase test
-Wall -Wextra -std=c++11 -version -fno-strict-aliasing -fwrapv
-fno-aggressive-loop-optimizations -fstack-protector -Wformat
-Wformat-security -o test.s
GNU C++ (Ubuntu 4.8.2-19ubuntu1) version 4.8.2 (x86_64-linux-gnu)
compiled by GNU C version 4.8.2, GMP version 5.1.3, MPFR version
3.1.2-p3, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++ (Ubuntu 4.8.2-19ubuntu1) version 4.8.2 (x86_64-linux-gnu)
compiled by GNU C version 4.8.2, GMP version 5.1.3, MPFR version
3.1.2-p3, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 26a7c0bd346d04102f6aea776e0cccc5
test.cpp: In instantiation of ‘class A<int>::C<char>’:
test.cpp:21:3:   required from ‘static void A<T>::B::Create() [with U
= char; T = int]’
test.cpp:25:27:   required from here
test.cpp:16:14: error: ‘Create’ was not declared in this scope
  friend void B::Create<U>();
              ^

[-- Attachment #2: test.ii --]
[-- Type: application/octet-stream, Size: 534 bytes --]

# 1 "test.cpp"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "test.cpp"
template <typename T> class A {
 public:
  class B;
  template <typename U> class C;
};

template <typename T>
class A<T>::B {
 public:
  template <typename U> static void Create();
};

template <typename T> template <typename U>
class A<T>::C {
 C() = default;
 friend void B::Create<U>();
};

template <typename T> template <typename U>
void A<T>::B::Create() {
  C<U>{};
}

int main() {
  A<int>::B::Create<char>();
}

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

end of thread, other threads:[~2017-06-16 16:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-16 16:03 GCC Bugzilla Account Creation Restricted Legion Ubhfr
     [not found] <3132822.235016.1482328132495.ref@mail.yahoo.com>
2016-12-21 13:48 ` GCC Bugzilla – " George Prekas
  -- strict thread matches above, loose matches on Subject: below --
2015-02-21 19:53 GCC Bugzilla " Brian Curtis

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