Hello! > In r219682, I have committed to trunk our current set of OpenACC changes, > which we had prepared on gomp-4_0-branch. Thanks to everyone who has > been contributing!
This patch breaks bootstrap on alpha-linux-gnu: /space/homedirs/uros/gcc-build/./gcc/xgcc -B/space/homedirs/uros/gcc-build/./gcc/ -B/usr/local/alphaev68-unknown-linux-gnu/bin/ -B/usr/local/alphaev68-unknown-linux-gnu/lib/ -isystem /usr/local/alphaev68-unknown-linux-gnu/include -isystem /usr/local/alphaev68-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-svn/trunk/libgomp -I../../../gcc-svn/trunk/libgomp/config/linux/alpha -I../../../gcc-svn/trunk/libgomp/config/linux -I../../../gcc-svn/trunk/libgomp/config/posix -I../../../gcc-svn/trunk/libgomp -I../../../gcc-svn/trunk/libgomp/../include -Wall -Werror -pthread -ftls-model=initial-exec -g -O2 -mieee -MT oacc-init.lo -MD -MP -MF .deps/oacc-init.Tpo -c ../../../gcc-svn/trunk/libgomp/oacc-init.c -fPIC -DPIC -o .libs/oacc-init.o ../../../gcc-svn/trunk/libgomp/oacc-init.c: In function ‘acc_on_device’: ../../../gcc-svn/trunk/libgomp/oacc-init.c:571:10: internal compiler error: Segmentation fault return __builtin_acc_on_device (dev); ^ 0x120bf4c13 crash_signal ../../gcc-svn/trunk/gcc/toplev.c:381 0x1203fc55c expand_builtin_acc_on_device ../../gcc-svn/trunk/gcc/builtins.c:5933 0x120400063 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) ../../gcc-svn/trunk/gcc/builtins.c:7087 0x12063b5b3 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc-svn/trunk/gcc/expr.c:10488 0x12062cc93 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc-svn/trunk/gcc/expr.c:8017 0x1206090bb expand_expr ../../gcc-svn/trunk/gcc/expr.h:254 0x12062e2a7 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) ../../gcc-svn/trunk/gcc/expr.c:8248 0x12063ce2f expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc-svn/trunk/gcc/expr.c:10779 0x12062cc93 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc-svn/trunk/gcc/expr.c:8017 0x1206090bb expand_expr ../../gcc-svn/trunk/gcc/expr.h:254 (gdb) r Starting program: /space/uros/gcc-build/gcc/cc1 -quiet -g -O2 -mieee oacc-init.i Program received signal SIGSEGV, Segmentation fault. 0x00000001203fc55c in expand_builtin_acc_on_device (exp=0x20000b17688, target=0x0) at ../../gcc-svn/trunk/gcc/builtins.c:5933 5933 if (!REG_P (target) || GET_MODE (target) != target_mode) (gdb) p target $1 = (rtx) 0x0 (gdb) list 5928 #else 5929 v1 = GEN_INT (GOMP_DEVICE_NONE); 5930 v2 = GEN_INT (GOMP_DEVICE_HOST); 5931 #endif 5932 machine_mode target_mode = TYPE_MODE (integer_type_node); 5933 if (!REG_P (target) || GET_MODE (target) != target_mode) 5934 target = gen_reg_rtx (target_mode); 5935 emit_move_insn (target, const1_rtx); 5936 rtx_code_label *done_label = gen_label_rtx (); 5937 do_compare_rtx_and_jump (v, v1, EQ, false, v_mode, NULL_RTX, "target" is NULL in expand_builtin_acc_on_device. (I can open a PR with a preprocessed file if requested). Uros.