[Bug c++/93095] Build Latest GCC fail ../../gcc/gcc/gimple-fold.c:4146:8: error: expected unqualified-id before ‘throws’

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 30 02:21:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93095

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to fdlbxtqi from comment #2)
> (In reply to Jakub Jelinek from comment #1)
> > Can't reproduce and don't see anything problematic on that code.
> > Unless e.g. the system headers are defining throws as a macro, can you e.g.
> > attach preprocessed gimple-fold.ii?  (E.g. do cd gcc; make gimple-fold.o
> > and cut'n'paste the command line, replace -c with -E -dD)?
> 
> probably because I am working on a new Herbception's compiler?

oh.  So if that is the case, then you need to have a list of reserved
identifiers and start changing them.  But that change should go in at the
begining of stage 1.


> ...
> Can you give me some guidelines about how to start a new C++ branch???
> Herbception is a huge change

There are four ways:
1) have a svn branch (https://gcc.gnu.org/svn.html)
2) have a git only branch (https://gcc.gnu.org/wiki/GitMirror )
3) wait for the svn moved over to git and make a git branch.
4) have a local git branch which can be rebased on the new git after the move
has happened.


More information about the Gcc-bugs mailing list