[Bug libstdc++/68825] testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc fails to compile on powerpc64

2015-12-10 Thread youfan.noey at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68825

--- Comment #3 from Fan You  ---
Yes. I was mean to do compile only test! Thanks for fixing this!!

[Bug bootstrap/66508] New: Attempt to Compile gcc-6.0 on OSX 10.9.4 cause segmentation fault

2015-06-11 Thread youfan.noey at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66508

Bug ID: 66508
   Summary: Attempt to Compile gcc-6.0 on OSX 10.9.4 cause
segmentation fault
   Product: gcc
   Version: 6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: youfan.noey at gmail dot com
  Target Milestone: ---

Created attachment 35757
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35757&action=edit
config.log file

Compiler being used is: clang-600.0.56

Build with command line command:

cd ~/src/build/gcc && rm -rf *
~/src/gcc/configure --prefix=$HOME/sandbox --enable-languages=c++
--enable-checking=release > /dev/null 2>/dev/null
/usr/bin/time make -j11 bootstrap > out.log 2> err.log

It cause segmentation fault when process

configure:3462: /Users/jieyuandai/src/build/gcc/./gcc/xgcc
-B/Users/jieyuandai/src/build/gcc/./gcc/
-B/usr/local/x86_64-apple-darwin13.3.0/bin/
-B/usr/local/x86_64-apple-darwin13.3.0/lib/ -isystem
/usr/local/x86_64-apple-darwin13.3.0/include -isystem
/usr/local/x86_64-apple-darwin13.3.0/sys-include-o conftest -g -O2  
conftest.c  >&5
: internal compiler error: Segmentation fault: 11
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.


[Bug bootstrap/66508] Attempt to Compile gcc-6.0 on OSX 10.9.4 cause segmentation fault

2015-06-12 Thread youfan.noey at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66508

--- Comment #3 from Fan You  ---
(In reply to Dominique d'Humieres from comment #2)
> Duplicate of pr66448? Which revision are you using?

Just updated and tried again, get the same result.

Revision: 224410

After changing

diff --git a/gcc/passes.c b/gcc/passes.c
index d3ffe33..1bc8a36 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -332,7 +332,7 @@ rest_of_decl_compilation (tree decl,
   */
   && !decl_function_context (decl)
   && !current_function_decl
-
+  && DECL_SOURCE_LOCATION (decl) != BUILTINS_LOCATION
   && !decl_type_context (decl))
 (*debug_hooks->early_global_decl) (decl);
 }

I get similar error as pr66448 

/Users/jieyuandai/src/gcc/gcc/dwarf2out.c:5693:1: error: ‘void
check_die(dw_die_ref)’ defined but not used [-Werror=unused-function]
 check_die (dw_die_ref die)
 ^
cc1plus: all warnings being treated as errors

Retry build with gcc-4.9.2 get the same results.

[Bug bootstrap/66508] Attempt to Compile gcc-6.0 on OSX 10.9.4 cause segmentation fault

2015-06-14 Thread youfan.noey at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66508

--- Comment #5 from Fan You  ---
(In reply to Iain Sandoe from comment #4)
> (In reply to Fan You from comment #3)
> > (In reply to Dominique d'Humieres from comment #2)
> > > Duplicate of pr66448? Which revision are you using?
> > 
> > Just updated and tried again, get the same result.
> > 
> > Revision: 224410
> > 
> > After changing
> > 
> >
>  get similar error as pr66448 
> > 
> > /Users/jieyuandai/src/gcc/gcc/dwarf2out.c:5693:1: error: ‘void
> > check_die(dw_die_ref)’ defined but not used [-Werror=unused-function]
> >  check_die (dw_die_ref die)
> >  ^
> > cc1plus: all warnings being treated as errors
> 
> I think that should have been fixed by 224431, and Darwin bootstrap
> (pr66448) should be OK as of r224451.  Let us know if problems persist

Fixed, Thanks.