https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
--- Comment #1 from Kyle ---
I should note that removing "-Wunused-parameter" allows compilation without
error.
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: kyle.niemeyer at gmail dot com
Target Milestone: ---
This small module causes an ICE in gfortran 5.1.0, when compiled with the
-Wunused-parameter flag:
MODULE test
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55696
--- Comment #4 from Kyle 2012-12-14 21:25:30
UTC ---
It looks like you were right. It must have been linking to the system
libstdc++, rather than the one associated with this gcc.
When I link using:
gfortran -o prog main.o sub.o /usr/lo
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55696
--- Comment #2 from Kyle 2012-12-14 21:17:07
UTC ---
I used homebrew (on Mac OS X 10.8.2). "gcc -v" reports:
Using built-in specs.
COLLECT_GCC=/usr/local/bin/gcc-4.7
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/4.7.2/gcc/libexec/gcc/x86_64-a
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55696
Bug #: 55696
Summary: Error linking using gfortran with C++ code compiled
with -std=c++11
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: U
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54428
Bug #: 54428
Summary: ICE in gimplify_expr, at gimplify.c:7591
Classification: Unclassified
Product: gcc
Version: 4.7.1
Status: UNCONFIRMED
Severity: normal
Priority: